| /test/xts/acts/multimedia/media/media_js_standard/avPlayer/entry/src/main/ets/test/ |
| D | AVPlayerDataSrcNoSeekReliabilityTest.test.js | 105 function readErr(buf, length) { argument 106 let num = fileio.readSync(fd, buf, {offset: 0, length: 1000}); property 109 function readAt(buf, length, pos) { argument 123 num = fileio.readSync(fd, buf, {offset: 0, length: length}); property 131 num = stream.readSync(buf, {offset: 0, length: length, position: pos}); property 154 readErr = (buf, length) => { argument 156 let num = fileio.readSync(fd, buf, {offset: 0, length: (readAtCnt ) * 1000}); property 180 readErr = (buf, length) => { argument 183 let num = fileio.readSync(fd, buf, {offset: 1000, length: readAtCnt * 1000}); property 207 readErr = (buf, length) => { argument [all …]
|
| D | AVPlayerDataSrcNoSeekAPITest.test.js | 142 let readAt = (buf, length, pos) => { argument 150 num = fileio.readSync(fd, buf, {offset: 0, length: length}); property 156 num = stream.readSync(buf, {offset: 0, length: length, position: pos}); property 167 let readAt = (buf, length, pos) => { argument 174 num = fileio.readSync(fd, buf, {offset: 1000, length: 2000}); property
|
| /test/xts/acts/storage/storagefileiov9jstest/src/main/js/test/class_stream/ |
| D | read.test.js | 69 let readLen = sr.readSync(new ArrayBuffer(4096), { length: 2 }); property 125 length: FILE_CONTENT.length property 181 sr.readSync(new ArrayBuffer(4096), { length: invalidLength }); property 267 length: undefined property 272 length: undefined property 371 length: 5 property 401 length: 5 property 501 await sr.read(new ArrayBuffer(4096), { length: invalidLength }); property 563 length: FILE_CONTENT.length property 594 length: FILE_CONTENT.length property [all …]
|
| D | write.test.js | 180 let bytesWritten = sr.writeSync(FILE_CONTENT, { length: 5 }); property 208 sr.writeSync(new ArrayBuffer(4096), { length: invalidLength }); property 236 sr.writeSync(FILE_CONTENT, { length: invalidLength }); property 265 length: 4096, property 296 length: FILE_CONTENT.length, property 408 length: undefined, property 731 let bytesWritten = await sr.write(FILE_CONTENT, { length: 5 }); property 760 length: 5 property 796 length: invalidLength property 828 length: invalidLength property [all …]
|
| /test/xts/acts/storage/storagefileiov9jstest/src/main/js/test/members/ |
| D | read.test.js | 70 length: 1, property 100 length: invalidLength, property 129 length: FILE_CONTENT.length + 1, property 158 length: 4097, property 276 length: FILE_CONTENT.length - 1, property 387 length: undefined, property 392 length: undefined, property 617 length: 3, property 647 length: 3, property 748 length: FILE_CONTENT.length, property [all …]
|
| D | write.test.js | 130 length: 1, property 159 length: 1, property 188 length: 5, property 218 fileIO.writeSync(file.fd, FILE_CONTENT, { length: invalidLength }) property 294 fileIO.writeSync(file.fd, new ArrayBuffer(4096), { length: invalidLength }) property 381 length: undefined, property 387 length: undefined, property 553 length: 3, property 583 length: 3, property 683 length: 3, property [all …]
|
| D | readtext.test.js | 89 length: 4 property 116 length: FILE_CONTENT.length, property 236 fileIO.readTextSync(fpath, { length: invalidLength }); property 286 length: undefined, property 425 length: 2 property 453 length: 2 property 487 length: FILE_CONTENT.length, property 516 length: FILE_CONTENT.length, property 549 length: FILE_CONTENT.length, property 740 await fileIO.readText(fpath, { length: invalidLength }); property [all …]
|
| D | filerw.test.js | 42 … fileIO.read(file.fd, array, { length: bf, offset: offset }).then((readLen) => { property 48 …fileIO.write(file.fd, array, { length: bf, offset: offset, encoding: 'utf-8' }).then((writeLen) =>… property 56 … fileIO.read(file.fd, array, { length: bf, offset: offset }, (err, readLen) => { property 63 …fileIO.write(file.fd, array, { length: bf, offset: offset, encoding: 'utf-8' }, (err, writeLen) =>… property
|
| /test/xts/acts/storage/storagefileiojstest/src/main/js/test/module_fileio/class_stream/ |
| D | read.test.js | 72 length: undefined property 77 length: undefined property 160 length: 5 property 278 await ss.read(new ArrayBuffer(4096), {offset: 1,length:4096}); property 328 await ss.read(new ArrayBuffer(4096), {length: 4097}); property 354 await ss.read(new ArrayBuffer(16), {offset:13, length: -1}); property 405 let readout = await ss.read(new ArrayBuffer(4096), {length: FILE_CONTENT.length+1}); property 560 length: undefined property 566 length: undefined property 599 length: undefined property [all …]
|
| D | write.test.js | 74 length: undefined, property 80 length: undefined, property 172 let bytesWritten = await ss.write(content, { offset: 1, length: 5, encoding: 'utf-8' }); property 292 await ss.write(content,{offset: 5, length:10}); property 422 await ss.write(content, {offset:1 ,length:-1}); property 449 await ss.write(12, {length:-1}); property 475 await ss.write(new ArrayBuffer(4096), {length:4097}); property 501 await ss.write(content,{length:content.length+1}); property 630 length: undefined, property 636 length: undefined, property [all …]
|
| D | all.test.js | 159 length: 1 property 241 length: 4097 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 327 length: undefined, property 409 length: 3, property 438 length: 3, property 468 length: 4, property 565 length: 5, property 599 length: 5, property 634 length: 5, property [all …]
|
| D | read.test.js | 97 length: 1, property 183 length: invalidLength, property 319 length: undefined, property 325 length: undefined, property 465 length: 3, property 679 length: undefined, property 685 length: undefined, property 717 length: undefined, property 727 length: undefined, property
|
| D | readtext.test.js | 87 let str = fileio.readTextSync(fpath, { position: pos, length: len }); property 149 fileio.readTextSync(fpath, { length: invalidLength }); property 196 length: undefined, property 223 … fileio.readText(fpath, { position: pos, length: len, encoding: 'utf-8' }, function (err, str) { property 367 length: undefined, property 396 length: undefined, property
|
| /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 298 randomaccessfile.writeSync(new ArrayBuffer(length), { offset: 1, length: -1 }); property 322 randomaccessfile.writeSync(10, { length: -1 }); property 347 randomaccessfile.writeSync(new ArrayBuffer(length), { length: length + 1 }); property 477 … let num = await randomaccessfile.write(new ArrayBuffer(length), { offset: 1, length: 10 }); property 564 await randomaccessfile.write(new ArrayBuffer(length), { offset: 5, length: 4095 }); property 665 await randomaccessfile.write(new ArrayBuffer(length), { offset: 1, length: -1 }); property 690 await randomaccessfile.write(10, { length: -1 }); property 715 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 309 randomaccessfile.readSync(new ArrayBuffer(16), { offset: 13, length: -1 }); property 500 … randomaccessfile.read(new ArrayBuffer(length), { offset: 1, length: 5 }, function (err, readOut) { property 613 await randomaccessfile.read(new ArrayBuffer(4096), { offset: 1, length: 4096 }); property 665 await randomaccessfile.read(new ArrayBuffer(length), { length: length + 1 }); property 694 await randomaccessfile.read(new ArrayBuffer(16), { offset: 13, length: -1 }); property
|
| /test/xts/acts/storage/storagefileiov9jstest/src/main/js/test/class_randomAccessFile/ |
| D | write.test.js | 119 … let bytesWritten = randomaccessfile.writeSync(new ArrayBuffer(length), { offset: 1, length: 10 }); property 201 randomaccessfile.writeSync(new ArrayBuffer(4096), { offset: 5, length: 4095 }); property 302 randomaccessfile.writeSync(new ArrayBuffer(length), { offset: 1, length: -1 }); property 326 randomaccessfile.writeSync(10, { length: -1 }); property 351 randomaccessfile.writeSync(new ArrayBuffer(length), { length: length + 1 }); property 458 …let bytesWritten = await randomaccessfile.write(new ArrayBuffer(length), { offset: 1, length: 10 }… property 544 await randomaccessfile.write(new ArrayBuffer(length), { offset: 5, length: 4095 }); property 653 await randomaccessfile.write(new ArrayBuffer(length), { offset: 1, length: -1 }); property 679 await randomaccessfile.write(new ArrayBuffer(length), { length: length + 1 }); property
|
| D | read.test.js | 103 … let readLength = randomaccessfile.readSync(new ArrayBuffer(length), { offset: 1, length: 5 }); property 185 … let readLength = randomaccessfile.readSync(new ArrayBuffer(4096), { offset: 1, length: 4096 }); property 241 randomaccessfile.readSync(new ArrayBuffer(length), { length: length + 1 }); property 271 randomaccessfile.readSync(new ArrayBuffer(16), { offset: 13, length: -1 }); property 377 …let readLength = randomaccessfile.readSync(new ArrayBuffer(length), { offset: initOffset, length: … property 501 …randomaccessfile.read(new ArrayBuffer(length), { offset: 1, length: 5 }, function (err, readLength… property 611 … let readLength = await randomaccessfile.read(new ArrayBuffer(4096), { offset: 1, length: 4096 }); property 669 await randomaccessfile.read(new ArrayBuffer(length), { length: length + 1 }); property 700 await randomaccessfile.read(new ArrayBuffer(16), { offset: 13, length: -1 }); property
|
| /test/xts/acts/ability/dmsfwk/continuationmanagertest/src/main/js/test/ |
| D | ContinuationManagerJsunit.test.js | 172 filter: { "name": "authInfo", "length": 8 }, property 174 authInfo: { "name": "authInfo", "length": 8 } property 201 filter: { "name": "authInfo", "length": 8 }, property 203 authInfo: { "name": "authInfo", "length": 8 } property 231 filter: { "name": "authInfo", "length": 8 }, property 233 authInfo: { "name": "authInfo", "length": 8 } property 261 filter: { "name": "authInfo", "length": 8 }, property 263 authInfo: { "name": "authInfo", "length": 8 } property 294 filter: { "name": "authInfo", "length": 8 }, property 296 authInfo: { "name": "authInfo", "length": 8 } property [all …]
|
| /test/xts/acts/security/cryptoFramework/js_api_test_one/src/main/js/test/utils/securityrandom/ |
| D | publicSecurityRandomPromise.js | 23 async function testSecurityRandomPromise(length) { argument
|
| D | publicSecurityRandomCallback.js | 23 async function testSecurityRandomCallback(length) { argument
|
| /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/acts/validator/acts_validator/src/main/ets/pages/model/ |
| D | AudioRenderer.ts | 27 private length: number = undefined property in AudioRenderer
|
| /test/xts/hats/ai/nnrt/hdi/v2_0/common/ |
| D | hdi_nnrt_test_utils.cpp | 159 V2_0::IOTensor HDICommon::CreateInputIOTensor(OHOS::sptr<V2_0::INnrtDevice> &device, size_t length,… in CreateInputIOTensor() 187 V2_0::IOTensor HDICommon::CreateOutputIOTensor(OHOS::sptr<V2_0::INnrtDevice> &device, size_t length) in CreateOutputIOTensor() 208 void* HDICommon::MapMemory(int fd, size_t length) in MapMemory() 228 void HDICommon::SetData(float* buffer, size_t length, float* data) in SetData() 288 void PrintTensor(const float *buffer, size_t length) in PrintTensor()
|
| /test/xts/hats/ai/nnrt/hdi/v1_0/common/ |
| D | hdi_nnrt_test_utils.cpp | 159 V1_0::IOTensor HDICommon::CreateInputIOTensor(OHOS::sptr<V1_0::INnrtDevice> &device, size_t length,… in CreateInputIOTensor() 187 V1_0::IOTensor HDICommon::CreateOutputIOTensor(OHOS::sptr<V1_0::INnrtDevice> &device, size_t length) in CreateOutputIOTensor() 208 void* HDICommon::MapMemory(int fd, size_t length) in MapMemory() 228 void HDICommon::SetData(float* buffer, size_t length, float* data) in SetData() 288 void PrintTensor(const float *buffer, size_t length) in PrintTensor()
|