Home
last modified time | relevance | path

Searched refs:space_ (Results 1 – 20 of 20) sorted by relevance

/external/rust/crates/grpcio-sys/grpc/src/core/lib/gprpp/
Dmanual_constructor.h111 BaseType* get() { return reinterpret_cast<BaseType*>(&space_); } in get()
113 return reinterpret_cast<const BaseType*>(&space_); in get()
124 FinishInit(new (&space_) DerivedType); in Init()
135 FinishInit(new (&space_) DerivedType(std::forward<Ts>(args)...)); in Init()
144 FinishInit(new (&space_) DerivedType(x)); in Init()
148 FinishInit(new (&space_) DerivedType(std::forward<DerivedType>(x))); in Init()
165 space_; variable
176 Type* get() { return reinterpret_cast<Type*>(&space_); } in get()
177 const Type* get() const { return reinterpret_cast<const Type*>(&space_); } in get()
185 void Init() { new (&space_) Type; } in Init()
[all …]
/external/grpc-grpc/src/core/lib/gprpp/
Dmanual_constructor.h111 BaseType* get() { return reinterpret_cast<BaseType*>(&space_); } in get()
113 return reinterpret_cast<const BaseType*>(&space_); in get()
124 FinishInit(new (&space_) DerivedType); in Init()
135 FinishInit(new (&space_) DerivedType(std::forward<Ts>(args)...)); in Init()
144 FinishInit(new (&space_) DerivedType(x)); in Init()
148 FinishInit(new (&space_) DerivedType(std::move(x))); in Init()
165 space_; variable
176 Type* get() { return reinterpret_cast<Type*>(&space_); } in get()
177 const Type* get() const { return reinterpret_cast<const Type*>(&space_); } in get()
185 void Init() { new (&space_) Type; } in Init()
[all …]
/external/tensorflow/tensorflow/core/lib/gtl/
Dmanual_constructor.h134 inline Type* get() { return reinterpret_cast<Type*>(space_); }
136 return reinterpret_cast<const Type*>(space_);
145 inline void Init() { new (space_) Type; }
159 new (space_) Type(std::forward<Ts>(args)...); // NOLINT
164 new (space_) Type(p1);
169 new (space_) Type(p1, p2);
174 new (space_) Type(p1, p2, p3);
179 new (space_) Type(p1, p2, p3, p4);
185 new (space_) Type(p1, p2, p3, p4, p5);
192 new (space_) Type(p1, p2, p3, p4, p5, p6);
[all …]
Dflatmap.h160 char space_ alignas(value_type)[sizeof(value_type)]; variable
163 pointer val() { return reinterpret_cast<pointer>(space_); } in val()
164 void FillValue() { new (space_) value_type(b_->key(i_), b_->val(i_)); } in FillValue()
/external/tensorflow/tensorflow/core/lib/strings/
Dproto_serialization.cc37 char* ptr = space_; in DeterministicSerializer()
38 if (size_ > sizeof(space_)) { in DeterministicSerializer()
47 const char* data() const { return alloc_ == nullptr ? space_ : alloc_.get(); } in data()
55 char space_[kInlinedBufferSize]; member in tensorflow::__anonc4bf87980111::DeterministicSerializer
/external/tensorflow/tensorflow/core/common_runtime/
Dgraph_view.h209 GraphView() : space_(nullptr) {} in GraphView()
224 : reinterpret_cast<NodeItem*>(space_ + node_offsets_[id])); in node()
235 return *reinterpret_cast<NodeItem*>(space_ + node_offsets_[id]); in node_ref()
248 char* space_; // NodeItem objects are allocated here variable
Dgraph_view.cc61 delete[] space_; in ~GraphView()
136 CHECK_LE(static_cast<int64>(ptr - space_), kuint32max); in InitializeNode()
137 const uint32 offset = static_cast<uint32>(ptr - space_); in InitializeNode()
265 space_ = new char[total_bytes]; // NodeItem objects are allocated here in Initialize()
266 char* ptr = space_; in Initialize()
270 CHECK_EQ(ptr, space_ + total_bytes); in Initialize()
/external/tensorflow/tensorflow/core/distributed_runtime/rpc/
Dgrpc_util.h52 stream_ = new (&space_) Reader(buffer_); in contents()
65 char space_[sizeof(Reader)]; variable
/external/tensorflow/tensorflow/core/distributed_runtime/
Dtensor_coding_test.cc57 stream_ = new (&space_) in contents()
71 char space_[sizeof(protobuf::io::ArrayInputStream)]; member in tensorflow::StringSource
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/synchronization/internal/
Dmutex_nonprod.inc215 : destruct_(false), once_(), space_{{0}} {}
230 return reinterpret_cast<T*>(&space_);
235 new (&self->space_) T();
244 alignas(T) unsigned char space_[sizeof(T)];
Dgraphcycles.cc113 if (src->ptr_ == src->space_) { in MoveFrom()
129 T space_[kInline]; member in absl::synchronization_internal::__anonaf4c44af0111::Vec
134 ptr_ = space_; in Init()
140 if (ptr_ != space_) base_internal::LowLevelAlloc::Free(ptr_); in Discard()
/external/libtextclassifier/abseil-cpp/absl/synchronization/internal/
Dmutex_nonprod.inc215 : destruct_(false), once_(), space_{{0}} {}
230 return reinterpret_cast<T*>(&space_);
235 new (&self->space_) T();
244 alignas(T) unsigned char space_[sizeof(T)];
Dgraphcycles.cc113 if (src->ptr_ == src->space_) { in MoveFrom()
129 T space_[kInline]; member in absl::synchronization_internal::__anon3e2d679e0111::Vec
134 ptr_ = space_; in Init()
140 if (ptr_ != space_) base_internal::LowLevelAlloc::Free(ptr_); in Discard()
/external/abseil-cpp/absl/synchronization/internal/
Dmutex_nonprod.inc219 : is_dynamic_(false), once_(), space_{{0}} {}
239 return reinterpret_cast<T*>(&space_);
244 new (&self->space_) T();
256 alignas(T) unsigned char space_[sizeof(T)];
Dgraphcycles.cc113 if (src->ptr_ == src->space_) { in MoveFrom()
129 T space_[kInline]; member in absl::synchronization_internal::__anon2b87d9ce0111::Vec
134 ptr_ = space_; in Init()
140 if (ptr_ != space_) base_internal::LowLevelAlloc::Free(ptr_); in Discard()
/external/webrtc/third_party/abseil-cpp/absl/synchronization/internal/
Dmutex_nonprod.inc219 : is_dynamic_(false), once_(), space_{{0}} {}
239 return reinterpret_cast<T*>(&space_);
244 new (&self->space_) T();
256 alignas(T) unsigned char space_[sizeof(T)];
Dgraphcycles.cc113 if (src->ptr_ == src->space_) { in MoveFrom()
129 T space_[kInline]; member in absl::synchronization_internal::__anon7b8391bd0111::Vec
134 ptr_ = space_; in Init()
140 if (ptr_ != space_) base_internal::LowLevelAlloc::Free(ptr_); in Discard()
/external/angle/third_party/abseil-cpp/absl/synchronization/internal/
Dgraphcycles.cc114 if (src->ptr_ == src->space_) { in MoveFrom()
130 T space_[kInline]; member in absl::synchronization_internal::__anon56580e9d0111::Vec
135 ptr_ = space_; in Init()
141 if (ptr_ != space_) base_internal::LowLevelAlloc::Free(ptr_); in Discard()
/external/openscreen/third_party/abseil/src/absl/synchronization/internal/
Dgraphcycles.cc114 if (src->ptr_ == src->space_) { in MoveFrom()
130 T space_[kInline]; member in absl::synchronization_internal::__anon33c5fe6f0111::Vec
135 ptr_ = space_; in Init()
141 if (ptr_ != space_) base_internal::LowLevelAlloc::Free(ptr_); in Discard()
/external/jemalloc_new/
DChangeLog1102 "arenas.cacheline", "arenas.subpage", "arenas.[tqcs]space_{min,max}", and