/external/protobuf/src/google/protobuf/stubs/ |
D | substitute.h | 107 : text_(scratch_), size_(1) { scratch_[0] = value; } in SubstituteArg() 109 : text_(FastInt32ToBuffer(value, scratch_)), size_(strlen(text_)) {} in SubstituteArg() 111 : text_(FastUInt32ToBuffer(value, scratch_)), size_(strlen(text_)) {} in SubstituteArg() 113 : text_(FastInt32ToBuffer(value, scratch_)), size_(strlen(text_)) {} in SubstituteArg() 115 : text_(FastUInt32ToBuffer(value, scratch_)), size_(strlen(text_)) {} in SubstituteArg() 117 : text_(FastLongToBuffer(value, scratch_)), size_(strlen(text_)) {} in SubstituteArg() 119 : text_(FastULongToBuffer(value, scratch_)), size_(strlen(text_)) {} in SubstituteArg() 121 : text_(FastInt64ToBuffer(value, scratch_)), size_(strlen(text_)) {} in SubstituteArg() 123 : text_(FastUInt64ToBuffer(value, scratch_)), size_(strlen(text_)) {} in SubstituteArg() 125 : text_(FloatToBuffer(value, scratch_)), size_(strlen(text_)) {} in SubstituteArg() [all …]
|
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/strings/ |
D | substitute.h | 123 : piece_(scratch_, 1) { in Arg() 124 scratch_[0] = value; in Arg() 127 : piece_(scratch_, in Arg() 128 numbers_internal::FastIntToBuffer(value, scratch_) - scratch_) {} in Arg() 130 : piece_(scratch_, in Arg() 131 numbers_internal::FastIntToBuffer(value, scratch_) - scratch_) {} in Arg() 133 : piece_(scratch_, in Arg() 134 numbers_internal::FastIntToBuffer(value, scratch_) - scratch_) {} in Arg() 136 : piece_(scratch_, in Arg() 137 numbers_internal::FastIntToBuffer(value, scratch_) - scratch_) {} in Arg() [all …]
|
D | substitute.cc | 99 static_assert(sizeof(scratch_) >= sizeof(value) * 2 + 2, in Arg() 104 char* ptr = scratch_ + sizeof(scratch_); in Arg() 112 piece_ = absl::string_view(ptr, scratch_ + sizeof(scratch_) - ptr); in Arg() 118 char* const end = &scratch_[numbers_internal::kFastToBufferSize]; in Arg() 140 char* const end = &scratch_[numbers_internal::kFastToBufferSize]; in Arg()
|
/external/abseil-cpp/absl/strings/ |
D | substitute.h | 123 : piece_(scratch_, 1) { scratch_[0] = value; } in Arg() 125 : piece_(scratch_, in Arg() 126 numbers_internal::FastIntToBuffer(value, scratch_) - scratch_) {} in Arg() 128 : piece_(scratch_, in Arg() 129 numbers_internal::FastIntToBuffer(value, scratch_) - scratch_) {} in Arg() 131 : piece_(scratch_, in Arg() 132 numbers_internal::FastIntToBuffer(value, scratch_) - scratch_) {} in Arg() 134 : piece_(scratch_, in Arg() 135 numbers_internal::FastIntToBuffer(value, scratch_) - scratch_) {} in Arg() 137 : piece_(scratch_, in Arg() [all …]
|
D | substitute.cc | 99 static_assert(sizeof(scratch_) >= sizeof(value) * 2 + 2, in Arg() 104 char* ptr = scratch_ + sizeof(scratch_); in Arg() 112 piece_ = absl::string_view(ptr, scratch_ + sizeof(scratch_) - ptr); in Arg() 118 char* const end = &scratch_[numbers_internal::kFastToBufferSize]; in Arg() 140 char* const end = &scratch_[numbers_internal::kFastToBufferSize]; in Arg()
|
/external/openscreen/third_party/abseil/src/absl/strings/ |
D | substitute.h | 123 : piece_(scratch_, 1) { in Arg() 124 scratch_[0] = value; in Arg() 127 : piece_(scratch_, in Arg() 128 numbers_internal::FastIntToBuffer(value, scratch_) - scratch_) {} in Arg() 130 : piece_(scratch_, in Arg() 131 numbers_internal::FastIntToBuffer(value, scratch_) - scratch_) {} in Arg() 133 : piece_(scratch_, in Arg() 134 numbers_internal::FastIntToBuffer(value, scratch_) - scratch_) {} in Arg() 136 : piece_(scratch_, in Arg() 137 numbers_internal::FastIntToBuffer(value, scratch_) - scratch_) {} in Arg() [all …]
|
D | substitute.cc | 99 static_assert(sizeof(scratch_) >= sizeof(value) * 2 + 2, in Arg() 104 char* ptr = scratch_ + sizeof(scratch_); in Arg() 112 piece_ = absl::string_view(ptr, scratch_ + sizeof(scratch_) - ptr); in Arg() 118 char* const end = &scratch_[numbers_internal::kFastToBufferSize]; in Arg() 140 char* const end = &scratch_[numbers_internal::kFastToBufferSize]; in Arg()
|
/external/webrtc/third_party/abseil-cpp/absl/strings/ |
D | substitute.h | 123 : piece_(scratch_, 1) { scratch_[0] = value; } in Arg() 125 : piece_(scratch_, in Arg() 126 numbers_internal::FastIntToBuffer(value, scratch_) - scratch_) {} in Arg() 128 : piece_(scratch_, in Arg() 129 numbers_internal::FastIntToBuffer(value, scratch_) - scratch_) {} in Arg() 131 : piece_(scratch_, in Arg() 132 numbers_internal::FastIntToBuffer(value, scratch_) - scratch_) {} in Arg() 134 : piece_(scratch_, in Arg() 135 numbers_internal::FastIntToBuffer(value, scratch_) - scratch_) {} in Arg() 137 : piece_(scratch_, in Arg() [all …]
|
D | substitute.cc | 99 static_assert(sizeof(scratch_) >= sizeof(value) * 2 + 2, in Arg() 104 char* ptr = scratch_ + sizeof(scratch_); in Arg() 112 piece_ = absl::string_view(ptr, scratch_ + sizeof(scratch_) - ptr); in Arg() 118 char* const end = &scratch_[numbers_internal::kFastToBufferSize]; in Arg() 140 char* const end = &scratch_[numbers_internal::kFastToBufferSize]; in Arg()
|
/external/libtextclassifier/abseil-cpp/absl/strings/ |
D | substitute.h | 123 : piece_(scratch_, 1) { in Arg() 124 scratch_[0] = value; in Arg() 127 : piece_(scratch_, in Arg() 128 numbers_internal::FastIntToBuffer(value, scratch_) - scratch_) {} in Arg() 130 : piece_(scratch_, in Arg() 131 numbers_internal::FastIntToBuffer(value, scratch_) - scratch_) {} in Arg() 133 : piece_(scratch_, in Arg() 134 numbers_internal::FastIntToBuffer(value, scratch_) - scratch_) {} in Arg() 136 : piece_(scratch_, in Arg() 137 numbers_internal::FastIntToBuffer(value, scratch_) - scratch_) {} in Arg() [all …]
|
D | substitute.cc | 99 static_assert(sizeof(scratch_) >= sizeof(value) * 2 + 2, in Arg() 104 char* ptr = scratch_ + sizeof(scratch_); in Arg() 112 piece_ = absl::string_view(ptr, scratch_ + sizeof(scratch_) - ptr); in Arg() 118 char* const end = &scratch_[numbers_internal::kFastToBufferSize]; in Arg() 140 char* const end = &scratch_[numbers_internal::kFastToBufferSize]; in Arg()
|
/external/angle/third_party/abseil-cpp/absl/strings/ |
D | substitute.h | 123 : piece_(scratch_, 1) { in Arg() 124 scratch_[0] = value; in Arg() 127 : piece_(scratch_, in Arg() 128 numbers_internal::FastIntToBuffer(value, scratch_) - scratch_) {} in Arg() 130 : piece_(scratch_, in Arg() 131 numbers_internal::FastIntToBuffer(value, scratch_) - scratch_) {} in Arg() 133 : piece_(scratch_, in Arg() 134 numbers_internal::FastIntToBuffer(value, scratch_) - scratch_) {} in Arg() 136 : piece_(scratch_, in Arg() 137 numbers_internal::FastIntToBuffer(value, scratch_) - scratch_) {} in Arg() [all …]
|
D | substitute.cc | 99 static_assert(sizeof(scratch_) >= sizeof(value) * 2 + 2, in Arg() 104 char* ptr = scratch_ + sizeof(scratch_); in Arg() 112 piece_ = absl::string_view(ptr, scratch_ + sizeof(scratch_) - ptr); in Arg() 118 char* const end = &scratch_[numbers_internal::kFastToBufferSize]; in Arg() 140 char* const end = &scratch_[numbers_internal::kFastToBufferSize]; in Arg()
|
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/ |
D | TensorDeviceCuda.h | 102 CudaStreamDevice() : stream_(&default_stream), scratch_(NULL), semaphore_(NULL) { in initializeDeviceProp() 107 …CudaStreamDevice(int device) : stream_(&default_stream), device_(device), scratch_(NULL), semaphor… in initializeDeviceProp() 115 : stream_(stream), device_(device), scratch_(NULL), semaphore_(NULL) { in initializeDeviceProp() 130 if (scratch_) { in initializeDeviceProp() 131 deallocate(scratch_); in initializeDeviceProp() 159 if (scratch_ == NULL) { in initializeDeviceProp() 160 scratch_ = allocate(kCudaScratchSize + sizeof(unsigned int)); in initializeDeviceProp() 162 return scratch_; in initializeDeviceProp() 179 mutable void* scratch_; in initializeDeviceProp() variable
|
/external/tensorflow/tensorflow/stream_executor/rocm/ |
D | rocm_fft.h | 51 scratch_(nullptr), in ROCMFftPlan() 89 DeviceMemory<uint8> scratch_; variable
|
D | rocm_fft.cc | 333 if (!allocated.ok() || (scratch_ = allocated.ValueOrDie()) == nullptr) { in UpdateScratchAllocator() 339 auto ret = wrap::hipfftSetWorkArea(parent_, plan_, scratch_.opaque()); in UpdateScratchAllocator()
|
/external/tensorflow/tensorflow/stream_executor/cuda/ |
D | cuda_fft.h | 51 scratch_(nullptr), in CUDAFftPlan() 92 DeviceMemory<uint8> scratch_; variable
|
D | cuda_fft.cc | 252 if (!allocated.ok() || (scratch_ = allocated.ValueOrDie()) == nullptr) { in UpdateScratchAllocator() 259 cufftResult_t ret = cufftSetWorkArea(plan_, scratch_.opaque()); in UpdateScratchAllocator()
|
/external/tensorflow/tensorflow/compiler/xla/service/gpu/ |
D | gpu_conv_runner.cc | 48 : scratch_(scratch) {} in ScratchBufAllocator() 52 int64 GetMemoryLimitInBytes() override { return scratch_.size(); } in GetMemoryLimitInBytes() 60 if (byte_size > scratch_.size()) { in AllocateBytes() 63 " bytes from a ScratchBufAllocator of size ", scratch_.size())); in AllocateBytes() 67 return se::DeviceMemory<uint8>(scratch_); in AllocateBytes() 71 se::DeviceMemoryBase scratch_; member in xla::gpu::__anon53f8f4230111::ScratchBufAllocator
|
/external/flatbuffers/include/flatbuffers/ |
D | flatbuffers.h | 804 scratch_(nullptr) {} 820 scratch_(other.scratch_) { 828 other.scratch_ = nullptr; 864 void clear_scratch() { scratch_ = buf_; } 905 FLATBUFFERS_ASSERT(cur_ >= scratch_ && scratch_ >= buf_); 906 if (len > static_cast<size_t>(cur_ - scratch_)) { reallocate(len); } 927 return static_cast<uoffset_t>(scratch_ - buf_); 943 FLATBUFFERS_ASSERT(scratch_); 944 return scratch_; 961 *reinterpret_cast<T *>(scratch_) = t; [all …]
|
/external/tensorflow/tensorflow/core/kernels/ |
D | meta_support.cc | 47 Scratch() : scratch_(new uint8_t[kScratchSize]) { in Scratch() 51 scratch_.get() + kAlignment - in Scratch() 52 (reinterpret_cast<uintptr_t>(scratch_.get()) % kAlignment); in Scratch() 60 std::unique_ptr<uint8_t> scratch_; member in tensorflow::meta::__anond1531d0e0111::Scratch
|
/external/libaom/libaom/av1/encoder/ |
D | mathutils.h | 68 double *scratch_ = NULL; in least_squares() local 71 scratch_ = (double *)aom_malloc(sizeof(*scratch) * n * (n + 1)); in least_squares() 72 scratch = scratch_; in least_squares() 88 if (scratch_) aom_free(scratch_); in least_squares()
|
/external/tensorflow/tensorflow/core/common_runtime/gpu/ |
D | gpu_device.cc | 118 : scratch_(nullptr), semaphore_(nullptr), context_(nullptr) { in EigenGpuStreamDevice() 130 scratch_ = scratch; in Reinitialize() 182 void* scratchpad() const override { return scratch_; } in scratchpad() 221 mutable char* scratch_; in asyncFree() member in tensorflow::EigenGpuStreamDevice 398 gpu_allocator_->DeallocateRaw(scratch_); in ~BaseGPUDevice() 405 if (!scratch_) { in InitScratchBuffers() 419 scratch_ = static_cast<char*>(scratch_buffer); in InitScratchBuffers() 1041 scratch_); in ReinitializeDevice()
|
D | gpu_device.h | 145 char* scratch_ = nullptr; variable
|
/external/tensorflow/tensorflow/core/platform/ |
D | env.cc | 513 Status s = file_->Read(pos_, kBufSize, &result, scratch_); in Next() 530 char scratch_[kBufSize]; member in tensorflow::__anon868651c50111::FileStream
|