/PHP-7.3/ext/soap/ |
H A D | php_xml.h | 33 xmlDocPtr soap_xmlParseMemory(const void *buf, size_t size);
|
H A D | php_xml.c | 133 xmlDocPtr soap_xmlParseMemory(const void *buf, size_t buf_size) in soap_xmlParseMemory() argument 142 ctxt = xmlCreateMemoryParserCtxt(buf, buf_size); in soap_xmlParseMemory()
|
/PHP-7.3/ext/standard/ |
H A D | pack.c | 978 zend_string *buf; in PHP_FUNCTION() local 990 buf = zend_string_alloc(len, 0); in PHP_FUNCTION() 1001 ZSTR_VAL(buf)[opos] = cc; in PHP_FUNCTION() local 1010 ZSTR_VAL(buf)[len] = '\0'; in PHP_FUNCTION() local 1011 add_assoc_str(return_value, n, buf); in PHP_FUNCTION()
|
H A D | file.h | 80 …m, char delimiter, char enclosure, char 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() 1658 buckets_out, bucket->buf, bucket->buflen, &consumed, in strfilter_convert_filter() 1849 static size_t php_dechunk(char *buf, size_t len, php_chunked_filter_data *data) in php_dechunk() argument 1851 char *p = buf; in php_dechunk() 1853 char *out = buf; in php_dechunk() 1983 bucket->buflen = php_dechunk(bucket->buf, bucket->buflen, data); in php_chunked_filter()
|
/PHP-7.3/ext/hash/ |
H A D | hash_sha3.c | 158 const unsigned char* buf, in PHP_SHA3_Update() argument 166 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, unsigned int count);
|
/PHP-7.3/ext/pgsql/ |
H A D | php_pgsql.h | 230 static size_t php_pgsql_fd_write(php_stream *stream, const char *buf, size_t count); 231 static size_t php_pgsql_fd_read(php_stream *stream, char *buf, size_t count);
|
/PHP-7.3/ext/mbstring/oniguruma/src/ |
H A D | onigposix.h | 164 ONIG_EXTERN size_t regerror P_((int code, const regex_t* reg, char* buf, size_t size));
|
H A D | unicode.c | 1107 char buf[PROPERTY_NAME_MAX_SIZE]; in onigenc_unicode_property_name_to_ctype() local 1117 buf[len++] = (char )code; in onigenc_unicode_property_name_to_ctype() 1125 buf[len] = 0; in onigenc_unicode_property_name_to_ctype() 1131 (const UChar* )buf, (const UChar* )buf + len, in onigenc_unicode_property_name_to_ctype() 1138 pc = unicode_lookup_property_name(buf, len); in onigenc_unicode_property_name_to_ctype()
|
/PHP-7.3/sapi/fpm/fpm/ |
H A D | zlog.h | 81 struct zlog_stream_buffer buf; member
|
/PHP-7.3/ext/spl/ |
H A D | spl_directory.c | 2020 char *buf; in spl_filesystem_file_read() local 2036 efree(buf); in spl_filesystem_file_read() 2037 buf = NULL; in spl_filesystem_file_read() 2039 buf[line_len] = '\0'; in spl_filesystem_file_read() 2045 if (!buf) { in spl_filesystem_file_read() 2050 line_len = strcspn(buf, "\r\n"); in spl_filesystem_file_read() 2051 buf[line_len] = '\0'; in spl_filesystem_file_read() 2794 char buf[2]; in SPL_METHOD() local 2812 buf[0] = result; in SPL_METHOD() 2813 buf[1] = '\0'; in SPL_METHOD() [all …]
|
/PHP-7.3/ext/opcache/ |
H A D | ZendAccelerator.c | 1183 char buf[32]; in accel_make_persistent_key() local 1184 …char *res = zend_print_long_to_buf(buf + sizeof(buf) - 1, STRTAB_STR_TO_POS(&ZCSG(interned_strings… in accel_make_persistent_key() 1186 cwd_len = ZCG(cwd_key_len) = buf + sizeof(buf) - 1 - res; in accel_make_persistent_key() 1226 char buf[32]; in accel_make_persistent_key() local 1227 …char *res = zend_print_long_to_buf(buf + sizeof(buf) - 1, STRTAB_STR_TO_POS(&ZCSG(interned_strings… in accel_make_persistent_key() 1229 include_path_len = ZCG(include_path_key_len) = buf + sizeof(buf) - 1 - res; in accel_make_persistent_key() 2409 struct stat buf; in accel_activate() local 2411 if (stat("/", &buf) != 0) { in accel_activate() 2414 ZCG(root_hash) = buf.st_ino; in accel_activate() 2415 if (sizeof(buf.st_ino) > sizeof(ZCG(root_hash))) { in accel_activate() [all …]
|
/PHP-7.3/ext/curl/ |
H A D | multi.c | 319 if (!ch->handlers->write->buf.s) { in PHP_FUNCTION() 322 smart_str_0(&ch->handlers->write->buf); in PHP_FUNCTION() 323 RETURN_STR_COPY(ch->handlers->write->buf.s); in PHP_FUNCTION()
|
H A D | php_curl.h | 129 smart_str buf; member
|
/PHP-7.3/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.3/ext/libxml/ |
H A D | libxml.c | 546 char *buf; in php_libxml_internal_error_handler() local 550 len = vspprintf(&buf, 0, *msg, ap); in php_libxml_internal_error_handler() 554 while (len_iter && buf[--len_iter] == '\n') { in php_libxml_internal_error_handler() 555 buf[len_iter] = '\0'; in php_libxml_internal_error_handler() 559 smart_str_appendl(&LIBXML(error_buffer), buf, len); in php_libxml_internal_error_handler() 561 efree(buf); in php_libxml_internal_error_handler()
|
/PHP-7.3/ext/gmp/ |
H A D | gmp.c | 572 smart_str buf = {0}; in gmp_serialize() local 579 php_var_serialize(&buf, &zv, &serialize_data); in gmp_serialize() 583 php_var_serialize(&buf, &zv, &serialize_data); in gmp_serialize() 586 *buffer = (unsigned char *) estrndup(ZSTR_VAL(buf.s), ZSTR_LEN(buf.s)); in gmp_serialize() 587 *buf_len = ZSTR_LEN(buf.s); in gmp_serialize() 588 zend_string_release_ex(buf.s, 0); in gmp_serialize() 594 static int gmp_unserialize(zval *object, zend_class_entry *ce, const unsigned char *buf, size_t buf… in gmp_unserialize() argument 610 p = buf; in gmp_unserialize() 611 max = buf + buf_len; in gmp_unserialize()
|
/PHP-7.3/Zend/ |
H A D | zend_language_scanner.l | 503 char *buf; in open_file_for_scanning() local 514 if (zend_stream_fixup(file_handle, &buf, &size) == FAILURE) { in open_file_for_scanning() 532 SCNG(script_org) = (unsigned char*)buf; in open_file_for_scanning() 543 buf = (char*)SCNG(script_filtered); in open_file_for_scanning() 547 SCNG(yy_start) = (unsigned char *)buf - offset; in open_file_for_scanning() 548 yy_scan_buffer(buf, (unsigned int)size); in open_file_for_scanning() 683 char *buf; in zend_prepare_string_for_scanning() local 696 buf = Z_STRVAL_P(str); in zend_prepare_string_for_scanning() 700 SCNG(script_org) = (unsigned char*)buf; in zend_prepare_string_for_scanning() 711 buf = (char*)SCNG(script_filtered); in zend_prepare_string_for_scanning() [all …]
|
H A D | acinclude.m4 | 68 int main() {char buf[20]; return sprintf(buf,"testing 123")!=11; }
|
/PHP-7.3/ext/zip/lib/ |
H A D | zip_source_win32handle.c | 146 char *buf; in _win32_read_file() local 151 buf = (char *)data; in _win32_read_file() 230 if (!ReadFile(ctx->h, buf, (DWORD)n, &i, NULL)) { in _win32_read_file()
|
/PHP-7.3/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.3/ext/pdo_firebird/ |
H A D | firebird_statement.c | 254 #define FETCH_BUF(buf,type,len,lenvar) ((buf) = (buf) ? (buf) : \ argument
|
/PHP-7.3/ext/phar/ |
H A D | zip.c | 169 char buf[sizeof(locator) + 65536]; in phar_parse_zipfile() local 174 char *p = buf, *ext, *actual_alias = NULL; in phar_parse_zipfile() 193 if (!php_stream_read(fp, buf, size)) { in phar_parse_zipfile() 201 while ((p=(char *) memchr(p + 1, 'P', (size_t) (size - (p + 1 - buf)))) != NULL) { in phar_parse_zipfile() 202 if ((p - buf) + sizeof(locator) <= (size_t)size && !memcmp(p + 1, "K\5\6", 3)) { in phar_parse_zipfile() 229 if (PHAR_GET_16(locator.comment_len) != size - (metadata - buf)) { in phar_parse_zipfile() 523 …if (PHAR_GET_16(zipentry.comment_len) != php_stream_read(fp, buf, PHAR_GET_16(zipentry.comment_len… in phar_parse_zipfile() 528 p = buf; in phar_parse_zipfile() 535 …ZVAL_NEW_STR(&entry.metadata, zend_string_init(buf, PHAR_GET_16(zipentry.comment_len), entry.is_pe… in phar_parse_zipfile()
|
/PHP-7.3/ext/exif/ |
H A D | exif.c | 1395 static unsigned char buf[4096+1]; in exif_char_dump() local 1399 p += slprintf(buf+p, sizeof(buf)-p, "\nDump Len: %08X (%d)", len, len); in exif_char_dump() 1401 for(i=0; i<len+15 && p+n<=sizeof(buf); i++) { in exif_char_dump() 1403 p += slprintf(buf+p, sizeof(buf)-p, "\n%08X: ", i+offset); in exif_char_dump() 1407 p += slprintf(buf+p, sizeof(buf)-p, "%02X ", c); in exif_char_dump() 1411 p += slprintf(buf+p, sizeof(buf)-p, " "); in exif_char_dump() 1414 p += slprintf(buf+p, sizeof(buf)-p, " %s", tmp); in exif_char_dump() 1421 buf[sizeof(buf)-1] = '\0'; in exif_char_dump() 1422 return buf; in exif_char_dump() 1958 char *buf; in exif_error_docref() local [all …]
|