/php-src/ext/json/ |
H A D | json.c | 115 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 D | mbfilter_cjk.c | 601 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 D | mbfilter_7bit.c | 89 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 D | mbfilter_htmlent.c | 343 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 D | php_fopen_wrapper.c | 32 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 D | compress.c | 119 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 D | ascmagic.c | 62 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 D | is_tar.c | 65 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 D | cdf.c | 227 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 D | cdf_time.c | 169 cdf_ctime(const time_t *sec, char *buf) in cdf_ctime() 190 char buf[25]; in main() local
|
/php-src/win32/ |
H A D | winutil.c | 28 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 D | ioutil.c | 484 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 D | gd_io.c | 36 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 D | gd_gif_in.c | 79 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 D | gd_io_file.c | 77 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 D | tar.c | 22 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 D | zend_vm_trace_handlers.h | 31 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 D | conv.c | 16 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 D | mysqlnd_wireprotocol.c | 289 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 D | php_mysqlnd.c | 47 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 D | mysqlnd_loaddata.c | 65 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 D | mbfilter_8bit.c | 97 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 D | streams.c | 706 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 D | memory.c | 45 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 D | xp_socket.c | 57 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
|