Home
last modified time | relevance | path

Searched refs:IsOne (Results 1 – 21 of 21) sorted by relevance

/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/
Dcord_rep_consume_test.cc99 EXPECT_TRUE(rep->refcount.IsOne()); in TEST()
116 EXPECT_FALSE(rep->refcount.IsOne()); in TEST()
134 EXPECT_TRUE(rep->refcount.IsOne()); in TEST()
151 EXPECT_FALSE(rep->refcount.IsOne()); in TEST()
166 EXPECT_TRUE(flat2->refcount.IsOne()); in TEST()
Dcord_rep_ring.cc280 if (!rep->refcount.IsOne()) { in Mutable()
295 assert(refcount.IsOne()); in GetAppendBuffer()
298 if (child->tag >= FLAT && child->refcount.IsOne()) { in GetAppendBuffer()
315 assert(refcount.IsOne()); in GetPrependBuffer()
318 if (data_offset && child->refcount.IsOne() && child->tag >= FLAT) { in GetPrependBuffer()
388 if (ring->refcount.IsOne()) { in AddRing()
507 if (rep->refcount.IsOne()) { in Append()
541 if (rep->refcount.IsOne()) { in Prepend()
681 if (rep->refcount.IsOne() && extra <= (rep->capacity() - new_entries)) { in SubRing()
718 if (rep->refcount.IsOne()) { in RemovePrefix()
[all …]
Dcord_rep_consume.cc34 if (substring->refcount.IsOne()) { in ClipSubstring()
48 if (concat->refcount.IsOne()) { in ClipConcat()
Dcord_rep_btree.cc59 std::string sharing = const_cast<CordRep*>(rep)->refcount.IsOne() in DumpAll()
165 if (r->refcount.IsOne()) { in FastUnref()
210 while (current_depth < depth && tree->refcount.IsOne()) { in BuildStack()
214 share_depth = current_depth + (tree->refcount.IsOne() ? 1 : 0); in BuildStack()
229 assert(tree->refcount.IsOne()); in BuildOwnedStack()
233 assert(tree->refcount.IsOne()); in BuildOwnedStack()
617 if (src->refcount.IsOne()) { in Merge()
859 assert(refcount.IsOne()); in GetAppendBufferSlow()
868 if (!node->refcount.IsOne()) return {}; in GetAppendBufferSlow()
874 if (!edge->refcount.IsOne() || edge->tag < FLAT) return {}; in GetAppendBufferSlow()
Dcord_rep_btree.h784 assert(refcount.IsOne()); in GetAppendBuffer()
793 if (!tree->refcount.IsOne()) return {}; in GetAppendBuffer()
798 if (!tree->refcount.IsOne()) return {}; in GetAppendBuffer()
803 if (!tree->refcount.IsOne()) return {}; in GetAppendBuffer()
807 if (!edge->refcount.IsOne()) return {}; in GetAppendBuffer()
Dcord_internal.h133 inline bool IsOne() { in IsOne() function
/third_party/gn/src/base/memory/
Dref_counted.cc12 return ref_count_.IsOne(); in HasOneRef()
/third_party/gn/src/base/
Datomic_ref_count.h46 bool IsOne() const { return ref_count_.load(std::memory_order_acquire) == 1; } in IsOne() function
/third_party/cef/include/base/
Dcef_atomic_ref_count.h88 bool IsOne() const { return ref_count_.load(std::memory_order_acquire) == 1; } in IsOne() function
/third_party/cef/libcef_dll/base/
Dcef_ref_counted.cc22 return ref_count_.IsOne(); in HasOneRef()
/third_party/cef/include/
Dcef_base.h111 bool HasOneRef() const { return ref_count_.IsOne(); } in HasOneRef()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DWholeProgramDevirt.cpp550 void applyUniqueRetValOpt(CallSiteInfo &CSInfo, StringRef FnName, bool IsOne,
1313 bool IsOne, in applyUniqueRetValOpt() argument
1318 B.CreateICmp(IsOne ? ICmpInst::ICMP_EQ : ICmpInst::ICMP_NE, in applyUniqueRetValOpt()
1338 auto tryUniqueRetValOptFor = [&](bool IsOne) { in tryUniqueRetValOpt() argument
1341 if (Target.RetVal == (IsOne ? 1 : 0)) { in tryUniqueRetValOpt()
1355 Res->Info = IsOne; in tryUniqueRetValOpt()
1361 applyUniqueRetValOpt(CSInfo, TargetsForSlot[0].Fn->getName(), IsOne, in tryUniqueRetValOpt()
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/
Dcord.cc422 if (root->IsBtree() && root->refcount.IsOne()) { in PrepareAppendRegion()
433 while (dst->IsConcat() && dst->refcount.IsOne()) { in PrepareAppendRegion()
437 if (!dst->IsFlat() || !dst->refcount.IsOne()) { in PrepareAppendRegion()
652 tree->refcount.IsOne()) { in operator =()
900 bool inplace_ok = node->refcount.IsOne(); in RemoveSuffixFrom()
913 inplace_ok = inplace_ok && node->refcount.IsOne(); in RemoveSuffixFrom()
1104 if (concat_node->refcount.IsOne()) { in Build()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUCodeGenPrepare.cpp536 bool IsOne = CNum->isExactlyValue(+1.0) || CNum->isExactlyValue(-1.0); in shouldKeepFDivF32() local
539 return HasDenormals ^ IsOne; in shouldKeepFDivF32()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86ISelDAGToDAG.cpp3087 bool IsOne = isOneConstant(StoredVal.getOperand(1)); in foldLoadStoreIntoMemOperand() local
3090 if ((IsOne || IsNegOne) && hasNoCarryFlagUses(StoredVal.getValue(1))) { in foldLoadStoreIntoMemOperand()
3092 ((Opc == X86ISD::ADD) == IsOne) in foldLoadStoreIntoMemOperand()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DTargetLowering.cpp4942 SDValue IsOne = DAG.getSetCC(dl, VT, N1, One, ISD::SETEQ); in BuildUDIV() local
4943 return DAG.getSelect(dl, VT, IsOne, N0, Q); in BuildUDIV()
DDAGCombiner.cpp3851 SDValue IsOne = DAG.getSetCC(DL, CCVT, N1, One, ISD::SETEQ); in visitSDIVLike() local
3853 SDValue IsOneOrAllOnes = DAG.getNode(ISD::OR, DL, CCVT, IsOne, IsAllOnes); in visitSDIVLike()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DScalarEvolution.cpp4362 bool IsOne = cast<SCEVConstant>(Res.getValue())->getValue()->isOne(); in visitUnknown() local
4363 Result = SE.getSCEV(IsOne ? SI->getTrueValue() : SI->getFalseValue()); in visitUnknown()
/third_party/skia/third_party/externals/abseil-cpp/
Dsymbols_x86_dbg.def2110 ?IsOne@RefcountAndFlags@cord_internal@absl@@QAE_NXZ
Dsymbols_x64_dbg.def2116 ?IsOne@RefcountAndFlags@cord_internal@absl@@QEAA_NXZ
Dsymbols_arm64_dbg.def2113 ?IsOne@RefcountAndFlags@cord_internal@absl@@QEAA_NXZ