Home
last modified time | relevance | path

Searched refs:length (Results 1 - 25 of 1565) sorted by relevance

12345678910>>...63

/test/xts/acts/commonlibrary/thirdparty/musl/entry/src/main/cpp/
H A Dctypendk.cpp44 size_t length = STRLENGTH; in Isalnum() local
47 napi_get_value_string_utf8(env, args[0], ch, length, &strResult); in Isalnum()
63 size_t length = STRLENGTH; in IsalnumL() local
65 char *ch = static_cast<char *>(malloc(sizeof(char) * length)); in IsalnumL()
66 napi_get_value_string_utf8(env, args[0], ch, length, &strResult); in IsalnumL()
82 size_t length = STRLENGTH; in Isalpha() local
84 char *ch = static_cast<char *>(malloc(sizeof(char) * length)); in Isalpha()
85 napi_get_value_string_utf8(env, args[0], ch, length, &strResult); in Isalpha()
101 size_t length = STRLENGTH; in IsalphaL() local
103 char *ch = static_cast<char *>(malloc(sizeof(char) * length)); in IsalphaL()
137 size_t length = STRLENGTH; Isblank() local
156 size_t length = STRLENGTH; IsblankL() local
209 size_t length = STRLENGTH; Isdigit() local
227 size_t length = STRLENGTH; IsdigitL() local
246 size_t length = STRLENGTH; Isgraph() local
264 size_t length = STRLENGTH; IsgraphL() local
283 size_t length = STRLENGTH; Islower() local
302 size_t length = STRLENGTH; IslowerL() local
321 size_t length = STRLENGTH; Isprint() local
340 size_t length = STRLENGTH; IsprintL() local
359 size_t length = STRLENGTH; Ispunct() local
378 size_t length = STRLENGTH; IspunctL() local
397 size_t length = STRLENGTH; Isspace() local
415 size_t length = STRLENGTH; IsspaceL() local
434 size_t length = STRLENGTH; Isupper() local
453 size_t length = STRLENGTH; IsupperL() local
472 size_t length = STRLENGTH; Isxdigit() local
491 size_t length = STRLENGTH; IsxdigitL() local
[all...]
H A Dwctypendk.cpp57 size_t length = STRLENGTH; in Iswalnum() local
59 char ch[length]; in Iswalnum()
60 napi_get_value_string_utf8(env, args[0], ch, length, &strResult); in Iswalnum()
77 size_t length = STRLENGTH; in IswalnumL() local
79 char ch[length]; in IswalnumL()
80 napi_get_value_string_utf8(env, args[0], ch, length, &strResult); in IswalnumL()
97 size_t length = STRLENGTH; in Iswalpha() local
99 char ch[length]; in Iswalpha()
100 napi_get_value_string_utf8(env, args[0], ch, length, &strResult); in Iswalpha()
117 size_t length in IswalphaL() local
137 size_t length = STRLENGTH; Iswblank() local
157 size_t length = STRLENGTH; IswblankL() local
213 size_t length = STRLENGTH; Iswdigit() local
232 size_t length = STRLENGTH; IswdigitL() local
252 size_t length = STRLENGTH; Iswgraph() local
271 size_t length = STRLENGTH; IswgraphL() local
291 size_t length = STRLENGTH; Iswlower() local
311 size_t length = STRLENGTH; IswlowerL() local
331 size_t length = STRLENGTH; Iswprint() local
351 size_t length = STRLENGTH; IswprintL() local
371 size_t length = STRLENGTH; Iswpunct() local
391 size_t length = STRLENGTH; IswpunctL() local
411 size_t length = STRLENGTH; Iswspace() local
430 size_t length = STRLENGTH; IswspaceL() local
450 size_t length = STRLENGTH; Iswupper() local
470 size_t length = STRLENGTH; IswupperL() local
490 size_t length = STRLENGTH; Iswctype() local
512 size_t length = STRLENGTH; IswctypeL() local
534 size_t length = STRLENGTH; Iswxdigit() local
554 size_t length = STRLENGTH; IswxdigitL() local
[all...]
H A Ducharndk.cpp37 int length; in Mbrtoc16() local
38 length = mbrtoc16(&pc16, s, MB_CUR_MAX, &ps); in Mbrtoc16()
40 napi_create_int32(env, length, &result); in Mbrtoc16()
49 int length; in Mbrtoc32() local
50 length = mbrtoc32(&pc32, s, MB_CUR_MAX, &ps); in Mbrtoc32()
52 napi_create_int32(env, length, &result); in Mbrtoc32()
60 size_t length; in C16rtomb() local
62 length = c16rtomb(size, str[num], &param); in C16rtomb()
64 if (length > NO_ERR) { in C16rtomb()
78 size_t length; in C32rtomb() local
[all...]
H A Dstatndk.cpp209 size_t length = SIZE_64; in Fstat() local
212 napi_get_value_string_utf8(env, args[PARAM_0], path, length, &stresult); in Fstat()
227 size_t length = SIZE_64; in Fstat64() local
230 napi_get_value_string_utf8(env, args[PARAM_0], path, length, &stresult); in Fstat64()
245 size_t length = SIZE_64; in Fstatat() local
248 napi_get_value_string_utf8(env, args[PARAM_0], path, length, &stresult); in Fstatat()
263 size_t length = SIZE_64; in Fstatat64() local
266 napi_get_value_string_utf8(env, args[PARAM_0], path, length, &stresult); in Fstatat64()
294 size_t length = SIZE_64; in MkFifoAt() local
296 char path[length]; in MkFifoAt()
321 size_t length = SIZE_64; MkNodAt() local
356 size_t length = SIZE_64; MkNod() local
[all...]
/test/xts/hats/hdf/usb/mtpTest_additional/common/
H A Dusbfn_mtp_test.cpp67 .length = 0,
230 * @tc.desc: mfs Indicates the mtp file slice info. mfs.length = 1.
238 mfs.length = 1; in HWTEST_F()
239 std::cout << "testHdiUsbMtpTestReceiveFile001===>use libusb in PC launch bulk-out transfer(size = " << mfs.length in HWTEST_F()
251 ASSERT_EQ(GetFileSize(filePathName), static_cast<uint64_t>(mfs.length)); in HWTEST_F()
257 * @tc.desc: mfs Indicates the mtp file slice info. mfs.length = 100.
265 mfs.length = 100; in HWTEST_F()
266 std::cout << "testHdiUsbMtpTestReceiveFile002===>use libusb in PC launch bulk-out transfer(size = " << mfs.length in HWTEST_F()
278 ASSERT_EQ(GetFileSize(filePathName), static_cast<uint64_t>(mfs.length)); in HWTEST_F()
284 * @tc.desc: mfs Indicates the mtp file slice info. mfs.length
708 uint32_t length = BULK_IN_LESS_THEN_ONCE; HWTEST_F() local
730 uint32_t length = BULK_IN_ONCE_MAX_SIZE; HWTEST_F() local
751 uint32_t length = BULK_IN_MORE_THEN_ONCE; HWTEST_F() local
772 uint32_t length = BULK_IN_MORE_THEN_ONCE; HWTEST_F() local
[all...]
/test/xts/hats/kernel/syscalls/mem/mincore/
H A DMincoreApiTest.cpp67 size_t length = PAGE_SIZE * 4; in HWTEST_F() local
68 unsigned char *vec = new unsigned char[(length / PAGE_SIZE) + 1](); in HWTEST_F()
70 void *addr = mmap(nullptr, length, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in HWTEST_F()
73 ret = mincore(addr, length, vec); in HWTEST_F()
76 munmap(addr, length); in HWTEST_F()
91 size_t length = PAGE_SIZE * 4; in HWTEST_F() local
92 unsigned char *vec = new unsigned char[(length / PAGE_SIZE) + 1](); in HWTEST_F()
95 ret = mincore(MAP_FAILED, length, vec); in HWTEST_F()
112 size_t length = PAGE_SIZE * 4; in HWTEST_F() local
113 unsigned char *vec = new unsigned char[(length / PAGE_SIZ in HWTEST_F()
[all...]
/test/xts/hats/hdf/usb/mtpTest/common/
H A Dusbfn_mtp_test.cpp75 .length = 0,
238 * @tc.desc: Positive test: parameters correctly, read length less then one packet size
261 * @tc.desc: Positive test: parameters correctly, read length exactly one packet size
284 * @tc.desc: Positive test: parameters correctly, read length more then one packet size, please read again
369 uint32_t length = BULK_IN_LESS_THEN_ONCE; in HWTEST_F() local
371 devData.assign(length, 'w'); in HWTEST_F()
373 std::cout << "SUB_USB_DeviceManager_HDI_MTPPTP_0600===>use libusb in PC launch bulk-in transfer(expect=" << length in HWTEST_F()
393 uint32_t length = BULK_IN_ONCE_MAX_SIZE; in HWTEST_F() local
395 devData.assign(length, 'w'); in HWTEST_F()
396 std::cout << "SUB_USB_DeviceManager_HDI_MTPPTP_0700===>use libusb in PC launch bulk-in transfer(expect=" << length in HWTEST_F()
416 uint32_t length = BULK_IN_MORE_THEN_ONCE; HWTEST_F() local
[all...]
/test/xts/acts/ai_lite/ai_engine_posix/base/src/utils/
H A Daie_client_common.cpp98 .length = 0, in GetDataInfo()
105 int length = strlen(str) + 1; in GetDataInfo() local
109 .length = length, in GetDataInfo()
117 * Constructs DataInfo with a big length data.
124 .length = 0, in GetBigDataInfo()
130 int length = INT_2 * INT_1024 * INT_1024; // 2 MB long data, the unit is Byte here. in GetBigDataInfo() local
132 int length = INT_1 * INT_1024 * INT_1024; // 1 MB long data, the unit is Byte here. in GetBigDataInfo()
135 char *data = reinterpret_cast<char *>(malloc(length)); in GetBigDataInfo()
139 .length in GetBigDataInfo()
[all...]
/test/xts/acts/communication/dsoftbus/rpc/entry/src/ohosTest/js/test/
H A DassertDeepEquals.js100 let length = aStack.length;
101 while (length--) {
102 if (aStack[length] == a) {
103 return bStack[length] == b;
112 const aLength = a.length;
113 const bLength = b.length;
139 for (let i = 0; result && i < mapKeys.length; i++) {
143 for (let j = 0; result && j < mapIter.length; j++) {
177 for (let i = 0; result && i < setPairs.length;
[all...]
/test/xts/hats/ai/nnrt/hdi/v1_0/common/
H A Dhdi_nnrt_test_utils.cpp159 V1_0::IOTensor HDICommon::CreateInputIOTensor(OHOS::sptr<V1_0::INnrtDevice> &device, size_t length, float* data) in CreateInputIOTensor() argument
161 if (length == 0) { in CreateInputIOTensor()
162 std::cout << "The length param is invalid, length=0" << std::endl; in CreateInputIOTensor()
166 auto ret = device->AllocateBuffer(length, buffer); in CreateInputIOTensor()
173 auto memAddress = memManager->MapMemory(buffer.fd, length); in CreateInputIOTensor()
177 memcpy_s(memAddress, length, data, length); in CreateInputIOTensor()
187 V1_0::IOTensor HDICommon::CreateOutputIOTensor(OHOS::sptr<V1_0::INnrtDevice> &device, size_t length) in CreateOutputIOTensor() argument
189 if (length in CreateOutputIOTensor()
208 MapMemory(int fd, size_t length) MapMemory() argument
228 SetData(float* buffer, size_t length, float* data) SetData() argument
288 PrintTensor(const float *buffer, size_t length) PrintTensor() argument
[all...]
/test/xts/hats/ai/nnrt/hdi/v2_0/common/
H A Dhdi_nnrt_test_utils.cpp159 V2_0::IOTensor HDICommon::CreateInputIOTensor(OHOS::sptr<V2_0::INnrtDevice> &device, size_t length, float* data) in CreateInputIOTensor() argument
161 if (length == 0) { in CreateInputIOTensor()
162 std::cout << "The length param is invalid, length=0" << std::endl; in CreateInputIOTensor()
166 auto ret = device->AllocateBuffer(length, buffer); in CreateInputIOTensor()
173 auto memAddress = memManager->MapMemory(buffer.fd, length); in CreateInputIOTensor()
177 memcpy_s(memAddress, length, data, length); in CreateInputIOTensor()
187 V2_0::IOTensor HDICommon::CreateOutputIOTensor(OHOS::sptr<V2_0::INnrtDevice> &device, size_t length) in CreateOutputIOTensor() argument
189 if (length in CreateOutputIOTensor()
208 MapMemory(int fd, size_t length) MapMemory() argument
228 SetData(float* buffer, size_t length, float* data) SetData() argument
288 PrintTensor(const float *buffer, size_t length) PrintTensor() argument
[all...]
/test/xts/acts/storage/storagefileurindktest/entry/src/main/cpp/
H A Dgetpathfromuri.cpp31 unsigned int length = strlen(path); in GetUriFromPath() local
33 FileManagement_ErrCode ret = OH_FileUri_GetUriFromPath(path, length, &uriResult); in GetUriFromPath()
42 unsigned int length = strlen(uri); in GetPathFromUri() local
44 FileManagement_ErrCode ret = OH_FileUri_GetPathFromUri(uri, length, &uriResult); in GetPathFromUri()
54 unsigned int length = strlen(uri); in GetFullDirectoryUri() local
56 FileManagement_ErrCode ret = OH_FileUri_GetFullDirectoryUri(uri, length, &uriResult); in GetFullDirectoryUri()
66 unsigned int length = strlen(uri); in IsValidUri() local
67 bool falgs = OH_FileUri_IsValidUri(uri, length); in IsValidUri()
77 unsigned int length = strlen(uri); in GetFileName() local
79 OH_FileUri_GetFileName(uri, length, in GetFileName()
[all...]
/test/xts/acts/ai/neural_network_runtime/v1_0/interface/src/
H A DMemoryTest.cpp38 void CheckCreateInputMemory(OH_NNExecutor *executor, uint32_t inputIndex, size_t length) in CheckCreateInputMemory() argument
40 OH_NN_Memory *OHNNMemory = OH_NNExecutor_AllocateInputMemory(executor, inputIndex, length); in CheckCreateInputMemory()
46 void CheckCreateOutputMemory(OH_NNExecutor *executor, uint32_t outputIndex, size_t length) in CheckCreateOutputMemory() argument
48 OH_NN_Memory *OHNNMemory = OH_NNExecutor_AllocateOutputMemory(executor, outputIndex, length); in CheckCreateOutputMemory()
82 OH_NN_Memory *OHNNMemory = OH_NNExecutor_AllocateInputMemory(executor, 2, graphArgs.operands[0].length); in HWTEST_F()
89 * @tc.name : 创建输入共享内存,length为0
109 * @tc.name :创建输入共享内存,length为最大限制2G
142 OH_NN_Memory *OHNNMemory = OH_NNExecutor_AllocateInputMemory(executor, 0, graphArgs.operands[0].length); in HWTEST_F()
144 OH_NN_Memory *OHNNMemory2 = OH_NNExecutor_AllocateInputMemory(executor, 0, graphArgs.operands[0].length); in HWTEST_F()
168 std::thread th1(CheckCreateInputMemory, executor, 0, graphArgs.operands[0].length); in HWTEST_F()
[all...]
/test/xts/acts/ai/neural_network_runtime/v2_0/interface/src/
H A DMemoryTest.cpp38 void CheckCreateInputMemory(OH_NNExecutor *executor, uint32_t inputIndex, size_t length) in CheckCreateInputMemory() argument
40 OH_NN_Memory *OHNNMemory = OH_NNExecutor_AllocateInputMemory(executor, inputIndex, length); in CheckCreateInputMemory()
46 void CheckCreateOutputMemory(OH_NNExecutor *executor, uint32_t outputIndex, size_t length) in CheckCreateOutputMemory() argument
48 OH_NN_Memory *OHNNMemory = OH_NNExecutor_AllocateOutputMemory(executor, outputIndex, length); in CheckCreateOutputMemory()
82 OH_NN_Memory *OHNNMemory = OH_NNExecutor_AllocateInputMemory(executor, 2, graphArgs.operands[0].length); in HWTEST_F()
89 * @tc.name : 创建输入共享内存,length为0
109 * @tc.name :创建输入共享内存,length为最大限制2G
142 OH_NN_Memory *OHNNMemory = OH_NNExecutor_AllocateInputMemory(executor, 0, graphArgs.operands[0].length); in HWTEST_F()
144 OH_NN_Memory *OHNNMemory2 = OH_NNExecutor_AllocateInputMemory(executor, 0, graphArgs.operands[0].length); in HWTEST_F()
168 std::thread th1(CheckCreateInputMemory, executor, 0, graphArgs.operands[0].length); in HWTEST_F()
[all...]
H A DExecutorTest.cpp102 OH_NNExecutor_SetInput(nullptr, inputIndex, &operand, operandTem.data, operandTem.length)); in HWTEST_F()
130 OH_NNExecutor_SetInput(executor, inputIndex, &operand, operandTem.data, operandTem.length)); in HWTEST_F()
158 OH_NNExecutor_SetInput(executor, inputIndex, &operand, operandTem.data, operandTem.length)); in HWTEST_F()
187 OH_NNExecutor_SetInput(executor, inputIndex, &operand, operandTem.data, operandTem.length)); in HWTEST_F()
215 OH_NNExecutor_SetInput(executor, inputIndex, &operand, nullptr, operandTem.length)); in HWTEST_F()
222 * @tc.name : 设置输入,length小于输入长度
270 OH_NNExecutor_SetInput(executor, inputIndex, &operand, operandTem.data, operandTem.length)); in HWTEST_F()
272 OH_NNExecutor_SetInput(executor, inputIndex, &operand, operandTem.data, operandTem.length)); in HWTEST_F()
303 size_t length = shape[0] * shape[1] * shape[2] * shape[3] * sizeof(float); in HWTEST_F() local
304 void* data = malloc(length); in HWTEST_F()
338 size_t length = shape[0] * shape[1] * shape[2] * shape[3] * sizeof(float); HWTEST_F() local
373 size_t length = shape[0] * shape[1] * shape[2] * shape[3] * sizeof(float); HWTEST_F() local
[all...]
/test/xts/acts/multimedia/photoAccess/photoAccess/entry/src/main/cpp/napi/
H A DphotoAccessHelper.cpp265 requestUri_ = new char[fileUri.length() + 1]; in ChangeRequestAddResourceWithUri()
267 errno_t result = strncpy_s(requestUri_, fileUri.length() + 1, fileUri.c_str(), fileUri.length()); in ChangeRequestAddResourceWithUri()
268 requestUri_[fileUri.length()] = '\0'; in ChangeRequestAddResourceWithUri()
321 uint32_t length = 1024; in ChangeRequestAddResourceWithBuffer() local
322 uint8_t* buffer = new uint8_t[length]; in ChangeRequestAddResourceWithBuffer()
325 MediaLibrary_ResourceType::MEDIA_LIBRARY_IMAGE_RESOURCE, buffer, length); in ChangeRequestAddResourceWithBuffer()
328 MediaLibrary_ResourceType::MEDIA_LIBRARY_IMAGE_RESOURCE, buffer, length); in ChangeRequestAddResourceWithBuffer()
331 static_cast<MediaLibrary_ResourceType>(-1), buffer, length); in ChangeRequestAddResourceWithBuffer()
334 MediaLibrary_ResourceType::MEDIA_LIBRARY_IMAGE_RESOURCE, nullptr, length); in ChangeRequestAddResourceWithBuffer()
[all...]
/test/xts/acts/ai_lite/ai_engine_posix/base/src/sample/source/
H A Dsample_plugin_1.cpp38 dataInfo->length = 0; in FreeDataInfo()
46 if (inputInfo.length <= 0 || inputInfo.data == nullptr) { in ReturnDataCopyOrDefaultData()
48 sourceData.length = strlen(DEFAULT_PROCESS_STRING) + 1; in ReturnDataCopyOrDefaultData()
53 outputInfo.length = sourceData.length; in ReturnDataCopyOrDefaultData()
54 outputInfo.data = reinterpret_cast<unsigned char*>(malloc(sourceData.length)); in ReturnDataCopyOrDefaultData()
59 retCode = memcpy_s(outputInfo.data, outputInfo.length, sourceData.data, sourceData.length); in ReturnDataCopyOrDefaultData()
94 if (inputInfo.data != nullptr && inputInfo.length <= 0) { in SyncProcess()
H A Dsample_plugin_2.cpp38 dataInfo->length = 0; in FreeDataInfo()
46 if (inputInfo.length <= 0 || inputInfo.data == nullptr) { in ReturnDataCopyOrDefaultData()
48 sourceData.length = strlen(DEFAULT_PROCESS_STRING) + 1; in ReturnDataCopyOrDefaultData()
53 outputInfo.length = sourceData.length; in ReturnDataCopyOrDefaultData()
54 outputInfo.data = reinterpret_cast<unsigned char*>(malloc(sourceData.length)); in ReturnDataCopyOrDefaultData()
59 retCode = memcpy_s(outputInfo.data, outputInfo.length, sourceData.data, sourceData.length); in ReturnDataCopyOrDefaultData()
100 if (inputInfo.data != nullptr && inputInfo.length <= 0) { in AsyncProcess()
/test/xts/acts/graphic/nativevsync/entry/src/main/cpp/
H A Dnativevsync.cpp56 unsigned int length = 0; in OHNativeVSyncCreateFOne() local
57 OH_NativeVSync *nativeVSync = OH_NativeVSync_Create(nullptr, length); in OHNativeVSyncCreateFOne()
155 unsigned int length = 0; in OHNativeVSyncCreateNull() local
156 OH_NativeVSync *nativeVSync = OH_NativeVSync_Create(nullptr, length); in OHNativeVSyncCreateNull()
169 unsigned int length = NUMBER_2; in OHNativeVSyncCreateNotEq() local
170 OH_NativeVSync *nativeVSync = OH_NativeVSync_Create(name, length); in OHNativeVSyncCreateNotEq()
184 unsigned int length = strlen(name); in OHNativeVSyncCreateNormal() local
185 OH_NativeVSync *nativeVSync1 = OH_NativeVSync_Create(name, length); in OHNativeVSyncCreateNormal()
196 OH_NativeVSync *nativeVSync2 = OH_NativeVSync_Create(name, length); in OHNativeVSyncCreateNormal()
273 unsigned int length in OHNativeVSyncCreateMuch() local
307 unsigned int length = strlen(name); OHNativeVSyncRequestFrameNullptr() local
334 unsigned int length = strlen(name); OHNativeVSyncRequestFrameNormal() local
347 unsigned int length = strlen(name); OHNativeVSyncRequestFrameParamErr() local
[all...]
/test/xts/acts/communication/wifi_standard/entry/src/ohosTest/ets/test/
H A DWifiManagerCandidateNetWork.test.js35 if(getCandidate.length>0)
37 for(let i=0;getCandidate.length;i++)
124 console.info("[wifi_test]wifi getconfig.length result : " + JSON.stringify(getCandidate.length));
125 expect(true).assertEqual(getCandidate.length == 0);
248 console.info("[wifi_test]wifi getconfig.length result : " + JSON.stringify(getCandidate.length));
249 expect(true).assertEqual(getCandidate.length == 0);
282 expect(true).assertEqual(getCandidateResult.length>0);
289 console.info("[wifi_test]wifi getconfig.length resul
[all...]
/test/testfwk/arkxtest/jsunit/src/module/assert/
H A DassertPromiseIsRejectedWithError.js40 if (expectedValue.length == 1 && typeof expectedValue[0] === 'function') {
47 if (expectedValue.length == 1 && typeof expectedValue[0] === 'string') {
54 if (expectedValue.length == 1) {
58 if (expectedValue.length == 2 && typeof expectedValue[0] === 'function' && expectedValue[0].name === actualValue.name) {
65 if (expectedValue.length == 2 && typeof expectedValue[0] === 'function' && expectedValue[0].name !== actualValue.name) {
71 if (expectedValue.length > 2) {
/test/xts/acts/security/huks/security_huks_basic/utils/param/
H A DpublicFunc.js23 for (var i = 0, j = str.length; i < j; ++i) {
31 for (var i = 0; i < fileData.length; i++) {
38 for (var i = 0, j = str.length; i < j; ++i) {
48 if (a.length !== b.length) {
51 for (let i = 0; i < a.length; ++i) {
/test/xts/acts/security/huks/security_huks_reformed_test/utils/param/
H A DpublicFunc.js22 for (let i = 0, j = str.length; i < j; ++i) {
30 for (let i = 0; i < fileData.length; i++) {
37 for (let i = 0, j = str.length; i < j; ++i) {
47 if (a.length !== b.length) {
50 for (let i = 0; i < a.length; ++i) {
/test/xts/acts/security/certificate_framework/js_api_test_oh40/entry/src/ohosTest/js/test/utils/common/
H A DpublicDoString.js18 for (var i = 0, j = str.length; i < j; ++i) {
27 for (var i = 0; i < fileData.length; i++) {
35 if (str.length == 0) {
36 console.error("stringTouInt8Array length is 0");
39 for (var i = 0, j = str.length; i < j; ++i) {
48 if (uInt8Array.length == 0) {
49 console.error("uInt8ArrayToShowStr length is 0");
/test/xts/acts/global/global_idna_test/entry/src/main/cpp/
H A Dnapi_init.cpp95 int32_t length = -1; in testUidna_nameToUnicode() local
100 int32_t data1 = uidna_nameToUnicode(uts46, sharps16, length, dest16, capacity, &plnfo, &errorCode1); in testUidna_nameToUnicode()
114 int32_t length = -1; in testUidna_labelToASCLL_UTF8() local
118 int32_t data1 = uidna_labelToASCII_UTF8(uts46, sharps, length, &dest, capacity, &plnfo, &errorCode1); in testUidna_labelToASCLL_UTF8()
132 int32_t length = -1; in testUidna_labelToUnicodeUTF8() local
137 int32_t data1 = uidna_labelToUnicodeUTF8(uts46, sharps, length, &dest, capacity, &plnfo, &errorCode1); in testUidna_labelToUnicodeUTF8()
151 int32_t length = -1; in testUidna_nameToASCII_UTF8() local
155 int32_t data1 = uidna_nameToASCII_UTF8(uts46, sharps, length, &dest, capacity, &plnfo, &errorCode1); in testUidna_nameToASCII_UTF8()
169 int32_t length = -1; in testUidna_nameToUnicodeUTF8() local
173 int32_t data1 = uidna_nameToUnicodeUTF8(uts46, sharps, length, in testUidna_nameToUnicodeUTF8()
[all...]

Completed in 18 milliseconds

12345678910>>...63