Searched refs:PARSE_BUF_LEN (Results 1 - 1 of 1) sorted by relevance

/hardware/libhardware/modules/soundtrigger/
H A Dsound_trigger_hw.c37 #define PARSE_BUF_LEN 1024 // Length of the parsing buffer.S macro
108 char tmp_write_buffer[PARSE_BUF_LEN];
165 int num = snprintf(tmp_write_buffer, PARSE_BUF_LEN, "Bad command received: %s", command);
166 tmp_write_buffer[PARSE_BUF_LEN - 1] = '\0'; // Just to be sure.
167 tmp_write_buffer[PARSE_BUF_LEN - 2] = '\n';
172 int num = snprintf(tmp_write_buffer, PARSE_BUF_LEN, "%s", str);
173 tmp_write_buffer[PARSE_BUF_LEN - 1] = '\0';
174 tmp_write_buffer[PARSE_BUF_LEN - 2] = '\n';
181 int num = vsnprintf(tmp_write_buffer, PARSE_BUF_LEN, format, argptr);
183 tmp_write_buffer[PARSE_BUF_LEN
[all...]

Completed in 21 milliseconds