/external/v8/src/compiler/ |
D | type-cache.h | 93 Type const kFixedArrayLengthType = CreateRange(0.0, FixedArray::kMaxLength); 98 CreateRange(0.0, WeakFixedArray::kMaxLength); 103 CreateRange(0.0, FixedDoubleArray::kMaxLength); 126 CreateRange(0.0, JSTypedArray::kMaxLength); 130 Type const kStringLengthType = CreateRange(0.0, String::kMaxLength); 179 Type const kArgumentsLengthType = CreateRange(0.0, FixedArray::kMaxLength); 184 Type const kRestLengthType = CreateRange(0.0, FixedArray::kMaxLength);
|
/external/skqp/tools/gpu/ |
D | MemoryCache.cpp | 19 static constexpr size_t kMaxLength = 60; in data_to_str() local 22 bool overlength = encodeLength > kMaxLength; in data_to_str() 24 str = SkString(str.c_str(), kMaxLength - kTailLen); in data_to_str()
|
/external/v8/src/objects/ |
D | string.h | 416 static const int kMaxLength = v8::String::kMaxLength; variable 419 static_assert(kMaxLength <= kSmiMaxValue, 423 static_assert(kMaxLength * 2 <= kMaxInt, 428 static_assert(kMaxLength * 2 + kHeaderSize <= kSmiMaxValue, 432 static_assert(kMaxLength * 2 + kHeaderSize <= kMaxInt, 607 static const int kMaxCharsSize = kMaxLength; 609 STATIC_ASSERT((kMaxSize - kHeaderSize) >= String::kMaxLength); 652 static const int kMaxCharsSize = kMaxLength * 2; 655 String::kMaxLength);
|
D | fixed-array.h | 179 static const int kMaxLength = (kMaxSize - kHeaderSize) / kTaggedSize; variable 180 static_assert(Internals::IsValidSmi(kMaxLength), 252 static const int kMaxLength = (kMaxSize - kHeaderSize) / kDoubleSize; variable 253 static_assert(Internals::IsValidSmi(kMaxLength), 293 static const int kMaxLength = variable 295 static_assert(Internals::IsValidSmi(kMaxLength), 540 static const int kMaxLength = kMaxSize - kHeaderSize; variable 541 static_assert(Internals::IsValidSmi(kMaxLength),
|
D | osr-optimized-code-cache.cc | 16 const int OSROptimizedCodeCache::kMaxLength; member in v8::internal::OSROptimizedCodeCache 40 if (entry == -1 && osr_cache->length() + kEntryLength <= kMaxLength) { in AddOptimizedCode() 213 if (curr_length * 2 > kMaxLength) return kMaxLength; in CapacityForLength()
|
D | embedder-data-array.cc | 17 DCHECK_LT(index, kMaxLength); in EnsureCapacity()
|
D | embedder-data-array.h | 55 static constexpr int kMaxLength = variable
|
D | property-array.h | 64 static const int kMaxLength = LengthField::kMax; variable
|
D | js-array-buffer.h | 254 static constexpr size_t kMaxLength = v8::TypedArray::kMaxLength;
|
D | osr-optimized-code-cache.h | 27 static const int kMaxLength = OSRCodeCacheConstants::kEntryLength * 1024; variable
|
D | bigint.h | 51 static const int kMaxLength = variable 57 STATIC_ASSERT(kMaxLength <= ((1 << kLengthFieldBits) - 1));
|
/external/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()
|
/external/webrtc/webrtc/modules/audio_processing/vad/ |
D | voice_activity_detector.cc | 20 const size_t kMaxLength = 320; variable 41 RTC_DCHECK_LE(length, kMaxLength); in ProcessChunk()
|
/external/v8/src/heap/ |
D | factory-base.cc | 118 if (length < 0 || length > FixedDoubleArray::kMaxLength) { in NewFixedDoubleArray() 163 if (length < 0 || length > ByteArray::kMaxLength) { in NewByteArray() 179 if (length < 0 || length > BytecodeArray::kMaxLength) { in NewBytecodeArray() 531 if (length > String::kMaxLength || length < 0) { in NewRawOneByteString() 551 if (length > String::kMaxLength || length < 0) { in NewRawTwoByteString() 592 if (length > String::kMaxLength || length < 0) { in NewConsString() 607 STATIC_ASSERT(ConsString::kMinLength <= String::kMaxLength); in NewConsString() 653 DCHECK_LE(length, String::kMaxLength); in NewConsString() 677 if (length < 0 || length > BigInt::kMaxLength) { in NewBigInt() 752 CHECK_GE(String::kMaxLength, length); in AllocateRawOneByteInternalizedString() [all …]
|
/external/skqp/gm/ |
D | variedtext.cpp | 63 int length = random.nextRangeU(kMinLength, kMaxLength); in onOnceBeforeDraw() 64 char text[kMaxLength]; in onOnceBeforeDraw() 139 static constexpr int kMaxLength = 40; member in VariedTextGM
|
/external/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
|
/external/v8/src/strings/ |
D | string-builder-inl.h | 97 if (character_count_ > String::kMaxLength - by) { in IncrementCharacterCount() 98 STATIC_ASSERT(String::kMaxLength < kMaxInt); in IncrementCharacterCount() 167 STATIC_ASSERT((kMaxPartLength << 3) <= String::kMaxLength); in EscapedLengthIfCurrentPartFits()
|
D | uri.cc | 367 DCHECK_LE(unescaped_length, String::kMaxLength); in UnescapeSlow() 451 DCHECK_LT(String::kMaxLength, 0x7FFFFFFF - 6); // Cannot overflow. in EscapePrivate() 452 if (escaped_length > String::kMaxLength) break; // Provoke exception. in EscapePrivate()
|
D | string-builder.cc | 97 if (increment > String::kMaxLength - position) { in StringBuilderConcatLength() 250 if (accumulator()->length() + new_part->length() > String::kMaxLength) { in Accumulate()
|
D | string-hasher-inl.h | 41 STATIC_ASSERT(base::bits::CountLeadingZeros32(String::kMaxLength) >= in GetTrivialHash()
|
/external/libchrome/components/json_schema/ |
D | json_schema_constants.cc | 21 const char kMaxLength[] = "maxLength"; variable
|
D | json_schema_constants.h | 23 extern const char kMaxLength[];
|
/external/v8/src/wasm/ |
D | decoder.h | 424 constexpr int kMaxLength = (size_in_bits + 6) / 7; in read_leb_tail() local 425 static_assert(byte_index < kMaxLength, "invalid template instantiation"); in read_leb_tail() 427 constexpr bool is_last_byte = byte_index == kMaxLength - 1; in read_leb_tail() 464 constexpr int kExtraBits = size_in_bits - ((kMaxLength - 1) * 7); in read_leb_tail()
|
/external/v8/src/inspector/ |
D | string-util.cc | 104 DCHECK_GT(v8::String::kMaxLength, string.length()); in toV8String() 114 DCHECK_GT(v8::String::kMaxLength, string.length()); in toV8StringInternalized() 131 DCHECK_GT(v8::String::kMaxLength, string.length()); in toV8String()
|
/external/v8/src/builtins/ |
D | builtins-array.cc | 837 DCHECK_GE(static_cast<int32_t>(FixedArray::kMaxLength), 0); in EstimateElementCount() 849 DCHECK_GE(static_cast<int32_t>(FixedDoubleArray::kMaxLength), 0); in EstimateElementCount() 1421 STATIC_ASSERT(FixedArray::kMaxLength < kHalfOfMaxInt); in Fast_ArrayConcat() 1422 STATIC_ASSERT(FixedDoubleArray::kMaxLength < kHalfOfMaxInt); in Fast_ArrayConcat() 1450 if (FixedDoubleArray::kMaxLength < result_len || in Fast_ArrayConcat() 1451 FixedArray::kMaxLength < result_len) { in Fast_ArrayConcat()
|