/external/angle/third_party/abseil-cpp/absl/strings/internal/ |
D | cord_rep_consume_test.cc | 34 int Depth(const CordRep* rep) { in Depth() 39 CordRepConcat* CreateConcat(CordRep* left, CordRep* right) { in CreateConcat() 57 CordRepSubstring* CreateSubstring(CordRep* child, size_t start, size_t length) { in CreateSubstring() 67 CordRep* flat[6]; 70 CordRep* CreateTestTree() { in CreateTestTree() 89 CordRep* tree = CreateTestTree(); in TEST() 90 MockFunction<void(CordRep*, size_t, size_t)> consume; in TEST() 98 for (CordRep* rep : flat) { in TEST() 100 CordRep::Unref(rep); in TEST() 106 CordRep* tree = CreateTestTree(); in TEST() [all …]
|
D | cord_rep_consume.cc | 32 CordRep* ClipSubstring(CordRepSubstring* substring) { in ClipSubstring() 33 CordRep* child = substring->child; in ClipSubstring() 37 CordRep::Ref(child); in ClipSubstring() 38 CordRep::Unref(substring); in ClipSubstring() 46 std::array<CordRep*, 2> ClipConcat(CordRepConcat* concat) { in ClipConcat() 47 std::array<CordRep*, 2> result{concat->left, concat->right}; in ClipConcat() 51 CordRep::Ref(result[0]); in ClipConcat() 52 CordRep::Ref(result[1]); in ClipConcat() 53 CordRep::Unref(concat); in ClipConcat() 58 void Consume(bool forward, CordRep* rep, ConsumeFn consume_fn) { in Consume() [all …]
|
D | cord_internal.h | 190 struct CordRep { struct 191 CordRep() = default; 192 constexpr CordRep(Refcount::Immortal immortal, size_t l) in CordRep() function 231 static void Destroy(CordRep* rep); argument 235 static inline CordRep* Ref(CordRep* rep); 239 static inline void Unref(CordRep* rep); 242 struct CordRepConcat : public CordRep { 243 CordRep* left; 244 CordRep* right; 250 struct CordRepSubstring : public CordRep { [all …]
|
D | cordz_info.h | 149 void SetCordRep(CordRep* rep); 154 CordRep* RefCordRep() const ABSL_LOCKS_EXCLUDED(mutex_); 157 CordRep* GetCordRepForTesting() const ABSL_NO_THREAD_SAFETY_ANALYSIS { in GetCordRepForTesting() 162 void SetCordRepForTesting(CordRep* rep) ABSL_NO_THREAD_SAFETY_ANALYSIS { in SetCordRepForTesting() 201 explicit CordzInfo(CordRep* rep, const CordzInfo* src, 206 void UnsafeSetCordRep(CordRep* rep) ABSL_NO_THREAD_SAFETY_ANALYSIS; 243 CordRep* rep_ ABSL_GUARDED_BY(mutex_); 282 inline void CordzInfo::SetCordRep(CordRep* rep) { in SetCordRep() 287 inline void CordzInfo::UnsafeSetCordRep(CordRep* rep) { rep_ = rep; } in UnsafeSetCordRep() 289 inline CordRep* CordzInfo::RefCordRep() const ABSL_LOCKS_EXCLUDED(mutex_) { in RefCordRep() [all …]
|
D | cord_rep_ring.h | 70 class CordRepRing : public CordRep { 115 static CordRepRing* Create(CordRep* child, size_t extra = 0); 142 CordRep* const& entry_child(index_type index) const { in entry_child() 161 static CordRepRing* Append(CordRepRing* rep, CordRep* child); 180 static CordRepRing* Prepend(CordRepRing* rep, CordRep* child); 248 static const char* GetLeafData(const CordRep* rep); 252 static const char* GetRepData(const CordRep* rep); 354 using Layout = container_internal::Layout<pos_type, CordRep*, offset_type>; 396 CordRep** entry_child() { in entry_child() 440 static CordRepRing* AppendSlow(CordRepRing* rep, CordRep* child); [all …]
|
D | cord_internal.cc | 34 void CordRep::Destroy(CordRep* rep) { in Destroy() 37 absl::InlinedVector<CordRep*, Constants::kInlinedVectorSize> pending; in Destroy() 42 CordRep* right = rep_concat->right; in Destroy() 46 CordRep* left = rep_concat->left; in Destroy() 61 CordRep* child = rep_substring->child; in Destroy()
|
D | cord_rep_flat.h | 40 static constexpr size_t kFlatOverhead = offsetof(CordRep, storage); 87 struct CordRepFlat : public CordRep { 107 static void Delete(CordRep*rep) { in Delete() 112 rep->~CordRep(); in Delete() 115 rep->~CordRep(); in Delete() 132 inline CordRepFlat* CordRep::flat() { in flat() 137 inline const CordRepFlat* CordRep::flat() const { in flat()
|
/external/angle/third_party/abseil-cpp/absl/strings/ |
D | cord.cc | 53 using ::absl::cord_internal::CordRep; 108 static inline bool IsRootBalanced(CordRep* node) { in IsRootBalanced() 122 static CordRep* Rebalance(CordRep* node); 123 static void DumpNode(CordRep* rep, bool include_data, std::ostream* os, 125 static bool VerifyNode(CordRep* root, CordRep* start_node, 128 static inline CordRep* VerifyTree(CordRep* node) { in VerifyTree() 145 static int Depth(const CordRep* rep) { in Depth() 153 static void SetConcatChildren(CordRepConcat* concat, CordRep* left, in SetConcatChildren() 154 CordRep* right) { in SetConcatChildren() 165 static CordRep* RawConcat(CordRep* left, CordRep* right) { in RawConcat() [all …]
|
D | cord.h | 372 using CordRep = absl::cord_internal::CordRep; 380 using Stack = absl::InlinedVector<absl::cord_internal::CordRep*, 47>; 383 explicit ChunkIterator(cord_internal::CordRep* tree); 389 void InitTree(cord_internal::CordRep* tree); 414 absl::cord_internal::CordRep* current_leaf_ = nullptr; 673 using CordRep = absl::cord_internal::CordRep; 707 static_assert(kMaxInline >= sizeof(absl::cord_internal::CordRep*), ""); 726 absl::cord_internal::CordRep* tree() const; 727 absl::cord_internal::CordRep* as_tree() const; 729 absl::cord_internal::CordRep* clear(); [all …]
|
D | cord_ring_test.cc | 40 using ::absl::cord_internal::CordRep; 198 CordRep* MakeFlat(absl::string_view s, size_t extra = 0) { in MakeFlat() 237 CordRep* MakeLeaf(absl::string_view s, size_t extra = 0) { in MakeLeaf() 246 CordRepSubstring* MakeSubstring(size_t start, size_t len, CordRep* rep) { in MakeSubstring() 256 CordRepSubstring* RemovePrefix(size_t start, CordRep* rep) { in RemovePrefix() 261 CordRepSubstring* RemoveSuffix(size_t length, CordRep* rep) { in RemoveSuffix() 265 CordRepConcat* MakeConcat(CordRep* left, CordRep* right, int depth = 0) { in MakeConcat() 347 for (CordRep* rep : unrefs_) { in ~CordRingTest() 348 CordRep::Unref(rep); in ~CordRingTest() 361 CordRep::Ref(rep); in Ref() [all …]
|
/external/openscreen/third_party/abseil/src/absl/strings/ |
D | cord.cc | 48 using ::absl::cord_internal::CordRep; 60 inline CordRepConcat* CordRep::concat() { in concat() 65 inline const CordRepConcat* CordRep::concat() const { in concat() 70 inline CordRepSubstring* CordRep::substring() { in substring() 75 inline const CordRepSubstring* CordRep::substring() const { in substring() 80 inline CordRepExternal* CordRep::external() { in external() 85 inline const CordRepExternal* CordRep::external() const { in external() 92 static const size_t kFlatOverhead = offsetof(CordRep, data); 179 static inline bool IsRootBalanced(CordRep* node) { in IsRootBalanced() 193 static CordRep* Rebalance(CordRep* node); [all …]
|
/external/webrtc/third_party/abseil-cpp/absl/strings/ |
D | cord.cc | 45 using ::absl::cord_internal::CordRep; 105 inline CordRepConcat* CordRep::concat() { in concat() 110 inline const CordRepConcat* CordRep::concat() const { in concat() 115 inline CordRepSubstring* CordRep::substring() { in substring() 120 inline const CordRepSubstring* CordRep::substring() const { in substring() 125 inline CordRepExternal* CordRep::external() { in external() 130 inline const CordRepExternal* CordRep::external() const { in external() 137 static const size_t kFlatOverhead = offsetof(CordRep, data); 260 static inline bool IsRootBalanced(CordRep* node) { in IsRootBalanced() 274 static CordRep* Rebalance(CordRep* node); [all …]
|
D | cord.h | 282 absl::cord_internal::CordRep* current_leaf_ = nullptr; 285 absl::InlinedVector<absl::cord_internal::CordRep*, 4> 477 static_assert(kMaxInline >= sizeof(absl::cord_internal::CordRep*), ""); 497 absl::cord_internal::CordRep* tree() const; 499 void set_tree(absl::cord_internal::CordRep* rep); 502 void replace_tree(absl::cord_internal::CordRep* rep); 504 absl::cord_internal::CordRep* clear(); 506 absl::cord_internal::CordRep* force_tree(size_t extra_hint); 511 void AppendTree(absl::cord_internal::CordRep* tree); 512 void PrependTree(absl::cord_internal::CordRep* tree); [all …]
|
/external/libtextclassifier/abseil-cpp/absl/strings/ |
D | cord.cc | 48 using ::absl::cord_internal::CordRep; 66 inline CordRepConcat* CordRep::concat() { in concat() 71 inline const CordRepConcat* CordRep::concat() const { in concat() 76 inline CordRepSubstring* CordRep::substring() { in substring() 81 inline const CordRepSubstring* CordRep::substring() const { in substring() 86 inline CordRepExternal* CordRep::external() { in external() 91 inline const CordRepExternal* CordRep::external() const { in external() 98 static const size_t kFlatOverhead = offsetof(CordRep, data); 185 static inline bool IsRootBalanced(CordRep* node) { in IsRootBalanced() 199 static CordRep* Rebalance(CordRep* node); [all …]
|
D | cord.h | 381 absl::cord_internal::CordRep* current_leaf_ = nullptr; 384 absl::InlinedVector<absl::cord_internal::CordRep*, 4> 648 static_assert(kMaxInline >= sizeof(absl::cord_internal::CordRep*), ""); 668 absl::cord_internal::CordRep* tree() const; 670 void set_tree(absl::cord_internal::CordRep* rep); 673 void replace_tree(absl::cord_internal::CordRep* rep); 675 absl::cord_internal::CordRep* clear(); 677 absl::cord_internal::CordRep* force_tree(size_t extra_hint); 682 void AppendTree(absl::cord_internal::CordRep* tree); 683 void PrependTree(absl::cord_internal::CordRep* tree); [all …]
|
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/strings/ |
D | cord.cc | 48 using ::absl::cord_internal::CordRep; 66 inline CordRepConcat* CordRep::concat() { in concat() 71 inline const CordRepConcat* CordRep::concat() const { in concat() 76 inline CordRepSubstring* CordRep::substring() { in substring() 81 inline const CordRepSubstring* CordRep::substring() const { in substring() 86 inline CordRepExternal* CordRep::external() { in external() 91 inline const CordRepExternal* CordRep::external() const { in external() 98 static const size_t kFlatOverhead = offsetof(CordRep, data); 185 static inline bool IsRootBalanced(CordRep* node) { in IsRootBalanced() 199 static CordRep* Rebalance(CordRep* node); [all …]
|
D | cord.h | 381 absl::cord_internal::CordRep* current_leaf_ = nullptr; 384 absl::InlinedVector<absl::cord_internal::CordRep*, 4> 648 static_assert(kMaxInline >= sizeof(absl::cord_internal::CordRep*), ""); 668 absl::cord_internal::CordRep* tree() const; 670 void set_tree(absl::cord_internal::CordRep* rep); 673 void replace_tree(absl::cord_internal::CordRep* rep); 675 absl::cord_internal::CordRep* clear(); 677 absl::cord_internal::CordRep* force_tree(size_t extra_hint); 682 void AppendTree(absl::cord_internal::CordRep* tree); 683 void PrependTree(absl::cord_internal::CordRep* tree); [all …]
|
/external/abseil-cpp/absl/strings/ |
D | cord.cc | 45 using ::absl::cord_internal::CordRep; 105 inline CordRepConcat* CordRep::concat() { in concat() 110 inline const CordRepConcat* CordRep::concat() const { in concat() 115 inline CordRepSubstring* CordRep::substring() { in substring() 120 inline const CordRepSubstring* CordRep::substring() const { in substring() 125 inline CordRepExternal* CordRep::external() { in external() 130 inline const CordRepExternal* CordRep::external() const { in external() 137 static const size_t kFlatOverhead = offsetof(CordRep, data); 260 static inline bool IsRootBalanced(CordRep* node) { in IsRootBalanced() 274 static CordRep* Rebalance(CordRep* node); [all …]
|
D | cord.h | 282 absl::cord_internal::CordRep* current_leaf_ = nullptr; 285 absl::InlinedVector<absl::cord_internal::CordRep*, 4> 477 static_assert(kMaxInline >= sizeof(absl::cord_internal::CordRep*), ""); 497 absl::cord_internal::CordRep* tree() const; 499 void set_tree(absl::cord_internal::CordRep* rep); 502 void replace_tree(absl::cord_internal::CordRep* rep); 504 absl::cord_internal::CordRep* clear(); 506 absl::cord_internal::CordRep* force_tree(size_t extra_hint); 511 void AppendTree(absl::cord_internal::CordRep* tree); 512 void PrependTree(absl::cord_internal::CordRep* tree); [all …]
|
/external/openscreen/third_party/abseil/src/absl/strings/internal/ |
D | cord_internal.h | 125 struct CordRep { struct 126 CordRep() = default; 127 constexpr CordRep(Refcount::Immortal immortal, size_t l) in CordRep() argument 147 struct CordRepConcat : public CordRep { 148 CordRep* left; 149 CordRep* right; 155 struct CordRepSubstring : public CordRep { 157 CordRep* child; 167 struct CordRepExternal : public CordRep { 170 : CordRep(Refcount::Immortal{}, str.size()), in CordRepExternal() [all …]
|
/external/abseil-cpp/absl/strings/internal/ |
D | cord_internal.h | 86 struct CordRep { struct 105 struct CordRepConcat : public CordRep { 106 CordRep* left; 107 CordRep* right; 113 struct CordRepSubstring : public CordRep { 115 CordRep* child; 139 struct alignas(ExternalRepAlignment()) CordRepExternal : public CordRep {
|
/external/webrtc/third_party/abseil-cpp/absl/strings/internal/ |
D | cord_internal.h | 86 struct CordRep { struct 105 struct CordRepConcat : public CordRep { 106 CordRep* left; 107 CordRep* right; 113 struct CordRepSubstring : public CordRep { 115 CordRep* child; 139 struct alignas(ExternalRepAlignment()) CordRepExternal : public CordRep {
|
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/strings/internal/ |
D | cord_internal.h | 88 struct CordRep { struct 106 struct CordRepConcat : public CordRep { 107 CordRep* left; 108 CordRep* right; 114 struct CordRepSubstring : public CordRep { 116 CordRep* child; 126 struct CordRepExternal : public CordRep {
|
/external/libtextclassifier/abseil-cpp/absl/strings/internal/ |
D | cord_internal.h | 88 struct CordRep { struct 106 struct CordRepConcat : public CordRep { 107 CordRep* left; 108 CordRep* right; 114 struct CordRepSubstring : public CordRep { 116 CordRep* child; 126 struct CordRepExternal : public CordRep {
|
/external/tensorflow/tensorflow/core/kernels/ |
D | tensor_cord.h | 79 : chunks_({new CordRep(view, releaser, memory)}) {} 204 class CordRep : public core::RefCounted { 206 CordRep(absl::string_view view, CordRepReleaser releaser, 212 explicit CordRep(absl::string_view view) : is_inline_(true), rep_(view) {} in CordRep() function 214 ~CordRep() override; 269 static CordRep* NewCordRepFromTensor(absl::string_view view, Tensor* tensor); 271 absl::InlinedVector<CordRep*, 2> chunks_; 310 chunks_.push_back(new CordRep(view, releaser, memory)); in Append() 344 inline TensorCord::CordRep* TensorCord::NewCordRepFromTensor( in NewCordRepFromTensor() 346 if (view.size() <= TensorCord::CordRep::kMaxInlineSize) { in NewCordRepFromTensor() [all …]
|