Home
last modified time | relevance | path

Searched refs:arrayLen (Results 1 – 9 of 9) sorted by relevance

/base/security/device_security_level/baselib/utils/src/
Dutils_json.c73 …nt32_t GetJsonFieldIntArray(JsonHandle handle, const char *field, int32_t *array, int32_t arrayLen) in GetJsonFieldIntArray() argument
88 if (size > arrayLen) { in GetJsonFieldIntArray()
89 size = arrayLen; in GetJsonFieldIntArray()
158 …ddFieldIntArrayToJson(JsonHandle handle, const char *field, const int32_t *array, int32_t arrayLen) in AddFieldIntArrayToJson() argument
163 cJSON *arrayObj = cJSON_CreateIntArray(array, arrayLen); in AddFieldIntArrayToJson()
/base/security/device_security_level/baselib/utils/include/
Dutils_json.h32 …t32_t GetJsonFieldIntArray(JsonHandle handle, const char *field, int32_t *array, int32_t arrayLen);
40 …dFieldIntArrayToJson(JsonHandle handle, const char *field, const int32_t *array, int32_t arrayLen);
/base/security/certificate_framework/frameworks/common/v1.0/src/
Dcf_blob.c72 void FreeCfBlobArray(CfBlob *array, uint32_t arrayLen) in FreeCfBlobArray() argument
78 for (uint32_t i = 0; i < arrayLen; ++i) { in FreeCfBlobArray()
/base/security/certificate_framework/frameworks/adapter/v2.0/src/
Dcf_adapter_extension_openssl.c119 uint32_t *array, uint32_t *arrayLen) in GetExtensionIndexArray() argument
152 return CopyIndexArray(array, arrayLen, allOidArray, (uint32_t)extNums); in GetExtensionIndexArray()
154 return CopyIndexArray(array, arrayLen, critOidArray, critCnt); in GetExtensionIndexArray()
156 return CopyIndexArray(array, arrayLen, uncritOidArray, uncritCnt); in GetExtensionIndexArray()
175 static int32_t DeepCopyOidsToOut(const X509_EXTENSIONS *exts, uint32_t *idxArray, uint32_t arrayLen in DeepCopyOidsToOut() argument
177 uint32_t memSize = sizeof(CfBlob) * arrayLen; in DeepCopyOidsToOut()
184 for (uint32_t i = 0; i < arrayLen; ++i) { in DeepCopyOidsToOut()
211 out->count = arrayLen; in DeepCopyOidsToOut()
/base/security/certificate_framework/interfaces/innerkits/common/
Dcf_blob.h58 void FreeCfBlobArray(CfBlob *array, uint32_t arrayLen);
/base/security/device_auth/common_lib/interfaces/
Djson_utils.h99 …ngArrayToJson(CJson *jsonObj, const char *key, const char * const *stringArray, uint32_t arrayLen);
/base/security/device_auth/common_lib/impl/src/
Djson_utils.c506 …ingArrayToJson(CJson *jsonObj, const char *key, const char * const *stringArray, uint32_t arrayLen) in AddStringArrayToJson() argument
512 cJSON *strArrayObj = cJSON_CreateStringArray(stringArray, arrayLen); in AddStringArrayToJson()
/base/security/device_auth/test/unittest/deviceauth/source/
Djson_utils_mock.c564 …ingArrayToJson(CJson *jsonObj, const char *key, const char * const *stringArray, uint32_t arrayLen) in AddStringArrayToJson() argument
570 cJSON *strArrayObj = cJSON_CreateStringArray(stringArray, arrayLen); in AddStringArrayToJson()
/base/web/webview/interfaces/kits/napi/webviewcontroller/
Dnapi_webview_controller.cpp1318 uint32_t arrayLen = 0; in PostMessage() local
1319 NAPI_CALL(env, napi_get_array_length(env, argv[INTEGER_ONE], &arrayLen)); in PostMessage()
1320 if (arrayLen == 0) { in PostMessage()
1326 for (uint32_t i = 0; i < arrayLen; i++) { in PostMessage()