Home
last modified time | relevance | path

Searched refs:IsFlat (Results 1 – 25 of 44) sorted by relevance

12

/third_party/skia/third_party/externals/libwebp/src/dsp/
Dquant.h22 #define IsFlat IsFlat_NEON macro
30 static WEBP_INLINE int IsFlat(const int16_t* levels, int num_blocks, in IsFlat() function
53 #define IsFlat IsFlat_C macro
55 static WEBP_INLINE int IsFlat(const int16_t* levels, int num_blocks, in IsFlat() function
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/
Dcord.cc437 if (!dst->IsFlat() || !dst->refcount.IsOne()) { in PrepareAppendRegion()
512 if (rep->IsFlat()) { in RepMemoryUsageDataEdge()
532 if (rep->IsFlat()) { in RepMemoryUsageLeaf()
651 if (tree->IsFlat() && tree->flat()->Capacity() >= length && in operator =()
770 if (src_tree->IsFlat()) { in AppendImpl()
1265 if (node->IsFlat()) { in FindFlatStartPiece()
1297 if (node->IsFlat()) { in FindFlatStartPiece()
1508 assert(node->IsExternal() || node->IsFlat()); in AdvanceStack()
1640 assert(node->IsExternal() || node->IsFlat()); in AdvanceAndReadBytes()
1710 assert(node->IsExternal() || node->IsFlat()); in AdvanceBytesSlowPath()
[all …]
Dcord_ring_test.cc1434 EXPECT_TRUE(ring->IsFlat(nullptr)); in TEST_F()
1435 EXPECT_TRUE(ring->IsFlat(&fragment)); in TEST_F()
1438 EXPECT_TRUE(ring->IsFlat(0, 11, nullptr)); in TEST_F()
1439 EXPECT_TRUE(ring->IsFlat(0, 11, &fragment)); in TEST_F()
1443 EXPECT_TRUE(ring->IsFlat(1, 4, &fragment)); in TEST_F()
1445 EXPECT_TRUE(ring->IsFlat(6, 5, &fragment)); in TEST_F()
1461 EXPECT_FALSE(ring->IsFlat(nullptr)); in TEST_F()
1463 EXPECT_FALSE(ring->IsFlat(&fragment)); in TEST_F()
1467 EXPECT_TRUE(ring->IsFlat(0, 11, &fragment)); in TEST_F()
1469 EXPECT_TRUE(ring->IsFlat(11, 19, &fragment)); in TEST_F()
[all …]
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/
Dcord_rep_btree_test.cc1023 EXPECT_TRUE(leaf->IsFlat(nullptr)); in TEST_P()
1024 EXPECT_TRUE(leaf->IsFlat(&fragment)); in TEST_P()
1027 EXPECT_TRUE(leaf->IsFlat(0, 11, nullptr)); in TEST_P()
1028 EXPECT_TRUE(leaf->IsFlat(0, 11, &fragment)); in TEST_P()
1032 EXPECT_TRUE(leaf->IsFlat(1, 4, &fragment)); in TEST_P()
1034 EXPECT_TRUE(leaf->IsFlat(6, 5, &fragment)); in TEST_P()
1049 EXPECT_FALSE(tree->IsFlat(nullptr)); in TEST()
1051 EXPECT_FALSE(tree->IsFlat(&fragment)); in TEST()
1055 EXPECT_TRUE(tree->IsFlat(offset, 3, nullptr)); in TEST()
1056 EXPECT_TRUE(tree->IsFlat(offset, 3, &fragment)); in TEST()
[all …]
Dcord_rep_ring.h234 bool IsFlat(absl::string_view* fragment) const;
241 bool IsFlat(size_t offset, size_t len, absl::string_view* fragment) const;
582 inline bool CordRepRing::IsFlat(absl::string_view* fragment) const { in IsFlat() function
590 inline bool CordRepRing::IsFlat(size_t offset, size_t len, in IsFlat() function
Dcord_rep_btree.h208 bool IsFlat(absl::string_view* fragment) const;
214 bool IsFlat(size_t offset, size_t n, absl::string_view* fragment) const;
Dcord_internal.h234 constexpr bool IsFlat() const { return tag >= FLAT; } in IsFlat() function
/third_party/node/deps/v8/src/objects/
Dstring.tq41 // Corresponds to String::IsFlat() in the C++ runtime.
42 macro IsFlat(): bool {
200 if (second.IsFlat()) goto FoundFlatString;
241 if (cons.IsFlat()) return cons.first;
Dstring-inl.h327 DCHECK(string.IsFlat()); in IsOneByteRepresentationUnderneath()
658 if (!cons.IsFlat(isolate)) { in Flatten()
678 DCHECK(string->IsFlat()); in Flatten()
862 bool String::IsFlat() const { return IsFlat(GetPtrComprCageBase(*this)); } in IsFlat() function
864 bool String::IsFlat(PtrComprCageBase cage_base) const { in IsFlat() function
866 return ConsString::cast(*this).IsFlat(cage_base); in IsFlat()
880 DCHECK(IsFlat()); in GetUnderlying()
1093 bool ConsString::IsFlat(PtrComprCageBase cage_base) const { in IsFlat() function
Dstring.cc45 if (cons->second().IsConsString() && !cons->second().IsFlat()) { in SlowFlatten()
79 DCHECK(result->IsFlat()); in SlowFlatten()
760 if (!cons.IsFlat(cage_base)) return FlatContent(no_gc); in SlowGetFlatContent()
983 DCHECK(content.IsFlat()); in CalculateLineEnds()
1605 DCHECK(!string.IsFlat()); in HashString()
1646 if (shape.IsCons() && string.IsFlat(cage_base)) { in ComputeAndSetHash()
1824 DCHECK(str_->IsFlat()); in PostGarbageCollection()
1828 DCHECK(content.IsFlat()); in PostGarbageCollection()
1971 DCHECK(IsFlat()); in AddressOfCharacterAt()
Dstring.h122 bool IsFlat() const { return state_ != NON_FLAT; } in IsFlat() function
469 inline bool IsFlat() const;
470 inline bool IsFlat(PtrComprCageBase cage_base) const;
824 V8_INLINE bool IsFlat(PtrComprCageBase cage_base) const;
Dstring-table.cc353 DCHECK(string->IsFlat()); in InternalizedStringKey()
647 DCHECK(!source.IsFlat(isolate)); in TryStringToIndexOrLookupExisting()
717 } else if (source.IsConsString() && source.IsFlat()) { in TryStringToIndexOrLookupExisting()
Dintl-objects.cc173 DCHECK(flat.IsFlat()); in GetUCharBufferFromFlat()
201 DCHECK(string->IsFlat()); in ToICUUnicodeString()
225 DCHECK(string->IsFlat()); in ToICUStringPiece()
262 DCHECK(s->IsFlat()); in LocaleConvertCase()
294 DCHECK(src.IsFlat()); in ConvertOneByteToLower()
373 DCHECK(s->IsFlat()); in ConvertToUpper()
1341 DCHECK(string1->IsFlat()); in TryFastCompareStrings()
1342 DCHECK(string2->IsFlat()); in TryFastCompareStrings()
Djs-list-format.cc209 if (!item_str->IsFlat()) item_str = String::Flatten(isolate, item_str); in ToUnicodeStringArray()
/third_party/node/deps/v8/src/regexp/experimental/
Dexperimental-interpreter.cc74 DCHECK(str.IsFlat()); in ToCharacterVector()
83 DCHECK(str.IsFlat()); in ToCharacterVector()
563 DCHECK(input.IsFlat()); in FindMatches()
Dexperimental.cc149 DCHECK(subject.IsFlat()); in ExecRawImpl()
/third_party/node/deps/v8/src/runtime/
Druntime-regexp.cc332 DCHECK(content.IsFlat()); in Compile()
474 DCHECK(subject_content.IsFlat()); in FindStringIndicesDispatch()
475 DCHECK(pattern_content.IsFlat()); in FindStringIndicesDispatch()
548 DCHECK(subject->IsFlat()); in StringReplaceGlobalAtomRegExpWithString()
549 DCHECK(replacement->IsFlat()); in StringReplaceGlobalAtomRegExpWithString()
627 DCHECK(subject->IsFlat()); in StringReplaceGlobalRegExpWithString()
628 DCHECK(replacement->IsFlat()); in StringReplaceGlobalRegExpWithString()
705 DCHECK(subject->IsFlat()); in StringReplaceGlobalRegExpWithEmptyString()
1172 DCHECK(subject->IsFlat()); in SearchRegExpMultiple()
/third_party/node/deps/v8/src/regexp/
Dregexp.cc189 DCHECK(pattern->IsFlat()); in Compile()
365 DCHECK(needle.IsFlat()); in AtomExecRaw()
375 DCHECK(needle_content.IsFlat()); in AtomExecRaw()
376 DCHECK(subject_content.IsFlat()); in AtomExecRaw()
643 DCHECK(subject->IsFlat()); in IrregexpPrepare()
662 DCHECK(subject->IsFlat()); in IrregexpExecRaw()
Dregexp-interpreter.cc246 DCHECK(subject_string->IsFlat()); in UpdateCodeAndSubjectReferences()
1076 DCHECK(subject_string.IsFlat()); in MatchInternal()
Dregexp-macro-assembler.cc373 DCHECK(subject->IsFlat()); in Match()
/third_party/node/deps/v8/src/heap/
Dfactory-base.cc420 DCHECK(shared_name->IsFlat()); in NewSharedFunctionInfo()
741 DCHECK(left->IsFlat()); in NewConsString()
742 DCHECK(right->IsFlat()); in NewConsString()
/third_party/node/deps/v8/src/numbers/
Dconversions.cc298 DCHECK(subject->IsFlat()); in StringToIntHelper()
304 DCHECK(subject->IsFlat()); in StringToIntHelper()
1433 DCHECK(flat.IsFlat()); in StringToDouble()
/third_party/node/deps/v8/src/strings/
Dstring-builder.cc300 (string->IsFlat() && String::IsOneByteRepresentationUnderneath(*string)); in CanAppendByCopy()
/third_party/skia/third_party/externals/libwebp/src/enc/
Dquant_enc.c1009 is_flat = IsFlat(rd_cur->y_ac_levels[0], kNumBlocks, FLATNESS_LIMIT_I16); in PickBestIntra16()
1097 if (mode > 0 && IsFlat(tmp_levels, kNumBlocks, FLATNESS_LIMIT_I4)) { in PickBestIntra4()
1170 if (mode > 0 && IsFlat(rd_uv.uv_levels[0], kNumBlocks, FLATNESS_LIMIT_UV)) { in PickBestUV()
/third_party/protobuf/src/google/protobuf/io/
Dcoded_stream.h200 inline bool IsFlat() const;
1578 inline bool CodedInputStream::IsFlat() const { return input_ == nullptr; } in IsFlat() function

12