/art/runtime/base/unix_file/ |
mapped_file.h | 63 virtual int64_t Read(char* buf, int64_t byte_count, int64_t offset) const; 70 virtual int64_t Write(const char* buf, int64_t byte_count, int64_t offset);
|
mapped_file.cc | 98 int64_t MappedFile::Read(char* buf, int64_t byte_count, int64_t offset) const { 104 int64_t read_size = std::max(0LL, std::min(byte_count, file_size_ - offset)); 110 return FdFile::Read(buf, byte_count, offset); 132 int64_t MappedFile::Write(const char* buf, int64_t byte_count, int64_t offset) { 139 int64_t write_size = std::max(0LL, std::min(byte_count, file_size_ - offset)); 145 return FdFile::Write(buf, byte_count, offset);
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeon/ |
loader.cpp | 24 unsigned byte_count; local 34 radeon_llvm_compile(wrap(mod), &bytes, &byte_count, TargetGPUName.c_str(), 1); local
|
/external/chromium_org/third_party/sfntly/cpp/src/test/ |
chrome_subsetter.cc | 60 int byte_count = fwrite(output_buffer, 1, output_length, output_file); local 61 EXPECT_EQ(byte_count, output_length);
|
/external/mesa3d/src/gallium/drivers/radeon/ |
loader.cpp | 24 unsigned byte_count; local 34 radeon_llvm_compile(wrap(mod), &bytes, &byte_count, TargetGPUName.c_str(), 1); local
|
/external/sfntly/cpp/src/test/ |
chrome_subsetter.cc | 60 int byte_count = fwrite(output_buffer, 1, output_length, output_file); local 61 EXPECT_EQ(byte_count, output_length);
|
/art/compiler/ |
buffered_output_stream.h | 34 virtual bool WriteFully(const void* buffer, int64_t byte_count);
|
output_stream.h | 44 virtual bool WriteFully(const void* buffer, int64_t byte_count) = 0;
|
/external/chromium_org/third_party/libjingle/source/talk/base/ |
win32regkey.cc | 121 DWORD byte_count) { 125 const_cast<uint8*>(value), byte_count); 131 DWORD byte_count) { 135 const_cast<uint8*>(value), byte_count); 162 DWORD byte_count = 0; local 165 REG_BINARY, buffer.accept(), &byte_count); 167 ASSERT(byte_count == sizeof(*value)); 168 if (byte_count == sizeof(*value)) { 181 DWORD byte_count = 0; local 184 REG_BINARY, buffer.accept(), &byte_count); 537 DWORD byte_count = sizeof(DWORD); local 551 DWORD byte_count = sizeof(DWORD64); local 564 DWORD byte_count = 0; local 600 DWORD byte_count = 0; local 658 DWORD byte_count = 0; local [all...] |
win32regkey.h | 123 DWORD byte_count) const; 128 DWORD byte_count, 152 DWORD* byte_count) const; 157 DWORD* byte_count, 202 DWORD byte_count); 208 DWORD byte_count); 253 DWORD* byte_count); 317 DWORD* byte_count) const; 329 DWORD byte_count = 0); 336 DWORD* byte_count = NULL) [all...] |
/art/runtime/ |
mem_map.cc | 45 static void CheckMapRequest(byte* addr, size_t byte_count) { 51 uint32_t limit = base + byte_count; 70 MemMap* MemMap::MapAnonymous(const char* name, byte* addr, size_t byte_count, int prot) { 71 if (byte_count == 0) { 74 size_t page_aligned_byte_count = RoundUp(byte_count, kPageSize); 102 return new MemMap(name, actual, byte_count, actual, page_aligned_byte_count, prot); 105 MemMap* MemMap::MapFileAtAddress(byte* addr, size_t byte_count, 109 if (byte_count == 0) { 115 // Adjust 'byte_count' to be page-aligned as we will map this anyway. 116 size_t page_aligned_byte_count = RoundUp(byte_count + page_offset, kPageSize) [all...] |
/art/runtime/base/ |
logging.cc | 161 HexDump::HexDump(const void* address, size_t byte_count, bool show_actual_addresses) 162 : address_(address), byte_count_(byte_count), show_actual_addresses_(show_actual_addresses) { 189 size_t byte_count = byte_count_; local 191 while (byte_count) { 204 int count = std::min(static_cast<int>(byte_count), 16 - gap); 237 byte_count -= count;
|
/external/jpeg/ |
jmemmac.c | 156 long file_offset, long byte_count) 158 long bytes = byte_count; 166 if ( retVal != noErr || bytes != byte_count ) 174 long file_offset, long byte_count) 176 long bytes = byte_count; 184 if ( retVal != noErr || bytes != byte_count )
|
jmemname.c | 206 long file_offset, long byte_count) 210 if (JFREAD(info->temp_file, buffer_address, byte_count) 211 != (size_t) byte_count) 219 long file_offset, long byte_count) 223 if (JFWRITE(info->temp_file, buffer_address, byte_count) 224 != (size_t) byte_count)
|
jmem-ashmem.c | 98 long file_offset, long byte_count) 100 memmove(buffer_address, info->addr + file_offset, byte_count); 107 long file_offset, long byte_count) 109 memmove(info->addr + file_offset, buffer_address, byte_count);
|
jmemdos.c | 245 long file_offset, long byte_count) 249 /* Since MAX_ALLOC_CHUNK is less than 64K, byte_count will be too. */ 250 if (byte_count > 65535L) /* safety check */ 253 (unsigned short) byte_count)) 261 long file_offset, long byte_count) 265 /* Since MAX_ALLOC_CHUNK is less than 64K, byte_count will be too. */ 266 if (byte_count > 65535L) /* safety check */ 269 (unsigned short) byte_count)) 335 long file_offset, long byte_count) 342 * specially if byte_count is odd. We don't expect this to be common [all...] |
/external/qemu/distrib/jpeg-6b/ |
jmemmac.c | 156 long file_offset, long byte_count) 158 long bytes = byte_count; 166 if ( retVal != noErr || bytes != byte_count ) 174 long file_offset, long byte_count) 176 long bytes = byte_count; 184 if ( retVal != noErr || bytes != byte_count )
|
jmemname.c | 206 long file_offset, long byte_count) 210 if (JFREAD(info->temp_file, buffer_address, byte_count) 211 != (size_t) byte_count) 219 long file_offset, long byte_count) 223 if (JFWRITE(info->temp_file, buffer_address, byte_count) 224 != (size_t) byte_count)
|
jmem-ashmem.c | 97 long file_offset, long byte_count) 99 memmove(buffer_address, info->addr + file_offset, byte_count); 106 long file_offset, long byte_count) 108 memmove(info->addr + file_offset, buffer_address, byte_count);
|
jmemdos.c | 245 long file_offset, long byte_count) 249 /* Since MAX_ALLOC_CHUNK is less than 64K, byte_count will be too. */ 250 if (byte_count > 65535L) /* safety check */ 253 (unsigned short) byte_count)) 261 long file_offset, long byte_count) 265 /* Since MAX_ALLOC_CHUNK is less than 64K, byte_count will be too. */ 266 if (byte_count > 65535L) /* safety check */ 269 (unsigned short) byte_count)) 335 long file_offset, long byte_count) 342 * specially if byte_count is odd. We don't expect this to be common [all...] |
/external/chromium/net/socket/ |
client_socket.h | 134 int byte_count, char* bytes) const;
|
/external/chromium_org/chrome/browser/extensions/api/socket/ |
socket.h | 59 // The |callback| will be called with |byte_count| or a negative number if an 62 int byte_count, 68 int byte_count, 116 int byte_count, 120 int byte_count; member in struct:extensions::Socket::WriteRequest
|
/external/chromium_org/courgette/ |
streams.h | 75 bool Read(void* destination, size_t byte_count); 103 bool Skip(size_t byte_count); 123 // Appends |byte_count| bytes from |data| to the stream. 124 CheckBool Write(const void* data, size_t byte_count) WARN_UNUSED_RESULT; 176 // Init returns 'false' if the layout is inconsistent with |byte_count|. 177 bool Init(const void* source, size_t byte_count);
|
/external/chromium/net/url_request/ |
url_request_job_tracker.cc | 57 int byte_count) { 59 OnBytesRead(job, buf, byte_count));
|
url_request_job_tracker.h | 53 // the given job. |byte_count| is the number of bytes for that 58 int byte_count) = 0; 85 void OnBytesRead(URLRequestJob* job, const char* buf, int byte_count);
|