/base/security/device_security_level/baselib/utils/src/ |
D | utils_json.c | 73 …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/ |
D | utils_json.h | 32 …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/ |
D | cf_blob.c | 72 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/ |
D | cf_adapter_extension_openssl.c | 119 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/ |
D | cf_blob.h | 58 void FreeCfBlobArray(CfBlob *array, uint32_t arrayLen);
|
/base/security/device_auth/common_lib/interfaces/ |
D | json_utils.h | 99 …ngArrayToJson(CJson *jsonObj, const char *key, const char * const *stringArray, uint32_t arrayLen);
|
/base/security/device_auth/common_lib/impl/src/ |
D | json_utils.c | 506 …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/ |
D | json_utils_mock.c | 564 …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/ |
D | napi_webview_controller.cpp | 1318 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()
|