Home
last modified time | relevance | path

Searched refs:kMaxLength (Results 1 – 25 of 65) sorted by relevance

123

/external/v8/src/compiler/
Dtype-cache.h93 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/
DMemoryCache.cpp19 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/
Dstring.h416 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);
Dfixed-array.h179 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),
Dosr-optimized-code-cache.cc16 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()
Dembedder-data-array.cc17 DCHECK_LT(index, kMaxLength); in EnsureCapacity()
Dembedder-data-array.h55 static constexpr int kMaxLength = variable
Dproperty-array.h64 static const int kMaxLength = LengthField::kMax; variable
Djs-array-buffer.h254 static constexpr size_t kMaxLength = v8::TypedArray::kMaxLength;
Dosr-optimized-code-cache.h27 static const int kMaxLength = OSRCodeCacheConstants::kEntryLength * 1024; variable
Dbigint.h51 static const int kMaxLength = variable
57 STATIC_ASSERT(kMaxLength <= ((1 << kLengthFieldBits) - 1));
/external/skia/tools/gpu/
DMemoryCache.cpp25 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/
Dvoice_activity_detector.cc20 const size_t kMaxLength = 320; variable
41 RTC_DCHECK_LE(length, kMaxLength); in ProcessChunk()
/external/v8/src/heap/
Dfactory-base.cc118 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/
Dvariedtext.cpp63 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/
Dvariedtext.cpp74 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/
Dstring-builder-inl.h97 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()
Duri.cc367 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()
Dstring-builder.cc97 if (increment > String::kMaxLength - position) { in StringBuilderConcatLength()
250 if (accumulator()->length() + new_part->length() > String::kMaxLength) { in Accumulate()
Dstring-hasher-inl.h41 STATIC_ASSERT(base::bits::CountLeadingZeros32(String::kMaxLength) >= in GetTrivialHash()
/external/libchrome/components/json_schema/
Djson_schema_constants.cc21 const char kMaxLength[] = "maxLength"; variable
Djson_schema_constants.h23 extern const char kMaxLength[];
/external/v8/src/wasm/
Ddecoder.h424 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/
Dstring-util.cc104 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/
Dbuiltins-array.cc837 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()

123