Home
last modified time | relevance | path

Searched refs:cJSON_bool (Results 1 – 8 of 8) sorted by relevance

/third_party/cJSON/
DcJSON.h132 typedef int cJSON_bool; typedef
152 … cJSON_ParseWithOpts(const char *value, const char **return_parse_end, cJSON_bool require_null_ter…
153 …onst char *value, size_t buffer_length, const char **return_parse_end, cJSON_bool require_null_ter…
160 CJSON_PUBLIC(char *) cJSON_PrintBuffered(const cJSON *item, int prebuffer, cJSON_bool fmt);
163 CJSON_PUBLIC(cJSON_bool) cJSON_PrintPreallocated(cJSON *item, char *buffer, const int length, const…
174 CJSON_PUBLIC(cJSON_bool) cJSON_HasObjectItem(const cJSON *object, const char *string);
183 CJSON_PUBLIC(cJSON_bool) cJSON_IsInvalid(const cJSON * const item);
184 CJSON_PUBLIC(cJSON_bool) cJSON_IsFalse(const cJSON * const item);
185 CJSON_PUBLIC(cJSON_bool) cJSON_IsTrue(const cJSON * const item);
186 CJSON_PUBLIC(cJSON_bool) cJSON_IsBool(const cJSON * const item);
[all …]
DcJSON.c65 #define true ((cJSON_bool)1)
70 #define false ((cJSON_bool)0)
305 static cJSON_bool parse_number(cJSON * const item, parse_buffer * const input_buffer) in parse_number()
438 cJSON_bool noalloc;
439 cJSON_bool format; /* is this print a formatted print */
543 static cJSON_bool compare_double(double a, double b) in compare_double()
550 static cJSON_bool print_number(const cJSON * const item, printbuffer * const output_buffer) in print_number()
774 static cJSON_bool parse_string(cJSON * const item, parse_buffer * const input_buffer) in parse_string()
903 static cJSON_bool print_string_ptr(const unsigned char * const input, printbuffer * const output_bu… in print_string_ptr()
1025 static cJSON_bool print_string(const cJSON * const item, printbuffer * const p) in print_string()
[all …]
DcJSON_Utils.c59 #define true ((cJSON_bool)1)
64 #define false ((cJSON_bool)0)
83 …trings(const unsigned char *string1, const unsigned char *string2, const cJSON_bool case_sensitive) in compare_strings()
112 static cJSON_bool compare_double(double a, double b) in compare_double()
120 static cJSON_bool compare_pointers(const unsigned char *name, const unsigned char *pointer, const c… in compare_pointers()
274 static cJSON_bool decode_array_index_from_pointer(const unsigned char * const pointer, size_t * con… in decode_array_index_from_pointer()
301 static cJSON *get_item_from_pointer(cJSON * const object, const char * pointer, const cJSON_bool ca… in get_item_from_pointer()
430 static cJSON *detach_path(cJSON *object, const unsigned char *path, const cJSON_bool case_sensitive) in detach_path()
484 static cJSON *sort_list(cJSON *list, const cJSON_bool case_sensitive) in sort_list()
595 static void sort_object(cJSON * const object, const cJSON_bool case_sensitive) in sort_object()
[all …]
DREADME.md284 …`cJSON_ParseWithOpts(const char *value, const char **return_parse_end, cJSON_bool require_null_ter…
287 …onst char *value, size_t buffer_length, const char **return_parse_end, cJSON_bool require_null_ter…
301 …be, you can use `cJSON_PrintBuffered(const cJSON *item, int prebuffer, cJSON_bool fmt)`. `fmt` is …
303 …N_PrintPreallocated(cJSON *item, char *buffer, const int length, const cJSON_bool format)`. It tak…
DCHANGELOG.md318 * Expose the internal boolean type `cJSON_bool` in the header, see [2d3520e](https://github.com/Dav…
/third_party/cJSON/tests/
Djson_patch_tests.c49 static cJSON_bool test_apply_patch(const cJSON * const test) in test_apply_patch()
59 cJSON_bool successful = false; in test_apply_patch()
122 static cJSON_bool test_generate_test(cJSON *test) in test_generate_test()
130 cJSON_bool successful = false; in test_generate_test()
188 cJSON_bool failed = false; in cjson_utils_should_pass_json_patch_test_tests()
205 cJSON_bool failed = false; in cjson_utils_should_pass_json_patch_test_spec_tests()
222 cJSON_bool failed = false; in cjson_utils_should_pass_json_patch_test_cjson_utils_tests()
Dcompare_tests.c27 static cJSON_bool compare_from_string(const char * const a, const char * const b, const cJSON_bool in compare_from_string()
31 cJSON_bool result = false; in compare_from_string()
Dmisc_tests.c335 cJSON_bool flag = false; in cjson_replace_item_in_object_should_preserve_name()
574 cJSON_bool flag = false; in cjson_add_item_to_object_or_array_should_not_add_itself()