Searched refs:PARSE_BUF_LEN (Results 1 – 1 of 1) sorted by relevance
37 #define PARSE_BUF_LEN 1024 // Length of the parsing buffer.S macro108 char tmp_write_buffer[PARSE_BUF_LEN];165 int num = snprintf(tmp_write_buffer, PARSE_BUF_LEN, "Bad command received: %s", command); in write_bad_command_error()166 tmp_write_buffer[PARSE_BUF_LEN - 1] = '\0'; // Just to be sure. in write_bad_command_error()167 tmp_write_buffer[PARSE_BUF_LEN - 2] = '\n'; in write_bad_command_error()172 int num = snprintf(tmp_write_buffer, PARSE_BUF_LEN, "%s", str); in write_string()173 tmp_write_buffer[PARSE_BUF_LEN - 1] = '\0'; in write_string()174 tmp_write_buffer[PARSE_BUF_LEN - 2] = '\n'; in write_string()181 int num = vsnprintf(tmp_write_buffer, PARSE_BUF_LEN, format, argptr); in write_vastr()183 tmp_write_buffer[PARSE_BUF_LEN - 1] = '\0'; in write_vastr()[all …]