cJSON

mirror of Dave's cJSON
git clone git://git.thc420.xyz/cJSON
Log | Files | Refs | README | LICENSE

ModeNameSize
-rw-r--r--.editorconfig23L
-rw-r--r--.gitattributes2L
-rw-r--r--.github/CONTRIBUTING.md54L
-rw-r--r--.gitignore18L
-rw-r--r--.travis.yml28L
-rw-r--r--CHANGELOG.md391L
-rw-r--r--CMakeLists.txt251L
-rw-r--r--CONTRIBUTORS.md54L
-rw-r--r--LICENSE20L
-rw-r--r--Makefile157L
-rw-r--r--README.md533L
-rw-r--r--appveyor.yml86L
-rw-r--r--cJSON.c2973L
-rw-r--r--cJSON.h285L
-rw-r--r--cJSON_Utils.c1457L
-rw-r--r--cJSON_Utils.h88L
-rw-r--r--fuzzing/.gitignore1L
-rw-r--r--fuzzing/CMakeLists.txt28L
-rwxr-xr-xfuzzing/afl-prepare-linux.sh5L
-rw-r--r--fuzzing/afl.c176L
-rwxr-xr-xfuzzing/afl.sh9L
-rw-r--r--fuzzing/inputs/test122L
-rw-r--r--fuzzing/inputs/test101L
-rw-r--r--fuzzing/inputs/test118L
-rw-r--r--fuzzing/inputs/test211L
-rw-r--r--fuzzing/inputs/test326L
-rw-r--r--fuzzing/inputs/test3.bu26L
-rw-r--r--fuzzing/inputs/test3.uf26L
-rw-r--r--fuzzing/inputs/test3.uu26L
-rw-r--r--fuzzing/inputs/test488L
-rw-r--r--fuzzing/inputs/test527L
-rw-r--r--fuzzing/inputs/test616L
-rw-r--r--fuzzing/inputs/test722L
-rw-r--r--fuzzing/inputs/test813L
-rw-r--r--fuzzing/inputs/test95L
-rw-r--r--fuzzing/json.dict47L
-rw-r--r--library_config/cJSONConfig.cmake.in29L
-rw-r--r--library_config/cJSONConfigVersion.cmake.in11L
-rw-r--r--library_config/libcjson.pc.in10L
-rw-r--r--library_config/libcjson_utils.pc.in10L
-rw-r--r--test.c268L
-rw-r--r--tests/CMakeLists.txt119L
-rw-r--r--tests/cjson_add.c422L
-rw-r--r--tests/common.h122L
-rw-r--r--tests/compare_tests.c205L
-rw-r--r--tests/inputs/test122L
-rw-r--r--tests/inputs/test1.expected22L
-rw-r--r--tests/inputs/test101L
-rw-r--r--tests/inputs/test10.expected1L
-rw-r--r--tests/inputs/test118L
-rw-r--r--tests/inputs/test11.expected10L
-rw-r--r--tests/inputs/test211L
-rw-r--r--tests/inputs/test2.expected18L
-rw-r--r--tests/inputs/test326L
-rw-r--r--tests/inputs/test3.expected28L
-rw-r--r--tests/inputs/test488L
-rw-r--r--tests/inputs/test4.expected94L
-rw-r--r--tests/inputs/test527L
-rw-r--r--tests/inputs/test5.expected54L
-rw-r--r--tests/inputs/test616L
-rw-r--r--tests/inputs/test722L
-rw-r--r--tests/inputs/test7.expected19L
-rw-r--r--tests/inputs/test813L
-rw-r--r--tests/inputs/test8.expected13L
-rw-r--r--tests/inputs/test95L
-rw-r--r--tests/inputs/test9.expected1L
-rw-r--r--tests/json-patch-tests/.editorconfig10L
-rw-r--r--tests/json-patch-tests/.gitignore4L
-rw-r--r--tests/json-patch-tests/.npmignore2L
-rw-r--r--tests/json-patch-tests/README.md75L
-rw-r--r--tests/json-patch-tests/cjson-utils-tests.json91L
-rw-r--r--tests/json-patch-tests/package.json15L
-rw-r--r--tests/json-patch-tests/spec_tests.json233L
-rw-r--r--tests/json-patch-tests/tests.json464L
-rw-r--r--tests/json_patch_tests.c243L
-rw-r--r--tests/minify_tests.c174L
-rw-r--r--tests/misc_tests.c579L
-rw-r--r--tests/misc_utils_tests.c80L
-rw-r--r--tests/old_utils_tests.c205L
-rw-r--r--tests/parse_array.c166L
-rw-r--r--tests/parse_examples.c214L
-rw-r--r--tests/parse_hex4.c73L
-rw-r--r--tests/parse_number.c110L
-rw-r--r--tests/parse_object.c176L
-rw-r--r--tests/parse_string.c135L
-rw-r--r--tests/parse_value.c112L
-rw-r--r--tests/parse_with_opts.c112L
-rw-r--r--tests/print_array.c100L
-rw-r--r--tests/print_number.c105L
-rw-r--r--tests/print_object.c101L
-rw-r--r--tests/print_string.c78L
-rw-r--r--tests/print_value.c107L
-rw-r--r--tests/readme_examples.c258L
-rw-r--r--tests/unity/.gitattributes30L
-rw-r--r--tests/unity/.gitignore9L
-rw-r--r--tests/unity/.travis.yml29L
-rw-r--r--tests/unity/README.md231L
-rw-r--r--tests/unity/auto/colour_prompt.rb118L
-rw-r--r--tests/unity/auto/colour_reporter.rb39L
-rw-r--r--tests/unity/auto/generate_config.yml36L
-rw-r--r--tests/unity/auto/generate_module.rb308L
-rw-r--r--tests/unity/auto/generate_test_runner.rb454L
-rw-r--r--tests/unity/auto/parse_output.rb220L
-rwxr-xr-xtests/unity/auto/stylize_as_junit.rb252L
-rw-r--r--tests/unity/auto/test_file_filter.rb25L
-rw-r--r--tests/unity/auto/type_sanitizer.rb6L
-rw-r--r--tests/unity/auto/unity_test_summary.py139L
-rw-r--r--tests/unity/auto/unity_test_summary.rb136L
-rw-r--r--tests/unity/auto/unity_to_junit.py146L
-rw-r--r--tests/unity/docs/ThrowTheSwitchCodingStandard.md207L
-rw-r--r--tests/unity/docs/UnityAssertionsCheatSheetSuitableforPrintingandPossiblyFraming.pdf144467B
-rw-r--r--tests/unity/docs/UnityAssertionsReference.md770L
-rw-r--r--tests/unity/docs/UnityConfigurationGuide.md435L
-rw-r--r--tests/unity/docs/UnityGettingStartedGuide.md191L
-rw-r--r--tests/unity/docs/UnityHelperScriptsGuide.md254L
-rw-r--r--tests/unity/docs/license.txt21L
-rw-r--r--tests/unity/examples/example_1/makefile71L
-rw-r--r--tests/unity/examples/example_1/readme.txt5L
-rw-r--r--tests/unity/examples/example_1/src/ProductionCode.c24L
-rw-r--r--tests/unity/examples/example_1/src/ProductionCode.h3L
-rw-r--r--tests/unity/examples/example_1/src/ProductionCode2.c11L
-rw-r--r--tests/unity/examples/example_1/src/ProductionCode2.h2L
-rw-r--r--tests/unity/examples/example_1/test/TestProductionCode.c62L
-rw-r--r--tests/unity/examples/example_1/test/TestProductionCode2.c31L
-rw-r--r--tests/unity/examples/example_1/test/test_runners/TestProductionCode2_Runner.c53L
-rw-r--r--tests/unity/examples/example_1/test/test_runners/TestProductionCode_Runner.c57L
-rw-r--r--tests/unity/examples/example_2/makefile70L
-rw-r--r--tests/unity/examples/example_2/readme.txt5L
-rw-r--r--tests/unity/examples/example_2/src/ProductionCode.c24L
-rw-r--r--tests/unity/examples/example_2/src/ProductionCode.h3L
-rw-r--r--tests/unity/examples/example_2/src/ProductionCode2.c11L
-rw-r--r--tests/unity/examples/example_2/src/ProductionCode2.h2L
-rw-r--r--tests/unity/examples/example_2/test/TestProductionCode.c64L
-rw-r--r--tests/unity/examples/example_2/test/TestProductionCode2.c33L
-rw-r--r--tests/unity/examples/example_2/test/test_runners/TestProductionCode2_Runner.c9L
-rw-r--r--tests/unity/examples/example_2/test/test_runners/TestProductionCode_Runner.c11L
-rw-r--r--tests/unity/examples/example_2/test/test_runners/all_tests.c12L
-rw-r--r--tests/unity/examples/example_3/helper/UnityHelper.c10L
-rw-r--r--tests/unity/examples/example_3/helper/UnityHelper.h12L
-rw-r--r--tests/unity/examples/example_3/rakefile.rb43L
-rw-r--r--tests/unity/examples/example_3/rakefile_helper.rb249L
-rw-r--r--tests/unity/examples/example_3/readme.txt13L
-rw-r--r--tests/unity/examples/example_3/src/ProductionCode.c24L
-rw-r--r--tests/unity/examples/example_3/src/ProductionCode.h3L
-rw-r--r--tests/unity/examples/example_3/src/ProductionCode2.c11L
-rw-r--r--tests/unity/examples/example_3/src/ProductionCode2.h2L
-rw-r--r--tests/unity/examples/example_3/target_gcc_32.yml46L
-rw-r--r--tests/unity/examples/example_3/test/TestProductionCode.c62L
-rw-r--r--tests/unity/examples/example_3/test/TestProductionCode2.c31L
-rw-r--r--tests/unity/examples/unity_config.h239L
-rw-r--r--tests/unity/extras/eclipse/error_parsers.txt26L
-rw-r--r--tests/unity/extras/fixture/rakefile.rb48L
-rw-r--r--tests/unity/extras/fixture/rakefile_helper.rb178L
-rw-r--r--tests/unity/extras/fixture/readme.txt9L
-rw-r--r--tests/unity/extras/fixture/src/unity_fixture.c432L
-rw-r--r--tests/unity/extras/fixture/src/unity_fixture.h83L
-rw-r--r--tests/unity/extras/fixture/src/unity_fixture_internals.h51L
-rw-r--r--tests/unity/extras/fixture/src/unity_fixture_malloc_overrides.h47L
-rw-r--r--tests/unity/extras/fixture/test/Makefile75L
-rw-r--r--tests/unity/extras/fixture/test/main/AllTests.c22L
-rw-r--r--tests/unity/extras/fixture/test/template_fixture_tests.c39L
-rw-r--r--tests/unity/extras/fixture/test/unity_fixture_Test.c543L
-rw-r--r--tests/unity/extras/fixture/test/unity_fixture_TestRunner.c57L
-rw-r--r--tests/unity/extras/fixture/test/unity_output_Spy.c57L
-rw-r--r--tests/unity/extras/fixture/test/unity_output_Spy.h17L
-rw-r--r--tests/unity/release/build.info2L
-rw-r--r--tests/unity/release/version.info2L
-rw-r--r--tests/unity/src/unity.c1570L
-rw-r--r--tests/unity/src/unity.h503L
-rw-r--r--tests/unity/src/unity_internals.h870L
-rw-r--r--tests/unity/test/.rubocop.yml58L
-rw-r--r--tests/unity/test/Makefile66L
-rw-r--r--tests/unity/test/expectdata/testsample_cmd.c61L
-rw-r--r--tests/unity/test/expectdata/testsample_def.c57L
-rw-r--r--tests/unity/test/expectdata/testsample_head1.c55L
-rw-r--r--tests/unity/test/expectdata/testsample_head1.h15L
-rw-r--r--tests/unity/test/expectdata/testsample_mock_cmd.c80L
-rw-r--r--tests/unity/test/expectdata/testsample_mock_def.c76L
-rw-r--r--tests/unity/test/expectdata/testsample_mock_head1.c75L
-rw-r--r--tests/unity/test/expectdata/testsample_mock_head1.h13L
-rw-r--r--tests/unity/test/expectdata/testsample_mock_new1.c89L
-rw-r--r--tests/unity/test/expectdata/testsample_mock_new2.c89L
-rw-r--r--tests/unity/test/expectdata/testsample_mock_param.c77L
-rw-r--r--tests/unity/test/expectdata/testsample_mock_run1.c89L
-rw-r--r--tests/unity/test/expectdata/testsample_mock_run2.c89L
-rw-r--r--tests/unity/test/expectdata/testsample_mock_yaml.c90L
-rw-r--r--tests/unity/test/expectdata/testsample_new1.c67L
-rw-r--r--tests/unity/test/expectdata/testsample_new2.c70L
-rw-r--r--tests/unity/test/expectdata/testsample_param.c58L
-rw-r--r--tests/unity/test/expectdata/testsample_run1.c67L
-rw-r--r--tests/unity/test/expectdata/testsample_run2.c70L
-rw-r--r--tests/unity/test/expectdata/testsample_yaml.c71L
-rw-r--r--tests/unity/test/rakefile125L
-rw-r--r--tests/unity/test/rakefile_helper.rb260L
-rw-r--r--tests/unity/test/spec/generate_module_existing_file_spec.rb158L
-rw-r--r--tests/unity/test/targets/clang_file.yml78L
-rw-r--r--tests/unity/test/targets/clang_strict.yml78L
-rw-r--r--tests/unity/test/targets/gcc_32.yml49L
-rw-r--r--tests/unity/test/targets/gcc_64.yml50L
-rw-r--r--tests/unity/test/targets/gcc_auto_limits.yml47L
-rw-r--r--tests/unity/test/targets/gcc_auto_stdint.yml59L
-rw-r--r--tests/unity/test/targets/gcc_manual_math.yml47L
-rw-r--r--tests/unity/test/targets/hitech_picc18.yml101L
-rw-r--r--tests/unity/test/targets/iar_arm_v4.yml90L
-rw-r--r--tests/unity/test/targets/iar_arm_v5.yml80L
-rw-r--r--tests/unity/test/targets/iar_arm_v5_3.yml80L
-rw-r--r--tests/unity/test/targets/iar_armcortex_LM3S9B92_v5_4.yml94L
-rw-r--r--tests/unity/test/targets/iar_cortexm3_v5.yml84L
-rw-r--r--tests/unity/test/targets/iar_msp430.yml95L
-rw-r--r--tests/unity/test/targets/iar_sh2a_v6.yml86L
-rw-r--r--tests/unity/test/testdata/CException.h11L
-rw-r--r--tests/unity/test/testdata/Defs.h8L
-rw-r--r--tests/unity/test/testdata/cmock.h14L
-rw-r--r--tests/unity/test/testdata/mockMock.h13L
-rw-r--r--tests/unity/test/testdata/testRunnerGenerator.c183L
-rw-r--r--tests/unity/test/testdata/testRunnerGeneratorSmall.c67L
-rw-r--r--tests/unity/test/testdata/testRunnerGeneratorWithMocks.c192L
-rw-r--r--tests/unity/test/tests/test_generate_test_runner.rb1252L
-rw-r--r--tests/unity/test/tests/testparameterized.c110L
-rw-r--r--tests/unity/test/tests/testunity.c5337L
-rw-r--r--tests/unity_setup.c3L
-rw-r--r--valgrind.supp6L