Home
last modified time | relevance | path

Searched defs:buf (Results 26 – 50 of 266) sorted by relevance

1234567891011

/php-src/ext/json/
H A Djson.c115 smart_str buf = {0}; in php_json_encode_string() local
128 PHP_JSON_API zend_result php_json_encode_ex(smart_str *buf, zval *val, int options, zend_long depth… in php_json_encode_ex()
143 PHP_JSON_API zend_result php_json_encode(smart_str *buf, zval *val, int options) /* {{{ */ in php_json_encode()
226 smart_str buf = {0}; in PHP_FUNCTION() local
/php-src/ext/mbstring/libmbfl/filters/
H A Dmbfilter_cjk.c601 static void mb_wchar_to_iso2022jp(uint32_t *in, size_t len, mb_convert_buf *buf, bool end) in mb_wchar_to_iso2022jp()
686 static void mb_wchar_to_jis(uint32_t *in, size_t len, mb_convert_buf *buf, bool end) in mb_wchar_to_jis()
4896 static void mb_wchar_to_sjis(uint32_t *in, size_t len, mb_convert_buf *buf, bool end) in mb_wchar_to_sjis()
7611 static void mb_wchar_to_cp932(uint32_t *in, size_t len, mb_convert_buf *buf, bool end) in mb_wchar_to_cp932()
8387 static void mb_wchar_to_eucjp(uint32_t *in, size_t len, mb_convert_buf *buf, bool end) in mb_wchar_to_eucjp()
9586 static void mb_wchar_to_euccn(uint32_t *in, size_t len, mb_convert_buf *buf, bool end) in mb_wchar_to_euccn()
9881 static void mb_wchar_to_euctw(uint32_t *in, size_t len, mb_convert_buf *buf, bool end) in mb_wchar_to_euctw()
10083 static void mb_wchar_to_euckr(uint32_t *in, size_t len, mb_convert_buf *buf, bool end) in mb_wchar_to_euckr()
10283 static void mb_wchar_to_uhc(uint32_t *in, size_t len, mb_convert_buf *buf, bool end) in mb_wchar_to_uhc()
12313 static void mb_wchar_to_big5(uint32_t *in, size_t len, mb_convert_buf *buf, bool end) in mb_wchar_to_big5()
[all …]
H A Dmbfilter_7bit.c89 static size_t mb_7bit_to_wchar(unsigned char **in, size_t *in_len, uint32_t *buf, size_t bufsize, u… in mb_7bit_to_wchar()
104 static void mb_wchar_to_7bit(uint32_t *in, size_t len, mb_convert_buf *buf, bool end) in mb_wchar_to_7bit()
H A Dmbfilter_htmlent.c343 static size_t mb_htmlent_to_wchar(unsigned char **in, size_t *in_len, uint32_t *buf, size_t bufsize… in mb_htmlent_to_wchar()
433 static void mb_wchar_to_htmlent(uint32_t *in, size_t len, mb_convert_buf *buf, bool end) in mb_wchar_to_htmlent()
469 unsigned char buf[12]; in mb_wchar_to_htmlent() local
/php-src/ext/standard/
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-src/ext/fileinfo/libmagic/
H A Dcompress.c119 zlibcmp(const unsigned char *buf) in zlibcmp()
139 lzmacmp(const unsigned char *buf) in lzmacmp()
255 format_decompression_error(struct magic_set *ms, size_t i, unsigned char *buf) in format_decompression_error()
281 const unsigned char *buf = CAST(const unsigned char *, b->fbuf); in file_zmagic() local
386 swrite(int fd, const void *buf, size_t n) in swrite()
411 sread(int fd, void *buf, size_t n, int canbepipe __attribute__((__unused__))) in sread()
479 char buf[4096]; in file_pipe2file() local
838 makeerror(unsigned char **buf, size_t *len, const char *fmt, ...) in makeerror()
964 char *buf; in filter_error() local
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
338 encode_utf8(unsigned char *buf, size_t len, file_unichar_t *ubuf, size_t ulen) in encode_utf8()
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 Dcdf.c227 cdf_unpack_header(cdf_header_t *h, char *buf) in cdf_unpack_header()
278 cdf_unpack_dir(cdf_directory_t *d, char *buf) in cdf_unpack_dir()
369 char buf[512]; in cdf_read_header() local
415 cdf_read_short_sector(const cdf_stream_t *sst, void *buf, size_t offs, in cdf_read_short_sector()
678 char *buf; in cdf_read_dir() local
1227 cdf_print_classid(char *buf, size_t buflen, const cdf_classid_t *id) in cdf_print_classid()
1263 cdf_print_property_name(char *buf, size_t bufsiz, uint32_t p) in cdf_print_property_name()
1309 cdf_u16tos8(char *buf, size_t len, const uint16_t *p) in cdf_u16tos8()
1409 char buf[26]; in cdf_dump_dir() local
1459 char buf[64]; in cdf_dump_property_info() local
[all …]
H A Dcdf_time.c169 cdf_ctime(const time_t *sec, char *buf) in cdf_ctime()
190 char buf[25]; in main() local
/php-src/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
H A Dioutil.c484 PW32IO wchar_t *php_win32_ioutil_getcwd_w(wchar_t *buf, size_t len) in php_win32_ioutil_getcwd_w()
601 PW32IO php_win32_ioutil_normalization_result php_win32_ioutil_normalize_path_w(wchar_t **buf, size_… in php_win32_ioutil_normalize_path_w()
858 static int php_win32_ioutil_fstat_int(HANDLE h, php_win32_ioutil_stat_t *buf, const wchar_t *pathw,… in php_win32_ioutil_fstat_int()
972 …_win32_ioutil_stat_ex_w(const wchar_t *path, size_t path_len, php_win32_ioutil_stat_t *buf, int ls… in php_win32_ioutil_stat_ex_w()
1022 PW32IO int php_win32_ioutil_fstat(int fd, php_win32_ioutil_stat_t *buf) in php_win32_ioutil_fstat()
1027 static ssize_t php_win32_ioutil_readlink_int(HANDLE h, wchar_t *buf, size_t buf_len) in php_win32_ioutil_readlink_int()
1142 PW32IO ssize_t php_win32_ioutil_readlink_w(const wchar_t *path, wchar_t *buf, size_t buf_len) in php_win32_ioutil_readlink_w()
/php-src/ext/gd/libgd/
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()
H A Dgd_gif_in.c79 unsigned char buf[CSD_BUF_SIZE]; member
137 unsigned char buf[16]; in gdImageCreateFromGifCtx() local
306 unsigned char buf[256]; in DoExtension() local
333 GetDataBlock_(gdIOCtx *fd, unsigned char *buf, int *ZeroDataBlockP) in GetDataBlock_()
352 GetDataBlock(gdIOCtx *fd, unsigned char *buf, int *ZeroDataBlockP) in GetDataBlock()
487 unsigned char buf[260]; in LWZReadByte_() local
H A Dgd_io_file.c77 static int filePutbuf (gdIOCtx * ctx, const void *buf, int size) in filePutbuf()
86 static int fileGetbuf (gdIOCtx * ctx, void *buf, int size) in fileGetbuf()
/php-src/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()
205 char buf[512], *actual_alias = NULL, *p; in phar_parse_tarfile() local
964 char *buf, *signature, sigbuf[8]; in phar_tar_flush() local
/php-src/Zend/
H A Dzend_vm_trace_handlers.h31 char buf[256]; in zend_vm_trace() local
89 char buf[256]; in zend_vm_trace_init() local
/php-src/ext/dom/lexbor/lexbor/core/
H A Dconv.c16 lexbor_conv_float_to_data(double num, lxb_char_t *buf, size_t len) in lexbor_conv_float_to_data()
22 lexbor_conv_long_to_data(long num, lxb_char_t *buf, size_t len) in lexbor_conv_long_to_data()
28 lexbor_conv_int64_to_data(int64_t num, lxb_char_t *buf, size_t len) in lexbor_conv_int64_to_data()
/php-src/ext/mysqlnd/
H A Dmysqlnd_wireprotocol.c289 zend_uchar * const buf, const size_t buf_size, in mysqlnd_read_packet_header_and_body()
334 zend_uchar * const buf = (zend_uchar *) pfc->cmd_buffer.buffer; in php_mysqlnd_greet_read() local
643 zend_uchar * const buf = (zend_uchar *) pfc->cmd_buffer.buffer; in php_mysqlnd_auth_response_read() local
795 zend_uchar * const buf = (zend_uchar *) pfc->cmd_buffer.buffer; in php_mysqlnd_ok_read() local
889 zend_uchar * const buf = (zend_uchar *) pfc->cmd_buffer.buffer; in php_mysqlnd_eof_read() local
1017 zend_uchar * const buf = (zend_uchar *) pfc->cmd_buffer.buffer; in php_mysqlnd_rset_header_read() local
1146 zend_uchar * const buf = (zend_uchar *) pfc->cmd_buffer.buffer; in php_mysqlnd_rset_field_read() local
1365 zend_uchar *buf = NULL; in php_mysqlnd_read_row_ex() local
1723 zend_uchar *buf = (zend_uchar *) pfc->cmd_buffer.buffer; in php_mysqlnd_stats_read() local
1767 zend_uchar *buf = (zend_uchar *) pfc->cmd_buffer.buffer; in php_mysqlnd_prepare_read() local
[all …]
H A Dphp_mysqlnd.c47 mysqlnd_minfo_dump_loaded_plugins(zval *el, void * buf) in mysqlnd_minfo_dump_loaded_plugins()
82 char buf[32]; in PHP_MINFO_FUNCTION() local
H A Dmysqlnd_loaddata.c65 int mysqlnd_local_infile_read(void * ptr, zend_uchar * buf, unsigned int buf_len) in mysqlnd_local_infile_read()
142 zend_uchar *buf = NULL; in mysqlnd_handle_local_infile() local
/php-src/ext/mbstring/libmbfl/mbfl/
H A Dmbfilter_8bit.c97 static size_t mb_8bit_to_wchar(unsigned char **in, size_t *in_len, uint32_t *buf, size_t bufsize, u… in mb_8bit_to_wchar()
112 static void mb_wchar_to_8bit(uint32_t *in, size_t len, mb_convert_buf *buf, bool end) in mb_wchar_to_8bit()
/php-src/main/streams/
H A Dstreams.c706 PHPAPI ssize_t _php_stream_read(php_stream *stream, char *buf, size_t size) in _php_stream_read()
829 unsigned char buf = c; in _php_stream_putc() local
839 char buf; in _php_stream_getc() local
847 PHPAPI bool _php_stream_puts(php_stream *stream, const char *buf) in _php_stream_puts()
879 PHPAPI const char *php_stream_locate_eol(php_stream *stream, zend_string *buf) in php_stream_locate_eol()
921 PHPAPI char *_php_stream_get_line(php_stream *stream, char *buf, size_t maxlen, in _php_stream_get_line()
1151 static ssize_t _php_stream_write_buffer(php_stream *stream, const char *buf, size_t count) in _php_stream_write_buffer()
1288 PHPAPI ssize_t _php_stream_write(php_stream *stream, const char *buf, size_t count) in _php_stream_write()
1318 char *buf; in _php_stream_printf() local
1475 char buf[8192]; in _php_stream_passthru() local
[all …]
H A Dmemory.c45 static ssize_t php_stream_memory_write(php_stream *stream, const char *buf, size_t count) in php_stream_memory_write()
77 static ssize_t php_stream_memory_read(php_stream *stream, char *buf, size_t count) in php_stream_memory_read()
343 static ssize_t php_stream_temp_write(php_stream *stream, const char *buf, size_t count) in php_stream_temp_write()
374 static ssize_t php_stream_temp_read(php_stream *stream, char *buf, size_t count) in php_stream_temp_read()
575 PHPAPI php_stream *_php_stream_temp_open(int mode, size_t max_memory_usage, const char *buf, size_t… in _php_stream_temp_open()
H A Dxp_socket.c57 static ssize_t php_sockop_write(php_stream *stream, const char *buf, size_t count) in php_sockop_write()
159 static ssize_t php_sockop_read(php_stream *stream, char *buf, size_t count) in php_sockop_read()
275 static inline int sock_sendto(php_netstream_data_t *sock, const char *buf, size_t buflen, int flags, in sock_sendto()
292 static inline int sock_recvfrom(php_netstream_data_t *sock, char *buf, size_t buflen, int flags, in sock_recvfrom()
345 char buf; in php_sockop_set_option() local

Completed in 90 milliseconds

1234567891011