Home
last modified time | relevance | path

Searched refs:buf (Results 326 – 350 of 353) sorted by relevance

1...<<1112131415

/PHP-7.3/Zend/tests/
H A Dcompare_003_64bit.phpt36 $buf = ob_get_clean();
37 echo str_replace("\n", "", $buf);
H A Dcompare_004_64bit.phpt36 $buf = ob_get_clean();
37 echo str_replace("\n", "", $buf);
H A Dcompare_005_64bit.phpt36 $buf = ob_get_clean();
37 echo str_replace("\n", "", $buf);
H A Dcompare_006_64bit.phpt36 $buf = ob_get_clean();
37 echo str_replace("\n", "", $buf);
/PHP-7.3/ext/mbstring/
H A Dmbstring.c4924 char* buf; in php_mb_chr() local
4973 buf = (char *) emalloc(buf_len + 1); in php_mb_chr()
4974 buf[0] = (cp >> 24) & 0xff; in php_mb_chr()
4975 buf[1] = (cp >> 16) & 0xff; in php_mb_chr()
4976 buf[2] = (cp >> 8) & 0xff; in php_mb_chr()
4977 buf[3] = cp & 0xff; in php_mb_chr()
4978 buf[4] = 0; in php_mb_chr()
4985 ret_str = php_mb_convert_encoding_ex(buf, buf_len, enc, &mbfl_encoding_ucs4be, &ret_len); in php_mb_chr()
4987 efree(buf); in php_mb_chr()
4998 efree(buf); in php_mb_chr()
/PHP-7.3/ext/standard/
H A Dstreamsfuncs.c1308 zend_string *buf; in PHP_FUNCTION() local
1328 if ((buf = php_stream_get_record(stream, max_length, str, str_len))) { in PHP_FUNCTION()
1329 RETURN_STR(buf); in PHP_FUNCTION()
/PHP-7.3/ext/mysqlnd/
H A Dmysqlnd_ps.c1031 zend_uchar buf[MYSQLND_STMT_ID_LENGTH /* statement id */ + 4 /* number of rows to fetch */]; in mysqlnd_fetch_stmt_row_cursor() local
1055 int4store(buf, stmt->stmt_id); in mysqlnd_fetch_stmt_row_cursor()
1056 int4store(buf + MYSQLND_STMT_ID_LENGTH, 1); /* for now fetch only one row */ in mysqlnd_fetch_stmt_row_cursor()
1059 const MYSQLND_CSTRING payload = {(const char*) buf, sizeof(buf)}; in mysqlnd_fetch_stmt_row_cursor()
H A Dmysqlnd_structs.h195 int (*local_infile_read)(void *ptr, zend_uchar * buf, unsigned int buf_len);
330 …qlnd_vio__network_write)(MYSQLND_VIO * const vio, const zend_uchar * const buf, const size_t count…
/PHP-7.3/ext/date/lib/
H A Dparse_date.re314 uchar *buf = (uchar*) timelib_malloc(((s->lim - s->bot) + BSIZE)*sizeof(uchar));
315 memcpy(buf, s->tok, s->lim - s->tok);
316 s->tok = buf;
317 s->ptr = &buf[s->ptr - s->bot];
318 cursor = &buf[cursor - s->bot];
319 s->pos = &buf[s->pos - s->bot];
320 s->lim = &buf[s->lim - s->bot];
323 s->bot = buf;
/PHP-7.3/ext/mbstring/oniguruma/src/
H A Dregexec.c2543 UChar *q, *bp, buf[50];\
2550 bp = buf;\
2563 fputs((char* )buf, stderr);\
2564 for (i = 0; i < 20 - (bp - buf); i++) fputc(' ', stderr);\
6410 char buf[20]; in onig_builtin_monitor() local
6439 xsnprintf(buf, sizeof(buf), "#%d", num); in onig_builtin_monitor()
6445 if (tag_len >= sizeof(buf)) tag_len = sizeof(buf) - 1; in onig_builtin_monitor()
6446 for (i = 0; i < tag_len; i++) buf[i] = tag_start[i]; in onig_builtin_monitor()
6447 buf[tag_len] = '\0'; in onig_builtin_monitor()
6451 buf, in onig_builtin_monitor()
H A Dregparse.h86 UChar buf[NODE_STRING_BUF_SIZE]; member
/PHP-7.3/ext/sqlite3/
H A Dsqlite3.c1072 static size_t php_sqlite3_stream_write(php_stream *stream, const char *buf, size_t count) in php_sqlite3_stream_write() argument
1086 if (sqlite3_blob_write(sqlite3_stream->blob, buf, count, sqlite3_stream->position) != SQLITE_OK) { in php_sqlite3_stream_write()
1101 static size_t php_sqlite3_stream_read(php_stream *stream, char *buf, size_t count) in php_sqlite3_stream_read() argument
1110 if (sqlite3_blob_read(sqlite3_stream->blob, buf, count, sqlite3_stream->position) != SQLITE_OK) { in php_sqlite3_stream_read()
/PHP-7.3/ext/date/
H A Dphp_date.c1686 zend_string *buf; in php_strftime() local
1741 buf = zend_string_alloc(buf_len, 0); in php_strftime()
1742 …while ((real_len = strftime(ZSTR_VAL(buf), buf_len, ZSTR_VAL(format), &ta)) == buf_len || real_len… in php_strftime()
1744 buf = zend_string_extend(buf, buf_len, 0); in php_strftime()
1753 real_len = strlen(buf->val); in php_strftime()
1763 buf = zend_string_truncate(buf, real_len, 0); in php_strftime()
1764 RETURN_NEW_STR(buf); in php_strftime()
1766 zend_string_efree(buf); in php_strftime()
/PHP-7.3/Zend/
H A Dzend_language_scanner.c506 char *buf; in open_file_for_scanning() local
517 if (zend_stream_fixup(file_handle, &buf, &size) == FAILURE) { in open_file_for_scanning()
535 SCNG(script_org) = (unsigned char*)buf; in open_file_for_scanning()
546 buf = (char*)SCNG(script_filtered); in open_file_for_scanning()
550 SCNG(yy_start) = (unsigned char *)buf - offset; in open_file_for_scanning()
551 yy_scan_buffer(buf, (unsigned int)size); in open_file_for_scanning()
686 char *buf; in zend_prepare_string_for_scanning() local
699 buf = Z_STRVAL_P(str); in zend_prepare_string_for_scanning()
703 SCNG(script_org) = (unsigned char*)buf; in zend_prepare_string_for_scanning()
714 buf = (char*)SCNG(script_filtered); in zend_prepare_string_for_scanning()
[all …]
H A Dzend_operators.c3002 char buf[MAX_LENGTH_OF_LONG + 1]; local
3003 char *res = zend_print_long_to_buf(buf + sizeof(buf) - 1, num);
3004 return zend_string_init(res, buf + sizeof(buf) - 1 - res, 0);
H A Dzend_ini_scanner.c280 char *buf; in zend_ini_open_file_for_scanning() local
283 if (zend_stream_fixup(fh, &buf, &size) == FAILURE) { in zend_ini_open_file_for_scanning()
292 yy_scan_buffer(buf, (unsigned int)size); in zend_ini_open_file_for_scanning()
H A Dzend_alloc.c395 LPSTR buf = NULL; in stderr_last_error() local
405 (LPSTR)&buf, in stderr_last_error()
410 fprintf(stderr, "\n%s: [0x%08lx] %s\n", msg, err, buf); in stderr_last_error()
/PHP-7.3/ext/pdo/
H A Dpdo_stmt.c588 zend_string *buf; in fetch_value() local
589 buf = php_stream_copy_to_mem((php_stream*)value, PHP_STREAM_COPY_ALL, 0); in fetch_value()
590 if (buf == NULL) { in fetch_value()
593 ZVAL_STR(dest, buf); in fetch_value()
H A Dpdo_dbh.c206 static char *dsn_from_uri(char *uri, char *buf, size_t buflen) /* {{{ */ in dsn_from_uri() argument
213 dsn = php_stream_get_line(stream, buf, buflen, NULL); in dsn_from_uri()
/PHP-7.3/ext/zip/lib/
H A Dzipint.h475 zip_buffer_t *_zip_buffer_new_from_source(zip_source_t *src, zip_uint64_t size, zip_uint8_t *buf, z…
/PHP-7.3/ext/phar/
H A Dphar_internal.h565 int phar_is_tar(char *buf, char *fname);
H A Dphar.c1556 static inline char *phar_strnstr(const char *buf, int buf_len, const char *search, int search_len) … argument
1565 c = buf - 1;
1572 so_far = c - buf;
3266 static size_t phar_zend_stream_reader(void *handle, char *buf, size_t len) /* {{{ */ argument
3268 return php_stream_read(phar_get_pharfp((phar_archive_data*)handle), buf, len);
/PHP-7.3/ext/pcre/pcre2lib/sljit/
H A DsljitLir.h375 struct sljit_memory_fragment *buf; member
/PHP-7.3/ext/xmlwriter/
H A Dphp_xmlwriter.c644 zend_stat_t buf; in _xmlwriter_get_valid_file_path() local
645 if (php_sys_stat(file_dirname, &buf) != 0) { in _xmlwriter_get_valid_file_path()
/PHP-7.3/ext/gd/
H A Dgd.c2668 char buf[4096]; in _php_image_output() local
2714 while ((b = fread(buf, 1, sizeof(buf), tmp)) > 0) { in _php_image_output()
2715 php_write(buf, b); in _php_image_output()

Completed in 223 milliseconds

1...<<1112131415