Home
last modified time | relevance | path

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

/hardware/libhardware/modules/soundtrigger/
Dsound_trigger_hw.c109 char tmp_write_buffer[PARSE_BUF_LEN]; variable
166 int num = snprintf(tmp_write_buffer, PARSE_BUF_LEN, "Bad command received: %s", command); in write_bad_command_error()
167 tmp_write_buffer[PARSE_BUF_LEN - 1] = '\0'; // Just to be sure. in write_bad_command_error()
168 tmp_write_buffer[PARSE_BUF_LEN - 2] = '\n'; in write_bad_command_error()
169 write(conn_socket, tmp_write_buffer, num); in write_bad_command_error()
173 int num = snprintf(tmp_write_buffer, PARSE_BUF_LEN, "%s", str); in write_string()
174 tmp_write_buffer[PARSE_BUF_LEN - 1] = '\0'; in write_string()
175 tmp_write_buffer[PARSE_BUF_LEN - 2] = '\n'; in write_string()
176 write(conn_socket, tmp_write_buffer, num); in write_string()
182 int num = vsnprintf(tmp_write_buffer, PARSE_BUF_LEN, format, argptr); in write_vastr()
[all …]