/art/compiler/ |
buffered_output_stream.cc | 26 bool BufferedOutputStream::WriteFully(const void* buffer, size_t byte_count) { 27 if (byte_count > kBufferSize) { 29 return out_->WriteFully(buffer, byte_count); 31 if (used_ + byte_count > kBufferSize) { 38 memcpy(&buffer_[used_], src, byte_count); 39 used_ += byte_count;
|
vector_output_stream.h | 34 bool WriteFully(const void* buffer, size_t byte_count) { 37 vector_.insert(vector_.end(), &start[0], &start[byte_count]); 38 offset_ += byte_count; 40 off_t new_offset = offset_ + byte_count; 42 memcpy(&vector_[offset_], buffer, byte_count);
|
file_output_stream.cc | 28 bool FileOutputStream::WriteFully(const void* buffer, size_t byte_count) { 29 return file_->WriteFully(buffer, byte_count);
|
/art/runtime/base/unix_file/ |
null_file.cc | 36 int64_t NullFile::Read(char* buf, int64_t byte_count, int64_t offset) const { 54 int64_t NullFile::Write(const char* buf, int64_t byte_count, int64_t offset) { 58 return byte_count;
|
string_file.cc | 38 int64_t StringFile::Read(char *buf, int64_t byte_count, int64_t offset) const { 40 CHECK_GE(byte_count, 0); 46 const int64_t available_bytes = std::min(byte_count, GetLength() - offset); 66 int64_t StringFile::Write(const char *buf, int64_t byte_count, int64_t offset) { 68 CHECK_GE(byte_count, 0); 74 if (byte_count == 0) { 86 data_.replace(offset, byte_count, buf, byte_count); 87 return byte_count;
|
null_file.h | 39 virtual int64_t Read(char* buf, int64_t byte_count, int64_t offset) const; 42 virtual int64_t Write(const char* buf, int64_t byte_count, int64_t offset);
|
random_access_file.h | 43 // Reads 'byte_count' bytes into 'buf' starting at offset 'offset' in the 45 virtual int64_t Read(char* buf, int64_t byte_count, int64_t offset) const = 0; 56 // Writes 'byte_count' bytes from 'buf' starting at offset 'offset' in the 60 virtual int64_t Write(const char* buf, int64_t byte_count, int64_t offset) = 0;
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeon/ |
radeon_llvm_emit.h | 38 unsigned char ** bytes, unsigned * byte_count, 44 unsigned * byte_count,
|
/external/mesa3d/src/gallium/drivers/radeon/ |
radeon_llvm_emit.h | 38 unsigned char ** bytes, unsigned * byte_count, 44 unsigned * byte_count,
|
/external/chromium_org/net/udp/ |
udp_net_log_parameters.cc | 16 base::Value* NetLogUDPDataTranferCallback(int byte_count, 21 dict->SetInteger("byte_count", byte_count); 23 dict->SetString("hex_encoded_bytes", base::HexEncode(bytes, byte_count)); 39 int byte_count, 43 return base::Bind(&NetLogUDPDataTranferCallback, byte_count, bytes, address);
|
udp_net_log_parameters.h | 19 int byte_count,
|
/art/runtime/base/ |
hex_dump.h | 32 HexDump(const void* address, size_t byte_count, bool show_actual_addresses, const char* prefix) 33 : address_(address), byte_count_(byte_count), show_actual_addresses_(show_actual_addresses),
|
hex_dump.cc | 55 size_t byte_count = byte_count_; local 57 while (byte_count > 0) { 71 size_t count = std::min(byte_count, 16 - gap); 104 byte_count -= count; 106 if (byte_count > 0) {
|
/external/chromium_org/chromeos/dbus/ |
pipe_reader.cc | 50 void PipeReader::OnDataReady(int byte_count) { 51 DVLOG(1) << "OnDataReady byte_count " << byte_count; 52 if (byte_count <= 0) { 57 AcceptData(io_buffer_->data(), byte_count); 75 void PipeReaderForString::AcceptData(const char *data, int byte_count) { 76 data_.append(data, byte_count);
|
/bionic/libc/include/ |
malloc.h | 30 extern void* malloc(size_t byte_count) __mallocfunc __wur __attribute__((alloc_size(1))); 32 extern void* realloc(void* p, size_t byte_count) __wur __attribute__((alloc_size(2))); 35 extern void* memalign(size_t alignment, size_t byte_count) __mallocfunc __wur __attribute__((alloc_size(2)));
|
/bionic/libc/private/ |
ThreadLocalBuffer.h | 52 #define LOCAL_INIT_THREAD_LOCAL_BUFFER(type, name, byte_count) \ 56 name ## _tls_buffer = reinterpret_cast<type>(calloc(1, byte_count)); \ 59 const size_t name ## _tls_buffer_size __attribute__((unused)) = byte_count
|
/development/ndk/platforms/android-L/include/ |
malloc.h | 30 extern void* malloc(size_t byte_count) __mallocfunc __wur __attribute__((alloc_size(1))); 32 extern void* realloc(void* p, size_t byte_count) __wur __attribute__((alloc_size(2))); 35 extern void* memalign(size_t alignment, size_t byte_count) __mallocfunc __wur __attribute__((alloc_size(2)));
|
/prebuilts/ndk/9/platforms/android-21/arch-arm/usr/include/ |
malloc.h | 30 extern void* malloc(size_t byte_count) __mallocfunc __wur __attribute__((alloc_size(1))); 32 extern void* realloc(void* p, size_t byte_count) __wur __attribute__((alloc_size(2))); 35 extern void* memalign(size_t alignment, size_t byte_count) __mallocfunc __wur __attribute__((alloc_size(2)));
|
/prebuilts/ndk/9/platforms/android-21/arch-arm64/usr/include/ |
malloc.h | 30 extern void* malloc(size_t byte_count) __mallocfunc __wur __attribute__((alloc_size(1))); 32 extern void* realloc(void* p, size_t byte_count) __wur __attribute__((alloc_size(2))); 35 extern void* memalign(size_t alignment, size_t byte_count) __mallocfunc __wur __attribute__((alloc_size(2)));
|
/prebuilts/ndk/9/platforms/android-21/arch-mips/usr/include/ |
malloc.h | 30 extern void* malloc(size_t byte_count) __mallocfunc __wur __attribute__((alloc_size(1))); 32 extern void* realloc(void* p, size_t byte_count) __wur __attribute__((alloc_size(2))); 35 extern void* memalign(size_t alignment, size_t byte_count) __mallocfunc __wur __attribute__((alloc_size(2)));
|
/prebuilts/ndk/9/platforms/android-21/arch-mips64/usr/include/ |
malloc.h | 30 extern void* malloc(size_t byte_count) __mallocfunc __wur __attribute__((alloc_size(1))); 32 extern void* realloc(void* p, size_t byte_count) __wur __attribute__((alloc_size(2))); 35 extern void* memalign(size_t alignment, size_t byte_count) __mallocfunc __wur __attribute__((alloc_size(2)));
|
/prebuilts/ndk/9/platforms/android-21/arch-x86/usr/include/ |
malloc.h | 30 extern void* malloc(size_t byte_count) __mallocfunc __wur __attribute__((alloc_size(1))); 32 extern void* realloc(void* p, size_t byte_count) __wur __attribute__((alloc_size(2))); 35 extern void* memalign(size_t alignment, size_t byte_count) __mallocfunc __wur __attribute__((alloc_size(2)));
|
/prebuilts/ndk/9/platforms/android-21/arch-x86_64/usr/include/ |
malloc.h | 30 extern void* malloc(size_t byte_count) __mallocfunc __wur __attribute__((alloc_size(1))); 32 extern void* realloc(void* p, size_t byte_count) __wur __attribute__((alloc_size(2))); 35 extern void* memalign(size_t alignment, size_t byte_count) __mallocfunc __wur __attribute__((alloc_size(2)));
|
/external/jpeg/ |
jmemansi.c | 99 long file_offset, long byte_count) 103 if (JFREAD(info->temp_file, buffer_address, byte_count) 104 != (size_t) byte_count) 112 long file_offset, long byte_count) 116 if (JFWRITE(info->temp_file, buffer_address, byte_count) 117 != (size_t) byte_count)
|
/external/qemu/distrib/jpeg-6b/ |
jmemansi.c | 99 long file_offset, long byte_count) 103 if (JFREAD(info->temp_file, buffer_address, byte_count) 104 != (size_t) byte_count) 112 long file_offset, long byte_count) 116 if (JFWRITE(info->temp_file, buffer_address, byte_count) 117 != (size_t) byte_count)
|