Home
last modified time | relevance | path

Searched refs:cJSON_AddItemToArray (Results 1 – 10 of 10) sorted by relevance

/base/security/device_auth/frameworks/deviceauth_lite/source/json/
Djsonutil.c202 cJSON_AddItemToArray(objArr, cJSON_CreateString(value)); in add_string_to_array()
207 cJSON_AddItemToArray(objArr, cJSON_CreateNumber(value)); in add_number_to_array()
212 cJSON_AddItemToArray(objArr, cJSON_CreateBool(value)); in add_bool_to_array()
217 cJSON_AddItemToArray(objArr, obj); in add_obj_to_array()
/base/startup/init/test/unittest/init/
Dsandbox_unittest.cpp105 cJSON_AddItemToArray(mJsonMtBdPthItmSdxFlg, cJSON_CreateString(SANDBOX_FLAGS[i])); in MakeSandboxJson()
112 cJSON_AddItemToArray(mJsonMtBdPth, mJsonMtBdPth_Itm = cJSON_CreateObject()); in MakeSandboxJson()
126 cJSON_AddItemToArray(mJsonMtBdFl, mJsonMtBdFlItm); in MakeSandboxJson()
130 cJSON_AddItemToArray(mJsonSymLk, mJsonSymLk_Itm = cJSON_CreateObject()); in MakeSandboxJson()
/base/security/access_token/interfaces/innerkits/nativetoken/test/mock/include/
DcJSON.h63 cJSON_bool cJSON_AddItemToArray(cJSON* array, cJSON* item);
/base/security/access_token/interfaces/innerkits/nativetoken/src/
Dnativetoken_json_oper.c126 if (item == NULL || !cJSON_AddItemToArray(strJsonArr, item)) { in AddStrArrayInfo()
221 if (!cJSON_AddItemToArray(strArrJson, item)) { in UpdateStrArrayType()
Dnativetoken.c390 cJSON_AddItemToArray(record, node); in SaveTokenIdToCfg()
/base/security/device_auth/common_lib/impl/src/
Djson_utils.c345 bool ret = cJSON_AddItemToArray(jsonArr, item); in AddObjToArray()
367 bool ret = cJSON_AddItemToArray(jsonArr, strObj); in AddStringToArray()
/base/security/access_token/interfaces/innerkits/nativetoken/test/mock/src/
DcJSON.c249 cJSON_bool cJSON_AddItemToArray(cJSON* array, cJSON* item) in cJSON_AddItemToArray() function
/base/startup/init/services/modules/bootevent/
Dbootevent.c160 cJSON_AddItemToArray(root, obj); in AddItemToJson()
/base/update/updateservice/test/unittest/update_engine/
Dserver_unittest.cpp237 cJSON_AddItemToArray(array, temp); in TestReadCheckVersiondescriptInfo()
/base/security/permission_lite/services/pms/src/
Dpms_impl.c272 cJSON_AddItemToArray(array, object); in SavePermissions()