| /test/xts/acts/storage/storagefileiov9jstest/src/main/js/test/members/ |
| D | write.test.js | 126 length: 1, property 155 length: 1, property 184 length: 5, property 214 fileIO.writeSync(file.fd, FILE_CONTENT, { length: invalidLength }) property 290 fileIO.writeSync(file.fd, new ArrayBuffer(4096), { length: invalidLength }) property 462 length: 3, property 492 length: 3, property 592 length: 3, property 623 length: 3, property 659 length: 4, property [all …]
|
| D | read.test.js | 68 length: 1, property 97 length: -1, property 126 length: FILE_CONTENT.length + 1, property 155 length: 4097, property 272 length: FILE_CONTENT.length - 1, property 540 length: 3, property 570 length: 3, property 671 length: FILE_CONTENT.length, property 702 length: FILE_CONTENT.length, property 815 length: invalidLength, property [all …]
|
| D | readtext.test.js | 89 length: 4 property 116 length: FILE_CONTENT.length, property 236 fileIO.readTextSync(fpath, { length: invalidLength }); property 373 length: 2 property 401 length: 2 property 435 length: FILE_CONTENT.length, property 464 length: FILE_CONTENT.length, property 497 length: FILE_CONTENT.length, property 688 await fileIO.readText(fpath, { length: invalidLength }); property
|
| /test/xts/acts/security/cryptoFramework/js_api_test_two/src/main/js/test/utils/securityrandom/ |
| D | publicSecurityRandomCallback.js | 23 async function testSecurityRandomCallback(length) { argument 61 async function testSecurityRandomLengthCallback(length) { argument
|
| D | publicSecurityRandomPromise.js | 23 async function testSecurityRandomPromise(length) { argument
|
| /test/xts/acts/storage/storagefileiov9jstest/src/main/js/test/class_stream/ |
| D | write.test.js | 176 let bytesWritten = sr.writeSync(FILE_CONTENT, { length: 5 }); property 204 sr.writeSync(new ArrayBuffer(4096), { length: invalidLength }); property 232 sr.writeSync(FILE_CONTENT, { length: invalidLength }); property 261 length: 4096, property 292 length: FILE_CONTENT.length, property 656 let bytesWritten = await sr.write(FILE_CONTENT, { length: 5 }); property 685 length: 5 property 721 length: invalidLength property 753 length: invalidLength property 785 length: 4096, property [all …]
|
| D | read.test.js | 67 let readLen = sr.readSync(new ArrayBuffer(4096), { length: 2 }); property 123 length: FILE_CONTENT.length property 179 sr.readSync(new ArrayBuffer(4096), { length: invalidLength }); property 296 length: 5 property 326 length: 5 property 426 await sr.read(new ArrayBuffer(4096), { length: invalidLength }); property 488 length: FILE_CONTENT.length property 519 length: FILE_CONTENT.length property
|
| /test/xts/acts/storage/storagefileiojstest/src/main/js/test/module_fileio/members/ |
| D | write.test.js | 121 length: FILE_CONTENT.length - 1, property 150 length: 1, property 209 length: invalidLength, property 350 length: 3, property 379 length: 3, property 409 length: 4, property 506 length: 5, property 540 length: 5, property 575 length: 5, property
|
| D | readtext.test.js | 87 let str = fileio.readTextSync(fpath, { position: pos, length: len }); property 150 length: invalidLength, property 174 … fileio.readText(fpath, { position: pos, length: len, encoding: 'UTF-8' }, function (err, str) { property
|
| D | read.test.js | 97 length: 1, property 183 length: invalidLength, property 399 length: 3, property
|
| D | open.test.js | 267 length: 1, property 318 length: 1, property 324 length: 1, property
|
| /test/xts/hats/hdf/usb/transferTest/common/ |
| D | usbd_transfer_test.cpp | 158 uint32_t length = LENGTH_NUM_255; variable 177 uint32_t length = LENGTH_NUM_255; variable 196 uint32_t length = LENGTH_NUM_255; variable 214 uint32_t length = LENGTH_NUM_255; variable 233 uint32_t length = LENGTH_NUM_255; variable 252 uint32_t length = LENGTH_NUM_255; variable 272 uint32_t length = LENGTH_NUM_255; variable 292 uint32_t length = LENGTH_NUM_255; variable 312 uint32_t length = LENGTH_NUM_255; variable 331 uint32_t length = LENGTH_NUM_255; variable [all …]
|
| /test/xts/acts/storage/storagefileiojstest/src/main/js/test/module_fileio/class_randomAccessFile/ |
| D | write.test.js | 115 … let num = randomaccessfile.writeSync(new ArrayBuffer(length), { offset: 1, length: 10 }); property 198 randomaccessfile.writeSync(new ArrayBuffer(4096), { offset: 5, length: 4095 }); property 297 … let num = randomaccessfile.writeSync(new ArrayBuffer(length), { offset: 1, length: -1 }); property 321 randomaccessfile.writeSync(10, { length: -1 }); property 346 randomaccessfile.writeSync(new ArrayBuffer(length), { length: length + 1 }); property 476 … let num = await randomaccessfile.write(new ArrayBuffer(length), { offset: 1, length: 10 }); property 563 await randomaccessfile.write(new ArrayBuffer(length), { offset: 5, length: 4095 }); property 663 … let num = await randomaccessfile.write(new ArrayBuffer(length), { offset: 1, length: -1 }); property 688 await randomaccessfile.write(10, { length: -1 }); property 713 await randomaccessfile.write(new ArrayBuffer(length), { length: length + 1 }); property
|
| D | read.test.js | 127 … let number = randomaccessfile.readSync(new ArrayBuffer(length), { offset: 1, length: 5 }); property 230 randomaccessfile.readSync(new ArrayBuffer(4096), { offset: 1, length: 4096 }); property 280 randomaccessfile.readSync(new ArrayBuffer(length), { length: length + 1 }); property 308 let number = randomaccessfile.readSync(new ArrayBuffer(16), { offset: 13, length: -1 }); property 499 … randomaccessfile.read(new ArrayBuffer(length), { offset: 1, length: 5 }, function (err, readOut) { property 612 await randomaccessfile.read(new ArrayBuffer(4096), { offset: 1, length: 4096 }); property 664 await randomaccessfile.read(new ArrayBuffer(length), { length: length + 1 }); property 692 … let readOut = await randomaccessfile.read(new ArrayBuffer(16), { offset: 13, length: -1 }); property
|
| /test/xts/hats/hdf/usb/requestTest/common/ |
| D | usbd_request_test.cpp | 621 uint32_t length = LENGTH_NUM_255; variable 641 uint32_t length = LENGTH_NUM_255; variable 661 uint32_t length = LENGTH_NUM_255; variable 680 uint32_t length = 0; variable 701 uint32_t length = LENGTH_NUM_255; variable 720 uint32_t length = 0; variable 739 uint32_t length = 0; variable 760 uint32_t length = 0; variable 782 uint32_t length = LENGTH_NUM_255; variable 802 uint32_t length = LENGTH_NUM_255; variable [all …]
|
| /test/xts/acts/ability/dmsfwk/continuationmanagertest/src/main/js/test/ |
| D | ContinuationManagerJsunit.test.js | 129 filter: {"name": "authInfo","length": 8}, property 131 authInfo: {"name": "authInfo","length": 8} property 156 filter: {"name": "authInfo","length": 8}, property 158 authInfo: {"name": "authInfo","length": 8} property 183 filter: {"name": "authInfo","length": 8}, property 185 authInfo: {"name": "authInfo","length": 8} property 209 filter: {"name": "authInfo","length": 8}, property 211 authInfo: {"name": "authInfo","length": 8} property 236 filter: {"name": "authInfo","length": 8}, property 238 authInfo: {"name": "authInfo","length": 8} property [all …]
|
| /test/xts/acts/storage/storagefileiojstest/src/main/js/test/module_fileio/class_stream/ |
| D | read.test.js | 96 length: 5 property 214 await ss.read(new ArrayBuffer(4096), {offset: 1,length:4096}); property 264 await ss.read(new ArrayBuffer(4096), {length: 4097}); property 289 let readout = await ss.read(new ArrayBuffer(16), {offset:13, length: -1}); property 339 let readout = await ss.read(new ArrayBuffer(4096), {length: FILE_CONTENT.length+1}); property
|
| D | write.test.js | 102 let bytesWritten = await ss.write(content, { offset: 1, length: 5, encoding: 'utf-8' }); property 222 await ss.write(content,{offset: 5, length:10}); property 352 let number = await ss.write(content, {offset:1 ,length:-1}); property 378 await ss.write(12, {length:-1}); property 404 await ss.write(new ArrayBuffer(4096), {length:4097}); property 430 await ss.write(content,{length:content.length+1}); property
|
| D | all.test.js | 159 length: 1 property 241 length: 4097 property
|
| /test/xts/acts/storage/storagefileiojstest/src/main/js/test/ |
| D | FileIO.test.js | 124 length: 1, property 168 length: 1, property 215 length: 1, property 244 length: 1, property 289 length: 1, property 365 length: 1, property 638 length: 1, property 662 length: 1, property 710 length: 1, property 744 length: 1, property [all …]
|
| /test/xts/hats/ai/nnrt/hdi/common/ |
| D | hdi_nnrt_test_utils.cpp | 156 V1_0::IOTensor HDICommon::CreateInputIOTensor(OHOS::sptr<V1_0::INnrtDevice> &device, size_t length,… in CreateInputIOTensor() 184 V1_0::IOTensor HDICommon::CreateOutputIOTensor(OHOS::sptr<V1_0::INnrtDevice> &device, size_t length) in CreateOutputIOTensor() 205 void* HDICommon::MapMemory(int fd, size_t length) in MapMemory() 225 void HDICommon::SetData(float* buffer, size_t length, float* data) in SetData() 285 void PrintTensor(const float *buffer, size_t length) in PrintTensor()
|
| /test/xts/acts/ai_lite/ai_engine_posix/base/src/utils/ |
| D | aie_client_common.cpp | 105 int length = strlen(str) + 1; in GetDataInfo() local 130 int length = INT_2 * INT_1024 * INT_1024; // 2 MB long data, the unit is Byte here. in GetBigDataInfo() local
|
| /test/xts/hats/hdf/usb/usbdBenchmarkTest/common/ |
| D | HdfUsbdBenchmarkTransferTest.cpp | 131 uint32_t length = LENGTH_NUM_255; in BENCHMARK_F() local 192 uint32_t length = LENGTH_NUM_255; in BENCHMARK_F() local 222 uint32_t length = 100; in BENCHMARK_F() local 254 uint32_t length = LENGTH_NUM_255; in BENCHMARK_F() local 284 uint32_t length = 100; in BENCHMARK_F() local 316 uint32_t length = LENGTH_NUM_255; in BENCHMARK_F() local 346 uint32_t length = 100; in BENCHMARK_F() local
|
| D | HdfUsbdBenchmarkRequestTest.cpp | 189 uint32_t length = LENGTH_NUM_255; in BENCHMARK_F() local 217 uint32_t length = LENGTH_NUM_255; in BENCHMARK_F() local 244 uint32_t length = LENGTH_NUM_255; in BENCHMARK_F() local 325 uint32_t length = LENGTH_NUM_255; in BENCHMARK_F() local 357 uint32_t length = LENGTH_NUM_255; in BENCHMARK_F() local 394 uint32_t length = LENGTH_NUM_255; in BENCHMARK_F() local
|
| /test/testfwk/xdevice/src/xdevice/_core/report/ |
| D | encrypt.py | 139 def generate_key_file(length=2048): argument
|