Home
last modified time | relevance | path

Searched refs:buf (Results 226 – 250 of 313) sorted by relevance

12345678910>>...13

/PHP-7.4/ext/hash/
H A Dhash_sha3.c158 const unsigned char* buf, in PHP_SHA3_Update() argument
171 ctx->state[ctx->pos++] ^= *(buf++); in PHP_SHA3_Update()
H A Dphp_hash.h33 typedef void (*php_hash_update_func_t)(void *context, const unsigned char *buf, size_t count);
/PHP-7.4/ext/pgsql/
H A Dphp_pgsql.h229 static ssize_t php_pgsql_fd_write(php_stream *stream, const char *buf, size_t count);
230 static ssize_t php_pgsql_fd_read(php_stream *stream, char *buf, size_t count);
/PHP-7.4/ext/soap/
H A Dphp_xml.c131 xmlDocPtr soap_xmlParseMemory(const void *buf, size_t buf_size) in soap_xmlParseMemory() argument
140 ctxt = xmlCreateMemoryParserCtxt(buf, buf_size); in soap_xmlParseMemory()
/PHP-7.4/ext/ffi/
H A Dffi.c1384 char buf[MAX_TYPE_NAME_LEN]; member
1389 buf->start -= len; in zend_ffi_ctype_name_prepend()
1390 if (buf->start < buf->buf) { in zend_ffi_ctype_name_prepend()
1400 if (buf->end + len > buf->buf + MAX_TYPE_NAME_LEN) { in zend_ffi_ctype_name_append()
1403 memcpy(buf->end, str, len); in zend_ffi_ctype_name_append()
1404 buf->end += len; in zend_ffi_ctype_name_append()
1635 buf.start = buf.end = buf.buf + ((MAX_TYPE_NAME_LEN * 3) / 4); in zend_ffi_get_class_name()
1639 zend_string *name = zend_string_alloc(ZSTR_LEN(prefix) + 1 + buf.end - buf.start, 0); in zend_ffi_get_class_name()
1642 memcpy(ZSTR_VAL(name) + ZSTR_LEN(prefix) + 1, buf.start, buf.end - buf.start); in zend_ffi_get_class_name()
3134 struct stat buf; in zend_ffi_load() local
[all …]
/PHP-7.4/sapi/fpm/fpm/
H A Dzlog.h81 struct zlog_stream_buffer buf; member
/PHP-7.4/Zend/
H A Dzend_operators.h947 static zend_always_inline char *zend_print_ulong_to_buf(char *buf, zend_ulong num) { in zend_print_ulong_to_buf() argument
948 *buf = '\0'; in zend_print_ulong_to_buf()
950 *--buf = (char) (num % 10) + '0'; in zend_print_ulong_to_buf()
953 return buf; in zend_print_ulong_to_buf()
957 static zend_always_inline char *zend_print_long_to_buf(char *buf, zend_long num) { in zend_print_long_to_buf() argument
959 char *result = zend_print_ulong_to_buf(buf, ~((zend_ulong) num) + 1); in zend_print_long_to_buf()
963 return zend_print_ulong_to_buf(buf, num); in zend_print_long_to_buf()
H A Dzend_language_scanner.l516 char *buf; in open_file_for_scanning() local
520 if (zend_stream_fixup(file_handle, &buf, &size) == FAILURE) { in open_file_for_scanning()
541 SCNG(script_org) = (unsigned char*)buf; in open_file_for_scanning()
552 buf = (char*)SCNG(script_filtered); in open_file_for_scanning()
556 SCNG(yy_start) = (unsigned char *)buf; in open_file_for_scanning()
557 yy_scan_buffer(buf, size); in open_file_for_scanning()
692 char *buf; in zend_prepare_string_for_scanning() local
705 buf = Z_STRVAL_P(str); in zend_prepare_string_for_scanning()
709 SCNG(script_org) = (unsigned char*)buf; in zend_prepare_string_for_scanning()
720 buf = (char*)SCNG(script_filtered); in zend_prepare_string_for_scanning()
[all …]
H A Dzend_interfaces.c472 ZEND_API int zend_user_unserialize(zval *object, zend_class_entry *ce, const unsigned char *buf, si… in zend_user_unserialize() argument
480 ZVAL_STRINGL(&zdata, (char*)buf, buf_len); in zend_user_unserialize()
502 …_unserialize_deny(zval *object, zend_class_entry *ce, const unsigned char *buf, size_t buf_len, ze… in zend_class_unserialize_deny() argument
/PHP-7.4/ext/spl/
H A Dspl_directory.c2019 char *buf; in spl_filesystem_file_read() local
2035 efree(buf); in spl_filesystem_file_read()
2036 buf = NULL; in spl_filesystem_file_read()
2038 buf[line_len] = '\0'; in spl_filesystem_file_read()
2044 if (!buf) { in spl_filesystem_file_read()
2054 buf[line_len] = '\0'; in spl_filesystem_file_read()
2058 intern->u.file.current_line = buf; in spl_filesystem_file_read()
2823 char buf[2]; in SPL_METHOD() local
2841 buf[0] = result; in SPL_METHOD()
2842 buf[1] = '\0'; in SPL_METHOD()
[all …]
/PHP-7.4/ext/standard/
H A Dfile.h82 …am, char delimiter, char enclosure, int escape_char, size_t buf_len, char *buf, zval *return_value…
H A Dfilters.c49 php_strtr(bucket->buf, bucket->buflen, rot13_from, rot13_to, 52); in strfilter_rot13_filter()
97 php_strtr(bucket->buf, bucket->buflen, lowercase, uppercase, 26); in strfilter_toupper_filter()
125 php_strtr(bucket->buf, bucket->buflen, uppercase, lowercase, 26); in strfilter_tolower_filter()
218 …bucket->buflen = php_strip_tags(bucket->buf, bucket->buflen, &(inst->state), inst->allowed_tags, i… in strfilter_strip_tags_filter()
1665 buckets_out, bucket->buf, bucket->buflen, &consumed, in strfilter_convert_filter()
1856 static size_t php_dechunk(char *buf, size_t len, php_chunked_filter_data *data) in php_dechunk() argument
1858 char *p = buf; in php_dechunk()
1860 char *out = buf; in php_dechunk()
1990 bucket->buflen = php_dechunk(bucket->buf, bucket->buflen, data); in php_chunked_filter()
H A Dstring.c4873 zend_string *buf; local
4914 RETURN_NEW_STR(buf);
5172 const char *buf, *p, *end; local
5179 buf = estrndup(rbuf, len);
5180 end = buf + len;
5182 p = buf;
5456 if (p > buf+6
5492 efree((void *)buf);
5594 const unsigned char *buf; local
5615 chars[*buf]++;
[all …]
/PHP-7.4/ext/exif/
H A Dexif.c1422 return buf; in exif_get_tagname_key()
1430 static unsigned char buf[4096+1]; in exif_char_dump() local
1434 p += slprintf(buf+p, sizeof(buf)-p, "\nDump Len: %08X (%d)", len, len); in exif_char_dump()
1438 p += slprintf(buf+p, sizeof(buf)-p, "\n%08X: ", i+offset); in exif_char_dump()
1442 p += slprintf(buf+p, sizeof(buf)-p, "%02X ", c); in exif_char_dump()
1446 p += slprintf(buf+p, sizeof(buf)-p, " "); in exif_char_dump()
1449 p += slprintf(buf+p, sizeof(buf)-p, " %s", tmp); in exif_char_dump()
1456 buf[sizeof(buf)-1] = '\0'; in exif_char_dump()
1457 return buf; in exif_char_dump()
2053 char *buf; in exif_error_docref() local
[all …]
/PHP-7.4/ext/pdo_pgsql/
H A Dpgsql_statement.c202 char buf[100]; /* stmt_name == "pdo_crsr_%08x" */ in pgsql_stmt_execute() local
204 snprintf(buf, sizeof(buf), "DEALLOCATE %s", S->stmt_name); in pgsql_stmt_execute()
205 res = PQexec(H->server, buf); in pgsql_stmt_execute()
/PHP-7.4/ext/curl/
H A Dphp_curl.h130 smart_str buf; member
H A Dmulti.c318 if (!ch->handlers->write->buf.s) { in PHP_FUNCTION()
321 smart_str_0(&ch->handlers->write->buf); in PHP_FUNCTION()
322 RETURN_STR_COPY(ch->handlers->write->buf.s); in PHP_FUNCTION()
/PHP-7.4/ext/gmp/
H A Dgmp.c571 smart_str buf = {0}; in gmp_serialize() local
578 php_var_serialize(&buf, &zv, &serialize_data); in gmp_serialize()
582 php_var_serialize(&buf, &zv, &serialize_data); in gmp_serialize()
585 *buffer = (unsigned char *) estrndup(ZSTR_VAL(buf.s), ZSTR_LEN(buf.s)); in gmp_serialize()
586 *buf_len = ZSTR_LEN(buf.s); in gmp_serialize()
587 zend_string_release_ex(buf.s, 0); in gmp_serialize()
593 static int gmp_unserialize(zval *object, zend_class_entry *ce, const unsigned char *buf, size_t buf… in gmp_unserialize() argument
609 p = buf; in gmp_unserialize()
610 max = buf + buf_len; in gmp_unserialize()
/PHP-7.4/ext/oci8/
H A Doci8_lob.c711 char buf[8192]; in php_oci_lob_import() local
724 while ((loblen = read(fp, &buf, sizeof(buf))) > 0) { in php_oci_lob_import()
733 (dvoid *) &buf, in php_oci_lob_import()
/PHP-7.4/ext/ftp/
H A Dftp.h50 char buf[FTP_BUFSIZE]; /* data buffer */ member
/PHP-7.4/ext/openssl/
H A Dopenssl.c2382 char buf[256]; in PHP_FUNCTION() local
2401 char buf[32]; in PHP_FUNCTION() local
2402 snprintf(buf, sizeof(buf), "%08lx", X509_subject_name_hash(cert)); in PHP_FUNCTION()
2489 OBJ_obj2txt(buf, sizeof(buf)-1, X509_EXTENSION_get_object(extension), 1); in PHP_FUNCTION()
2490 extname = buf; in PHP_FUNCTION()
5998 char buf[256]; in PHP_FUNCTION() local
6016 RETURN_STRING(buf); in PHP_FUNCTION()
6232 efree(buf); in PHP_FUNCTION()
6241 efree(buf); in PHP_FUNCTION()
6261 efree(buf); in PHP_FUNCTION()
[all …]
/PHP-7.4/ext/fileinfo/libmagic/
H A Dfile.h409 char *buf; /* Accumulation buffer */ member
518 char *buf; member
/PHP-7.4/sapi/apache2handler/
H A Dsapi_apache2.c175 php_apache_sapi_read_post(char *buf, size_t count_bytes) in php_apache_sapi_read_post() argument
193 apr_brigade_flatten(brigade, buf, &len); in php_apache_sapi_read_post()
199 buf += len; in php_apache_sapi_read_post()
/PHP-7.4/main/
H A Dfopen_wrappers.c175 char buf[MAXPATHLEN]; local
177 ret = php_sys_readlink(path_tmp, buf, MAXPATHLEN - 1);
182 memcpy(path_tmp, buf, ret);
/PHP-7.4/ext/pdo_firebird/
H A Dfirebird_statement.c257 #define FETCH_BUF(buf,type,len,lenvar) ((buf) = (buf) ? (buf) : \ argument

Completed in 167 milliseconds

12345678910>>...13