Searched refs:num_bytes_ (Results 1 – 5 of 5) sorted by relevance
/external/tensorflow/tensorflow/core/common_runtime/ |
D | pending_counts.h | 84 : num_bytes_(layout.next_offset_), bytes_(new char[num_bytes_]) { in PendingCounts() 85 if (num_bytes_ >= sizeof(LargeCounts)) { in PendingCounts() 93 : num_bytes_(other.num_bytes_), bytes_(new char[num_bytes_]) { in PendingCounts() 94 if (num_bytes_ >= sizeof(LargeCounts)) { in PendingCounts() 97 memcpy(bytes_, other.bytes_, other.num_bytes_); in PendingCounts() 358 DCHECK_LE(h.byte_offset_ + sizeof(std::atomic<LargeCounts>), num_bytes_); in Large() 364 DCHECK_LE(h.byte_offset_ + sizeof(PackedCounts), num_bytes_); in Packed() 369 const int num_bytes_; // Just for bounds checking in debug mode variable
|
/external/libtextclassifier/native/utils/memory/ |
D | mmap.h | 43 : start_(start), num_bytes_(num_bytes), unmap_addr_(unmap_addr) {} in start_() 59 size_t num_bytes() const { return num_bytes_; } in num_bytes() 67 return StringPiece(reinterpret_cast<char *>(start_), num_bytes_); in to_stringpiece() 75 const size_t num_bytes_; variable
|
/external/libtextclassifier/native/lang_id/common/file/ |
D | mmap.h | 49 : start_(start), num_bytes_(num_bytes) {} in MmapHandle() 55 size_t num_bytes() const { return num_bytes_; } in num_bytes() 63 return StringPiece(reinterpret_cast<char *>(start_), num_bytes_); in to_stringpiece() 71 const size_t num_bytes_; variable
|
/external/libchrome/mojo/public/c/system/tests/ |
D | core_perftest.cc | 33 num_bytes_(num_bytes), in MessagePipeWriterThread() 39 assert(num_bytes_ <= sizeof(buffer)); in Run() 43 mojo::MessagePipeHandle(handle_), buffer, num_bytes_, nullptr, 0, in Run() 63 const uint32_t num_bytes_; member in __anon588b62bf0111::MessagePipeWriterThread
|
/external/brotli/c/enc/ |
D | backward_references_hq.c | 85 size_t num_bytes_; member 91 self->num_bytes_ = num_bytes; in InitZopfliCostModel() 187 size_t num_bytes = self->num_bytes_; in ZopfliCostModelSetFromCommands() 206 size_t num_bytes = self->num_bytes_; in ZopfliCostModelSetFromLiteralCosts()
|