Lines Matching refs:sbuf
37 smart_string sbuf = {0}; in php_syslog_str() local
51 smart_string_appendc(&sbuf, c); in php_syslog_str()
53 smart_string_appendc(&sbuf, c); in php_syslog_str()
56 syslog(priority, "%.*s", (int)sbuf.len, sbuf.c); in php_syslog_str()
57 smart_string_reset(&sbuf); in php_syslog_str()
59 smart_string_appendc(&sbuf, c); in php_syslog_str()
63 smart_string_appendl(&sbuf, "\\x", 2); in php_syslog_str()
64 smart_string_appendc(&sbuf, xdigits[c >> 4]); in php_syslog_str()
65 smart_string_appendc(&sbuf, xdigits[c & 0xf]); in php_syslog_str()
70 syslog(priority, "%.*s", (int)sbuf.len, sbuf.c); in php_syslog_str()
71 smart_string_free(&sbuf); in php_syslog_str()