Home
last modified time | relevance | path

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

1234567891011

/PHP-5.5/ext/fileinfo/libmagic/
H A Dencoding.c68 file_encoding(struct magic_set *ms, const unsigned char *buf, size_t nbytes, unichar **ubuf, size_t… in file_encoding()
221 looks_ascii(const unsigned char *buf, size_t nbytes, unichar *ubuf, in looks_ascii()
241 looks_latin1(const unsigned char *buf, size_t nbytes, unichar *ubuf, size_t *ulen) in looks_latin1()
260 looks_extended(const unsigned char *buf, size_t nbytes, unichar *ubuf, in looks_extended()
291 file_looks_utf8(const unsigned char *buf, size_t nbytes, unichar *ubuf, size_t *ulen) in file_looks_utf8()
362 looks_utf8_with_BOM(const unsigned char *buf, size_t nbytes, unichar *ubuf, in looks_utf8_with_BOM()
372 looks_ucs16(const unsigned char *buf, size_t nbytes, unichar *ubuf, in looks_ucs16()
493 from_ebcdic(const unsigned char *buf, size_t nbytes, unsigned char *out) in from_ebcdic()
H A Dascmagic.c62 trim_nuls(const unsigned char *buf, size_t nbytes) in trim_nuls()
71 file_ascmagic(struct magic_set *ms, const unsigned char *buf, size_t nbytes, in file_ascmagic()
101 file_ascmagic_with_encoding(struct magic_set *ms, const unsigned char *buf, in file_ascmagic_with_encoding()
311 encode_utf8(unsigned char *buf, size_t len, unichar *ubuf, size_t ulen) in encode_utf8()
H A Dis_tar.c63 file_is_tar(struct magic_set *ms, const unsigned char *buf, size_t nbytes) in file_is_tar()
93 is_tar(const unsigned char *buf, size_t nbytes) in is_tar()
H A Dcompress.c103 const unsigned char *buf, size_t nbytes) in file_zmagic()
154 swrite(int fd, const void *buf, size_t n) in swrite()
179 sread(int fd, void *buf, size_t n, int canbepipe) in sread()
247 char buf[4096]; in file_pipe2file() local
H A Dcdf.c204 cdf_unpack_header(cdf_header_t *h, char *buf) in cdf_unpack_header()
254 cdf_unpack_dir(cdf_directory_t *d, char *buf) in cdf_unpack_dir()
294 cdf_read(const cdf_info_t *info, off_t off, void *buf, size_t len) in cdf_read()
323 char buf[512]; in cdf_read_header() local
364 cdf_read_short_sector(const cdf_stream_t *sst, void *buf, size_t offs, in cdf_read_short_sector()
602 char *buf; in cdf_read_dir() local
986 cdf_print_classid(char *buf, size_t buflen, const cdf_classid_t *id) in cdf_print_classid()
1022 cdf_print_property_name(char *buf, size_t bufsiz, uint32_t p) in cdf_print_property_name()
1033 cdf_print_elapsed_time(char *buf, size_t bufsiz, cdf_timestamp_t ts) in cdf_print_elapsed_time()
1207 char buf[64]; local
[all …]
/PHP-5.5/Zend/
H A Dzend_stream.c53 static size_t zend_stream_stdio_reader(void *handle, char *buf, size_t len TSRMLS_DC) /* {{{ */ in zend_stream_stdio_reader()
67 struct stat buf; in zend_stream_stdio_fsizer() local
109 struct stat buf; in zend_stream_fsize() local
146 char buf; in zend_stream_getc() local
154 static size_t zend_stream_read(zend_file_handle *file_handle, char *buf, size_t len TSRMLS_DC) /* {…
181 ZEND_API int zend_stream_fixup(zend_file_handle *file_handle, char **buf, size_t *len TSRMLS_DC) /*…
/PHP-5.5/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-5.5/ext/standard/
H A Dvar.c335 #define buffer_append_spaces(buf, num_spaces) \ argument
347 smart_str *buf; in php_array_element_export() local
384 smart_str *buf; in php_object_element_export() local
511 smart_str buf = {0}; in php_var_export() local
526 smart_str buf = {0}; in PHP_FUNCTION() local
585 static inline void php_var_serialize_long(smart_str *buf, long val) /* {{{ */ in php_var_serialize_long()
593 static inline void php_var_serialize_string(smart_str *buf, char *str, int len) /* {{{ */ in php_var_serialize_string()
603 static inline zend_bool php_var_serialize_class_name(smart_str *buf, zval *struc TSRMLS_DC) /* {{{ … in php_var_serialize_class_name()
709 static void php_var_serialize_intern(smart_str *buf, zval *struc, HashTable *var_hash TSRMLS_DC) /*… in php_var_serialize_intern()
919 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 TSRMLS_DC) … in php_stream_output_write()
41 static size_t php_stream_output_read(php_stream *stream, char *buf, size_t count TSRMLS_DC) /* {{{ … in php_stream_output_read()
66 static size_t php_stream_input_write(php_stream *stream, const char *buf, size_t count TSRMLS_DC) /… in php_stream_input_write()
72 static size_t php_stream_input_read(php_stream *stream, char *buf, size_t count TSRMLS_DC) /* {{{ */ in php_stream_input_read()
/PHP-5.5/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 TSRMLS_DC) 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 TSRMLS_DC) { in cdb_make_write()
106 char buf[8]; in cdb_make_addbegin() local
140 char buf[8]; in cdb_make_finish() local
/PHP-5.5/main/
H A Dreentrancy.c61 PHPAPI char *php_ctime_r(const time_t *clock, char *buf) in php_ctime_r()
68 PHPAPI char *php_asctime_r(const struct tm *tm, char *buf) in php_asctime_r()
91 PHPAPI char *php_ctime_r(const time_t *clock, char *buf) in php_ctime_r()
98 PHPAPI char *php_asctime_r(const struct tm *tm, char *buf) in php_asctime_r()
197 PHPAPI char *php_ctime_r(const time_t *clock, char *buf) in php_ctime_r()
215 PHPAPI char *php_asctime_r(const struct tm *tm, char *buf) in php_asctime_r()
H A Dsnprintf.c142 PHPAPI char *php_gcvt(double value, int ndigit, char dec_point, char exponent, char *buf) /* {{{ */ in php_gcvt()
378 boolean_e add_dp, int precision, char dec_point, bool_int * is_negative, char *buf, int *len) in php_conv_fp()
1209 static void strx_printv(int *ccp, char *buf, size_t len, const char *format, va_list ap) /* {{{ */ in strx_printv()
1240 PHPAPI int ap_php_slprintf(char *buf, size_t len, const char *format,...) /* {{{ */ in ap_php_slprintf()
1256 PHPAPI int ap_php_vslprintf(char *buf, size_t len, const char *format, va_list ap) /* {{{ */ in ap_php_vslprintf()
1269 PHPAPI int ap_php_snprintf(char *buf, size_t len, const char *format,...) /* {{{ */ in ap_php_snprintf()
1281 PHPAPI int ap_php_vsnprintf(char *buf, size_t len, const char *format, va_list ap) /* {{{ */ in ap_php_vsnprintf()
1290 PHPAPI int ap_php_vasprintf(char **buf, const char *format, va_list ap) /* {{{ */ in ap_php_vasprintf()
1314 PHPAPI int ap_php_asprintf(char **buf, const char *format, ...) /* {{{ */ in ap_php_asprintf()
/PHP-5.5/ext/json/
H A Djson.c209 static inline void json_pretty_print_char(smart_str *buf, int options, char c TSRMLS_DC) /* {{{ */ in json_pretty_print_char()
217 static inline void json_pretty_print_indent(smart_str *buf, int options TSRMLS_DC) /* {{{ */ in json_pretty_print_indent()
231 static void json_encode_array(smart_str *buf, zval **val, int options TSRMLS_DC) /* {{{ */ in json_encode_array()
401 static void json_escape_string(smart_str *buf, char *s, int len, int options TSRMLS_DC) /* {{{ */ in json_escape_string()
555 static void json_encode_serializable_object(smart_str *buf, zval *val, int options TSRMLS_DC) /* {{… in json_encode_serializable_object()
601 PHP_JSON_API void php_json_encode(smart_str *buf, zval *val, int options TSRMLS_DC) /* {{{ */ in php_json_encode()
776 smart_str buf = {0}; in PHP_FUNCTION() local
/PHP-5.5/ext/dba/
H A Ddba_cdb.c140 # define php_cdb_read(cdb, buf, len, pos) cdb_read(cdb, buf, len, pos TSRMLS_CC) argument
144 # define php_cdb_read(cdb, buf, len, pos) cdb_read(cdb, buf, len, pos) argument
215 # define cdb_file_read(fildes, buf, size) php_stream_read(fildes, buf, size) argument
217 # define cdb_file_read(fildes, buf, size) read(fildes, buf, size) argument
249 char buf[8]; in DBA_FIRSTKEY_FUNC() local
290 char buf[8]; in DBA_NEXTKEY_FUNC() local
/PHP-5.5/ext/com_dotnet/
H A Dcom_dotnet.c205 char buf[1024]; in PHP_FUNCTION() local
220 char buf[1024]; in PHP_FUNCTION() local
233 char buf[1024]; in PHP_FUNCTION() local
310 char buf[1024]; in PHP_FUNCTION() local
/PHP-5.5/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
122 int gdPutBuf (const void *buf, int size, gdIOCtx * ctx) in gdPutBuf()
129 int gdGetBuf (void *buf, int size, gdIOCtx * ctx) in gdGetBuf()
/PHP-5.5/ext/session/
H A Dmod_files.c74 static char *ps_files_path_create(char *buf, size_t buflen, ps_files *data, const char *key) in ps_files_path_create()
123 char buf[MAXPATHLEN]; in ps_files_open() local
192 char buf[MAXPATHLEN]; in ps_files_cleanup_dir() local
241 char buf[MAXPATHLEN]; in ps_files_key_exists() local
438 char buf[MAXPATHLEN]; in PS_DESTROY_FUNC() local
/PHP-5.5/win32/
H A Dwinutil.c27 char *buf = NULL; in php_win32_error_to_msg() local
80 PHPAPI int php_win32_get_random_bytes(unsigned char *buf, size_t size) { /* {{{ */ in php_win32_get_random_bytes()
/PHP-5.5/ext/pdo_odbc/
H A Dodbc_stmt.c60 static int pdo_odbc_utf82ucs2(pdo_stmt_t *stmt, int is_unicode, const char *buf, in pdo_odbc_utf82ucs2()
95 static int pdo_odbc_ucs22utf8(pdo_stmt_t *stmt, int is_unicode, const char *buf, in pdo_odbc_ucs22utf8()
166 char *buf = NULL; in odbc_stmt_execute() local
624 char *buf; in odbc_stmt_get_col() local
777 char buf[256]; in odbc_stmt_get_attr() local
/PHP-5.5/ext/xmlrpc/libxmlrpc/
H A Dxml_to_soap.c92 char buf[128], *p; in parse_array_type_info() local
365 struct buffer_st buf; in xml_element_to_SOAP_REQUEST_worker() local
439 char buf[BUF_SIZE]; in SOAP_to_xml_element_worker() local
530 struct buffer_st buf; in SOAP_to_xml_element_worker() local
630 char buf[128]; in SOAP_REQUEST_to_xml_element() local
H A Dxml_to_dandarpc.c106 struct buffer_st buf; in xml_element_to_DANDARPC_REQUEST_worker() local
175 char buf[BUF_SIZE]; in DANDARPC_to_xml_element_worker() local
228 struct buffer_st buf; in DANDARPC_to_xml_element_worker() local
/PHP-5.5/ext/zip/lib/
H A Dzip_source_buffer.c42 const char *buf, *data, *end; member
89 char *buf; in read_data() local
/PHP-5.5/ext/filter/
H A Dsanitizing_filters.c112 unsigned char *buf, *str; in php_filter_strip() local
158 unsigned char *buf, *str; in filter_map_apply() local
252 char *buf; in php_filter_full_special_chars() local
370 char *buf; in php_filter_magic_quotes() local

Completed in 74 milliseconds

1234567891011