Home
last modified time | relevance | path

Searched refs:num_bytes_ (Results 1 – 6 of 6) sorted by relevance

/external/libmojo/mojo/public/c/system/tests/
Dcore_perftest.cc31 num_bytes_(num_bytes), in MessagePipeWriterThread()
37 assert(num_bytes_ <= sizeof(buffer)); in Run()
41 MojoResult result = MojoWriteMessage(handle_, buffer, num_bytes_, nullptr, in Run()
61 const uint32_t num_bytes_; member in __anon9d46272f0111::MessagePipeWriterThread
117 CorePerftest() : buffer_(nullptr), num_bytes_(0) {} in CorePerftest()
136 MojoWriteMessage(self->h0_, self->buffer_, self->num_bytes_, nullptr, 0, in MessagePipe_WriteAndRead()
140 uint32_t read_bytes = self->num_bytes_; in MessagePipe_WriteAndRead()
237 uint32_t num_bytes_; member in __anon9d46272f0111::CorePerftest
273 num_bytes_ = 10u; in TEST_F()
277 num_bytes_ = 100u; in TEST_F()
[all …]
/external/libtextclassifier/common/
Dmmap.h43 : start_(start), num_bytes_(num_bytes) {} in MmapHandle()
49 size_t num_bytes() const { return num_bytes_; } in num_bytes()
57 return StringPiece(reinterpret_cast<char *>(start_), num_bytes_); in to_stringpiece()
65 const size_t num_bytes_; variable
/external/libmojo/mojo/edk/embedder/
Dplatform_shared_buffer.cc110 return num_bytes_; in GetNumBytes()
127 if (offset > num_bytes_ || length == 0) in IsValidMap()
132 if (length > num_bytes_ - offset) in IsValidMap()
200 return CreateFromSharedMemoryHandle(num_bytes_, true, handle); in CreateReadOnlyDuplicate()
213 return CreateFromSharedMemoryHandle(num_bytes_, true, handle); in CreateReadOnlyDuplicate()
217 : num_bytes_(num_bytes), read_only_(read_only) {} in PlatformSharedBuffer()
226 options.size = num_bytes_; in Init()
243 handle = base::SharedMemoryHandle(platform_handle.release().port, num_bytes_, in InitFromPlatformHandle()
Dplatform_shared_buffer.h120 const size_t num_bytes_; variable
/external/libtextclassifier/common/memory_image/
Dmemory-image-reader.h53 : start_(start), num_bytes_(num_bytes) { in GeneralMemoryImageReader()
98 const uint64 num_bytes_; variable
Dmemory-image-reader.cc74 LowLevelMemReader mem_reader(start_, num_bytes_); in ReadMemoryImage()