Home
last modified time | relevance | path

Searched refs:array (Results 1 – 25 of 70) sorted by relevance

123

/base/telephony/core_service/frameworks/js/sim/include/
Dnapi_sim.h42 std::array<char, ARRAY_SIZE> inputStr {};
71 std::array<char, ARRAY_SIZE> alphaTag {};
72 std::array<char, ARRAY_SIZE> number {};
73 std::array<char, ARRAY_SIZE> pin2 {};
85 std::array<char, ARRAY_SIZE> mailName {};
86 std::array<char, ARRAY_SIZE> mailNumber {};
/base/hiviewdfx/hilog/test/moduletest/common/
Dadapter_test.cpp43 std::array<char, HILOG_PROP_VALUE_MAX - 1> prop = {0};
56 std::array<char, HILOG_PROP_VALUE_MAX - 1> prop = {0};
72 std::array<char, HILOG_PROP_VALUE_MAX - 1> prop = {0};
84 std::array<char, HILOG_PROP_VALUE_MAX> prop1 = {0};
93 std::array<char, HILOG_PROP_VALUE_MAX-1> prop = {0};
104 std::array<char, HILOG_PROP_VALUE_MAX - 1> prop = {0};
153 …static const std::array<const char*, 10> charLevels = {"d", "D", "f", "F", "e", "E", "w", "W", "i"…
154 static const std::array<uint16_t, 10> expected = {
Dhilog_ndk_test.cpp55 static const std::array<LogMethodFunc, METHODS_NUMBER> LOG_C_METHODS = {
73 static const std::array<LogMethodFunc, METHODS_NUMBER> LOG_CPP_METHODS = {
134 const std::array<LogMethodFunc, METHODS_NUMBER> &logMethods) in HiLogWriteTest()
/base/security/device_security_level/baselib/utils/src/
Dutils_json.c71 uint32_t GetJsonFieldIntArray(JsonHandle handle, const char *field, int32_t *array, int32_t arrayLe… in GetJsonFieldIntArray() argument
73 if (handle == NULL || field == NULL || array == NULL) { in GetJsonFieldIntArray()
95 array[index++] = item->valueint; in GetJsonFieldIntArray()
156 void AddFieldIntArrayToJson(JsonHandle handle, const char *field, const int32_t *array, int32_t arr… in AddFieldIntArrayToJson() argument
158 if (handle == NULL || field == NULL || array == NULL) { in AddFieldIntArrayToJson()
161 cJSON *arrayObj = cJSON_CreateIntArray(array, arrayLen); in AddFieldIntArrayToJson()
/base/startup/init_lite/services/include/
Dinit_utils.h38 #define ARRAY_LENGTH(array) (sizeof((array)) / sizeof((array)[0])) argument
/base/compileruntime/js_api_module/url/src/
Djs_url.ts29 array : string[] | number[]; property
62 this.urlcalss.array = out;
110 let array = this.urlcalss.array;
111 if (array.length == 0) {
115 let size = array.length - 1;
117 let key = array[i];
118 let value = array[i + 1];
130 this.urlcalss.array = out;
/base/powermgr/power_manager/services/native/include/actions/
Dirunning_lock_action.h75 static const std::array<std::string, ToUnderlying(RunningLockType::RUNNINGLOCK_BUTT)> LOCK_TAGS;
77 std::array<RunningLockDesc, ToUnderlying(RunningLockType::RUNNINGLOCK_BUTT)> lockDescs_;
/base/security/deviceauth/frameworks/deviceauth_lite/source/auth_info/
Dremove_auth_info.c99 uint8_t array[sizeof(int32_t)] = {0}; in build_remove_response_data() local
101 .val = array, in build_remove_response_data()
102 .size = sizeof(array), in build_remove_response_data()
103 .length = sizeof(array) in build_remove_response_data()
Dadd_auth_info.c103 uint8_t array[sizeof(int32_t)] = {0}; in build_add_response_data() local
105 .val = array, in build_add_response_data()
106 .size = sizeof(array), in build_add_response_data()
107 .length = sizeof(array) in build_add_response_data()
/base/security/device_security_level/baselib/utils/include/
Dutils_json.h32 uint32_t GetJsonFieldIntArray(JsonHandle handle, const char *field, int32_t *array, int32_t arrayLe…
40 void AddFieldIntArrayToJson(JsonHandle handle, const char *field, const int32_t *array, int32_t arr…
/base/telephony/core_service/services/sim/include/
Dsim_utils.h50 std::shared_ptr<unsigned char> array, int offset, int length, int offPos);
57 std::shared_ptr<unsigned char> array, int offset, int length, int offPos);
/base/telephony/core_service/services/sim/src/
Dsim_utils.cpp150 std::shared_ptr<unsigned char> array, int offset, int length, int offPos) in DiallingNumberStringFieldConvertToString() argument
152 if (length <= 0 || array == nullptr) { in DiallingNumberStringFieldConvertToString()
155 unsigned char *data = array.get(); in DiallingNumberStringFieldConvertToString()
192 return UcsCodeConvertToString(array, offset, length, offPos); in DiallingNumberStringFieldConvertToString()
196 std::shared_ptr<unsigned char> array, int offset, int length, int offPos) in UcsCodeConvertToString() argument
201 unsigned char *data = array.get(); in UcsCodeConvertToString()
/base/compileruntime/js_util_module/
DREADME.md13array into a newly-allocated u8 array using the Base64 encoding scheme or Encodes the specified by…
145 …ay): Uint8Array; | Encodes all bytes in the specified u8 array into the newly allocated u8 array u…
146 | encodeToStringSync(src: Uint8Array): string; | Encodes the specified byte array as a String using…
147 …t8Array; | Decodes the Base64-encoded string or input u8 array into the newly allocated u8 array u…
148 …; | Asynchronously encodes all bytes in the specified u8 array into the newly allocated u8 array u…
149 …nt8Array): Promise\<string\>; | Asynchronously encodes the specified byte array into a String usin…
150 … asynchronously decode a Base64-encoded string or input u8 array into a newly allocated u8 array. |
183 | \[Symbol.iterator\](): [K,V]| Returns a two-dimensional array in the form of key value pairs. |
201array or napi_ uint8_ array or naPi_ uint8_ clamped_ array or naPi_ int16_ array or naPi_ uint16_
205 …64Array(value: Object): boolean | Check whether the entered value is of bigint64array array type. |
[all …]
/base/customization/enterprise_device_management/services/edm/src/utils/
Dfunc_code_utils.cpp91 bool ArrayPolicyUtils::ArrayStringContains(const std::vector<std::string> &array, const std::string… in ArrayStringContains() argument
93 …return std::any_of(array.begin(), array.end(), [&findItem](const std::string &item) { return item … in ArrayStringContains()
/base/security/permission/services/permission_lite/pms/src/
Dpms_impl.c182 cJSON *array = cJSON_GetObjectItem(root, FIELD_PERMISSION); in ParsePermissions() local
183 int pSize = cJSON_GetArraySize(array); in ParsePermissions()
195 cJSON *object = cJSON_GetArrayItem(array, i); in ParsePermissions()
244 cJSON *array = cJSON_CreateArray(); in SavePermissions() local
245 if (array == NULL) { in SavePermissions()
252 cJSON_Delete(array); in SavePermissions()
261 cJSON_Delete(array); in SavePermissions()
267 cJSON_Delete(array); in SavePermissions()
273 cJSON_AddItemToArray(array, object); in SavePermissions()
275 cJSON_AddItemToObject(root, FIELD_PERMISSION, array); in SavePermissions()
/base/user_iam/user_auth/interfaces/innerkits/napi/src/
Dresult_convert.cpp134 napi_value array = GetNapiValue(env, key.c_str(), jsObject); in GetInt32ArrayValueByKey() local
135 if (array == nullptr) { in GetInt32ArrayValueByKey()
139 status = napi_is_array(env, array, &isArray); in GetInt32ArrayValueByKey()
148 return GetCppArrayUint32(env, array); in GetInt32ArrayValueByKey()
/base/miscservices/inputmethod/interfaces/kits/js/napi/inputmethod/src/
Djs_input_method_setting.cpp72 NativeArray* array = ConvertNativeValueTo<NativeArray>(arrayValue); in OnListInputMethod() local
82 array->SetElement(index++, objValue); in OnListInputMethod()
/base/security/deviceauth/frameworks/deviceauth_lite/source/base/product_header/
Dhilink_osadapter.h72 void *hilink_json_get_arrayitem(const void *array, int item);
73 int hilink_json_get_arraysize(const void *array);
/base/hiviewdfx/hilog/interfaces/js/kits/napi/src/hilog/src/
Dhilog_napi_base.cpp230 napi_value array = funcArg[NARG_POS::FOURTH]; in HilogImpl() local
231 napi_is_array(env, array, &res); in HilogImpl()
246 napi_status lengthStatus = napi_get_array_length(env, array, &length); in HilogImpl()
253 napi_status eleStatus = napi_get_element(env, array, i, &element); in HilogImpl()
/base/miscservices/time/services/timer/include/
Dtimer_handler.h31 typedef std::array<int, N_TIMER_FDS> TimerFds;
/base/security/access_token/frameworks/com.ohos.permissionmanager/permissionmanager/src/main/ets/MainAbility/common/components/
Dsearch.ets21 @Link applicationItem: any; // application info array
22 @Link oldApplicationItem: any; // Original application information array
DalphabeticalIndex.ets50 @Link applicationItem: any; // application info array
51 @Link oldApplicationItem: any; // Original application information array
/base/security/appverify/interfaces/innerkits/appverify_lite/src/
Dapp_provision.c60 static void FreeStringAttay(char **array, int num) in FreeStringAttay() argument
62 if (array == NULL) { in FreeStringAttay()
66 if (array[i] != NULL) { in FreeStringAttay()
67 APPV_FREE(array[i]); in FreeStringAttay()
70 APPV_FREE(array); in FreeStringAttay()
/base/powermgr/power_manager/services/native/src/actions/
Dirunning_lock_action.cpp24 const array<string, ToUnderlying(RunningLockType::RUNNINGLOCK_BUTT)> IRunningLockAction::LOCK_TAGS {
/base/security/access_token/frameworks/com.ohos.permissionmanager/permissionmanager/src/main/ets/MainAbility/common/utils/
Dutils.ets72 * Let arkui detect changes in array index assignments。
75 // copy array
339 // Program that returns the first letter array of Chinese characters
344 // Convert string to array
362 // Process the characters and return an array of letters
382 // Concatenate the copied and modified array to arrRslt

123