Home
last modified time | relevance | path

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

12345678910>>...161

/third_party/node/test/parallel/
Dtest-crypto-secret-keygen.js36 assert.throws(() => generateKey('hmac', { length }, common.mustNotCall()), { field
40 assert.throws(() => generateKeySync('hmac', { length }), { field
46 assert.throws(() => generateKey('aes', { length: 256 }), { property
50 assert.throws(() => generateKey('hmac', { length: -1 }, common.mustNotCall()), { property
54 assert.throws(() => generateKey('hmac', { length: 4 }, common.mustNotCall()), { property
58 assert.throws(() => generateKey('hmac', { length: 7 }, common.mustNotCall()), { property
63 () => generateKey('hmac', { length: 2 ** 31 }, common.mustNotCall()), { property
67 assert.throws(() => generateKeySync('hmac', { length: -1 }), { property
71 assert.throws(() => generateKeySync('hmac', { length: 4 }), { property
75 assert.throws(() => generateKeySync('hmac', { length: 7 }), { property
[all …]
Dtest-stream2-readable-from-list.js56 let ret = fromList(6, { buffer: list, length: 16 }); property
60 ret = fromList(2, { buffer: list, length: 10 }); property
64 ret = fromList(2, { buffer: list, length: 8 }); property
68 ret = fromList(100, { buffer: list, length: 6 }); property
84 let ret = fromList(6, { buffer: list, length: 16, decoder: true }); property
88 ret = fromList(2, { buffer: list, length: 10, decoder: true }); property
92 ret = fromList(2, { buffer: list, length: 8, decoder: true }); property
96 ret = fromList(100, { buffer: list, length: 6, decoder: true }); property
Dtest-buffer-backing-arraybuffer.js9 { length: 0, expectOnHeap: true }, property
10 { length: 48, expectOnHeap: true }, property
11 { length: 96, expectOnHeap: false }, property
12 { length: 1024, expectOnHeap: false }, property
15 for (const { length, expectOnHeap } of tests) { property
Dtest-fs-read-position-validation.mjs12 const length = buffer.byteLength; constant
30 fs.read(fd, { buffer, offset, length, position }, handler); property
31 fs.read(fd, buffer, common.mustNotMutateObjectDeep({ offset, length, position }), handler); property
45 () => fs.read(fd, { buffer, offset, length, position }, common.mustNotCall()), property
49 …() => fs.read(fd, buffer, common.mustNotMutateObjectDeep({ offset, length, position }), common.mus… property
Dtest-fs-promises-write-optional-params.js88 await testInvalid(dest, 'ERR_OUT_OF_RANGE', buffer, { length: 5 }); property
90 await testInvalid(dest, 'ERR_OUT_OF_RANGE', buffer, { length: 1, offset: 3 }); property
91 await testInvalid(dest, 'ERR_OUT_OF_RANGE', buffer, { length: -1 }); property
101 { length: 1 }, property
103 { length: 1, position: 5 }, property
104 { length: 1, position: -1, offset: 2 }, property
105 { length: null }, property
/third_party/skia/third_party/externals/brotli/java/org/brotli/dec/
DCompoundDictionaryTest.java35 int length = decoder.read(buffer, 0, buffer.length); in testNoDictionary() local
36 assertEquals(TEXT.length(), length); in testNoDictionary() local
46 int length = decoder.read(buffer, 0, buffer.length); in testOnePieceDictionary() local
47 assertEquals(TEXT.length(), length); in testOnePieceDictionary() local
58 int length = decoder.read(buffer, 0, buffer.length); in testTwoPieceDictionary() local
59 assertEquals(TEXT.length(), length); in testTwoPieceDictionary() local
/third_party/typescript/tests/baselines/reference/tsc/incremental/
DnoEmit-changes-composite-discrepancies.js62 "length": 18, property
137 "length": 18, property
211 "length": 18, property
286 "length": 18, property
356 "length": 4, property
364 "length": 5, property
380 "length": 4, property
388 "length": 5, property
404 "length": 18, property
475 "length": 4, property
[all …]
/third_party/skia/third_party/externals/icu/source/common/unicode/
Dustring.h931 # define U_STRING_DECL(var, cs, length) static const UChar *var=(const UChar *)U_DECLARE_UTF16(cs) argument
933 # define U_STRING_INIT(var, cs, length) argument
935 # define U_STRING_DECL(var, cs, length) static const UChar var[(length)+1]=L ## cs argument
937 # define U_STRING_INIT(var, cs, length) argument
939 # define U_STRING_DECL(var, cs, length) static const UChar var[(length)+1]=cs argument
941 # define U_STRING_INIT(var, cs, length) argument
943 # define U_STRING_DECL(var, cs, length) static UChar var[(length)+1] argument
945 # define U_STRING_INIT(var, cs, length) u_charsToUChars(cs, var, length+1) argument
/third_party/icu/icu4c/source/common/unicode/
Dustring.h931 # define U_STRING_DECL(var, cs, length) static const UChar *var=(const UChar *)U_DECLARE_UTF16(cs) argument
933 # define U_STRING_INIT(var, cs, length) argument
935 # define U_STRING_DECL(var, cs, length) static const UChar var[(length)+1]=L ## cs argument
937 # define U_STRING_INIT(var, cs, length) argument
939 # define U_STRING_DECL(var, cs, length) static const UChar var[(length)+1]=cs argument
941 # define U_STRING_INIT(var, cs, length) argument
943 # define U_STRING_DECL(var, cs, length) static UChar var[(length)+1] argument
945 # define U_STRING_INIT(var, cs, length) u_charsToUChars(cs, var, length+1) argument
/third_party/icu/icu4c/source/i18n/
Dcollationweights.cpp44 getWeightTrail(uint32_t weight, int32_t length) { in getWeightTrail()
49 setWeightTrail(uint32_t weight, int32_t length, uint32_t trail) { in setWeightTrail()
84 truncateWeight(uint32_t weight, int32_t length) { in truncateWeight()
89 incWeightTrail(uint32_t weight, int32_t length) { in incWeightTrail()
94 decWeightTrail(uint32_t weight, int32_t length) { in decWeightTrail()
169 CollationWeights::incWeightByOffset(uint32_t weight, int32_t length, int32_t offset) const { in incWeightByOffset()
187 int32_t length=range.length+1; in lengthenRange() local
264 for(int32_t length=lowerLength; length>middleLength; --length) { in getWeightRanges() local
283 for(int32_t length=upperLength; length>middleLength; --length) { in getWeightRanges() local
301 for(int32_t length=4; length>middleLength; --length) { in getWeightRanges() local
[all …]
/third_party/skia/third_party/externals/icu/source/i18n/
Dcollationweights.cpp44 getWeightTrail(uint32_t weight, int32_t length) { in getWeightTrail()
49 setWeightTrail(uint32_t weight, int32_t length, uint32_t trail) { in setWeightTrail()
84 truncateWeight(uint32_t weight, int32_t length) { in truncateWeight()
89 incWeightTrail(uint32_t weight, int32_t length) { in incWeightTrail()
94 decWeightTrail(uint32_t weight, int32_t length) { in decWeightTrail()
169 CollationWeights::incWeightByOffset(uint32_t weight, int32_t length, int32_t offset) const { in incWeightByOffset()
187 int32_t length=range.length+1; in lengthenRange() local
264 for(int32_t length=lowerLength; length>middleLength; --length) { in getWeightRanges() local
283 for(int32_t length=upperLength; length>middleLength; --length) { in getWeightRanges() local
301 for(int32_t length=4; length>middleLength; --length) { in getWeightRanges() local
[all …]
/third_party/node/deps/icu-small/source/i18n/
Dcollationweights.cpp44 getWeightTrail(uint32_t weight, int32_t length) { in getWeightTrail()
49 setWeightTrail(uint32_t weight, int32_t length, uint32_t trail) { in setWeightTrail()
84 truncateWeight(uint32_t weight, int32_t length) { in truncateWeight()
89 incWeightTrail(uint32_t weight, int32_t length) { in incWeightTrail()
94 decWeightTrail(uint32_t weight, int32_t length) { in decWeightTrail()
169 CollationWeights::incWeightByOffset(uint32_t weight, int32_t length, int32_t offset) const { in incWeightByOffset()
187 int32_t length=range.length+1; in lengthenRange() local
264 for(int32_t length=lowerLength; length>middleLength; --length) { in getWeightRanges() local
283 for(int32_t length=upperLength; length>middleLength; --length) { in getWeightRanges() local
301 for(int32_t length=4; length>middleLength; --length) { in getWeightRanges() local
[all …]
/third_party/node/deps/icu-small/source/common/unicode/
Dustring.h931 # define U_STRING_DECL(var, cs, length) static const UChar *var=(const UChar *)U_DECLARE_UTF16(cs) argument
933 # define U_STRING_INIT(var, cs, length) argument
935 # define U_STRING_DECL(var, cs, length) static const UChar var[(length)+1]=L ## cs argument
937 # define U_STRING_INIT(var, cs, length) argument
939 # define U_STRING_DECL(var, cs, length) static UChar var[(length)+1] argument
941 # define U_STRING_INIT(var, cs, length) u_charsToUChars(cs, var, length+1) argument
/third_party/pulseaudio/src/pulsecore/
Dsvolume_c.c31 …void pa_volume_u8_c(uint8_t *samples, const int32_t *volumes, unsigned channels, unsigned length) { in pa_volume_u8_c()
45 …id pa_volume_alaw_c(uint8_t *samples, const int32_t *volumes, unsigned channels, unsigned length) { in pa_volume_alaw_c()
59 …id pa_volume_ulaw_c(uint8_t *samples, const int32_t *volumes, unsigned channels, unsigned length) { in pa_volume_ulaw_c()
73 …d pa_volume_s16ne_c(int16_t *samples, const int32_t *volumes, unsigned channels, unsigned length) { in pa_volume_s16ne_c()
89 …d pa_volume_s16re_c(int16_t *samples, const int32_t *volumes, unsigned channels, unsigned length) { in pa_volume_s16re_c()
105 …d pa_volume_float32ne_c(float *samples, const float *volumes, unsigned channels, unsigned length) { in pa_volume_float32ne_c()
118 …d pa_volume_float32re_c(float *samples, const float *volumes, unsigned channels, unsigned length) { in pa_volume_float32re_c()
135 …d pa_volume_s32ne_c(int32_t *samples, const int32_t *volumes, unsigned channels, unsigned length) { in pa_volume_s32ne_c()
153 …d pa_volume_s32re_c(int32_t *samples, const int32_t *volumes, unsigned channels, unsigned length) { in pa_volume_s32re_c()
171 …d pa_volume_s24ne_c(uint8_t *samples, const int32_t *volumes, unsigned channels, unsigned length) { in pa_volume_s24ne_c()
[all …]
/third_party/typescript/tests/cases/conformance/classes/propertyMemberDeclarations/
DstaticPropertyNameConflicts.ts15 static length: number; // error property in StaticLength
16 length: string; // ok property in StaticLength
20 static length() {} // error method in StaticLengthFn
21 length() {} // ok method in StaticLengthFn
74 static length: number; // error variable
75 length: string; // ok variable
79 static length() {} // error variable
80 length() {} // ok variable
137 static length: number; // error property in StaticLength
138 length: string; // ok property in StaticLength
[all …]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/
DBytesTrieBuilder.java34 public BytesAsCharSequence(byte[] sequence, int length) { in BytesAsCharSequence()
39 public int length() { return len; } in length() method in BytesTrieBuilder.BytesAsCharSequence
56 public BytesTrieBuilder add(byte[] sequence, int length, int value) { in add()
157 private void ensureCapacity(int length) { in ensureCapacity()
190 protected int write(int offset, int length) { in write()
201 private int write(byte[] b, int length) { in write()
223 int length=1; in writeValueAndFinal() local
278 int length; in writeDeltaTo() local
/third_party/typescript/tests/baselines/reference/
DtypeParameterAsTypeParameterConstraint2.js17 foo2(1, { length: '' }); property
18 foo2(1, { length: {} }); property
30 foo2(1, { length: '' }); property
31 foo2(1, { length: {} }); property
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DBytesTrieBuilder.java34 public BytesAsCharSequence(byte[] sequence, int length) { in BytesAsCharSequence()
41 public int length() { return len; } in length() method in BytesTrieBuilder.BytesAsCharSequence
60 public BytesTrieBuilder add(byte[] sequence, int length, int value) { in add()
164 private void ensureCapacity(int length) { in ensureCapacity()
197 protected int write(int offset, int length) { in write()
208 private int write(byte[] b, int length) { in write()
230 int length=1; in writeValueAndFinal() local
299 int length=1; in internalEncodeDelta() local
/third_party/icu/icu4c/source/common/
Ducharstrieiterator.cpp64 int32_t length=remainingMatchLength_; // Actual remaining match length minus 1. in Iterator() local
86 int32_t length=remainingMatchLength_+1; // Remaining match length. in reset() local
113 int32_t length=stack_->elementAti(stackSize-1); in next() local
173 int32_t length=node-kMinLinearMatch+1; in next() local
186 UCharsTrie::Iterator::branchNext(const UChar *pos, int32_t length, UErrorCode &errorCode) { in branchNext()
Dbytestrieiterator.cpp65 int32_t length=remainingMatchLength_; // Actual remaining match length minus 1. in Iterator() local
87 int32_t length=remainingMatchLength_+1; // Remaining match length. in reset() local
114 int32_t length=stack_->elementAti(stackSize-1); in next() local
159 int32_t length=node-kMinLinearMatch+1; in next() local
185 BytesTrie::Iterator::branchNext(const uint8_t *pos, int32_t length, UErrorCode &errorCode) { in branchNext()
/third_party/skia/third_party/externals/icu/source/common/
Ducharstrieiterator.cpp64 int32_t length=remainingMatchLength_; // Actual remaining match length minus 1. in Iterator() local
86 int32_t length=remainingMatchLength_+1; // Remaining match length. in reset() local
113 int32_t length=stack_->elementAti(stackSize-1); in next() local
173 int32_t length=node-kMinLinearMatch+1; in next() local
186 UCharsTrie::Iterator::branchNext(const UChar *pos, int32_t length, UErrorCode &errorCode) { in branchNext()
Dbytestrieiterator.cpp65 int32_t length=remainingMatchLength_; // Actual remaining match length minus 1. in Iterator() local
87 int32_t length=remainingMatchLength_+1; // Remaining match length. in reset() local
114 int32_t length=stack_->elementAti(stackSize-1); in next() local
159 int32_t length=node-kMinLinearMatch+1; in next() local
185 BytesTrie::Iterator::branchNext(const uint8_t *pos, int32_t length, UErrorCode &errorCode) { in branchNext()
/third_party/node/deps/icu-small/source/common/
Ducharstrieiterator.cpp64 int32_t length=remainingMatchLength_; // Actual remaining match length minus 1. in Iterator() local
86 int32_t length=remainingMatchLength_+1; // Remaining match length. in reset() local
113 int32_t length=stack_->elementAti(stackSize-1); in next() local
173 int32_t length=node-kMinLinearMatch+1; in next() local
186 UCharsTrie::Iterator::branchNext(const char16_t *pos, int32_t length, UErrorCode &errorCode) { in branchNext()
Dbytestrieiterator.cpp65 int32_t length=remainingMatchLength_; // Actual remaining match length minus 1. in Iterator() local
87 int32_t length=remainingMatchLength_+1; // Remaining match length. in reset() local
114 int32_t length=stack_->elementAti(stackSize-1); in next() local
159 int32_t length=node-kMinLinearMatch+1; in next() local
185 BytesTrie::Iterator::branchNext(const uint8_t *pos, int32_t length, UErrorCode &errorCode) { in branchNext()
/third_party/node/test/fixtures/wpt/streams/writable-streams/
Dproperties.any.js6 length: 1, property
10 length: 2, property
14 length: 0, property
18 length: 1, property

12345678910>>...161