Home
last modified time | relevance | path

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

12345

/test/xts/device_attest_lite/services/core/include/network/
Dattest_tls.h20 #define ATTEST_ARRAY_SIZE(array) (sizeof(array) / sizeof((array)[0])) argument
/test/xts/acts/commonlibrary/ets_utils/intl_lib_standard/src/main/js/test/
DIntl.properties.test.js1366 var array = [1, 'a', new Date('21 Dec 2022 14:12:00 UTC')];
1367 var value = array.toLocaleString('en', { timeZone: 'UTC' });
1381 var array = [1, 'a', new Date('21 Dec 2022 14:12:00 UTC')];
1382 var value = array.toLocaleString('en', { timeZone: 'UTC' });
1396 var array = [1, 'a', new Date('21 Dec 2022 14:12:00 UTC')];
1397 var value = array.toLocaleString('en', { timeZone: 'UTC' });
1411 var array = [1, 'a', '测试'];
1412 var value = array.toLocaleString('zh');
1426 var array = [1, 'a', '测试', undefined];
1427 var value = array.toLocaleString('zh');
[all …]
/test/xts/acts/commonlibrary/ets_utils/util2_lib_standard/src/main/js/test/
Dutil.test.js5127 var array = new Uint8Array([115,49,51]);
5129 var result = that.encodeSync(array);
5146 var array = new Uint8Array([66, 97, 115, 101, 54, 52, 32, 78, 111, 100, 101, 46, 106, 115]);
5148 var result = that.encodeSync(array);
5165 var array = new Uint8Array([66,97,115,101,54,52,32,69,110,99,111,100,105,110,103,32,105,
5169 var result = that.encodeSync(array);
5186 var array = new Uint8Array([168, 174, 155, 255]);
5188 var result = that.encodeSync(array);
5205 var array = new Uint8Array([66, 97, 115, 101, 54, 52]);
5207 var result = that.encodeSync(array);
[all …]
/test/xts/acts/arkui/ace_ets_component_ui/entry/src/main/ets/MainAbility/pages/State/
DStateArrayNew.ets33 Text('Click to every value to the array ' + this.res_every).fontSize(15).margin(5).margin(10)
39 Text('Click to some value to the array ' + this.res_some).fontSize(15).margin(5).margin(10)
45 … Text('Click to filter value to the array ' + this.res_filter).fontSize(15).margin(5).margin(10)
51 … Text('Click to reduce value to the array ' + this.res_reduce).fontSize(15).margin(5).margin(10)
57 …Text('Click to reduceRight value to the array ' + this.res_reduceRight).fontSize(15).margin(5).mar…
DStateArray.ets47 Button('Click to change value to the array').fontSize(15).margin(5).margin(10)
54 Button('Click to delete value to the array').fontSize(15).margin(5).margin(10)
60 Button('Click to add value to the array').fontSize(15).margin(5).margin(10)
/test/xts/device_attest_lite/interfaces/kit/js/src/
Dnative_device_attest.cpp117 JSIValue array = JSI::CreateNull(); in SetJsResult() local
121 array = JSI::CreateArray(size); in SetJsResult()
122 isArray = JSI::ValueIsArray(array); in SetJsResult()
130 JSI::SetPropertyByIndex(array, i, element); in SetJsResult()
134 JSI::SetNamedProperty(*result, "softwareResultDetail", array); in SetJsResult()
/test/xts/acts/commonlibrary/ets_utils/util_lib_standard/src/main/js/test/
Dutil.test.js2258 var array = new Uint8Array([115,49,51]);
2260 var result = that.encodeSync(array);
2273 var array = new Uint8Array([66, 97, 115, 101, 54, 52, 32, 78, 111, 100, 101, 46, 106, 115]);
2275 var result = that.encodeSync(array);
2288 var array = new Uint8Array([66,97,115,101,54,52,32,69,110,99,111,100,105,110,103,32,105,
2292 var result = that.encodeSync(array);
2305 var array = new Uint8Array([168, 174, 155, 255]);
2307 var result = that.encodeSync(array);
2320 var array = new Uint8Array([66, 97, 115, 101, 54, 52]);
2322 var result = that.encodeSync(array);
[all …]
/test/xts/acts/storage/storagefileiov9jstest/src/main/js/test/members/
Dfilerw.test.js31 let array = new ArrayBuffer(bf);
41 … fileIO.read(file.fd, array, { length: bf, offset: offset }).then((readLen) => {
47 …fileIO.write(file.fd, array, { length: bf, offset: offset, encoding: 'utf-8' }).then((writeLen) =>…
55 … fileIO.read(file.fd, array, { length: bf, offset: offset }, (err, readLen) => {
62 …fileIO.write(file.fd, array, { length: bf, offset: offset, encoding: 'utf-8' }, (err, writeLen) =>…
/test/xts/acts/arkui/ace_ets_component_ui/entry/src/main/ets/test/State/
DStateArrayNewJsunit.test.ets57 expect(obj.$attrs.content).assertEqual('Click to every value to the array false');
73 expect(obj.$attrs.content).assertEqual('Click to some value to the array false');
90 …expect(obj.$attrs.content).assertEqual("Click to filter value to the array exuberant,destruction,p…
107 expect(obj.$attrs.content).assertEqual('Click to reduce value to the array 10');
123 expect(obj.$attrs.content).assertEqual('Click to reduceRight value to the array 4,5,2,3,0,1');
/test/xts/acts/commonlibrary/thirdparty/musl/entry/src/main/cpp/common/
Dnapi_helper.cpp90 uint32_t NapiHelper::GetArrayLength(napi_env env, napi_value array) in GetArrayLength() argument
93 napi_get_array_length(env, array, &arrayLength); in GetArrayLength()
/test/xts/acts/graphic/graphicEGL/entry/src/main/cpp/common/
Dnapi_helper.cpp90 uint32_t NapiHelper::GetArrayLength(napi_env env, napi_value array) in GetArrayLength() argument
93 napi_get_array_length(env, array, &arrayLength); in GetArrayLength()
/test/xts/acts/graphic/nativeimage/entry/src/main/cpp/common/
Dnapi_helper.cpp90 uint32_t NapiHelper::GetArrayLength(napi_env env, napi_value array) in GetArrayLength() argument
93 napi_get_array_length(env, array, &arrayLength); in GetArrayLength()
/test/xts/acts/graphic/nativevsync/entry/src/main/cpp/common/
Dnapi_helper.cpp90 uint32_t NapiHelper::GetArrayLength(napi_env env, napi_value array) in GetArrayLength() argument
93 napi_get_array_length(env, array, &arrayLength); in GetArrayLength()
/test/xts/acts/startup/startup_standard/init_ndkTest/entry/src/main/cpp/common/
Dnapi_helper.cpp90 uint32_t NapiHelper::GetArrayLength(napi_env env, napi_value array) in GetArrayLength() argument
93 napi_get_array_length(env, array, &arrayLength); in GetArrayLength()
/test/testfwk/arkxtest/uitest/test/
Dcommon_utilities_test.cpp27 constexpr array<char, MAX_LOG_TAG_LEN> tagChars = GenLogTag(fileName, function); in TEST()
/test/testfwk/developer_test/src/core/build/
Dbuild_lite_testcases.sh110 IFS=',' read -r -a array <<< "${current_target}"
115 for element in ${array[*]}
/test/xts/acts/commonlibrary/thirdparty/musl/entry/src/main/cpp/
Dsearchndk.cpp285 int array[3]; in Lfind() local
289 napi_get_value_int32(env, args[0], array); in Lfind()
290 napi_get_value_int32(env, args[0], array + VALUE_ONE); in Lfind()
291 napi_get_value_int32(env, args[0], array + VALUE_TWO); in Lfind()
293 ret = lfind(&key, array, &nlength, sizeof(int), Compare); in Lfind()
/test/testfwk/arkxtest/uitest/core/
Dcommon_utilities_hpp.h78 … constexpr std::array<char, MAX_LOG_TAG_LEN> GenLogTag(std::string_view fp, std::string_view func) in GenLogTag()
81 std::array<char, MAX_LOG_TAG_LEN> chars = {0}; in GenLogTag()
Drect_algorithm.cpp30 array<int32_t, INDEX_FOUR> px = {ra.left_, ra.right_, rb.left_, rb.right_}; in ComputeIntersection()
31 array<int32_t, INDEX_FOUR> py = {ra.top_, ra.bottom_, rb.top_, rb.bottom_}; in ComputeIntersection()
/test/xts/tools/lite/
DbuildFun.sh57 IFS=',' read -r -a array <<< "${current_target}"
61 for element in ${array[*]}
/test/xts/acts/ability/ability_runtime/formmanager/fa/formsystemtest_ets/formfuzztest/entry/src/main/ets/test/
DgetParam.ets101 // return array random, the array value is: string,number,bool
105 // array length
/test/xts/acts/multimedia/image/image_js_standard/imagePackingNDK/entry/src/main/ets/test/
DImagePackingNDKTest.ets282 * 3.packing image source to array buffer-jpeg
329 * : 3.packing image source to array buffer-webp
377 * : 3.packing image source to array buffer-png
424 * 2.packing pixelmap to array buffer-jpg
468 * 2.packing pixelmap to array buffer-webp
513 * 2.packing pixelmap to array buffer-png
572 * : 3.packing image source to array buffer-format: "image/txt"
592 * : 3.packing image source to array buffer-quality: 101
612 * : 3.packing image source to array buffer-no quality
632 * : 3.packing image source to array buffer-no format
/test/xts/acts/multimedia/photoAccess/photoAccess/entry/src/main/ets/test/Album/
DaddAssets.ets117 * @tc.desc : add empty array to user album
148 * @tc.desc : add undefined array to user album
237 * @tc.desc : add empty array to user album
258 * @tc.desc : add undefined array to user album
/test/xts/acts/commonlibrary/ets_utils/buffer_lib_standard/src/main/js/test/
DBuffer.test.js4664 let array = new Int8Array(arrayBuffer);
4665 array[0] = '1';
4666 array[1] = '2';
4667 array[2] = '3';
4668 array[3] = '4';
4669 array[4] = '5';
4687 let array = new Uint8Array([252,11,3,67,237,118,91,177,43]);
4688 let buf = buffer.from(array);
4694 array = new Uint8Array([2,192,254,253,5,132,69]);
4695 buf = buffer.from(array);
[all …]
/test/xts/acts/multimedia/audio/audio_js_standard/AudioEventManagement/src/main/js/test/
DAudioEventManagement.test.js37 function displayDeviceProp(value, index, array) { argument

12345