Searched refs:kMaxLength (Results 1 - 25 of 38) sorted by relevance

12

/external/webrtc/webrtc/modules/audio_processing/vad/
H A Dvoice_activity_detector.cc20 const size_t kMaxLength = 320; member in namespace:webrtc::__anon20336
41 RTC_DCHECK_LE(length, kMaxLength);
/external/v8/src/parsing/
H A Dfunc-name-inferrer.cc63 if (prev->length() + name->length() + 1 > String::kMaxLength) return prev;
H A Dscanner.cc1224 const int kMaxLength = 10; local
1225 if (input_length < kMinLength || input_length > kMaxLength) {
1239 STATIC_ASSERT(keyword_length <= kMaxLength); \
/external/skia/gm/
H A Dvariedtext.cpp69 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 Dtype-cache.h108 // [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 Dstring-builder.cc63 if (accumulator()->length() + new_part->length() > String::kMaxLength) {
H A Duri.cc358 DCHECK(unescaped_length <= String::kMaxLength);
442 DCHECK(String::kMaxLength < 0x7fffffff - 6); // Cannot overflow.
443 if (escaped_length > String::kMaxLength) break; // Provoke exception.
H A Dtype-feedback-vector.h109 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 Dstring-builder.h108 if (increment > String::kMaxLength - position) {
247 if (character_count_ > String::kMaxLength - by) {
248 STATIC_ASSERT(String::kMaxLength < kMaxInt);
H A Dfactory.cc411 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 Djson-stringifier.cc486 static const int kMaxSerializableArrayLength = String::kMaxLength / 2;
H A Dobjects.h2692 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 Ddecoder.h362 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 Dtest-utils.cc178 static const int kMaxLength = 128; local
179 STATIC_ASSERT(kMaxOffset + kMaxLength < kAreaSize);
183 for (int length = 0; length <= kMaxLength; length++) {
H A Dtest-strings.cc932 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 Druntime-strings.cc439 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 Druntime-regexp.cc418 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 DSkpSkGrTest.cpp68 kMaxLength = 128, enumerator in enum:__anon16299
105 char fFilename[kMaxLength];
123 char fFilesFound[kMaxFiles][kMaxLength];
519 SkASSERT(i < kMaxLength);
H A DPathOpsSkpClipTest.cpp163 kMaxLength = 256, enumerator in enum:__anon16280
214 char fFilename[kMaxLength];
/external/pcre/dist/
H A Dpcrecpp.cc875 static const int kMaxLength = 200; local
876 char buf[kMaxLength];
877 if (n >= kMaxLength) return false;
/external/regex-re2/re2/
H A Dre2.cc1151 static const int kMaxLength = 200; local
1152 char buf[kMaxLength];
1153 if (n >= kMaxLength) return false;
/external/regex-re2/util/
H A Dpcre.cc887 static const int kMaxLength = 200; local
888 char buf[kMaxLength];
889 if (n >= kMaxLength) return false;
/external/webrtc/webrtc/base/
H A Dhttpcommon.cc229 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 Dheap-inl.h128 CHECK_GE(String::kMaxLength, str.length());
159 CHECK_GE(String::kMaxLength, str.length());
H A Dheap.cc3040 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) {

Completed in 515 milliseconds

12