Home
last modified time | relevance | path

Searched defs:length (Results 1 – 25 of 1011) sorted by relevance

12345678910>>...41

/test/xts/acts/multimedia/media/media_js_standard/avPlayer/entry/src/main/ets/test/
DAVPlayerDataSrcNoSeekReliabilityTest.test.js105 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 …]
DAVPlayerDataSrcNoSeekAPITest.test.js142 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/entry/src/ohosTest/js/test/members/
Dread.test.js70 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
386 length: undefined, property
391 length: undefined, property
616 length: 3, property
646 length: 3, property
747 length: FILE_CONTENT.length, property
[all …]
Dwrite.test.js130 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 …]
Dreadtext.test.js89 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 …]
Dfilerw.test.js41 … fileIO.read(file.fd, array, { length: bf, offset: offset }).then((readLen) => { property
47 …fileIO.write(file.fd, array, { length: bf, offset: offset, encoding: 'utf-8' }).then((writeLen) =>… property
55 … fileIO.read(file.fd, array, { length: bf, offset: offset }, (err, readLen) => { property
62 …fileIO.write(file.fd, array, { length: bf, offset: offset, encoding: 'utf-8' }, (err, writeLen) =>… property
/test/xts/acts/storage/storagefileiov9jstest/entry/src/ohosTest/js/test/class_stream/
Dread.test.js69 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 …]
Dwrite.test.js180 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/storagefileiojstest/entry/src/ohosTest/js/test/module_fileio/class_stream/
Dread.test.js72 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 …]
Dwrite.test.js74 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 …]
/test/xts/acts/storage/storagefileiojstest/entry/src/ohosTest/js/test/module_fileio/members/
Dwrite.test.js121 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 …]
Dread.test.js97 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
Dreadtext.test.js87 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/ability/dmsfwk/continuationmanagertest/entry/src/ohosTest/js/test/
DContinuationManagerJsunit.test.js198 filter: { "name": "authInfo", "length": 8 }, property
200 authInfo: { "name": "authInfo", "length": 8 } property
230 filter: { "name": "authInfo", "length": 8 }, property
232 authInfo: { "name": "authInfo", "length": 8 } property
262 filter: { "name": "authInfo", "length": 8 }, property
264 authInfo: { "name": "authInfo", "length": 8 } property
295 filter: { "name": "authInfo", "length": 8 }, property
297 authInfo: { "name": "authInfo", "length": 8 } property
331 filter: { "name": "authInfo", "length": 8 }, property
333 authInfo: { "name": "authInfo", "length": 8 } property
[all …]
/test/xts/acts/storage/storagefileiojstest/entry/src/ohosTest/js/test/
DFileIO.test.js124 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/storage/storagefileiov9jstest/entry/src/ohosTest/js/test/class_randomAccessFile/
Dwrite.test.js119 … 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
Dread.test.js103 … 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/storage/storagefileurindktest/entry/src/main/cpp/
Dgetpathfromuri.cpp31 unsigned int length = strlen(path); in GetUriFromPath() local
42 unsigned int length = strlen(uri); in GetPathFromUri() local
54 unsigned int length = strlen(uri); in GetFullDirectoryUri() local
66 unsigned int length = strlen(uri); in IsValidUri() local
77 unsigned int length = strlen(uri); in GetFileName() local
/test/xts/acts/commonlibrary/thirdparty/musl/entry/src/main/cpp/
Dctypendk.cpp44 size_t length = STRLENGTH; in Isalnum() local
63 size_t length = STRLENGTH; in IsalnumL() local
82 size_t length = STRLENGTH; in Isalpha() local
101 size_t length = STRLENGTH; in IsalphaL() local
137 size_t length = STRLENGTH; in Isblank() local
156 size_t length = STRLENGTH; in IsblankL() local
209 size_t length = STRLENGTH; in Isdigit() local
227 size_t length = STRLENGTH; in IsdigitL() local
246 size_t length = STRLENGTH; in Isgraph() local
264 size_t length = STRLENGTH; in IsgraphL() local
[all …]
Dwctypendk.cpp57 size_t length = STRLENGTH; in Iswalnum() local
77 size_t length = STRLENGTH; in IswalnumL() local
97 size_t length = STRLENGTH; in Iswalpha() local
117 size_t length = STRLENGTH; in IswalphaL() local
137 size_t length = STRLENGTH; in Iswblank() local
157 size_t length = STRLENGTH; in IswblankL() local
213 size_t length = STRLENGTH; in Iswdigit() local
232 size_t length = STRLENGTH; in IswdigitL() local
252 size_t length = STRLENGTH; in Iswgraph() local
271 size_t length = STRLENGTH; in IswgraphL() local
[all …]
Ducharndk.cpp37 int length; in Mbrtoc16() local
49 int length; in Mbrtoc32() local
60 size_t length; in C16rtomb() local
78 size_t length; in C32rtomb() local
/test/xts/acts/graphic/nativevsync/entry/src/main/cpp/
Dnativevsync.cpp64 unsigned int length = 0; in OHNativeVSyncCreateFOne() local
163 unsigned int length = 0; in OHNativeVSyncCreateNull() local
177 unsigned int length = NUMBER_2; in OHNativeVSyncCreateNotEq() local
192 unsigned int length = strlen(name); in OHNativeVSyncCreateNormal() local
281 unsigned int length = strlen(name); in OHNativeVSyncCreateMuch() local
319 unsigned int length = strlen(name); in OHNativeVSyncRequestFrameNullptr() local
347 unsigned int length = strlen(name); in OHNativeVSyncRequestFrameNormal() local
360 unsigned int length = strlen(name); in OHNativeVSyncRequestFrameParamErr() local
378 unsigned int length = strlen(name); in OHNativeVSyncCreateForAssociatedWindowNormal() local
405 unsigned int length = strlen(name); in OHNativeVSyncCreateForAssociatedWindowAbNormal01() local
[all …]
/test/xts/acts/arkui/ace_c_arkui_test_api14/entry/src/main/cpp/customproperty/
Dcustom_property_test.cpp34 size_t length = PARAM_64; in testGetCustomProperty001() local
109 size_t length = PARAM_64; in testGetParentInPageTree002() local
179 size_t length = PARAM_64; in testGetActiveChildrenInfo003() local
250 size_t length = PARAM_64; in testGetCurrentPageRootNode004() local
300 size_t length = PARAM_64; in testIsCreatedByNDK005() local
355 size_t length = PARAM_64; in testGetNodeType006() local
409 size_t length = PARAM_64; in testCustomPropertyDestroy007() local
466 size_t length = PARAM_64; in testCustomPropertyGetStringValue008() local
542 size_t length = PARAM_64; in testActiveChildrenInfoDestroy009() local
610 size_t length = PARAM_64; in testActiveChildrenInfoGetNodeByIndex010() local
[all …]
/test/xts/hats/ai/nnrt/hdi/v1_0/common/
Dhdi_nnrt_test_utils.cpp159 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()
/test/xts/hats/ai/nnrt/hdi/v2_0/common/
Dhdi_nnrt_test_utils.cpp159 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()

12345678910>>...41