Home
last modified time | relevance | path

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

/PHP-7.4/main/
H A Dphp_syslog.c62 smart_string sbuf = {0}; in php_syslog() local
89 syslog(priority, "%.*s", (int)sbuf.len, sbuf.c); in php_syslog()
95 smart_string_appendc(&sbuf, c); in php_syslog()
97 smart_string_appendc(&sbuf, c); in php_syslog()
99 syslog(priority, "%.*s", (int)sbuf.len, sbuf.c); in php_syslog()
100 smart_string_reset(&sbuf); in php_syslog()
102 smart_string_appendc(&sbuf, c); in php_syslog()
106 smart_string_appendl(&sbuf, "\\x", 2); in php_syslog()
107 smart_string_appendc(&sbuf, xdigits[(c / 0x10)]); in php_syslog()
109 smart_string_appendc(&sbuf, xdigits[c]); in php_syslog()
[all …]
/PHP-7.4/ext/session/
H A Dmod_files.c160 struct stat sbuf; in ps_files_open() local
206 …if (zend_fstat(data->fd, &sbuf) || (sbuf.st_uid != 0 && sbuf.st_uid != getuid() && sbuf.st_uid != … in ps_files_open()
288 zend_stat_t sbuf; in ps_files_cleanup_dir() local
328 if (VCWD_STAT(buf, &sbuf) == 0 && in ps_files_cleanup_dir()
345 zend_stat_t sbuf; in ps_files_key_exists() local
350 if (VCWD_STAT(buf, &sbuf)) { in ps_files_key_exists()
478 zend_stat_t sbuf; in PS_READ_FUNC() local
486 if (zend_fstat(data->fd, &sbuf)) { in PS_READ_FUNC()
490 data->st_size = sbuf.st_size; in PS_READ_FUNC()
492 if (sbuf.st_size == 0) { in PS_READ_FUNC()
[all …]
/PHP-7.4/sapi/fpm/fpm/
H A Dzlog.c696 char sbuf[1024]; in zlog_stream_prefix_ex() local
698 len = zlog_buf_prefix(function, line, stream->flags, sbuf, 1024, stream->use_syslog); in zlog_stream_prefix_ex()
699 written = zlog_stream_direct_write(stream, sbuf, len); in zlog_stream_prefix_ex()
714 char sbuf[1024]; in zlog_stream_vformat() local
717 len = vsnprintf(sbuf, 1024, fmt, args); in zlog_stream_vformat()
719 return zlog_stream_str(stream, sbuf, len); in zlog_stream_vformat()
/PHP-7.4/ext/fileinfo/libmagic/
H A Dsoftmagic.c556 char buf[128], tbuf[26], sbuf[512], ebuf[512]; in mprint() local
659 file_printable(sbuf, sizeof(sbuf), m->value.s, in mprint()
687 file_printable(sbuf, sizeof(sbuf), str, in mprint()
791 file_printable(sbuf, sizeof(sbuf), cp, ms->search.rm_len)); in mprint()
818 file_printable(sbuf, sizeof(sbuf), ms->ms_value.s, in mprint()
H A Dcdf.c1529 char tbuf[64], sbuf[256]; in cdf_dump_catalog() local
1536 cdf_u16tos8(sbuf, ce[i].ce_namlen, ce[i].ce_name), in cdf_dump_catalog()
/PHP-7.4/ext/snmp/
H A Dsnmp.c529 char sbuf[512]; in php_snmp_getvalue() local
530 char *buf = &(sbuf[0]); in php_snmp_getvalue()
532 int buflen = sizeof(sbuf) - 1; in php_snmp_getvalue()
/PHP-7.4/ext/fileinfo/
H A Dlibmagic.patch1334 cdf_u16tos8(sbuf, ce[i].ce_namlen, ce[i].ce_name),
3375 - file_printable(sbuf, sizeof(sbuf), cp, ms->search.rm_len));
3377 + file_printable(sbuf, sizeof(sbuf), cp, ms->search.rm_len));

Completed in 42 milliseconds