Searched refs:packet_len (Results 1 – 2 of 2) sorted by relevance
165 size_t packet_len = (buffer[2] << 8) | buffer[1]; in read_ready() local166 size_t frame_len = 3 + packet_len; in read_ready()174 BT_HDR* buf = (BT_HDR*)buffer_allocator->alloc(BT_HDR_SIZE + packet_len); in read_ready()179 buf->len = packet_len; in read_ready()180 memcpy(buf->data, buffer + 3, packet_len); in read_ready()184 packet_len); in read_ready()
206 size_t length, packet_len; in __android_log_pmsg_file_write() local238 packet_len = LOGGER_ENTRY_MAX_PAYLOAD - sizeof(char) - length; in __android_log_pmsg_file_write()256 if (transfer > packet_len) { in __android_log_pmsg_file_write()257 transfer = strnrchr(buf, packet_len - 1, '\n') - buf; in __android_log_pmsg_file_write()