| /OK3568_Linux_fs/app/lvgl_demo/cJSON/ |
| H A D | cJSON.h | 103 typedef struct cJSON struct 106 struct cJSON *next; argument 107 struct cJSON *prev; argument 109 struct cJSON *child; argument 123 } cJSON; typedef 148 CJSON_PUBLIC(cJSON *) cJSON_Parse(const char *value); 149 CJSON_PUBLIC(cJSON *) cJSON_ParseWithLength(const char *value, size_t buffer_length); 152 CJSON_PUBLIC(cJSON *) cJSON_ParseWithOpts(const char *value, const char **return_parse_end, cJSON_b… 153 CJSON_PUBLIC(cJSON *) cJSON_ParseWithLengthOpts(const char *value, size_t buffer_length, const char… 156 CJSON_PUBLIC(char *) cJSON_Print(const cJSON *item); [all …]
|
| H A D | cJSON.c | 99 CJSON_PUBLIC(char *) cJSON_GetStringValue(const cJSON * const item) in cJSON_GetStringValue() 109 CJSON_PUBLIC(double) cJSON_GetNumberValue(const cJSON * const item) in cJSON_GetNumberValue() 121 #error cJSON.h and cJSON.c have different versions. Make sure that both have the same. 241 static cJSON *cJSON_New_Item(const internal_hooks * const hooks) in cJSON_New_Item() 243 cJSON* node = (cJSON*)hooks->allocate(sizeof(cJSON)); in cJSON_New_Item() 246 memset(node, '\0', sizeof(cJSON)); in cJSON_New_Item() 253 CJSON_PUBLIC(void) cJSON_Delete(cJSON *item) in cJSON_Delete() 255 cJSON *next = NULL; in cJSON_Delete() 305 static cJSON_bool parse_number(cJSON * const item, parse_buffer * const input_buffer) in parse_number() 382 CJSON_PUBLIC(double) cJSON_SetNumberHelper(cJSON *object, double number) in cJSON_SetNumberHelper() [all …]
|
| /OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/include/iq_parser_v2/j2s/ |
| H A D | cJSON.h | 98 typedef struct cJSON struct 101 struct cJSON *next; argument 102 struct cJSON *prev; argument 104 struct cJSON *child; argument 118 } cJSON; argument 146 CJSON_PUBLIC(cJSON *) cJSON_Parse(const char *value); 147 CJSON_PUBLIC(cJSON *) cJSON_ParseWithLength(const char *value, size_t buffer_length); 150 CJSON_PUBLIC(cJSON *) cJSON_ParseWithOpts(const char *value, const char **return_parse_end, cJSON_b… 151 CJSON_PUBLIC(cJSON *) cJSON_ParseWithLengthOpts(const char *value, size_t buffer_length, const char… 154 CJSON_PUBLIC(char *) cJSON_Print(const cJSON *item); [all …]
|
| H A D | cJSON_Utils.h | 32 CJSON_PUBLIC(cJSON *) cJSONUtils_GetPointer(cJSON * const object, const char *pointer); 33 CJSON_PUBLIC(cJSON *) cJSONUtils_GetPointerCaseSensitive(cJSON * const object, const char *pointer); 37 CJSON_PUBLIC(cJSON *) cJSONUtils_GeneratePatches(cJSON * const from, cJSON * const to); 38 CJSON_PUBLIC(cJSON *) cJSONUtils_GeneratePatchesCaseSensitive(cJSON * const from, cJSON * const to); 40 …void) cJSONUtils_AddPatchToArray(cJSON * const array, const char * const operation, const char * c… 42 CJSON_PUBLIC(int) cJSONUtils_ApplyPatches(cJSON * const object, const cJSON * const patches); 43 CJSON_PUBLIC(int) cJSONUtils_ApplyPatchesCaseSensitive(cJSON * const object, const cJSON * const pa… 68 CJSON_PUBLIC(cJSON *) cJSONUtils_MergePatch(cJSON *target, const cJSON * const patch); 69 CJSON_PUBLIC(cJSON *) cJSONUtils_MergePatchCaseSensitive(cJSON *target, const cJSON * const patch); 72 CJSON_PUBLIC(cJSON *) cJSONUtils_GenerateMergePatch(cJSON * const from, cJSON * const to); [all …]
|
| H A D | j2s.h | 104 cJSON* j2s_struct_to_template_json(j2s_ctx* ctx, const char* name); 110 cJSON* j2s_enums_to_json(j2s_ctx* ctx); 111 cJSON* j2s_struct_to_json(j2s_ctx* ctx, const char* name, void* ptr); 112 int j2s_json_to_struct(j2s_ctx* ctx, cJSON* json, const char* name, void* ptr); 113 int j2s_json_from_struct(j2s_ctx* ctx, cJSON* json, const char* name,
|
| /OK3568_Linux_fs/external/rk_pcba_test/cJSON/ |
| H A D | cJSON.h | 43 typedef struct cJSON { struct 44 …struct cJSON *next,*prev; /* next/prev allow you to walk array/object chains. Alternatively, use G… argument 45 …struct cJSON *child; /* An array or object item will have a child pointer pointing to a chain of … argument 54 } cJSON; argument 66 extern cJSON *cJSON_Parse(const char *value); 68 extern char *cJSON_Print(cJSON *item); 70 extern char *cJSON_PrintUnformatted(cJSON *item); 72 extern void cJSON_Delete(cJSON *c); 75 extern int cJSON_GetArraySize(cJSON *array); 77 extern cJSON *cJSON_GetArrayItem(cJSON *array,int item); [all …]
|
| H A D | cJSON.c | 73 static cJSON *cJSON_New_Item(void) in cJSON_New_Item() 75 cJSON* node = (cJSON*)cJSON_malloc(sizeof(cJSON)); in cJSON_New_Item() 76 if (node) memset(node,0,sizeof(cJSON)); in cJSON_New_Item() 81 void cJSON_Delete(cJSON *c) in cJSON_Delete() 83 cJSON *next; in cJSON_Delete() 96 static const char *parse_number(cJSON *item,const char *num) in parse_number() 118 static char *print_number(cJSON *item) in print_number() 155 static const char *parse_string(cJSON *item,const char *str) in parse_string() 250 static char *print_string(cJSON *item) {return print_string_ptr(item->valuestring);} in print_string() 253 static const char *parse_value(cJSON *item,const char *value); [all …]
|
| /OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/tools/j2s4b/src/j2s4b/ |
| H A D | RkAiqsceneManager.cpp | 5 cJSON *RkAiqsceneManager::mergeSubMultiScene(cJSON *sub_scene_list, in mergeSubMultiScene() 6 cJSON *full_param, bool skip) { in mergeSubMultiScene() 7 cJSON *json_item = NULL; in mergeSubMultiScene() 8 cJSON *new_item = NULL; in mergeSubMultiScene() 28 cJSON *temp_item = json_item; in mergeSubMultiScene() 45 cJSON *RkAiqsceneManager::mergeMainMultiScene(cJSON *main_scene_list) { in mergeMainMultiScene() 46 cJSON *json_item = NULL; in mergeMainMultiScene() 47 cJSON *first_sub_scene_list = NULL; in mergeMainMultiScene() 48 cJSON *main_first = NULL; in mergeMainMultiScene() 49 cJSON *full_param = NULL; in mergeMainMultiScene() [all …]
|
| H A D | RkAiqsceneManager.h | 21 static cJSON *mergeSubMultiScene(cJSON *sub_scene_list, cJSON *full_param, 24 static cJSON *mergeMainMultiScene(cJSON *main_scene_list); 26 static cJSON *mergeMultiSceneIQ(cJSON *base_json); 28 static cJSON *findMainScene(cJSON *base_json, const char *name); 30 static cJSON *findSubScene(cJSON *main_json, const char *name); 32 static cJSON *findSubScene(cJSON *json, const char *main_scene, 35 static cJSON *splitScene(cJSON *root_js, const char *main_scene, 38 static std::map<std::string, cJSON *> expandAllScene(cJSON *root_js); 39 static std::map<std::string, cJSON *> getMainSceneList(cJSON *root_js); 40 static std::map<std::string, cJSON *> getSubSceneList(cJSON *root_js,
|
| H A D | j2s.cpp | 33 static cJSON *_j2s_obj_to_json(j2s_ctx *ctx, int obj_index, void *ptr); 35 static cJSON *_j2s_struct_to_json(j2s_ctx *ctx, int struct_index, void *ptr); 37 static int _j2s_json_to_obj(j2s_ctx *ctx, cJSON *json, cJSON *parent, 40 static int _j2s_json_to_struct(j2s_ctx *ctx, cJSON *json, int struct_index, 188 cJSON *j2s_struct_to_json(j2s_ctx *ctx, const char *name, void *ptr) { in j2s_struct_to_json() 194 int j2s_json_to_struct(j2s_ctx *ctx, cJSON *json, const char *name, void *ptr) { in j2s_json_to_struct() 200 int j2s_json_from_struct(j2s_ctx *ctx, cJSON *json, const char *name, in j2s_json_from_struct() 250 static cJSON *_j2s_enum_to_json(j2s_ctx *ctx, int enum_index) { in _j2s_enum_to_json() 252 cJSON *root, *item; in _j2s_enum_to_json() 273 cJSON *j2s_enums_to_json(j2s_ctx *ctx) { in j2s_enums_to_json() [all …]
|
| H A D | j2s.h | 123 cJSON *j2s_struct_to_template_json(j2s_ctx *ctx, const char *name); 129 cJSON *j2s_enums_to_json(j2s_ctx *ctx); 130 cJSON *j2s_struct_to_json(j2s_ctx *ctx, const char *name, void *ptr); 131 int j2s_json_to_struct(j2s_ctx *ctx, cJSON *json, const char *name, void *ptr); 133 int j2s_json_to_bin(j2s_ctx *ctx, cJSON *json, const char *name, void **ptr, 136 int j2s_json_from_struct(j2s_ctx *ctx, cJSON *json, const char *name,
|
| H A D | j2s4b_utils.cpp | 163 cJSON *json, *item; in j2s_dump_struct() 194 cJSON *json; in j2s_modify_struct() 209 cJSON *json; in j2s_query_struct() 233 cJSON *json, *item; in j2s_dump_template_struct() 263 cJSON *json, *item; in j2s_dump_structs()
|
| /OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/iq_parser_v2/j2s/ |
| H A D | cJSON.cpp | 101 CJSON_PUBLIC(char *) cJSON_GetStringValue(const cJSON * const item) in cJSON_GetStringValue() 111 CJSON_PUBLIC(double) cJSON_GetNumberValue(const cJSON * const item) in cJSON_GetNumberValue() 123 #error cJSON.h and cJSON.c have different versions. Make sure that both have the same. 243 static cJSON *cJSON_New_Item(const internal_hooks * const hooks) in cJSON_New_Item() 245 cJSON* node = (cJSON*)hooks->allocate(sizeof(cJSON)); in cJSON_New_Item() 248 memset(node, '\0', sizeof(cJSON)); in cJSON_New_Item() 255 CJSON_PUBLIC(void) cJSON_Delete(cJSON *item) in cJSON_Delete() 257 cJSON *next = NULL; in cJSON_Delete() 307 static cJSON_bool parse_number(cJSON * const item, parse_buffer * const input_buffer) in parse_number() 384 CJSON_PUBLIC(double) cJSON_SetNumberHelper(cJSON *object, double number) in cJSON_SetNumberHelper() [all …]
|
| H A D | cJSON_Utils.cpp | 203 CJSON_PUBLIC(char *) cJSONUtils_FindPointerFromObjectTo(const cJSON * const object, const cJSON * c… in cJSONUtils_FindPointerFromObjectTo() 206 cJSON *current_child = 0; in cJSONUtils_FindPointerFromObjectTo() 267 static cJSON *get_array_item(const cJSON *array, size_t item) in get_array_item() 269 cJSON *child = array ? array->child : NULL; in get_array_item() 306 static cJSON *get_item_from_pointer(cJSON * const object, const char * pointer, const cJSON_bool ca… in get_item_from_pointer() 308 cJSON *current_element = object; in get_item_from_pointer() 353 CJSON_PUBLIC(cJSON *) cJSONUtils_GetPointer(cJSON * const object, const char *pointer) in cJSONUtils_GetPointer() 358 CJSON_PUBLIC(cJSON *) cJSONUtils_GetPointerCaseSensitive(cJSON * const object, const char *pointer) in cJSONUtils_GetPointerCaseSensitive() 398 static cJSON *detach_item_from_array(cJSON *array, size_t which) in detach_item_from_array() 400 cJSON *c = array->child; in detach_item_from_array() [all …]
|
| H A D | j2s.cpp | 31 static cJSON* _j2s_obj_to_json(j2s_ctx* ctx, int obj_index, void* ptr); 33 static cJSON* _j2s_struct_to_json(j2s_ctx* ctx, int struct_index, void* ptr); 35 static int _j2s_json_to_obj(j2s_ctx* ctx, cJSON* json, cJSON* parent, 38 static int _j2s_json_to_struct(j2s_ctx* ctx, cJSON* json, int struct_index, 74 cJSON* j2s_struct_to_json(j2s_ctx* ctx, const char* name, void* ptr) in j2s_struct_to_json() 81 int j2s_json_to_struct(j2s_ctx* ctx, cJSON* json, const char* name, void* ptr) in j2s_json_to_struct() 88 int j2s_json_from_struct(j2s_ctx* ctx, cJSON* json, const char* name, in j2s_json_from_struct() 155 static cJSON* _j2s_enum_to_json(j2s_ctx* ctx, int enum_index) in _j2s_enum_to_json() 158 cJSON *root, *item; in _j2s_enum_to_json() 179 cJSON* j2s_enums_to_json(j2s_ctx* ctx) in j2s_enums_to_json() [all …]
|
| /OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/iq_parser_v2/scene/ |
| H A D | scene_manager.cpp | 30 cJSON *RkAiqSceneManager::loadIQFile(const char *name) { in loadIQFile() 33 cJSON *out_json = NULL; in loadIQFile() 70 cJSON *base_json = NULL; in getSceneIQ() 71 cJSON *fragment_json = NULL; in getSceneIQ() 72 cJSON *out_json = NULL; in getSceneIQ() 102 cJSON *item = cJSON_GetArrayItem(base_json, i); in getSceneIQ() 114 cJSON *item = cJSON_GetArrayItem(fragment_json, i); in getSceneIQ() 217 cJSON *RkAiqSceneManager::findMainScene(cJSON *base_json, const char *name) { in findMainScene() 218 cJSON *json_item = NULL; in findMainScene() 219 cJSON *found_main_json = NULL; in findMainScene() [all …]
|
| H A D | scene_manager.h | 39 static cJSON *loadIQFile(const char *name); 53 static cJSON *findMainScene(cJSON *base_json, const char *name); 54 static cJSON *findSubScene(cJSON *main_json, const char *name); 55 static cJSON *findSubScene(cJSON *json, const char *main_scene, 62 static cJSON *mergeSubMultiScene(cJSON *sub_scene_list, 63 cJSON* full_param, bool skip); 64 static cJSON *mergeMainMultiScene(cJSON *main_scene_list); 65 static cJSON *mergeMultiSceneIQ(cJSON *base_json);
|
| /OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/include/iq_parser_v2/ |
| H A D | RkAiqCalibDbV2.h | 37 struct cJSON; 73 static CamCalibDbV2Context_t *cjson2calib(cJSON *json); 76 static cJSON *calib2cjson(const CamCalibDbV2Context_t *calib); 88 static ModuleNameList analyzChange(cJSON* patch); 90 static cJSON* readIQNode(const CamCalibDbV2Context_t *calib, 100 cJSON *patch); 102 cJSON *patch); 112 cJSON* patch);
|
| /OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/uAPI2/ |
| H A D | rk_aiq_user_api2_helper.cpp | 316 char *rkaiq_uapi_rpc_response(const char *cmd_path, cJSON *root_js, in rkaiq_uapi_rpc_response() 319 cJSON *ret_json = NULL; in rkaiq_uapi_rpc_response() 320 cJSON *node_json = NULL; in rkaiq_uapi_rpc_response() 321 cJSON *node_json_clone = NULL; in rkaiq_uapi_rpc_response() 338 cJSON *ret_item = cJSON_CreateObject(); in rkaiq_uapi_rpc_response() 384 cJSON *cmd_js = NULL; in rkaiq_uapi_unified_ctl() 385 cJSON *ret_js = NULL; in rkaiq_uapi_unified_ctl() 386 cJSON *arr_item = NULL; in rkaiq_uapi_unified_ctl()
|
| /OK3568_Linux_fs/buildroot/package/cjson/ |
| H A D | Config.in | 2 bool "cJSON" 7 https://github.com/DaveGamble/cJSON
|
| /OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-devtools/cjson/ |
| H A D | cjson_1.7.15.bb | 3 HOMEPAGE = "https://github.com/DaveGamble/cJSON" 8 SRC_URI = "git://github.com/DaveGamble/cJSON.git;branch=master;protocol=https"
|
| /OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/include/uAPI2/ |
| H A D | rk_aiq_user_api2_helper.h | 50 void *desc, void *sys_ctx, cJSON *cmd_js, cJSON **ret_js, int mode) { \ 63 cJSON *old_json = NULL; \
|
| /OK3568_Linux_fs/app/lvgl_demo/ |
| H A D | CMakeLists.txt | 11 ${PROJECT_SOURCE_DIR}/cJSON/ 28 aux_source_directory(${PROJECT_SOURCE_DIR}/cJSON SRCS)
|
| /OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/tools/j2s4b/src/ |
| H A D | main.cpp | 137 cJSON *root_json = NULL; in main() 138 cJSON *base_json = NULL; in main() 139 cJSON *full_json = NULL; in main()
|
| /OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/tools/iq_check/ |
| H A D | CMakeLists.txt | 13 # │ ├── cJSON.h 20 # │ ├── cJSON.c 28 ${ROOT_PROJ_DIR}/iq_parser_v2/j2s/cJSON.c
|