/php-src/main/ |
H A D | php_syslog.c | 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() [all …]
|
/php-src/ext/session/ |
H A D | mod_files.c | 156 struct stat sbuf = {0}; in ps_files_open() local 202 …if (zend_fstat(data->fd, &sbuf) || (sbuf.st_uid != 0 && sbuf.st_uid != getuid() && sbuf.st_uid != … in ps_files_open() 284 zend_stat_t sbuf = {0}; in ps_files_cleanup_dir() local 321 if (VCWD_STAT(buf, &sbuf) == 0 && in ps_files_cleanup_dir() 338 zend_stat_t sbuf = {0}; in ps_files_key_exists() local 343 if (VCWD_STAT(buf, &sbuf)) { in ps_files_key_exists() 470 zend_stat_t sbuf = {0}; in PS_READ_FUNC() local 478 if (zend_fstat(data->fd, &sbuf)) { in PS_READ_FUNC() 482 data->st_size = sbuf.st_size; in PS_READ_FUNC() 484 if (sbuf.st_size == 0) { in PS_READ_FUNC() [all …]
|
/php-src/sapi/fpm/fpm/ |
H A D | zlog.c | 693 char sbuf[1024]; in zlog_stream_prefix_ex() local 695 len = zlog_buf_prefix(function, line, stream->flags, sbuf, 1024, stream->use_syslog); in zlog_stream_prefix_ex() 696 written = zlog_stream_direct_write(stream, sbuf, len); in zlog_stream_prefix_ex() 711 char sbuf[1024]; in zlog_stream_vformat() local 714 len = vsnprintf(sbuf, 1024, fmt, args); in zlog_stream_vformat() 716 return zlog_stream_str(stream, sbuf, len); in zlog_stream_vformat()
|
/php-src/ext/fileinfo/libmagic/ |
H A D | softmagic.c | 597 char buf[128], tbuf[26], sbuf[512], ebuf[512]; in mprint() local 663 file_printable(ms, sbuf, sizeof(sbuf), m->value.s, in mprint() 679 file_printable(ms, sbuf, sizeof(sbuf), str, in mprint() 787 sbuf, sizeof(sbuf), scp, ms->search.rm_len)); in mprint() 807 file_printable(ms, sbuf, sizeof(sbuf), ms->ms_value.s, in mprint()
|
H A D | apprentice.c | 2387 char sbuf[512]; in parse_strength() local 2399 file_printable(ms, sbuf, sizeof(sbuf), m->value.s, in parse_strength()
|
H A D | cdf.c | 1554 char tbuf[64], sbuf[256]; in cdf_dump_catalog() local 1561 cdf_u16tos8(sbuf, ce[i].ce_namlen, ce[i].ce_name), in cdf_dump_catalog()
|
/php-src/ext/snmp/ |
H A D | snmp.c | 243 char sbuf[512]; in php_snmp_getvalue() local 244 char *buf = &(sbuf[0]); in php_snmp_getvalue() 246 int buflen = sizeof(sbuf) - 1; in php_snmp_getvalue()
|
/php-src/ext/fileinfo/ |
H A D | libmagic.patch | 1195 cdf_u16tos8(sbuf, ce[i].ce_namlen, ce[i].ce_name), 2078 - char sbuf[512]; 2092 - file_printable(ms, sbuf, sizeof(sbuf), pat, len)); 2102 - c, file_printable(ms, sbuf, sizeof(sbuf), pat, len)); 3086 sbuf, sizeof(sbuf), scp, ms->search.rm_len));
|