/third_party/node/test/parallel/ |
D | test-buffer-over-max-length.js | 8 const kMaxLength = buffer.kMaxLength; constant 21 assert.throws(() => Buffer(kMaxLength + 1), bufferMaxSizeMsg); 22 assert.throws(() => SlowBuffer(kMaxLength + 1), bufferMaxSizeMsg); 23 assert.throws(() => Buffer.alloc(kMaxLength + 1), bufferMaxSizeMsg); 24 assert.throws(() => Buffer.allocUnsafe(kMaxLength + 1), bufferMaxSizeMsg); 25 assert.throws(() => Buffer.allocUnsafeSlow(kMaxLength + 1), bufferMaxSizeMsg);
|
D | test-zlib-kmaxlength-rangeerror.js | 13 const oldkMaxLength = buffer.kMaxLength; 14 buffer.kMaxLength = 64; 16 buffer.kMaxLength = oldkMaxLength;
|
D | test-zlib-brotli-kmaxlength-rangeerror.js | 13 const oldkMaxLength = buffer.kMaxLength; 14 buffer.kMaxLength = 64; 16 buffer.kMaxLength = oldkMaxLength;
|
D | test-buffer-slow.js | 35 SlowBuffer(buffer.kMaxLength).length, buffer.kMaxLength); 62 assert.throws(() => SlowBuffer(buffer.kMaxLength + 1), bufferMaxSizeMsg);
|
D | test-buffer-constants.js | 5 const { kMaxLength, kStringMaxLength } = require('buffer'); 17 assert.strictEqual(kMaxLength, MAX_LENGTH);
|
D | test-crypto-random.js | 31 const { kMaxLength } = require('buffer'); 35 const kMaxPossibleLength = Math.min(kMaxLength, kMaxInt32);
|
/third_party/flutter/skia/tools/gpu/ |
D | MemoryCache.cpp | 25 static constexpr size_t kMaxLength = 60; in data_to_str() local 28 bool overlength = encodeLength > kMaxLength; in data_to_str() 30 str = SkString(str.c_str(), kMaxLength - kTailLen); in data_to_str()
|
/third_party/skia/tools/gpu/ |
D | MemoryCache.cpp | 26 static constexpr size_t kMaxLength = 60; in data_to_str() local 29 bool overlength = encodeLength > kMaxLength; in data_to_str() 31 str = SkString(str.c_str(), kMaxLength - kTailLen); in data_to_str()
|
/third_party/flutter/skia/gm/ |
D | variedtext.cpp | 74 int length = random.nextRangeU(kMinLength, kMaxLength); in onOnceBeforeDraw() 75 char text[kMaxLength]; in onOnceBeforeDraw() 150 static constexpr int kMaxLength = 40; member in VariedTextGM
|
/third_party/skia/gm/ |
D | variedtext.cpp | 74 int length = random.nextRangeU(kMinLength, kMaxLength); in onOnceBeforeDraw() 75 char text[kMaxLength]; in onOnceBeforeDraw() 148 inline static constexpr int kMaxLength = 40; member in VariedTextGM
|
/third_party/node/src/ |
D | node_buffer.h | 32 static const size_t kMaxLength = v8::TypedArray::kMaxLength; variable
|
D | node_errors.h | 168 v8::TypedArray::kMaxLength); in ERR_BUFFER_TOO_LARGE() 176 v8::String::kMaxLength); in ERR_STRING_TOO_LONG()
|
D | node_buffer.cc | 356 if (length > kMaxLength) { in New() 384 if (length > kMaxLength) { in Copy() 422 if (length > kMaxLength) { in New() 467 CHECK(length <= kMaxLength); in New() 1159 Number::New(env->isolate(), kMaxLength)).Check(); in Initialize() 1163 Integer::New(env->isolate(), String::kMaxLength)).Check(); in Initialize()
|
D | string_bytes.cc | 622 if ((len) > Buffer::kMaxLength) { \ 645 if (buflen > node::Buffer::kMaxLength) { in Encode()
|
/third_party/node/lib/internal/crypto/ |
D | random.js | 12 kMaxLength, 35 const kMaxPossibleLength = MathMin(kMaxLength, kMaxInt32);
|
/third_party/node/deps/npm/node_modules/safer-buffer/ |
D | safer.js | 70 MAX_LENGTH: safer.kMaxLength
|
/third_party/node/lib/ |
D | zlib.js | 69 kMaxLength 248 let maxOutputLength = kMaxLength; 281 1, kMaxLength, kMaxLength);
|
D | buffer.js | 65 kMaxLength, 110 const validateOffset = (value, name, min = 0, max = kMaxLength) => 129 value: kMaxLength, 364 if (!(size >= 0 && size <= kMaxLength)) { 1271 kMaxLength, property
|
/third_party/node/deps/npm/node_modules/npm-registry-fetch/node_modules/safe-buffer/ |
D | README.md | 178 `require('buffer').kMaxLength` (on 64-bit architectures, `kMaxLength` is 214 be less than or equal to the value of `require('buffer').kMaxLength` (on 64-bit 215 architectures, `kMaxLength` is `(2^31)-1`). Otherwise, a [`RangeError`][] is 260 `require('buffer').kMaxLength` (on 64-bit architectures, `kMaxLength` is
|
/third_party/node/deps/npm/node_modules/safe-buffer/ |
D | README.md | 178 `require('buffer').kMaxLength` (on 64-bit architectures, `kMaxLength` is 214 be less than or equal to the value of `require('buffer').kMaxLength` (on 64-bit 215 architectures, `kMaxLength` is `(2^31)-1`). Otherwise, a [`RangeError`][] is 260 `require('buffer').kMaxLength` (on 64-bit architectures, `kMaxLength` is
|
/third_party/node/deps/npm/node_modules/string_decoder/node_modules/safe-buffer/ |
D | README.md | 180 `require('buffer').kMaxLength` (on 64-bit architectures, `kMaxLength` is 216 be less than or equal to the value of `require('buffer').kMaxLength` (on 64-bit 217 architectures, `kMaxLength` is `(2^31)-1`). Otherwise, a [`RangeError`][] is 262 `require('buffer').kMaxLength` (on 64-bit architectures, `kMaxLength` is
|
/third_party/node/deps/npm/node_modules/tar/node_modules/safe-buffer/ |
D | README.md | 178 `require('buffer').kMaxLength` (on 64-bit architectures, `kMaxLength` is 214 be less than or equal to the value of `require('buffer').kMaxLength` (on 64-bit 215 architectures, `kMaxLength` is `(2^31)-1`). Otherwise, a [`RangeError`][] is 260 `require('buffer').kMaxLength` (on 64-bit architectures, `kMaxLength` is
|
/third_party/skia/third_party/externals/abseil-cpp/absl/debugging/internal/ |
D | demangle.cc | 444 constexpr size_t kMaxLength = 20; in MaybeAppendDecimal() local 445 char buf[kMaxLength]; in MaybeAppendDecimal() 452 char *p = &buf[kMaxLength]; in MaybeAppendDecimal() 459 Append(state, p, kMaxLength - (p - buf)); in MaybeAppendDecimal()
|
/third_party/protobuf/src/google/protobuf/ |
D | map.h | 929 const size_type kMaxLength = 8; 937 GOOGLE_DCHECK_LE(count, kMaxLength); 938 return count >= kMaxLength;
|
/third_party/node/tools/doc/ |
D | apilinks.mjs | 12 // is `kMaxLength`, in which case it is `buffer`.
|