Home
last modified time | relevance | path

Searched defs:buf (Results 1 – 25 of 269) sorted by relevance

1234567891011

/PHP-7.3/ext/fileinfo/libmagic/
H A Dencoding.c72 const unsigned char *buf = b->fbuf; in file_encoding() local
243 looks_ascii(const unsigned char *buf, size_t nbytes, unichar *ubuf, in looks_ascii()
263 looks_latin1(const unsigned char *buf, size_t nbytes, unichar *ubuf, size_t *ulen) in looks_latin1()
282 looks_extended(const unsigned char *buf, size_t nbytes, unichar *ubuf, in looks_extended()
313 file_looks_utf8(const unsigned char *buf, size_t nbytes, unichar *ubuf, size_t *ulen) in file_looks_utf8()
384 looks_utf8_with_BOM(const unsigned char *buf, size_t nbytes, unichar *ubuf, in looks_utf8_with_BOM()
394 looks_utf7(const unsigned char *buf, size_t nbytes, unichar *ubuf, size_t *ulen) in looks_utf7()
413 looks_ucs16(const unsigned char *buf, size_t nbytes, unichar *ubuf, in looks_ucs16()
534 from_ebcdic(const unsigned char *buf, size_t nbytes, unsigned char *out) in from_ebcdic()
H A Dcompress.c146 const unsigned char *buf, size_t nbytes) in file_zmagic()
247 swrite(int fd, const void *buf, size_t n) in swrite()
272 sread(int fd, void *buf, size_t n, int canbepipe) in sread()
340 char buf[4096]; in file_pipe2file() local
492 makeerror(unsigned char **buf, size_t *len, const char *fmt, ...) in makeerror()
580 char *buf; in filter_error() local
H A Dascmagic.c62 trim_nuls(const unsigned char *buf, size_t nbytes) in trim_nuls()
104 const unsigned char *buf = b->fbuf; in file_ascmagic_with_encoding() local
319 encode_utf8(unsigned char *buf, size_t len, unichar *ubuf, size_t ulen) in encode_utf8()
H A Dis_tar.c65 const unsigned char *buf = b->fbuf; in file_is_tar() local
95 is_tar(const unsigned char *buf, size_t nbytes) in is_tar()
/PHP-7.3/Zend/
H A Dzend_stream.c49 static size_t zend_stream_stdio_reader(void *handle, char *buf, size_t len) /* {{{ */ in zend_stream_stdio_reader()
63 zend_stat_t buf; in zend_stream_stdio_fsizer() local
105 zend_stat_t buf; in zend_stream_fsize() local
142 char buf; in zend_stream_getc() local
150 static size_t zend_stream_read(zend_file_handle *file_handle, char *buf, size_t len) /* {{{ */ in zend_stream_read()
168 ZEND_API int zend_stream_fixup(zend_file_handle *file_handle, char **buf, size_t *len) /* {{{ */ in zend_stream_fixup()
/PHP-7.3/ext/opcache/
H A Dzend_file_cache.c270 void *buf,
298 void *buf)
331 void *buf)
543 void *buf)
604 void *buf)
718 void *buf)
824 void *mem, *buf; local
918 void *buf,
950 void *buf)
1335 void *buf)
[all …]
/PHP-7.3/ext/json/
H A Djson_encoder.c72 static inline void php_json_pretty_print_char(smart_str *buf, int options, char c) /* {{{ */ in php_json_pretty_print_char()
80 static inline void php_json_pretty_print_indent(smart_str *buf, int options, php_json_encoder *enco… in php_json_pretty_print_indent()
100 static inline void php_json_encode_double(smart_str *buf, double d, int options) /* {{{ */ in php_json_encode_double()
130 static int php_json_encode_array(smart_str *buf, zval *val, int options, php_json_encoder *encoder)… in php_json_encode_array()
253 smart_str *buf, const char *s, size_t len, in php_json_escape_string()
471 static int php_json_encode_serializable_object(smart_str *buf, zval *val, int options, php_json_enc… in php_json_encode_serializable_object()
533 int php_json_encode_zval(smart_str *buf, zval *val, int options, php_json_encoder *encoder) /* {{{ … in php_json_encode_zval()
H A Djson.c194 PHP_JSON_API int php_json_encode_ex(smart_str *buf, zval *val, int options, zend_long depth) /* {{{… in php_json_encode_ex()
209 PHP_JSON_API int php_json_encode(smart_str *buf, zval *val, int options) /* {{{ */ in php_json_encode()
273 smart_str buf = {0}; in PHP_FUNCTION() local
/PHP-7.3/ext/filter/
H A Dsanitizing_filters.c114 zend_string *buf; in php_filter_strip() local
129 ZSTR_VAL(buf)[c] = str[i]; in php_filter_strip() local
134 ZSTR_VAL(buf)[c] = '\0'; in php_filter_strip() local
161 zend_string *buf; in filter_map_apply() local
168 ZSTR_VAL(buf)[c] = str[i]; in filter_map_apply() local
173 ZSTR_VAL(buf)[c] = '\0'; in filter_map_apply() local
258 zend_string *buf; in php_filter_full_special_chars() local
374 zend_string *buf; in php_filter_add_slashes() local
/PHP-7.3/ext/dba/libflatfile/
H A Dflatfile.c88 char buf[16]; in flatfile_fetch() local
110 char *buf = emalloc(buf_size); in flatfile_delete() local
160 char *buf = emalloc(buf_size); in flatfile_findkey() local
205 char *buf = emalloc(buf_size); in flatfile_firstkey() local
248 char *buf = emalloc(buf_size); in flatfile_nextkey() local
/PHP-7.3/ext/session/
H A Dmod_files.c109 static char *ps_files_path_create(char *buf, size_t buflen, ps_files *data, const char *key) in ps_files_path_create()
158 char buf[MAXPATHLEN]; in ps_files_open() local
255 char *buf = ZSTR_VAL(val); in ps_files_write() local
290 char buf[MAXPATHLEN]; in ps_files_cleanup_dir() local
345 char buf[MAXPATHLEN]; in ps_files_key_exists() local
507 char *buf = ZSTR_VAL(*val); in PS_READ_FUNC() local
573 char buf[MAXPATHLEN]; in PS_UPDATE_TIMESTAMP_FUNC() local
611 char buf[MAXPATHLEN]; in PS_DESTROY_FUNC() local
/PHP-7.3/ext/standard/
H A Dvar.c386 #define buffer_append_spaces(buf, num_spaces) \ argument
448 PHPAPI void php_var_export_ex(zval *struc, int level, smart_str *buf) /* {{{ */ in php_var_export_ex()
586 smart_str buf = {0}; in php_var_export() local
600 smart_str buf = {0}; in PHP_FUNCTION() local
668 static inline void php_var_serialize_long(smart_str *buf, zend_long val) /* {{{ */ in php_var_serialize_long()
676 static inline void php_var_serialize_string(smart_str *buf, char *str, size_t len) /* {{{ */ in php_var_serialize_string()
686 static inline zend_bool php_var_serialize_class_name(smart_str *buf, zval *struc) /* {{{ */ in php_var_serialize_class_name()
835 static void php_var_serialize_intern(smart_str *buf, zval *struc, php_serialize_data_t var_hash) /*… in php_var_serialize_intern()
1021 PHPAPI void php_var_serialize(smart_str *buf, zval *struc, php_serialize_data_t *data) /* {{{ */ in php_var_serialize()
1063 smart_str buf = {0}; in PHP_FUNCTION() local
[all …]
H A Dphp_fopen_wrapper.c34 static size_t php_stream_output_write(php_stream *stream, const char *buf, size_t count) /* {{{ */ in php_stream_output_write()
41 static size_t php_stream_output_read(php_stream *stream, char *buf, size_t count) /* {{{ */ in php_stream_output_read()
72 static size_t php_stream_input_write(php_stream *stream, const char *buf, size_t count) /* {{{ */ in php_stream_input_write()
78 static size_t php_stream_input_read(php_stream *stream, char *buf, size_t count) /* {{{ */ in php_stream_input_read()
/PHP-7.3/ext/dba/libcdb/
H A Dcdb.c48 char buf[32]; in cdb_match() local
68 uint32 cdb_hash(char *buf, unsigned int len) in cdb_hash()
104 int cdb_read(struct cdb *c, char *buf, unsigned int len, uint32 pos) in cdb_read()
131 char buf[8]; in cdb_findnext() local
H A Dcdb_make.c41 static int cdb_make_write(struct cdb_make *c, char *buf, uint32 sz) { in cdb_make_write()
106 char buf[8]; in cdb_make_addbegin() local
140 char buf[8]; in cdb_make_finish() local
/PHP-7.3/main/
H A Dreentrancy.c59 PHPAPI char *php_ctime_r(const time_t *clock, char *buf) in php_ctime_r()
66 PHPAPI char *php_asctime_r(const struct tm *tm, char *buf) in php_asctime_r()
89 PHPAPI char *php_ctime_r(const time_t *clock, char *buf) in php_ctime_r()
96 PHPAPI char *php_asctime_r(const struct tm *tm, char *buf) in php_asctime_r()
183 PHPAPI char *php_ctime_r(const time_t *clock, char *buf) in php_ctime_r()
204 PHPAPI char *php_asctime_r(const struct tm *tm, char *buf) in php_asctime_r()
H A Dsnprintf.c140 PHPAPI char *php_gcvt(double value, int ndigit, char dec_point, char exponent, char *buf) /* {{{ */ in php_gcvt()
380 boolean_e add_dp, int precision, char dec_point, bool_int * is_negative, char *buf, size_t *len) in php_conv_fp()
1229 static void strx_printv(int *ccp, char *buf, size_t len, const char *format, va_list ap) /* {{{ */ in strx_printv()
1260 PHPAPI int ap_php_slprintf(char *buf, size_t len, const char *format,...) /* {{{ */ in ap_php_slprintf()
1276 PHPAPI int ap_php_vslprintf(char *buf, size_t len, const char *format, va_list ap) /* {{{ */ in ap_php_vslprintf()
1289 PHPAPI int ap_php_snprintf(char *buf, size_t len, const char *format,...) /* {{{ */ in ap_php_snprintf()
1301 PHPAPI int ap_php_vsnprintf(char *buf, size_t len, const char *format, va_list ap) /* {{{ */ in ap_php_vsnprintf()
1310 PHPAPI int ap_php_vasprintf(char **buf, const char *format, va_list ap) /* {{{ */ in ap_php_vasprintf()
1334 PHPAPI int ap_php_asprintf(char **buf, const char *format, ...) /* {{{ */ in ap_php_asprintf()
/PHP-7.3/ext/dba/
H A Ddba_cdb.c138 # define php_cdb_read(cdb, buf, len, pos) cdb_read(cdb, buf, len, pos) argument
142 # define php_cdb_read(cdb, buf, len, pos) cdb_read(cdb, buf, len, pos) argument
213 # define cdb_file_read(fildes, buf, size) php_stream_read(fildes, buf, size) argument
215 # define cdb_file_read(fildes, buf, size) read(fildes, buf, size) argument
247 char buf[8]; in DBA_FIRSTKEY_FUNC() local
288 char buf[8]; in DBA_NEXTKEY_FUNC() local
/PHP-7.3/ext/com_dotnet/
H A Dcom_dotnet.c205 char buf[1024]; in PHP_FUNCTION() local
219 char buf[1024]; in PHP_FUNCTION() local
232 char buf[1024]; in PHP_FUNCTION() local
315 char buf[1024]; in PHP_FUNCTION() local
/PHP-7.3/ext/gd/libgd/
H A Dgd_io_ss.c79 static int sourceGetbuf (gdIOCtx * ctx, void *buf, int size) in sourceGetbuf()
105 unsigned char buf; in sourceGetchar() local
116 static int sinkPutbuf (gdIOCtx * ctx, const void *buf, int size) in sinkPutbuf()
H A Dgd_io.c36 unsigned char buf[2]; in Putword() local
181 int gdPutBuf (const void *buf, int size, gdIOCtx * ctx) in gdPutBuf()
188 int gdGetBuf (void *buf, int size, gdIOCtx * ctx) in gdGetBuf()
/PHP-7.3/ext/mysqlnd/
H A Dphp_mysqlnd.c60 char buf[64]; in mysqlnd_minfo_dump_plugin_stats() local
79 mysqlnd_minfo_dump_loaded_plugins(zval *el, void * buf) in mysqlnd_minfo_dump_loaded_plugins()
115 char buf[32]; in PHP_MINFO_FUNCTION() local
/PHP-7.3/sapi/fpm/fpm/
H A Dzlog.c129 static inline size_t zlog_truncate_buf(char *buf, size_t buf_size, size_t space_left) /* {{{ */ in zlog_truncate_buf()
137 int flags, char *buf, size_t buf_size, const char *fmt, va_list args) /* {{{ */ in zlog_external()
155 char *buf, size_t buf_size, int use_syslog) /* {{{ */ in zlog_buf_prefix()
195 char buf[MAX_BUF_LENGTH]; in vzlog() local
287 char *buf; in zlog_stream_buf_alloc_ex() local
320 struct zlog_stream *stream, const char *buf, size_t len, in zlog_stream_direct_write_ex()
342 struct zlog_stream *stream, const char *buf, size_t len) /* {{{ */ in zlog_stream_direct_write()
349 struct zlog_stream *stream, const char *buf, size_t len) /* {{{ */ in zlog_stream_unbuffered_write()
586 char buf[MAX_WRAPPING_PREFIX_LENGTH]; in zlog_stream_set_msg_prefix() local
/PHP-7.3/ext/xmlrpc/libxmlrpc/
H A Dxml_to_soap.c89 char buf[128], *p; in parse_array_type_info() local
362 struct buffer_st buf; in xml_element_to_SOAP_REQUEST_worker() local
436 char buf[BUF_SIZE]; in SOAP_to_xml_element_worker() local
527 struct buffer_st buf; in SOAP_to_xml_element_worker() local
627 char buf[128]; in SOAP_REQUEST_to_xml_element() local
/PHP-7.3/ext/pdo_odbc/
H A Dodbc_stmt.c58 static int pdo_odbc_utf82ucs2(pdo_stmt_t *stmt, int is_unicode, const char *buf, in pdo_odbc_utf82ucs2()
93 static int pdo_odbc_ucs22utf8(pdo_stmt_t *stmt, int is_unicode, const char *buf, in pdo_odbc_ucs22utf8()
165 char *buf = NULL; in odbc_stmt_execute() local
656 char *buf; in odbc_stmt_get_col() local
809 char buf[256]; in odbc_stmt_get_attr() local

Completed in 56 milliseconds

1234567891011