Home
last modified time | relevance | path

Searched defs:buffer (Results 1 – 25 of 165) sorted by relevance

1234567

/system/core/include/utils/
DFlattenable.h38 static size_t align(void const*& buffer) { in align()
46 static size_t align(void*& buffer) { in align()
50 static void advance(void*& buffer, size_t& size, size_t offset) { in advance()
55 static void advance(void const*& buffer, size_t& size, size_t offset) { in advance()
62 static void write(void*& buffer, size_t& size, const T& value) { in write()
69 static void read(void const*& buffer, size_t& size, T& value) { in read()
118 void*& buffer, size_t& size, int*& fds, size_t& count) const { in flatten()
123 void const*& buffer, size_t& size, int const*& fds, size_t& count) { in unflatten()
159 inline status_t LightFlattenable<T>::flatten(void* buffer, size_t size) const { in flatten()
163 inline status_t LightFlattenable<T>::unflatten(void const* buffer, size_t size) { in unflatten()
[all …]
/system/connectivity/dhcp_client/
Ddhcp_options_writer.cc42 int DHCPOptionsWriter::WriteUInt8Option(ByteString* buffer, in WriteUInt8Option()
55 int DHCPOptionsWriter::WriteUInt16Option(ByteString* buffer, in WriteUInt16Option()
69 int DHCPOptionsWriter::WriteUInt32Option(ByteString* buffer, in WriteUInt32Option()
83 int DHCPOptionsWriter::WriteUInt8ListOption(ByteString* buffer, in WriteUInt8ListOption()
101 int DHCPOptionsWriter::WriteUInt16ListOption(ByteString* buffer, in WriteUInt16ListOption()
122 int DHCPOptionsWriter::WriteUInt32ListOption(ByteString* buffer, in WriteUInt32ListOption()
143 int DHCPOptionsWriter::WriteUInt32PairListOption(ByteString* buffer, in WriteUInt32PairListOption()
167 int DHCPOptionsWriter::WriteBoolOption(ByteString* buffer, in WriteBoolOption()
181 int DHCPOptionsWriter::WriteStringOption(ByteString* buffer, in WriteStringOption()
199 int DHCPOptionsWriter::WriteByteArrayOption(ByteString* buffer, in WriteByteArrayOption()
[all …]
Ddhcp_options_parser.cc33 bool UInt8Parser::GetOption(const uint8_t* buffer, in GetOption()
45 bool UInt16Parser::GetOption(const uint8_t* buffer, in GetOption()
57 bool UInt32Parser::GetOption(const uint8_t* buffer, in GetOption()
69 bool UInt8ListParser::GetOption(const uint8_t* buffer, in GetOption()
86 bool UInt16ListParser::GetOption(const uint8_t* buffer, in GetOption()
105 bool UInt32ListParser::GetOption(const uint8_t* buffer, in GetOption()
124 bool UInt32PairListParser::GetOption(const uint8_t* buffer, in GetOption()
146 bool BoolParser::GetOption(const uint8_t* buffer, in GetOption()
166 bool StringParser::GetOption(const uint8_t* buffer, in GetOption()
178 bool ByteArrayParser::GetOption(const uint8_t* buffer, in GetOption()
Ddhcpv4.cc110 unsigned char* buffer = data->buf + header_len; in ParseRawPacket() local
234 char buffer[header_len + payload_len]; in MakeRawPacket() local
313 int DHCPV4::ValidatePacketHeader(const unsigned char* buffer, size_t len) { in ValidatePacketHeader()
/system/core/debuggerd/test/
Ddump_memory_test.cpp149 uint8_t buffer[256]; in TEST_F() local
168 uint8_t buffer[256]; in TEST_F() local
188 uint8_t buffer[256]; in TEST_F() local
257 uint8_t buffer[104]; in TEST_F() local
276 uint8_t buffer[104]; in TEST_F() local
301 uint8_t buffer[106]; in TEST_F() local
330 uint8_t buffer[256]; in TEST_F() local
384 uint8_t buffer[256]; in TEST_F() local
401 uint8_t buffer[256]; in TEST_F() local
426 uint8_t buffer[256]; in TEST_F() local
[all …]
DBacktraceMock.h56 virtual size_t Read(uintptr_t addr, uint8_t* buffer, size_t bytes) { in Read()
83 void SetReadData(uint8_t* buffer, size_t bytes) { in SetReadData()
/system/extras/memory_replay/tests/
DLineBufferTest.cpp46 char buffer[100]; in TEST_F() local
65 char buffer[100]; in TEST_F() local
86 char buffer[100]; in TEST_F() local
115 char buffer[100]; in TEST_F() local
145 char buffer[24]; in TEST_F() local
180 char buffer[60]; in TEST_F() local
215 char buffer[25]; in TEST_F() local
/system/bt/bta/hf_client/
Dbta_hf_client_at.c600 static char *bta_hf_client_parse_ok(char *buffer) in bta_hf_client_parse_ok()
610 static char *bta_hf_client_parse_error(char *buffer) in bta_hf_client_parse_error()
620 static char *bta_hf_client_parse_ring(char *buffer) in bta_hf_client_parse_ring()
631 static char *bta_hf_client_parse_uint32(char *buffer, void (*handler_callback)(UINT32)) in bta_hf_client_parse_uint32()
651 static char *bta_hf_client_parse_brsf(char *buffer) in bta_hf_client_parse_brsf()
658 static char *bta_hf_client_parse_cind_values(char *buffer) in bta_hf_client_parse_cind_values()
693 static char *bta_hf_client_parse_cind_list(char *buffer) in bta_hf_client_parse_cind_list()
730 static char *bta_hf_client_parse_cind(char *buffer) in bta_hf_client_parse_cind()
740 static char *bta_hf_client_parse_chld(char *buffer) in bta_hf_client_parse_chld()
813 static char *bta_hf_client_parse_ciev(char *buffer) in bta_hf_client_parse_ciev()
[all …]
/system/core/logcat/tests/
Dlogcat_test.cpp55 char buffer[5120]; in TEST() local
103 char buffer[5120]; in TEST() local
119 char *fgetLongTime(char *buffer, size_t buflen, FILE *fp) { in fgetLongTime()
166 char buffer[5120]; in TEST() local
190 char buffer[5120]; in TEST() local
210 char buffer[5120]; in do_tail() local
253 char buffer[5120]; in TEST() local
316 char buffer[5120]; in TEST() local
348 char buffer[5120]; in TEST() local
437 char buffer[5120]; in TEST() local
[all …]
Dlogcat_benchmark.cpp43 void init(const char *buffer) in TEST()
52 timestamp(const char *buffer) in TEST()
80 char buffer[5120]; in TEST() local
/system/core/fastboot/
Dtcp.cpp41 static uint64_t ExtractMessageLength(const void* buffer) { in ExtractMessageLength()
50 static void EncodeMessageLength(uint64_t length, void* buffer) { in EncodeMessageLength()
102 char buffer[kHandshakeLength + 1]; in InitializeProtocol() local
134 char buffer[8]; in Read() local
Dtcp_test.cpp116 std::string buffer(message.length(), '\0'); in Read() local
201 char buffer[16]; in TEST_F() local
209 char buffer[16]; in TEST_F() local
224 char buffer[16]; in TEST_F() local
/system/netd/tests/
Ddns_responder.cpp47 std::string str2hex(const char* buffer, size_t len) { in str2hex()
156 const char* DNSName::read(const char* buffer, const char* buffer_end) { in read()
169 char* DNSName::write(char* buffer, const char* buffer_end) const { in write()
199 const char* DNSName::parseField(const char* buffer, const char* buffer_end, in parseField()
238 const char* DNSQuestion::read(const char* buffer, const char* buffer_end) { in read()
253 char* DNSQuestion::write(char* buffer, const char* buffer_end) const { in write()
267 char buffer[4096]; in toString() local
296 const char* DNSRecord::read(const char* buffer, const char* buffer_end) { in read()
316 char* DNSRecord::write(char* buffer, const char* buffer_end) const { in write()
329 char buffer[4096]; in toString() local
[all …]
/system/core/libcutils/
Duevent.c32 ssize_t uevent_kernel_multicast_recv(int socket, void *buffer, size_t length) in uevent_kernel_multicast_recv()
47 ssize_t uevent_kernel_multicast_uid_recv(int socket, void *buffer, size_t length, uid_t *uid) in uevent_kernel_multicast_uid_recv()
52 ssize_t uevent_kernel_recv(int socket, void *buffer, size_t length, bool require_group, uid_t *uid) in uevent_kernel_recv()
/system/vold/
DDevmapper.cpp43 char *buffer = (char *) malloc(1024 * 64); in dumpState() local
134 char *buffer = (char *) malloc(DEVMAPPER_BUFFER_SIZE); in lookupActive() local
168 char *buffer = (char *) malloc(DEVMAPPER_BUFFER_SIZE); in create() local
265 char *buffer = (char *) malloc(DEVMAPPER_BUFFER_SIZE); in destroy() local
/system/tpm/trunks/
Dtpm_generated.cc269 TPM_RC Serialize_uint8_t(const uint8_t& value, std::string* buffer) { in Serialize_uint8_t()
291 std::string* buffer, in Parse_uint8_t()
319 TPM_RC Serialize_int8_t(const int8_t& value, std::string* buffer) { in Serialize_int8_t()
341 std::string* buffer, in Parse_int8_t()
369 TPM_RC Serialize_int(const int& value, std::string* buffer) { in Serialize_int()
391 std::string* buffer, in Parse_int()
419 TPM_RC Serialize_uint16_t(const uint16_t& value, std::string* buffer) { in Serialize_uint16_t()
441 std::string* buffer, in Parse_uint16_t()
469 TPM_RC Serialize_int16_t(const int16_t& value, std::string* buffer) { in Serialize_int16_t()
491 std::string* buffer, in Parse_int16_t()
[all …]
/system/core/adb/
Dfile_sync_service.cpp150 gid_t gid, mode_t mode, std::vector<char>& buffer, bool do_unlink) { in handle_send_file()
259 static bool handle_send_link(int s, const std::string& path, std::vector<char>& buffer) { in handle_send_link()
306 static bool do_send(int s, const std::string& spec, std::vector<char>& buffer) { in do_send()
350 static bool do_recv(int s, const char* path, std::vector<char>& buffer) { in do_recv()
383 static bool handle_sync_command(int fd, std::vector<char>& buffer) { in handle_sync_command()
431 std::vector<char> buffer(SYNC_DATA_MAX); in file_sync_service() local
/system/media/audio_utils/
Dfifo.c28 void *buffer) in audio_utils_fifo_init()
82 ssize_t audio_utils_fifo_write(struct audio_utils_fifo *fifo, const void *buffer, size_t count) in audio_utils_fifo_write()
109 ssize_t audio_utils_fifo_read(struct audio_utils_fifo *fifo, void *buffer, size_t count) in audio_utils_fifo_read()
Decho_reference.c49 void *buffer; // main buffer member
71 struct resampler_buffer* buffer) in echo_reference_get_next_buffer()
98 struct resampler_buffer* buffer) in echo_reference_release_buffer()
134 struct echo_reference_buffer *buffer) in echo_reference_write()
296 struct echo_reference_buffer *buffer) in echo_reference_read()
/system/media/audio_utils/spdif/
DSPDIFEncoder.cpp104 void SPDIFEncoder::writeBurstBufferShorts(const uint16_t *buffer, size_t numShorts) in writeBurstBufferShorts()
127 void SPDIFEncoder::writeBurstBufferBytes(const uint8_t *buffer, size_t numBytes) in writeBurstBufferBytes()
228 ssize_t SPDIFEncoder::write( const void *buffer, size_t numBytes ) in write()
/system/core/logd/
DLogBufferElement.cpp66 char buffer[256]; in tidToName() local
109 size_t LogBufferElement::populateDroppedMessage(char *&buffer, in populateDroppedMessage()
222 char *buffer = NULL; in flushTo() local
/system/bt/osi/src/
Dbuffer.c39 buffer_t *buffer = osi_calloc(sizeof(buffer_t) + size); in buffer_new() local
69 void buffer_free(buffer_t *buffer) { in buffer_free()
/system/extras/tests/sdcard/
Dtestcase.cpp98 char buffer[32000] = {0,}; in runTest() local
131 char buffer[32000] = {0,}; in runTest() local
/system/core/liblog/
Dlogd_writer.c171 android_log_event_int_t buffer; in logdWrite() local
191 android_log_event_int_t buffer; in logdWrite() local
/system/core/libziparchive/
Dzip_writer_test.cc66 char buffer[6]; in TEST_F() local
97 char buffer[4]; in TEST_F() local
269 char buffer[5]; in TEST_F() local
284 std::vector<uint8_t> buffer(kBufSize); in TEST_F() local

1234567