/external/webrtc/webrtc/modules/audio_processing/vad/ |
H A D | voice_activity_detector.cc | 20 const size_t kMaxLength = 320; member in namespace:webrtc::__anon20336 41 RTC_DCHECK_LE(length, kMaxLength);
|
/external/v8/src/parsing/ |
H A D | func-name-inferrer.cc | 63 if (prev->length() + name->length() + 1 > String::kMaxLength) return prev;
|
H A D | scanner.cc | 1224 const int kMaxLength = 10; local 1225 if (input_length < kMinLength || input_length > kMaxLength) { 1239 STATIC_ASSERT(keyword_length <= kMaxLength); \
|
/external/skia/gm/ |
H A D | variedtext.cpp | 69 int length = random.nextRangeU(kMinLength, kMaxLength); 70 char text[kMaxLength]; 145 static const int kMaxLength = 40; member in class:VariedTextGM
|
/external/v8/src/ |
H A D | type-cache.h | 108 // [0, FixedArray::kMaxLength]. 110 CreateRange(0.0, FixedArray::kMaxLength), Type::TaggedSigned()); 113 // [0, FixedDoubleArray::kMaxLength]. 115 CreateRange(0.0, FixedDoubleArray::kMaxLength), Type::TaggedSigned()); 123 // [0, String::kMaxLength]. 125 CreateNative(CreateRange(0.0, String::kMaxLength), Type::TaggedSigned());
|
H A D | string-builder.cc | 63 if (accumulator()->length() + new_part->length() > String::kMaxLength) {
|
H A D | uri.cc | 358 DCHECK(unescaped_length <= String::kMaxLength); 442 DCHECK(String::kMaxLength < 0x7fffffff - 6); // Cannot overflow. 443 if (escaped_length > String::kMaxLength) break; // Provoke exception.
|
H A D | type-feedback-vector.h | 109 DCHECK(slot_count_ < kMaxLength); 114 DCHECK(name_count_ < kMaxLength); 118 static const int kMaxLength = 12; 121 FeedbackVectorSlotKind kinds_[kMaxLength]; 123 Handle<String> names_[kMaxLength];
|
H A D | string-builder.h | 108 if (increment > String::kMaxLength - position) { 247 if (character_count_ > String::kMaxLength - by) { 248 STATIC_ASSERT(String::kMaxLength < kMaxInt);
|
H A D | factory.cc | 411 if (length > String::kMaxLength || length < 0) { 423 if (length > String::kMaxLength || length < 0) { 529 if (length > String::kMaxLength || length < 0) { 555 STATIC_ASSERT(ConsString::kMinLength <= String::kMaxLength); 665 if (length > static_cast<size_t>(String::kMaxLength)) { 689 if (length > static_cast<size_t>(String::kMaxLength)) { 719 DCHECK_LE(length, static_cast<size_t>(String::kMaxLength)); 1958 STATIC_ASSERT(Code::kMaxArguments <= FixedArray::kMaxLength);
|
H A D | json-stringifier.cc | 486 static const int kMaxSerializableArrayLength = String::kMaxLength / 2;
|
H A D | objects.h | 2692 static const int kMaxLength = (kMaxSize - kHeaderSize) / kPointerSize; member in class:v8::internal::KeyCollectionMode::FixedArray 2762 static const int kMaxLength = (kMaxSize - kHeaderSize) / kDoubleSize; member in class:v8::internal::KeyCollectionMode::FixedDoubleArray 3289 (FixedArray::kMaxLength - kElementsStartOffset) / kEntrySize; 3991 (FixedArray::kMaxLength - kHashTableStartIndex) 4427 static const int kMaxLength = kMaxSize - kHeaderSize; member in class:v8::internal::KeyCollectionMode::ByteArray 4507 static const int kMaxLength = kMaxSize - kHeaderSize; member in class:v8::internal::KeyCollectionMode::BytecodeArray 9009 static const int kMaxLength = (1 << 28) - 16; 9171 STATIC_ASSERT((kMaxSize - kHeaderSize) >= String::kMaxLength); 9211 String::kMaxLength);
|
/external/v8/src/wasm/ |
H A D | decoder.h | 362 const int kMaxLength = (sizeof(IntType) * 8 + 6) / 7; local 364 const byte* end = ptr + kMaxLength; 375 DCHECK_LE(ptr - (base + offset), kMaxLength); 379 const int kExtraBits = (1 + kMaxLength * 7) - (sizeof(IntType) * 8); 395 if (*length == kMaxLength && (b & kExtraBitsMask) != extra_bits_value) {
|
/external/v8/test/cctest/ |
H A D | test-utils.cc | 178 static const int kMaxLength = 128; local 179 STATIC_ASSERT(kMaxOffset + kMaxLength < kAreaSize); 183 for (int length = 0; length <= kMaxLength; length++) {
|
H A D | test-strings.cc | 932 static const int kMaxLength = 20; local 933 CHECK_GT(kMaxLength, i::ConsString::kMinLength); 937 v8::Array::New(CcTest::isolate(), kMaxLength + 1); 939 v8::Array::New(CcTest::isolate(), kMaxLength + 1); 942 for (int i = 0; i <= kMaxLength; i++) { 983 v8::Integer::New(CcTest::isolate(), kMaxLength)) 1478 STATIC_ASSERT(String::kMaxLength < kMaxInt); \ 1479 static const int invalid = String::kMaxLength + 1; \
|
/external/v8/src/runtime/ |
H A D | runtime-strings.cc | 439 DCHECK(Smi::kMaxValue >= String::kMaxLength); 521 (String::kMaxLength + separator_length - 1) / separator_length; 531 if (increment > String::kMaxLength - length) { 532 STATIC_ASSERT(String::kMaxLength < kMaxInt); 663 if (length > String::kMaxLength || 664 String::kMaxLength - length < string_length) { 676 int remaining_length = String::kMaxLength - string_length; 686 STATIC_ASSERT(String::kMaxLength < 0x7fffffff); 874 if (current_length > String::kMaxLength) {
|
H A D | runtime-regexp.cc | 418 if (result_len_64 > static_cast<int64_t>(String::kMaxLength)) { 419 STATIC_ASSERT(String::kMaxLength < kMaxInt); 805 CHECK(size >= 0 && size <= FixedArray::kMaxLength);
|
/external/skia/tests/ |
H A D | SkpSkGrTest.cpp | 68 kMaxLength = 128, enumerator in enum:__anon16299 105 char fFilename[kMaxLength]; 123 char fFilesFound[kMaxFiles][kMaxLength]; 519 SkASSERT(i < kMaxLength);
|
H A D | PathOpsSkpClipTest.cpp | 163 kMaxLength = 256, enumerator in enum:__anon16280 214 char fFilename[kMaxLength];
|
/external/pcre/dist/ |
H A D | pcrecpp.cc | 875 static const int kMaxLength = 200; local 876 char buf[kMaxLength]; 877 if (n >= kMaxLength) return false;
|
/external/regex-re2/re2/ |
H A D | re2.cc | 1151 static const int kMaxLength = 200; local 1152 char buf[kMaxLength]; 1153 if (n >= kMaxLength) return false;
|
/external/regex-re2/util/ |
H A D | pcre.cc | 887 static const int kMaxLength = 200; local 888 char buf[kMaxLength]; 889 if (n >= kMaxLength) return false;
|
/external/webrtc/webrtc/base/ |
H A D | httpcommon.cc | 229 const size_t kMaxLength = attribute.length() * 2 + 1; local 230 char* buffer = STACK_ARRAY(char, kMaxLength); 231 size_t len = escape(buffer, kMaxLength, attribute.data(), attribute.length(),
|
/external/v8/src/heap/ |
H A D | heap-inl.h | 128 CHECK_GE(String::kMaxLength, str.length()); 159 CHECK_GE(String::kMaxLength, str.length());
|
H A D | heap.cc | 3040 if (length < 0 || length > ByteArray::kMaxLength) { 3062 if (length < 0 || length > BytecodeArray::kMaxLength) { 3670 DCHECK_GE(String::kMaxLength, chars); 3717 DCHECK_GE(String::kMaxLength, length); 3741 DCHECK_GE(String::kMaxLength, length); 3897 if (length < 0 || length > FixedArray::kMaxLength) { 3965 if (length < 0 || length > FixedDoubleArray::kMaxLength) {
|