Home
last modified time | relevance | path

Searched refs:read_buffer (Results 1 – 5 of 5) sorted by relevance

/system/core/adb/
Dfdevent_test.cpp128 std::string read_buffer = MESSAGE; in TEST_F() local
130 ASSERT_TRUE(WriteFdExactly(writer, read_buffer.c_str(), read_buffer.size())); in TEST_F()
132 ASSERT_EQ(read_buffer, write_buffer); in TEST_F()
Dsocket_test.cpp91 std::string read_buffer = MESSAGE; in TEST_F() local
93 ASSERT_TRUE(WriteFdExactly(first[0], &read_buffer[0], read_buffer.size())); in TEST_F()
95 ASSERT_EQ(read_buffer, write_buffer); in TEST_F()
/system/core/libziparchive/
Dzip_archive_test.cc480 uint8_t read_buffer[data_size]; in TEST() local
482 ASSERT_TRUE(android::base::ReadFully(tmp_file.fd, read_buffer, data_size)); in TEST()
483 ASSERT_EQ(0, memcmp(read_buffer, data, data_size)); in TEST()
/system/core/sdcard/
Dsdcard.c254 __u8 read_buffer[MAX_READ + PAGE_SIZE]; member
1237 …__u8 *read_buffer = (__u8 *) ((uintptr_t)(handler->read_buffer + PAGE_SIZE) & ~((uintptr_t)PAGE_SI… in handle_read() local
1248 res = pread64(h->fd, read_buffer, size, offset); in handle_read()
1252 fuse_reply(fuse, unique, read_buffer, res); in handle_read()
/system/bt/btif/src/
Dbtif_media_task.c2818 static UINT16 read_buffer[SBC_MAX_NUM_FRAME * SBC_MAX_NUM_OF_BLOCKS in btif_media_aa_read_feeding() local
2910 nb_byte_read = UIPC_Read(channel_id, &event, (UINT8 *)read_buffer, read_size); in btif_media_aa_read_feeding()
2928 memset(((UINT8 *)read_buffer) + nb_byte_read, 0, read_size - nb_byte_read); in btif_media_aa_read_feeding()
2940 dst_size_used = bta_av_sbc_up_sample((UINT8 *)read_buffer, in btif_media_aa_read_feeding()