Home
last modified time | relevance | path

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

12345678910

/PHP-8.1/ext/opcache/
H A Dzend_file_cache.c299 void *buf,
327 void *buf)
360 void *buf)
627 void *buf)
692 void *buf)
896 void *buf)
983 void *mem, *buf; local
1092 void *buf,
1124 void *buf)
1673 void *buf)
[all …]
H A Dzend_accelerator_util_funcs.c297 #define ADLER32_DO1(buf) {s1 += *(buf); s2 += s1;} argument
298 #define ADLER32_DO2(buf, i) ADLER32_DO1(buf + i); ADLER32_DO1(buf + i + 1); argument
299 #define ADLER32_DO4(buf, i) ADLER32_DO2(buf, i); ADLER32_DO2(buf, i + 2); argument
300 #define ADLER32_DO8(buf, i) ADLER32_DO4(buf, i); ADLER32_DO4(buf, i + 4); argument
301 #define ADLER32_DO16(buf) ADLER32_DO8(buf, 0); ADLER32_DO8(buf, 8); argument
303 unsigned int zend_adler32(unsigned int checksum, unsigned char *buf, uint32_t len) in zend_adler32()
/PHP-8.1/ext/json/
H A Djson_encoder.c48 static inline void php_json_pretty_print_char(smart_str *buf, int options, char c) /* {{{ */ in php_json_pretty_print_char()
56 static inline void php_json_pretty_print_indent(smart_str *buf, int options, php_json_encoder *enco… in php_json_pretty_print_indent()
76 static inline void php_json_encode_double(smart_str *buf, double d, int options) /* {{{ */ in php_json_encode_double()
106 static int php_json_encode_array(smart_str *buf, zval *val, int options, php_json_encoder *encoder)… in php_json_encode_array()
312 smart_str *buf, const char *s, size_t len, in php_json_escape_string()
525 static int php_json_encode_serializable_object(smart_str *buf, zval *val, int options, php_json_enc… in php_json_encode_serializable_object()
587 static int php_json_encode_serializable_enum(smart_str *buf, zval *val, int options, php_json_encod… in php_json_encode_serializable_enum()
600 int php_json_encode_zval(smart_str *buf, zval *val, int options, php_json_encoder *encoder) /* {{{ … in php_json_encode_zval()
H A Djson.c147 smart_str buf = {0}; in php_json_encode_string() local
160 PHP_JSON_API int php_json_encode_ex(smart_str *buf, zval *val, int options, zend_long depth) /* {{{… in php_json_encode_ex()
175 PHP_JSON_API int php_json_encode(smart_str *buf, zval *val, int options) /* {{{ */ in php_json_encode()
240 smart_str buf = {0}; in PHP_FUNCTION() local
/PHP-8.1/ext/filter/
H A Dsanitizing_filters.c102 zend_string *buf; in php_filter_strip() local
117 ZSTR_VAL(buf)[c] = str[i]; in php_filter_strip() local
122 ZSTR_VAL(buf)[c] = '\0'; in php_filter_strip() local
149 zend_string *buf; in filter_map_apply() local
156 ZSTR_VAL(buf)[c] = str[i]; in filter_map_apply() local
161 ZSTR_VAL(buf)[c] = '\0'; in filter_map_apply() local
246 zend_string *buf; in php_filter_full_special_chars() local
362 zend_string *buf = php_addslashes(Z_STR_P(value)); in php_filter_add_slashes() local
/PHP-8.1/ext/dba/libflatfile/
H A Dflatfile.c84 char buf[16]; in flatfile_fetch() local
105 char *buf = emalloc(buf_size); in flatfile_delete() local
154 char *buf = emalloc(buf_size); in flatfile_findkey() local
198 char *buf = emalloc(buf_size); in flatfile_firstkey() local
240 char *buf = emalloc(buf_size); in flatfile_nextkey() local
/PHP-8.1/ext/session/
H A Dmod_files.c107 static char *ps_files_path_create(char *buf, size_t buflen, ps_files *data, const char *key) in ps_files_path_create()
156 char buf[MAXPATHLEN]; in ps_files_open() local
253 char *buf = ZSTR_VAL(val); in ps_files_write() local
287 char buf[MAXPATHLEN]; in ps_files_cleanup_dir() local
342 char buf[MAXPATHLEN]; in ps_files_key_exists() local
504 char *buf = ZSTR_VAL(*val); in PS_READ_FUNC() local
570 char buf[MAXPATHLEN]; in PS_UPDATE_TIMESTAMP_FUNC() local
601 char buf[MAXPATHLEN]; in PS_DESTROY_FUNC() local
/PHP-8.1/main/
H A Dreentrancy.c56 PHPAPI char *php_ctime_r(const time_t *clock, char *buf) in php_ctime_r()
63 PHPAPI char *php_asctime_r(const struct tm *tm, char *buf) in php_asctime_r()
86 PHPAPI char *php_ctime_r(const time_t *clock, char *buf) in php_ctime_r()
93 PHPAPI char *php_asctime_r(const struct tm *tm, char *buf) in php_asctime_r()
132 PHPAPI char *php_ctime_r(const time_t *clock, char *buf) in php_ctime_r()
153 PHPAPI char *php_asctime_r(const struct tm *tm, char *buf) in php_asctime_r()
H A Dsnprintf.c270 bool add_dp, int precision, char dec_point, bool * is_negative, char *buf, size_t *len) in php_conv_fp()
1071 static size_t strx_printv(char *buf, size_t len, const char *format, va_list ap) /* {{{ */ in strx_printv()
1100 PHPAPI int ap_php_slprintf(char *buf, size_t len, const char *format,...) /* {{{ */ in ap_php_slprintf()
1116 PHPAPI int ap_php_vslprintf(char *buf, size_t len, const char *format, va_list ap) /* {{{ */ in ap_php_vslprintf()
1127 PHPAPI int ap_php_snprintf(char *buf, size_t len, const char *format,...) /* {{{ */ in ap_php_snprintf()
1139 PHPAPI int ap_php_vsnprintf(char *buf, size_t len, const char *format, va_list ap) /* {{{ */ in ap_php_vsnprintf()
1146 PHPAPI int ap_php_vasprintf(char **buf, const char *format, va_list ap) /* {{{ */ in ap_php_vasprintf()
1170 PHPAPI int ap_php_asprintf(char **buf, const char *format, ...) /* {{{ */ in ap_php_asprintf()
/PHP-8.1/Zend/
H A Dzend_stream.c28 static ssize_t zend_stream_stdio_reader(void *handle, char *buf, size_t len) /* {{{ */ in zend_stream_stdio_reader()
42 zend_stat_t buf; in zend_stream_stdio_fsizer() local
101 char buf; in zend_stream_getc() local
109 static ssize_t zend_stream_read(zend_file_handle *file_handle, char *buf, size_t len) /* {{{ */ in zend_stream_read()
127 ZEND_API zend_result zend_stream_fixup(zend_file_handle *file_handle, char **buf, size_t *len) /* {… in zend_stream_fixup()
/PHP-8.1/ext/dba/libcdb/
H A Dcdb.c46 char buf[32]; in cdb_match() local
66 uint32 cdb_hash(char *buf, unsigned int len) in cdb_hash()
102 int cdb_read(struct cdb *c, char *buf, unsigned int len, uint32 pos) in cdb_read()
129 char buf[8]; in cdb_findnext() local
H A Dcdb_make.c39 static int cdb_make_write(struct cdb_make *c, char *buf, uint32 sz) { in cdb_make_write()
104 char buf[8]; in cdb_make_addbegin() local
138 char buf[8]; in cdb_make_finish() local
/PHP-8.1/ext/standard/
H A Dvar.c418 #define buffer_append_spaces(buf, num_spaces) \ argument
427 …y_element_export(zval *zv, zend_ulong index, zend_string *key, int level, smart_str *buf) /* {{{ */ in php_array_element_export()
480 PHPAPI void php_var_export_ex(zval *struc, int level, smart_str *buf) /* {{{ */ in php_var_export_ex()
622 smart_str buf = {0}; in php_var_export() local
635 smart_str buf = {0}; in PHP_FUNCTION() local
712 static inline void php_var_serialize_long(smart_str *buf, zend_long val) /* {{{ */ in php_var_serialize_long()
725 static inline void php_var_serialize_string(smart_str *buf, char *str, size_t len) /* {{{ */ in php_var_serialize_string()
743 static inline bool php_var_serialize_class_name(smart_str *buf, zval *struc) /* {{{ */ in php_var_serialize_class_name()
1270 PHPAPI void php_var_serialize(smart_str *buf, zval *struc, php_serialize_data_t *data) /* {{{ */ in php_var_serialize()
1311 smart_str buf = {0}; in PHP_FUNCTION() local
[all …]
H A Dphp_fopen_wrapper.c32 static ssize_t php_stream_output_write(php_stream *stream, const char *buf, size_t count) /* {{{ */ in php_stream_output_write()
39 static ssize_t php_stream_output_read(php_stream *stream, char *buf, size_t count) /* {{{ */ in php_stream_output_read()
70 static ssize_t php_stream_input_write(php_stream *stream, const char *buf, size_t count) /* {{{ */ in php_stream_input_write()
76 static ssize_t php_stream_input_read(php_stream *stream, char *buf, size_t count) /* {{{ */ in php_stream_input_read()
/PHP-8.1/ext/dba/
H A Ddba_cdb.c136 # define php_cdb_read(cdb, buf, len, pos) cdb_read(cdb, buf, len, pos) argument
140 # define php_cdb_read(cdb, buf, len, pos) cdb_read(cdb, buf, len, pos) argument
211 # define cdb_file_read(fildes, buf, size) php_stream_read(fildes, buf, size) argument
213 # define cdb_file_read(fildes, buf, size) read(fildes, buf, size) argument
245 char buf[8]; in DBA_FIRSTKEY_FUNC() local
286 char buf[8]; in DBA_NEXTKEY_FUNC() local
/PHP-8.1/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-8.1/ext/fileinfo/libmagic/
H A Dcompress.c105 zlibcmp(const unsigned char *buf) in zlibcmp()
125 lzmacmp(const unsigned char *buf) in lzmacmp()
231 format_decompression_error(struct magic_set *ms, size_t i, unsigned char *buf) in format_decompression_error()
257 const unsigned char *buf = CAST(const unsigned char *, b->fbuf); in file_zmagic() local
358 swrite(int fd, const void *buf, size_t n) in swrite()
383 sread(int fd, void *buf, size_t n, int canbepipe) in sread()
451 char buf[4096]; in file_pipe2file() local
688 makeerror(unsigned char **buf, size_t *len, const char *fmt, ...) in makeerror()
766 char *buf; in filter_error() local
H A Dencoding.c79 const unsigned char *buf = CAST(const unsigned char *, b->fbuf); in file_encoding() local
362 file_looks_utf8(const unsigned char *buf, size_t nbytes, file_unichar_t *ubuf, in file_looks_utf8()
442 looks_utf8_with_BOM(const unsigned char *buf, size_t nbytes, in looks_utf8_with_BOM()
452 looks_utf7(const unsigned char *buf, size_t nbytes, file_unichar_t *ubuf, in looks_utf7()
637 from_ebcdic(const unsigned char *buf, size_t nbytes, unsigned char *out) in from_ebcdic()
H A Dis_tar.c65 const unsigned char *buf = CAST(const unsigned char *, b->fbuf); in file_is_tar() local
99 is_tar(const unsigned char *buf, size_t nbytes) in is_tar()
H A Dascmagic.c62 trim_nuls(const unsigned char *buf, size_t nbytes) in trim_nuls()
110 const unsigned char *buf = CAST(const unsigned char *, b->fbuf); in file_ascmagic_with_encoding() local
344 encode_utf8(unsigned char *buf, size_t len, file_unichar_t *ubuf, size_t ulen) in encode_utf8()
/PHP-8.1/ext/com_dotnet/
H A Dcom_dotnet.c246 char buf[1024]; in PHP_METHOD() local
259 char buf[1024]; in PHP_METHOD() local
271 char buf[1024]; in PHP_METHOD() local
345 char buf[1024]; in PHP_METHOD() local
/PHP-8.1/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()
587 char buf[MAX_WRAPPING_PREFIX_LENGTH]; in zlog_stream_set_msg_prefix() local
/PHP-8.1/win32/
H A Dwinutil.c28 char *buf; in php_win32_error_to_msg() local
103 PHP_WINUTIL_API int php_win32_get_random_bytes(unsigned char *buf, size_t size) in php_win32_get_random_bytes()
467 char buf[MAX_PATH]; in is_compatible() local
/PHP-8.1/ext/phar/
H A Dtar.c22 static uint32_t phar_tar_number(char *buf, size_t len) /* {{{ */ in phar_tar_number()
65 static int phar_tar_octal(char *buf, uint32_t val, int len) /* {{{ */ in phar_tar_octal()
87 static uint32_t phar_tar_checksum(char *buf, size_t len) /* {{{ */ in phar_tar_checksum()
100 int phar_is_tar(char *buf, char *fname) /* {{{ */ in phar_is_tar()
212 char buf[512], *actual_alias = NULL, *p; in phar_parse_tarfile() local
971 char *buf, *signature, *tmp, sigbuf[8]; in phar_tar_flush() local

Completed in 90 milliseconds

12345678910