/external/compiler-rt/lib/profile/ |
D | GCDAProfiling.c | 62 static char *write_buffer = NULL; variable 101 write_buffer = realloc(write_buffer, size); in resize_write_buffer() 107 memcpy(&write_buffer[cur_pos], s, len); in write_bytes() 136 val = *(uint32_t*)&write_buffer[cur_pos]; in read_32bit_value() 147 val = *(uint64_t*)&write_buffer[cur_pos]; in read_64bit_value() 209 write_buffer = mmap(0, file_size, PROT_READ | PROT_WRITE, in map_file() 211 if (write_buffer == (void *)-1) { in map_file() 221 if (msync(write_buffer, file_size, MS_SYNC) == -1) { in unmap_file() 230 (void)munmap(write_buffer, file_size); in unmap_file() 231 write_buffer = NULL; in unmap_file() [all …]
|
/external/chromium_org/device/bluetooth/ |
D | bluetooth_profile_chromeos_unittest.cc | 177 scoped_refptr<net::DrainableIOBuffer> write_buffer; in TEST_F() local 190 write_buffer = in TEST_F() 192 success = socket->Send(write_buffer.get()); in TEST_F() 194 EXPECT_EQ(base_buffer->size(), write_buffer->BytesConsumed()); in TEST_F() 195 EXPECT_EQ(0, write_buffer->BytesRemaining()); in TEST_F() 216 write_buffer = in TEST_F() 218 success = socket->Send(write_buffer.get()); in TEST_F() 220 EXPECT_EQ(0, write_buffer->BytesConsumed()); in TEST_F() 221 EXPECT_EQ(base_buffer->size(), write_buffer->BytesRemaining()); in TEST_F() 303 scoped_refptr<net::DrainableIOBuffer> write_buffer; in TEST_F() local [all …]
|
/external/chromium_org/net/disk_cache/flash/ |
D | storage_unittest.cc | 28 scoped_refptr<net::IOBuffer> write_buffer(new net::IOBuffer(size)); in TEST_F() local 31 CacheTestFillBuffer(write_buffer->data(), size, false); in TEST_F() 33 bool rv = storage.Write(write_buffer->data(), size, offset); in TEST_F() 39 EXPECT_EQ(0, memcmp(read_buffer->data(), write_buffer->data(), size)); in TEST_F()
|
D | log_store_entry.cc | 95 memcpy(buf->data(), &streams_[index].write_buffer[offset], buf_len); in ReadData() 112 if (stream.write_buffer.size() < new_size) in WriteData() 113 stream.write_buffer.resize(new_size); in WriteData() 114 memcpy(&streams_[index].write_buffer[offset], buf->data(), buf_len); in WriteData() 157 !store_->WriteData(&streams_[i].write_buffer[0], streams_[i].size)) { in Save()
|
D | log_store_entry.h | 46 std::vector<char> write_buffer; member
|
/external/chromium_org/mojo/system/ |
D | multiprocess_message_pipe_unittest.cc | 190 std::string write_buffer = read_buffer + read_buffer; in MOJO_MULTIPROCESS_TEST_CHILD_MAIN() local 192 write_buffer.data(), in MOJO_MULTIPROCESS_TEST_CHILD_MAIN() 193 static_cast<uint32_t>(write_buffer.size()), in MOJO_MULTIPROCESS_TEST_CHILD_MAIN() 252 std::string write_buffer(i, 'A' + (i % 26)); in TEST_F() local 255 write_buffer.data(), in TEST_F() 256 static_cast<uint32_t>(write_buffer.size()), in TEST_F()
|
/external/chromium_org/net/socket/ |
D | tcp_server_socket_unittest.cc | 218 scoped_refptr<net::IOBufferWithSize> write_buffer( in TEST_F() local 220 memmove(write_buffer->data(), message.data(), message.size()); in TEST_F() 224 write_buffer.get(), write_buffer->size(), write_callback.callback()); in TEST_F()
|
D | tcp_socket_unittest.cc | 230 scoped_refptr<IOBufferWithSize> write_buffer( in TEST_F() local 232 memmove(write_buffer->data(), message.data() + bytes_written, in TEST_F() 237 write_buffer.get(), write_buffer->size(), write_callback.callback()); in TEST_F()
|
D | tcp_socket_win.cc | 487 WSABUF write_buffer; in Write() local 488 write_buffer.len = buf_len; in Write() 489 write_buffer.buf = buf->data(); in Write() 494 int rv = WSASend(socket_, &write_buffer, 1, &num, 0, in Write()
|
/external/chromium/net/udp/ |
D | udp_socket_win.cc | 349 WSABUF write_buffer; in InternalSendTo() local 350 write_buffer.buf = buf->data(); in InternalSendTo() 351 write_buffer.len = buf_len; in InternalSendTo() 356 int rv = WSASendTo(socket_, &write_buffer, 1, &num, flags, in InternalSendTo()
|
/external/chromium_org/ui/surface/ |
D | accelerated_surface_transformer_win.cc | 393 IDirect3DSurface9* write_buffer; in ResizeBilinear() local 396 write_buffer = dst_surface; in ResizeBilinear() 399 write_buffer = scaler_scratch_surfaces_[write_buffer_index]; in ResizeBilinear() 405 write_buffer, in ResizeBilinear()
|
/external/chromium_org/ui/base/resource/ |
D | data_pack.cc | 246 uint8 write_buffer = textEncodingType; in WritePack() local 247 if (fwrite(&write_buffer, sizeof(uint8), 1, file) != 1) { in WritePack()
|
/external/chromium_org/net/disk_cache/ |
D | entry_unittest.cc | 2554 scoped_refptr<net::IOBufferWithSize> write_buffer( in TEST_F() local 2556 CacheTestFillBuffer(write_buffer->data(), write_buffer->size(), false); in TEST_F() 2558 write_buffer->size(), in TEST_F() 2559 WriteData(entry, 1, 0, write_buffer.get(), write_buffer->size(), false)); in TEST_F() 2580 scoped_refptr<net::IOBufferWithSize> write_buffer( in TEST_F() local 2588 CacheTestFillBuffer(write_buffer->data(), write_buffer->size(), false); in TEST_F() 2593 write_buffer.get(), in TEST_F() 2594 write_buffer->size(), in TEST_F() 2619 scoped_refptr<net::IOBufferWithSize> write_buffer( in TEST_F() local 2621 CacheTestFillBuffer(write_buffer->data(), write_buffer->size(), false); in TEST_F() [all …]
|
/external/chromium_org/jingle/glue/ |
D | pseudotcp_adapter.cc | 356 scoped_refptr<net::IOBuffer> write_buffer = new net::IOBuffer(len); in TcpWritePacket() local 357 memcpy(write_buffer->data(), buffer, len); in TcpWritePacket() 364 write_buffer.get(), in TcpWritePacket()
|
/external/chromium_org/net/udp/ |
D | udp_socket_win.cc | 567 WSABUF write_buffer; in InternalSendTo() local 568 write_buffer.buf = buf->data(); in InternalSendTo() 569 write_buffer.len = buf_len; in InternalSendTo() 574 int rv = WSASendTo(socket_, &write_buffer, 1, &num, flags, in InternalSendTo()
|
/external/kernel-headers/original/linux/ |
D | binder.h | 72 unsigned long write_buffer; member
|
/external/libnfc-nxp/src/ |
D | phFriNfc_TopazDynamicMap.c | 2069 uint8_t write_buffer[] = {0x00}; in phFriNfc_Tpz_H_ProReadResp() local 2175 result = phFriNfc_Tpz_H_NxpWrite (psNdefMap, write_buffer, in phFriNfc_Tpz_H_ProReadResp() 2176 sizeof (write_buffer)); in phFriNfc_Tpz_H_ProReadResp()
|
/external/chromium_org/net/http/ |
D | http_network_transaction_unittest.cc | 6765 char write_buffer[] = { 0x04, 0x01, 0x00, 0x50, 127, 0, 0, 1, 0 }; in TEST_P() local 6769 MockWrite(ASYNC, write_buffer, arraysize(write_buffer)), in TEST_P() 6824 unsigned char write_buffer[] = { 0x04, 0x01, 0x01, 0xBB, 127, 0, 0, 1, 0 }; in TEST_P() local 6828 MockWrite(ASYNC, reinterpret_cast<char*>(write_buffer), in TEST_P() 6829 arraysize(write_buffer)), in TEST_P() 6888 char write_buffer[] = { 0x04, 0x01, 0x00, 0x50, 127, 0, 0, 1, 0 }; in TEST_P() local 6892 MockWrite(ASYNC, write_buffer, arraysize(write_buffer)), in TEST_P()
|
/external/chromium/net/http/ |
D | http_network_transaction_unittest.cc | 5227 char write_buffer[] = { 0x04, 0x01, 0x00, 0x50, 127, 0, 0, 1, 0 }; in TEST_F() local 5231 MockWrite(true, write_buffer, arraysize(write_buffer)), in TEST_F() 5278 unsigned char write_buffer[] = { 0x04, 0x01, 0x01, 0xBB, 127, 0, 0, 1, 0 }; in TEST_F() local 5282 MockWrite(true, reinterpret_cast<char*>(write_buffer), in TEST_F() 5283 arraysize(write_buffer)), in TEST_F()
|
/external/valgrind/main/include/vki/ |
D | vki-linux.h | 2886 unsigned long write_buffer; member
|
/external/valgrind/main/coregrind/m_syswrap/ |
D | syswrap-linux.c | 5499 bwr->write_buffer); in PRE() 5521 (Addr)bwr->write_buffer, bwr->write_size); in PRE()
|