Home
last modified time | relevance | path

Searched refs:header_len (Results 1 – 4 of 4) sorted by relevance

/system/core/libprocinfo/
Dprocess.cpp97 size_t header_len = tab - line; in GetProcessInfoFromProcPidFd() local
98 std::string header = std::string(line, header_len); in GetProcessInfoFromProcPidFd()
100 std::string name = line + header_len + 1; in GetProcessInfoFromProcPidFd()
/system/core/adb/daemon/
Djdwp_service.cpp203 static constexpr size_t header_len = 4; in jdwp_process_list_msg() local
204 if (bufferlen < header_len) { in jdwp_process_list_msg()
208 char head[header_len + 1]; in jdwp_process_list_msg()
209 size_t len = jdwp_process_list(buffer + header_len, bufferlen - header_len); in jdwp_process_list_msg()
211 memcpy(buffer, head, header_len); in jdwp_process_list_msg()
212 return len + header_len; in jdwp_process_list_msg()
/system/extras/ANRdaemon/
DANRdaemon.cpp260 ssize_t header_len = strlen(header); in dump_trace() local
273 if (write(output_fd, header, strlen(header)) != header_len) { in dump_trace()
/system/nfc/src/nfc/tags/
Drw_t2t_ndef.cc917 uint16_t header_len = (p_t2t->new_ndef_msg_len >= T2T_LONG_NDEF_MIN_LEN) in rw_t2t_read_ndef_last_block() local
927 total_ndef_bytes = header_len + p_t2t->new_ndef_msg_len; in rw_t2t_read_ndef_last_block()