Home
last modified time | relevance | path

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

/PHP-7.3/main/
H A Dphp_syslog.c63 smart_string sbuf = {0}; in php_syslog() local
90 syslog(priority, "%.*s", (int)sbuf.len, sbuf.c); in php_syslog()
96 smart_string_appendc(&sbuf, c); in php_syslog()
98 smart_string_appendc(&sbuf, c); in php_syslog()
100 syslog(priority, "%.*s", (int)sbuf.len, sbuf.c); in php_syslog()
101 smart_string_reset(&sbuf); in php_syslog()
103 smart_string_appendc(&sbuf, c); in php_syslog()
107 smart_string_appendl(&sbuf, "\\x", 2); in php_syslog()
108 smart_string_appendc(&sbuf, xdigits[(c / 0x10)]); in php_syslog()
110 smart_string_appendc(&sbuf, xdigits[c]); in php_syslog()
[all …]
/PHP-7.3/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()
289 zend_stat_t sbuf; in ps_files_cleanup_dir() local
329 if (VCWD_STAT(buf, &sbuf) == 0 && in ps_files_cleanup_dir()
346 zend_stat_t sbuf; in ps_files_key_exists() local
351 if (VCWD_STAT(buf, &sbuf)) { in ps_files_key_exists()
479 zend_stat_t sbuf; in PS_READ_FUNC() local
487 if (zend_fstat(data->fd, &sbuf)) { in PS_READ_FUNC()
491 data->st_size = sbuf.st_size; in PS_READ_FUNC()
493 if (sbuf.st_size == 0) { in PS_READ_FUNC()
[all …]
/PHP-7.3/ext/zip/lib/
H A Dmkstemp.c69 struct stat sbuf; in _zip_mkstemp()
119 if (stat(path, &sbuf)) in _zip_mkstemp()
121 if (!S_ISDIR(sbuf.st_mode)) { in _zip_mkstemp()
/PHP-7.3/sapi/fpm/fpm/
H A Dzlog.c695 char sbuf[1024]; in zlog_stream_prefix_ex() local
697 len = zlog_buf_prefix(function, line, stream->flags, sbuf, 1024, stream->use_syslog); in zlog_stream_prefix_ex()
698 written = zlog_stream_direct_write(stream, sbuf, len); in zlog_stream_prefix_ex()
713 char sbuf[1024]; in zlog_stream_vformat() local
716 len = vsnprintf(sbuf, 1024, fmt, args); in zlog_stream_vformat()
718 return zlog_stream_str(stream, sbuf, len); in zlog_stream_vformat()
/PHP-7.3/ext/fileinfo/libmagic/
H A Dsoftmagic.c509 char buf[128], tbuf[26], sbuf[512], ebuf[512]; in mprint() local
610 file_printable(sbuf, sizeof(sbuf), m->value.s)) in mprint()
638 file_printable(sbuf, sizeof(sbuf), str)) == -1) in mprint()
740 file_printable(sbuf, sizeof(sbuf), cp)); in mprint()
767 file_printable(sbuf, sizeof(sbuf), ms->ms_value.s)) == -1) in mprint()
H A Dcdf.c1522 char tbuf[64], sbuf[256]; in cdf_dump_catalog() local
1529 cdf_u16tos8(sbuf, ce[i].ce_namlen, ce[i].ce_name), in cdf_dump_catalog()
/PHP-7.3/ext/mbstring/oniguruma/src/
H A Dregcomp.c4103 UChar *sbuf, *ebuf, *sp; in conv_string_case_fold() local
4108 sbuf = (UChar* )xmalloc(sbuf_size); in conv_string_case_fold()
4109 CHECK_NULL_RETURN_MEMERR(sbuf); in conv_string_case_fold()
4110 ebuf = sbuf + sbuf_size; in conv_string_case_fold()
4113 sp = sbuf; in conv_string_case_fold()
4119 sbuf = (UChar* )xrealloc(sbuf, sbuf_size * 2); in conv_string_case_fold()
4120 CHECK_NULL_RETURN_MEMERR(sbuf); in conv_string_case_fold()
4121 sp = sbuf + sbuf_size; in conv_string_case_fold()
4123 ebuf = sbuf + sbuf_size; in conv_string_case_fold()
4131 *rs = sbuf; in conv_string_case_fold()
/PHP-7.3/ext/snmp/
H A Dsnmp.c533 char sbuf[512]; in php_snmp_getvalue() local
534 char *buf = &(sbuf[0]); in php_snmp_getvalue()
536 int buflen = sizeof(sbuf) - 1; in php_snmp_getvalue()
/PHP-7.3/ext/fileinfo/
H A Dlibmagic.patch1634 cdf_u16tos8(sbuf, ce[i].ce_namlen, ce[i].ce_name),
4022 file_printable(sbuf, sizeof(sbuf), cp));

Completed in 83 milliseconds