/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/ |
H A D | cord_rep_ring.cc | 42 inline bool IsFlatOrExternal(CordRep* rep) { in IsFlatOrExternal() argument 43 return rep->IsFlat() || rep->IsExternal(); in IsFlatOrExternal() 58 auto* rep = CordRepFlat::New(n + extra); in CreateFlat() local 59 rep->length = n; in CreateFlat() 60 memcpy(rep->Data(), s, n); in CreateFlat() 61 return rep; in CreateFlat() 66 void UnrefEntries(const CordRepRing* rep, index_type head, index_type tail) { in UnrefEntries() argument 67 rep->ForEach(head, tail, [rep](index_typ in UnrefEntries() 81 operator <<(std::ostream& s, const CordRepRing& rep) operator <<() argument 114 Filler(CordRepRing* rep, index_type pos) Filler() argument 193 Validate(CordRepRing* rep, const char* file, int line) Validate() argument 199 std::cerr << "\\nContent = " << *rep; Validate() local 211 auto* rep = new (mem) CordRepRing(static_cast<index_type>(capacity)); New() local 243 Destroy(CordRepRing* rep) Destroy() argument 268 Copy(CordRepRing* rep, index_type head, index_type tail, size_t extra) Copy() argument 276 Mutable(CordRepRing* rep, size_t extra) Mutable() argument 331 CordRepRing* rep = CordRepRing::New(1, extra); CreateFromLeaf() local 342 CordRepRing* rep = nullptr; CreateSlow() local 370 AddRing(CordRepRing* rep, CordRepRing* ring, size_t offset, size_t len) AddRing() argument 434 AppendSlow(CordRepRing* rep, CordRep* child) AppendSlow() argument 445 AppendLeaf(CordRepRing* rep, CordRep* child, size_t offset, size_t len) AppendLeaf() argument 458 Append(CordRepRing* rep, CordRep* child) Append() argument 469 PrependSlow(CordRepRing* rep, CordRep* child) PrependSlow() argument 480 PrependLeaf(CordRepRing* rep, CordRep* child, size_t offset, size_t len) PrependLeaf() argument 494 Prepend(CordRepRing* rep, CordRep* child) Prepend() argument 505 Append(CordRepRing* rep, absl::string_view data, size_t extra) Append() argument 539 Prepend(CordRepRing* rep, absl::string_view data, size_t extra) Prepend() argument 709 RemovePrefix(CordRepRing* rep, size_t len, size_t extra) RemovePrefix() argument 738 RemoveSuffix(CordRepRing* rep, size_t len, size_t extra) RemoveSuffix() argument [all...] |
H A D | cordz_info.cc | 74 // Analyzes the memory statistics and node counts for the provided `rep`, and 77 void AnalyzeCordRep(const CordRep* rep) { in AnalyzeCordRep() argument 81 size_t refcount = rep->refcount.Get(); in AnalyzeCordRep() 82 RepRef repref{rep, (refcount > 1) ? refcount - 1 : 1}; in AnalyzeCordRep() 87 if (repref.rep != nullptr) { in AnalyzeCordRep() 88 if (repref.rep->tag == RING) { in AnalyzeCordRep() 90 } else if (repref.rep->tag == BTREE) { in AnalyzeCordRep() 92 } else if (repref.rep->tag == CONCAT) { in AnalyzeCordRep() 112 const CordRep* rep; member 135 // Returns `rr` if `rr.rep` i 138 const CordRep* rep = repref.rep; AssertConcat() local 166 CountLinearReps(RepRef rep, MemoryUsage& memory_usage) CountLinearReps() argument 196 AnalyzeConcat(RepRef rep) AnalyzeConcat() argument 224 AnalyzeRing(RepRef rep) AnalyzeRing() argument 235 AnalyzeBtree(RepRef rep) AnalyzeBtree() argument 332 CordzInfo(CordRep* rep, const CordzInfo* src, MethodIdentifier method) CordzInfo() argument [all...] |
H A D | cord_internal.cc | 36 void CordRep::Destroy(CordRep* rep) { in Destroy() argument 37 assert(rep != nullptr); in Destroy() 41 assert(!rep->refcount.IsImmortal()); in Destroy() 42 if (rep->tag == CONCAT) { in Destroy() 43 CordRepConcat* rep_concat = rep->concat(); in Destroy() 50 rep = nullptr; in Destroy() 52 rep = left; in Destroy() 55 } else if (rep->tag == BTREE) { in Destroy() 56 CordRepBtree::Destroy(rep->btree()); in Destroy() 57 rep in Destroy() [all...] |
H A D | cord_rep_test_util.h | 36 size_t start, size_t len, cord_internal::CordRep* rep) { in MakeSubstring() 40 sub->length = len <= 0 ? rep->length - start + len : len; in MakeSubstring() 41 sub->child = rep; in MakeSubstring() 118 inline void CordToString(cord_internal::CordRep* rep, std::string& s) { in CordToString() argument 120 size_t length = rep->length; in CordToString() 121 while (rep->tag == cord_internal::SUBSTRING) { in CordToString() 122 offset += rep->substring()->start; in CordToString() 123 rep = rep->substring()->child; in CordToString() 125 if (rep in CordToString() 35 MakeSubstring( size_t start, size_t len, cord_internal::CordRep* rep) MakeSubstring() argument 138 CordToString(cord_internal::CordRep* rep) CordToString() argument 154 Add(CordRepType* rep) Add() argument 162 Ref(CordRepType* rep) Ref() argument 170 RefIf(bool condition, CordRepType* rep) RefIf() argument [all...] |
H A D | cord_rep_consume.cc | 58 void Consume(bool forward, CordRep* rep, ConsumeFn consume_fn) { in Consume() argument 60 size_t length = rep->length; in Consume() 62 CordRep* rep; in Consume() member 69 if (rep->tag == CONCAT) { in Consume() 70 std::array<CordRep*, 2> res = ClipConcat(rep->concat()); in Consume() 78 rep = right; in Consume() 86 rep = left; in Consume() 94 rep = left; in Consume() 98 rep = right; in Consume() 102 } else if (rep in Consume() 119 Consume(CordRep* rep, ConsumeFn consume_fn) Consume() argument 123 ReverseConsume(CordRep* rep, ConsumeFn consume_fn) ReverseConsume() argument [all...] |
H A D | cord_rep_btree.h | 155 // Creates a btree from the given input. Adopts a ref of `rep`. 156 // If the input `rep` is itself a btree, i.e., `IsBtree()`, then this 157 // function immediately returns `rep->btree()`. If the input is a valid data 158 // edge (see IsDataEdge()), then a new leaf node is returned containing `rep` 161 static CordRepBtree* Create(CordRep* rep); 169 // 1) `rep` is a data node (See `IsDataNode` for valid data edges). 170 // `rep` is appended or prepended to this tree 'as is'. 171 // 2) `rep` is a BTREE. 172 // `rep` is merged into `tree` respecting the Append/Prepend order. 173 // 3) `rep` i 574 IsDataEdge(const CordRep* rep) IsDataEdge() argument 590 New(CordRep* rep) New() argument 703 Add(CordRep* rep) Add() argument 718 Add(CordRep* rep) Add() argument 778 Create(CordRep* rep) Create() argument 839 Append(CordRepBtree* tree, CordRep* rep) Append() argument 846 Prepend(CordRepBtree* tree, CordRep* rep) Prepend() argument [all...] |
H A D | cord_rep_consume_test.cc | 34 int Depth(const CordRep* rep) { in Depth() argument 35 return (rep->tag == CONCAT) ? rep->concat()->depth() : 0; in Depth() 58 auto* rep = new CordRepSubstring(); in CreateSubstring() local 59 rep->length = length; in CreateSubstring() 60 rep->tag = SUBSTRING; in CreateSubstring() 61 rep->start = start; in CreateSubstring() 62 rep->child = child; in CreateSubstring() 63 return rep; in CreateSubstring() 98 for (CordRep* rep in TEST() [all...] |
H A D | cord_rep_ring.h | 38 // any newly added node(s). Otherwise, a copy of the input rep with the new 83 // `offset_type` is the type for the data offset inside a child rep's data. 113 // Creates a new ring buffer from the provided `rep`. Adopts a reference 114 // on `rep`. The returned ring buffer has a capacity of at least `extra + 1` 153 // Appends the provided child node to the `rep` instance. 154 // Adopts a reference from `rep` and `child` which may not be null. 161 static CordRepRing* Append(CordRepRing* rep, CordRep* child); 163 // Appends the provided string data to the `rep` instance. 169 static CordRepRing* Append(CordRepRing* rep, string_view data, 172 // Prepends the provided child node to the `rep` instanc 497 GetLeafData(const CordRep* rep) GetLeafData() argument 501 GetRepData(const CordRep* rep) GetRepData() argument 541 Validate(CordRepRing* rep, const char* , int ) Validate() argument [all...] |
H A D | cord_rep_btree_navigator.cc | 30 // Returns a `CordRepSubstring` from `rep` starting at `offset` of size `n`. 31 // If `rep` is already a `CordRepSubstring` instance, an adjusted instance is 33 // Adopts a reference on `rep`. Rep must be a valid data edge. Returns 34 // nullptr if `n == 0`, `rep` if `n == rep->length`. 35 // Requires `offset < rep->length` and `offset + n <= rep->length`. 38 inline CordRep* Substring(CordRep* rep, size_t offset, size_t n) { in Substring() argument 39 assert(n <= rep->length); in Substring() 40 assert(offset < rep in Substring() 60 Substring(CordRep* rep, size_t offset) Substring() argument [all...] |
H A D | cord_rep_btree.cc | 52 // Prints the entire tree structure or 'rep'. External callers should 55 void DumpAll(const CordRep* rep, bool include_contents, std::ostream& stream, in DumpAll() argument 59 std::string sharing = const_cast<CordRep*>(rep)->refcount.IsOne() in DumpAll() 61 : absl::StrCat("Shared(", rep->refcount.Get(), ")"); in DumpAll() 62 std::string sptr = absl::StrCat("0x", absl::Hex(rep)); in DumpAll() 64 // Dumps the data contents of `rep` if `include_contents` is true. in DumpAll() 78 // For each level, we print the 'shared/private' state and the rep pointer, in DumpAll() 82 if (rep->IsBtree()) { in DumpAll() 83 const CordRepBtree* node = rep->btree(); in DumpAll() 92 } else if (rep in DumpAll() 110 CreateSubstring(CordRep* rep, size_t offset, size_t n) CreateSubstring() argument 130 MakeSubstring(CordRep* rep, size_t offset, size_t n) MakeSubstring() argument 137 MakeSubstring(CordRep* rep, size_t offset) MakeSubstring() argument 174 DeleteLeafEdge(CordRep* rep) DeleteLeafEdge() argument 328 Dump(const CordRep* rep, absl::string_view label, bool include_contents, std::ostream& stream) Dump() argument 342 Dump(const CordRep* rep, absl::string_view label, std::ostream& stream) Dump() argument 347 Dump(const CordRep* rep, std::ostream& stream) Dump() argument 463 AddCordRep(CordRepBtree* tree, CordRep* rep) AddCordRep() argument 891 CreateSlow(CordRep* rep) CreateSlow() argument 907 AppendSlow(CordRepBtree* tree, CordRep* rep) AppendSlow() argument 919 PrependSlow(CordRepBtree* tree, CordRep* rep) PrependSlow() argument [all...] |
H A D | cordz_info_statistics_test.cc | 69 // Creates a substring on the provided rep of length - 1 70 CordRepSubstring* Substring(CordRep* rep) { in Substring() argument 72 substring->length = rep->length - 1; in Substring() 74 substring->child = rep; in Substring() 93 for (CordRep* rep : refs) { in ~RefHelper() 94 CordRep::Unref(rep); in ~RefHelper() 98 // Invokes CordRep::Unref() on `rep` when this instance is destroyed. 100 T* NeedsUnref(T* rep) { in NeedsUnref() 101 refs.push_back(rep); in NeedsUnref() 102 return rep; in NeedsUnref() 119 SizeOf(const T* rep) SizeOf() argument 124 SizeOf(const CordRepFlat* rep) SizeOf() argument 129 SizeOf(const CordRepExternal* rep) SizeOf() argument 135 SizeOf(const CordRepRing* rep) SizeOf() argument 140 FairShareImpl(CordRep* rep, size_t ref) FairShareImpl() argument 171 FairShare(CordRep* rep, size_t ref = 1) FairShare() argument 176 SampleCord(CordRep* rep) SampleCord() argument [all...] |
H A D | cord_internal.h | 195 // There are various locations where we want to check if some rep is a 'plain' 196 // data edge, i.e. an external or flat rep. By having FLAT == EXTERNAL + 1, we 253 // Destroys the provided `rep`. 254 static void Destroy(CordRep* rep); 256 // Increments the reference count of `rep`. 257 // Requires `rep` to be a non-null pointer value. 258 static inline CordRep* Ref(CordRep* rep); 260 // Decrements the reference count of `rep`. Destroys rep if count reaches 261 // zero. Requires `rep` t 339 Delete(CordRep* rep) Delete() argument 397 InlineData(CordRep* rep) InlineData() argument 492 make_tree(CordRep* rep) make_tree() argument 500 set_tree(CordRep* rep) set_tree() argument 529 absl::cord_internal::CordRep* rep; global() member 580 Ref(CordRep* rep) Ref() argument 586 Unref(CordRep* rep) Unref() argument [all...] |
/third_party/libdrm/tests/ttmtest/src/ |
H A D | xf86dri.c | 121 xXF86DRIQueryVersionReply rep; local 131 if (!_XReply(dpy, (xReply *) & rep, 0, xFalse)) { 137 *majorVersion = rep.majorVersion; 138 *minorVersion = rep.minorVersion; 139 *patchVersion = rep.patchVersion; 153 xXF86DRIQueryDirectRenderingCapableReply rep; local 164 if (!_XReply(dpy, (xReply *) & rep, 0, xFalse)) { 170 *isCapable = rep.isCapable; 185 xXF86DRIOpenConnectionReply rep; local 196 if (!_XReply(dpy, (xReply *) & rep, 235 xXF86DRIAuthConnectionReply rep; global() local 293 xXF86DRIGetClientDriverNameReply rep; global() local 343 xXF86DRICreateContextReply rep; global() local 410 xXF86DRICreateDrawableReply rep; uniDRICreateDrawable() local 466 xXF86DRIGetDrawableInfoReply rep; uniDRIGetDrawableInfo() local 556 xXF86DRIGetDeviceInfoReply rep; global() local [all...] |
/third_party/f2fs-tools/lib/ |
H A D | libf2fs_zoned.c | 208 struct blk_zone_report rep; in f2fs_report_zone() member 210 } *rep; in f2fs_report_zone() local 213 static_assert(sizeof(*rep) == sizeof(rep->rep) + sizeof(rep->zone), ""); in f2fs_report_zone() 215 rep = calloc(1, sizeof(*rep)); in f2fs_report_zone() 216 if (!rep) { in f2fs_report_zone() 221 rep in f2fs_report_zone() 243 struct blk_zone_report *rep; f2fs_report_zones() local 296 struct blk_zone_report *rep; f2fs_check_zones() local 449 struct blk_zone_report *rep; f2fs_reset_zones() local [all...] |
/third_party/elfutils/libcpu/ |
H A D | i386_dis.h | 140 { .mnemonic = MNE_aaa, .rep = 0, .repe = 0, .suffix = 0, .modrm = 0, .fct1 = 0, .str1 = 0, .off1_1 = 0, .off1_2 = 0, .off1_3 = 0, .fct2 = 0, .str2 = 0, .off2_1 = 0, .off2_2 = 0, .off2_3 = 0, .fct3 = 0, .str3 = 0, .off3_1 = 0, .off3_2 = 0, }, 141 { .mnemonic = MNE_aad, .rep = 0, .repe = 0, .suffix = 0, .modrm = 0, .fct1 = 0, .str1 = 0, .off1_1 = 0, .off1_2 = 0, .off1_3 = 0, .fct2 = 0, .str2 = 0, .off2_1 = 0, .off2_2 = 0, .off2_3 = 0, .fct3 = 0, .str3 = 0, .off3_1 = 0, .off3_2 = 0, }, 142 { .mnemonic = MNE_aam, .rep = 0, .repe = 0, .suffix = 0, .modrm = 0, .fct1 = 0, .str1 = 0, .off1_1 = 0, .off1_2 = 0, .off1_3 = 0, .fct2 = 0, .str2 = 0, .off2_1 = 0, .off2_2 = 0, .off2_3 = 0, .fct3 = 0, .str3 = 0, .off3_1 = 0, .off3_2 = 0, }, 143 { .mnemonic = MNE_aas, .rep = 0, .repe = 0, .suffix = 0, .modrm = 0, .fct1 = 0, .str1 = 0, .off1_1 = 0, .off1_2 = 0, .off1_3 = 0, .fct2 = 0, .str2 = 0, .off2_1 = 0, .off2_2 = 0, .off2_3 = 0, .fct3 = 0, .str3 = 0, .off3_1 = 0, .off3_2 = 0, }, 144 { .mnemonic = MNE_adc, .rep = 0, .repe = 0, .suffix = 0, .modrm = 0, .fct1 = 15, .str1 = 0, .off1_1 = 5, .off1_2 = 3, .off1_3 = 0, .fct2 = 5, .str2 = 0, .off2_1 = 11, .off2_2 = 3, .off2_3 = 0, .fct3 = 0, .str3 = 0, .off3_1 = 0, .off3_2 = 0, }, 145 { .mnemonic = MNE_adc, .rep = 0, .repe = 0, .suffix = 1, .modrm = 1, .fct1 = 15, .str1 = 0, .off1_1 = 13, .off1_2 = 3, .off1_3 = 0, .fct2 = 16, .str2 = 0, .off2_1 = 3, .off2_2 = 9, .off2_3 = 0, .fct3 = 0, .str3 = 0, .off3_1 = 0, .off3_2 = 0, }, 146 { .mnemonic = MNE_adc, .rep = 0, .repe = 0, .suffix = 1, .modrm = 1, .fct1 = 18, .str1 = 0, .off1_1 = 13, .off1_2 = 0, .off1_3 = 0, .fct2 = 15, .str2 = 0, .off2_1 = 3, .off2_2 = 9, .off2_3 = 0, .fct3 = 0, .str3 = 0, .off3_1 = 0, .off3_2 = 0, }, 147 { .mnemonic = MNE_adc, .rep = 0, .repe = 0, .suffix = 0, .modrm = 1, .fct1 = 26, .str1 = 0, .off1_1 = 7, .off1_2 = 3, .off1_3 = 0, .fct2 = 16, .str2 = 0, .off2_1 = 3, .off2_2 = 9, .off2_3 = 0, .fct3 = 0, .str3 = 0, .off3_1 = 0, .off3_2 = 0, }, 148 { .mnemonic = MNE_adc, .rep = 0, .repe = 0, .suffix = 0, .modrm = 1, .fct1 = 24, .str1 = 0, .off1_1 = 5, .off1_2 = 9, .off1_3 = 0, .fct2 = 19, .str2 = 0, .off2_1 = 5, .off2_2 = 3, .off2_3 = 0, .fct3 = 0, .str3 = 0, .off3_1 = 0, .off3_2 = 0, }, 149 { .mnemonic = MNE_add, .rep [all...] |
H A D | x86_64_dis.h | 141 { .mnemonic = MNE_adc, .rep = 0, .repe = 0, .suffix = 0, .modrm = 0, .fct1 = 15, .str1 = 0, .off1_1 = 5, .off1_2 = 3, .off1_3 = 0, .fct2 = 5, .str2 = 0, .off2_1 = 11, .off2_2 = 3, .off2_3 = 0, .fct3 = 0, .str3 = 0, .off3_1 = 0, .off3_2 = 0, }, 142 { .mnemonic = MNE_adc, .rep = 0, .repe = 0, .suffix = 1, .modrm = 1, .fct1 = 15, .str1 = 0, .off1_1 = 13, .off1_2 = 3, .off1_3 = 0, .fct2 = 16, .str2 = 0, .off2_1 = 3, .off2_2 = 9, .off2_3 = 0, .fct3 = 0, .str3 = 0, .off3_1 = 0, .off3_2 = 0, }, 143 { .mnemonic = MNE_adc, .rep = 0, .repe = 0, .suffix = 1, .modrm = 1, .fct1 = 19, .str1 = 0, .off1_1 = 13, .off1_2 = 0, .off1_3 = 0, .fct2 = 15, .str2 = 0, .off2_1 = 3, .off2_2 = 9, .off2_3 = 0, .fct3 = 0, .str3 = 0, .off3_1 = 0, .off3_2 = 0, }, 144 { .mnemonic = MNE_adc, .rep = 0, .repe = 0, .suffix = 0, .modrm = 1, .fct1 = 27, .str1 = 0, .off1_1 = 7, .off1_2 = 3, .off1_3 = 0, .fct2 = 16, .str2 = 0, .off2_1 = 3, .off2_2 = 9, .off2_3 = 0, .fct3 = 0, .str3 = 0, .off3_1 = 0, .off3_2 = 0, }, 145 { .mnemonic = MNE_adc, .rep = 0, .repe = 0, .suffix = 0, .modrm = 1, .fct1 = 25, .str1 = 0, .off1_1 = 5, .off1_2 = 9, .off1_3 = 0, .fct2 = 20, .str2 = 0, .off2_1 = 5, .off2_2 = 3, .off2_3 = 0, .fct3 = 0, .str3 = 0, .off3_1 = 0, .off3_2 = 0, }, 146 { .mnemonic = MNE_add, .rep = 0, .repe = 0, .suffix = 0, .modrm = 0, .fct1 = 15, .str1 = 0, .off1_1 = 5, .off1_2 = 3, .off1_3 = 0, .fct2 = 5, .str2 = 0, .off2_1 = 11, .off2_2 = 3, .off2_3 = 0, .fct3 = 0, .str3 = 0, .off3_1 = 0, .off3_2 = 0, }, 147 { .mnemonic = MNE_add, .rep = 0, .repe = 0, .suffix = 1, .modrm = 1, .fct1 = 15, .str1 = 0, .off1_1 = 13, .off1_2 = 3, .off1_3 = 0, .fct2 = 16, .str2 = 0, .off2_1 = 3, .off2_2 = 9, .off2_3 = 0, .fct3 = 0, .str3 = 0, .off3_1 = 0, .off3_2 = 0, }, 148 { .mnemonic = MNE_add, .rep = 0, .repe = 0, .suffix = 1, .modrm = 1, .fct1 = 19, .str1 = 0, .off1_1 = 13, .off1_2 = 0, .off1_3 = 0, .fct2 = 15, .str2 = 0, .off2_1 = 3, .off2_2 = 9, .off2_3 = 0, .fct3 = 0, .str3 = 0, .off3_1 = 0, .off3_2 = 0, }, 149 { .mnemonic = MNE_add, .rep = 0, .repe = 0, .suffix = 0, .modrm = 1, .fct1 = 27, .str1 = 0, .off1_1 = 7, .off1_2 = 3, .off1_3 = 0, .fct2 = 16, .str2 = 0, .off2_1 = 3, .off2_2 = 9, .off2_3 = 0, .fct3 = 0, .str3 = 0, .off3_1 = 0, .off3_2 = 0, }, 150 { .mnemonic = MNE_add, .rep [all...] |
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/ |
H A D | cord.cc | 117 static void DumpNode(CordRep* rep, bool include_data, std::ostream* os, 139 static int Depth(const CordRep* rep) { in Depth() argument 140 if (rep->IsConcat()) { in Depth() 141 return rep->concat()->depth(); in Depth() 172 CordRepConcat* rep = new CordRepConcat(); in RawConcat() local 173 rep->tag = cord_internal::CONCAT; in RawConcat() 174 SetConcatChildren(rep, left, right); in RawConcat() 176 return rep; in RawConcat() 180 CordRep* rep = RawConcat(left, right); in Concat() local 181 if (rep ! in Concat() 239 CordRepFlat* rep = CordRepFlat::New(len + alloc_hint); NewTree() local 251 InitializeCordRepExternal(absl::string_view data, CordRepExternal* rep) InitializeCordRepExternal() argument 267 CordRepSubstring* rep = new CordRepSubstring(); NewSubstring() local 297 auto* rep = CordRepFromString() local 343 ForceBtree(CordRep* rep) ForceBtree() argument 482 CordRep* rep = root ? root : MakeFlatWithExtraCapacity(extra); GetAppendRegion() local 505 RepMemoryUsageDataEdge(const CordRep* rep, size_t* total_mem_usage) RepMemoryUsageDataEdge() argument 531 RepMemoryUsageLeaf(const CordRep* rep, size_t* total_mem_usage) RepMemoryUsageLeaf() argument 586 CordRep* rep = NewTree(src.data(), n, 0); Cord() local 596 CordRep* rep = CordRepFromString(std::forward<T>(src)); Cord() local 623 CordRep* rep = CordRepFromString(std::move(src)); AssignLargeString() local 674 CordRep* rep = tree(); AppendArray() local 740 CordRep* rep = contents_.tree(); TakeRep() local 752 CordRep* rep = std::forward<C>(src).TakeRep(); AppendImpl() local 788 CordRep* rep = std::forward<C>(src).TakeRep(); AppendImpl() local 805 CordRep* rep = CordRepFromString(std::forward<T>(src)); Append() local 839 CordRep* rep = NewTree(src.data(), src.size(), 0); Prepend() local 848 CordRep* rep = CordRepFromString(std::forward<T>(src)); Prepend() local 1551 CordRep* rep; AdvanceAndReadBytes() local 1784 GetFlatAux(CordRep* rep, absl::string_view* fragment) GetFlatAux() argument 1812 ForEachChunkAux( absl::cord_internal::CordRep* rep, absl::FunctionRef<void(absl::string_view)> callback) ForEachChunkAux() argument 1865 DumpNode(CordRep* rep, bool include_data, std::ostream* os, int indent) DumpNode() argument 1963 MemoryUsageAux(const CordRep* rep) MemoryUsageAux() argument [all...] |
/third_party/mesa3d/src/glx/apple/ |
H A D | appledri.c | 156 xAppleDRIQueryVersionReply rep; local 166 if (!_XReply(dpy, (xReply *) & rep, 0, xFalse)) { 172 *majorVersion = rep.majorVersion; 173 *minorVersion = rep.minorVersion; 174 *patchVersion = rep.patchVersion; 188 xAppleDRIQueryDirectRenderingCapableReply rep; local 199 if (!_XReply(dpy, (xReply *) & rep, 0, xFalse)) { 205 *isCapable = rep.isCapable; 220 xAppleDRIAuthConnectionReply rep; local 231 rep 254 xAppleDRICreateSurfaceReply rep; global() local 314 xAppleDRICreateSharedBufferReply rep; XAppleDRICreateSharedBuffer() local 383 xAppleDRICreatePixmapReply rep; XAppleDRICreatePixmap() local [all...] |
/third_party/mesa3d/src/glx/ |
H A D | dri2.c | 225 xDRI2QueryVersionReply rep; in DRI2QueryVersion() local 237 if (!_XReply(dpy, (xReply *) & rep, 0, xFalse)) { in DRI2QueryVersion() 242 *major = rep.majorVersion; in DRI2QueryVersion() 243 *minor = rep.minorVersion; in DRI2QueryVersion() 247 switch (rep.minorVersion) { in DRI2QueryVersion() 272 xDRI2ConnectReply rep; in DRI2Connect() local 296 if (!_XReply(dpy, (xReply *) & rep, 0, xFalse)) { in DRI2Connect() 302 if (rep.driverNameLength == 0 && rep.deviceNameLength == 0) { in DRI2Connect() 308 *driverName = malloc(rep in DRI2Connect() 342 xDRI2AuthenticateReply rep; DRI2Authenticate() local 407 xDRI2GetBuffersReply rep; DRI2GetBuffers() local 466 xDRI2GetBuffersReply rep; DRI2GetBuffersWithFormat() local 525 xDRI2CopyRegionReply rep; DRI2CopyRegion() local [all...] |
/third_party/node/deps/v8/src/codegen/ |
H A D | machine-type.h | 240 static MachineType TypeForRepresentation(const MachineRepresentation& rep, in TypeForRepresentation() argument 242 switch (rep) { in TypeForRepresentation() 320 V8_INLINE size_t hash_value(MachineRepresentation rep) { in hash_value() argument 321 return static_cast<size_t>(rep); in hash_value() 330 MachineRepresentation rep); 334 inline bool IsIntegral(MachineRepresentation rep) { in IsIntegral() argument 335 return rep >= MachineRepresentation::kWord8 && in IsIntegral() 336 rep <= MachineRepresentation::kWord64; in IsIntegral() 339 inline bool IsFloatingPoint(MachineRepresentation rep) { in IsFloatingPoint() argument 340 return rep > in IsFloatingPoint() 343 IsSimd128(MachineRepresentation rep) IsSimd128() argument 347 CanBeTaggedPointer(MachineRepresentation rep) CanBeTaggedPointer() argument 353 CanBeTaggedSigned(MachineRepresentation rep) CanBeTaggedSigned() argument 358 IsAnyTagged(MachineRepresentation rep) IsAnyTagged() argument 362 CanBeCompressedPointer(MachineRepresentation rep) CanBeCompressedPointer() argument 367 CanBeTaggedOrCompressedPointer(MachineRepresentation rep) CanBeTaggedOrCompressedPointer() argument 371 IsAnyCompressed(MachineRepresentation rep) IsAnyCompressed() argument 376 ElementSizeLog2Of( MachineRepresentation rep) ElementSizeLog2Of() argument 415 ElementSizeInBytes( MachineRepresentation rep) ElementSizeInBytes() argument 420 ElementSizeInPointers( MachineRepresentation rep) ElementSizeInPointers() argument 427 RepresentationBit( MachineRepresentation rep) RepresentationBit() argument [all...] |
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
H A D | ReplaceableContextIterator.java | 34 * @param rep Replaceable to iterate over. 37 this.rep=null; in ReplaceableContextIterator() 45 * @param rep Iteration text. 47 public void setText(Replaceable rep) { in setText() argument 48 this.rep=rep; in setText() 49 limit=contextLimit=rep.length(); in setText() 82 if(0<=lim && lim<=rep.length()) { in setLimit() 85 limit=rep.length(); in setLimit() 98 } else if(contextStart<=rep in setContextLimits() 194 protected Replaceable rep; global() field in ReplaceableContextIterator [all...] |
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/ |
H A D | ReplaceableContextIterator.java | 35 * @param rep Replaceable to iterate over. 38 this.rep=null; in ReplaceableContextIterator() 46 * @param rep Iteration text. 48 public void setText(Replaceable rep) { in setText() argument 49 this.rep=rep; in setText() 50 limit=contextLimit=rep.length(); in setText() 83 if(0<=lim && lim<=rep.length()) { in setLimit() 86 limit=rep.length(); in setLimit() 99 } else if(contextStart<=rep in setContextLimits() 195 protected Replaceable rep; global() field in ReplaceableContextIterator [all...] |
/third_party/node/deps/v8/src/compiler/backend/ |
H A D | mid-tier-register-allocator.cc | 189 uintptr_t ToBit(MachineRepresentation rep) const { in ToBit() 191 rep != MachineRepresentation::kSimd128) { in ToBit() 194 DCHECK_EQ(rep, MachineRepresentation::kSimd128); in ToBit() 296 MachineRepresentation rep, int instr_index, 301 MachineRepresentation rep, int instr_index, 305 MachineRepresentation rep, int instr_index, 307 void DefineAsPhi(int virtual_register, MachineRepresentation rep, 377 MachineRepresentation rep() const { return rep_; } in rep() function in v8::internal::compiler::final 492 void Initialize(int virtual_register, MachineRepresentation rep, 525 MachineRepresentation rep, in Initialize() 524 Initialize(int virtual_register, MachineRepresentation rep, InstructionOperand* spill_operand, int instr_index, bool is_phi, bool is_constant, bool is_defined_in_deferred_block, bool is_exceptional_call_output) Initialize() argument 543 DefineAsConstantOperand(ConstantOperand* operand, MachineRepresentation rep, int instr_index, bool is_deferred_block) DefineAsConstantOperand() argument 551 DefineAsFixedSpillOperand( AllocatedOperand* operand, int virtual_register, MachineRepresentation rep, int instr_index, bool is_deferred_block, bool is_exceptional_call_output) DefineAsFixedSpillOperand() argument 558 DefineAsUnallocatedOperand( int virtual_register, MachineRepresentation rep, int instr_index, bool is_deferred_block, bool is_exceptional_call_output) DefineAsUnallocatedOperand() argument 565 DefineAsPhi(int virtual_register, MachineRepresentation rep, int instr_index, bool is_deferred_block) DefineAsPhi() argument 1314 Add(RegisterIndex reg, MachineRepresentation rep) Add() argument 1318 Clear(RegisterIndex reg, MachineRepresentation rep) Clear() argument 1787 MachineRepresentation rep = vreg_data.rep(); MergeStateFrom() local 1883 SpillRegisterAtMerge( RegisterState* reg_state, RegisterIndex reg, MachineRepresentation rep) SpillRegisterAtMerge() argument 1955 MachineRepresentation rep = UpdateVirtualRegisterState() local 1983 MachineRepresentation rep = VirtualRegisterDataFor(virtual_register).rep(); CheckConsistency() local 2057 AssignRegister(RegisterIndex reg, int virtual_register, MachineRepresentation rep, UsePosition pos) AssignRegister() argument 2069 MarkRegisterUse(RegisterIndex reg, MachineRepresentation rep, UsePosition pos) MarkRegisterUse() argument 2080 FreeRegister(RegisterIndex reg, int virtual_register, MachineRepresentation rep) FreeRegister() argument 2093 MachineRepresentation rep = virtual_register.rep(); ChooseRegisterFor() local 2120 ChooseRegisterFor( MachineRepresentation rep, UsePosition pos, bool must_use_register) ChooseRegisterFor() argument 2144 IsValidForRep(RegisterIndex reg, MachineRepresentation rep) IsValidForRep() argument 2163 ChooseFreeRegister( MachineRepresentation rep, UsePosition pos) ChooseFreeRegister() argument 2172 ChooseFreeRegister( const RegisterBitVector& allocated_regs, MachineRepresentation rep) ChooseFreeRegister() argument 2193 ChooseRegisterToSpill( MachineRepresentation rep, UsePosition pos) ChooseRegisterToSpill() argument 2238 CommitRegister(RegisterIndex reg, int virtual_register, MachineRepresentation rep, InstructionOperand* operand, UsePosition pos) CommitRegister() argument 2257 MachineRepresentation rep = VirtualRegisterDataFor(virtual_register).rep(); SpillRegister() local 2263 SpillRegisterAndPotentialSimdSibling( RegisterIndex reg, MachineRepresentation rep) SpillRegisterAndPotentialSimdSibling() argument 2331 AllocatedOperandForReg( RegisterIndex reg, MachineRepresentation rep) AllocatedOperandForReg() argument 2561 MachineRepresentation rep = input_vreg_data.rep(); AllocateSameInputOutput() local 2583 AllocateTemp(UnallocatedOperand* operand, int virtual_register, MachineRepresentation rep, int instr_index) AllocateTemp() argument 2622 ReserveFixedInputRegister( const UnallocatedOperand* operand, int virtual_register, MachineRepresentation rep, int instr_index) ReserveFixedInputRegister() argument 2630 ReserveFixedTempRegister( const UnallocatedOperand* operand, int virtual_register, MachineRepresentation rep, int instr_index) ReserveFixedTempRegister() argument 2637 ReserveFixedOutputRegister( const UnallocatedOperand* operand, int virtual_register, MachineRepresentation rep, int instr_index) ReserveFixedOutputRegister() argument 2644 ReserveFixedRegister( const UnallocatedOperand* operand, int virtual_register, MachineRepresentation rep, int instr_index, UsePosition pos) ReserveFixedRegister() argument 2889 MachineRepresentation rep = RepresentationFor(virtual_register); DefineOutputs() local 2897 MachineRepresentation rep = RepresentationFor(virtual_register); DefineOutputs() local 2930 MachineRepresentation rep = RepresentationFor(virtual_register); DefineOutputs() local 3082 MachineRepresentation rep = AllocateRegisters() local 3157 AllocatorFor( MachineRepresentation rep) AllocatorFor() argument 3195 MachineRepresentation rep = ReserveFixedRegisters() local 3385 MachineRepresentation rep = virtual_register->rep(); Allocate() local [all...] |
/third_party/skia/third_party/externals/angle2/src/third_party/libXNVCtrl/ |
H A D | NVCtrl.c | 156 xnvCtrlQueryExtensionReply rep; in XNVCTRLQueryVersion() local 168 if (!_XReply (dpy, (xReply *) &rep, 0, xTrue)) { in XNVCTRLQueryVersion() 173 if (major) *major = rep.major; in XNVCTRLQueryVersion() 174 if (minor) *minor = rep.minor; in XNVCTRLQueryVersion() 186 xnvCtrlIsNvReply rep; in XNVCTRLIsNvScreen() local 200 if (!_XReply (dpy, (xReply *) &rep, 0, xTrue)) { in XNVCTRLIsNvScreen() 205 isnv = rep.isnv; in XNVCTRLIsNvScreen() 218 xnvCtrlQueryTargetCountReply rep; in XNVCTRLQueryTargetCount() local 231 if (!_XReply (dpy, (xReply *) &rep, 0, xTrue)) { in XNVCTRLQueryTargetCount() 236 if (value) *value = rep in XNVCTRLQueryTargetCount() 292 xnvCtrlSetAttributeAndGetStatusReply rep; XNVCTRLSetTargetAttributeAndGetStatus() local 344 xnvCtrlQueryAttributeReply rep; XNVCTRLQueryTargetAttribute() local 395 xnvCtrlQueryAttribute64Reply rep; XNVCTRLQueryTargetAttribute64() local 435 xnvCtrlQueryStringAttributeReply rep; XNVCTRLQueryTargetStringAttribute() local 505 xnvCtrlSetStringAttributeReply rep; XNVCTRLSetTargetStringAttribute() local 562 xnvCtrlQueryValidAttributeValuesReply rep; XNVCTRLQueryValidTargetAttributeValues32() local 607 xnvCtrlQueryValidAttributeValuesReply rep; XNVCTRLQueryValidTargetStringAttributeValues() local 650 xnvCtrlQueryValidAttributeValues64Reply rep; XNVCTRLQueryValidTargetAttributeValues64() local 751 xnvCtrlQueryAttributePermissionsReply rep; QueryAttributePermissionsInternal() local 880 xnvCtrlQueryGvoColorConversionReply rep; XNVCTRLQueryGvoColorConversion() local 979 xnvCtrlQueryBinaryDataReply rep; XNVCTRLQueryTargetBinaryData() local 1051 xnvCtrlStringOperationReply rep; XNVCTRLStringOperation() local [all...] |
/third_party/ffmpeg/libavformat/ |
H A D | dashdec.c | 596 static int parse_manifest_segmenturlnode(AVFormatContext *s, struct representation *rep, in parse_manifest_segmenturlnode() argument 613 free_fragment(&rep->init_section); in parse_manifest_segmenturlnode() 614 rep->init_section = get_Fragment(range_val); in parse_manifest_segmenturlnode() 616 if (!rep->init_section) { in parse_manifest_segmenturlnode() 620 rep->init_section->url = get_content_url(baseurl_nodes, 4, in parse_manifest_segmenturlnode() 626 if (!rep->init_section->url) { in parse_manifest_segmenturlnode() 627 av_freep(&rep->init_section); in parse_manifest_segmenturlnode() 651 err = av_dynarray_add_nofree(&rep->fragments, &rep->n_fragments, seg); in parse_manifest_segmenturlnode() 662 static int parse_manifest_segmenttimeline(AVFormatContext *s, struct representation *rep, in parse_manifest_segmenttimeline() argument 837 struct representation *rep = NULL; parse_manifest_representation() local 2026 struct representation *rep; dash_read_header() local 2170 struct representation *rep = NULL; dash_read_packet() local [all...] |