/PHP-7.4/ext/hash/ |
H A D | hash_sha3.c | 158 const unsigned char* buf, in PHP_SHA3_Update() argument 171 ctx->state[ctx->pos++] ^= *(buf++); in PHP_SHA3_Update()
|
H A D | php_hash.h | 33 typedef void (*php_hash_update_func_t)(void *context, const unsigned char *buf, size_t count);
|
/PHP-7.4/ext/pgsql/ |
H A D | php_pgsql.h | 229 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 D | php_xml.c | 131 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 D | ffi.c | 1384 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 D | zlog.h | 81 struct zlog_stream_buffer buf; member
|
/PHP-7.4/Zend/ |
H A D | zend_operators.h | 947 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 D | zend_language_scanner.l | 516 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 D | zend_interfaces.c | 472 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 D | spl_directory.c | 2019 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 D | file.h | 82 …am, char delimiter, char enclosure, int escape_char, size_t buf_len, char *buf, zval *return_value…
|
H A D | filters.c | 49 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 D | string.c | 4873 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 D | exif.c | 1422 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 D | pgsql_statement.c | 202 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 D | php_curl.h | 130 smart_str buf; member
|
H A D | multi.c | 318 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 D | gmp.c | 571 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 D | oci8_lob.c | 711 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 D | ftp.h | 50 char buf[FTP_BUFSIZE]; /* data buffer */ member
|
/PHP-7.4/ext/openssl/ |
H A D | openssl.c | 2382 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 D | file.h | 409 char *buf; /* Accumulation buffer */ member 518 char *buf; member
|
/PHP-7.4/sapi/apache2handler/ |
H A D | sapi_apache2.c | 175 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 D | fopen_wrappers.c | 175 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 D | firebird_statement.c | 257 #define FETCH_BUF(buf,type,len,lenvar) ((buf) = (buf) ? (buf) : \ argument
|