Home
last modified time | relevance | path

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

1...<<11121314

/PHP-7.1/Zend/tests/
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.1/ext/date/lib/
H A Dparse_date.re338 uchar *buf = (uchar*) timelib_malloc(((s->lim - s->bot) + BSIZE)*sizeof(uchar));
339 memcpy(buf, s->tok, s->lim - s->tok);
340 s->tok = buf;
341 s->ptr = &buf[s->ptr - s->bot];
342 cursor = &buf[cursor - s->bot];
343 s->pos = &buf[s->pos - s->bot];
344 s->lim = &buf[s->lim - s->bot];
347 s->bot = buf;
H A Dparse_date.c340 uchar *buf = (uchar*) timelib_malloc(((s->lim - s->bot) + BSIZE)*sizeof(uchar));
341 memcpy(buf, s->tok, s->lim - s->tok);
342 s->tok = buf;
343 s->ptr = &buf[s->ptr - s->bot];
344 cursor = &buf[cursor - s->bot];
345 s->pos = &buf[s->pos - s->bot];
346 s->lim = &buf[s->lim - s->bot];
349 s->bot = buf;
/PHP-7.1/ext/mysqlnd/
H A Dmysqlnd_ps.c1037 zend_uchar buf[MYSQLND_STMT_ID_LENGTH /* statement id */ + 4 /* number of rows to fetch */]; in mysqlnd_fetch_stmt_row_cursor() local
1061 int4store(buf, stmt->stmt_id); in mysqlnd_fetch_stmt_row_cursor()
1062 int4store(buf + MYSQLND_STMT_ID_LENGTH, 1); /* for now fetch only one row */ in mysqlnd_fetch_stmt_row_cursor()
1065 const MYSQLND_CSTRING payload = {(const char*) buf, sizeof(buf)}; in mysqlnd_fetch_stmt_row_cursor()
H A Dmysqlnd_structs.h197 int (*local_infile_read)(void *ptr, zend_uchar * buf, unsigned int buf_len);
332 …qlnd_vio__network_write)(MYSQLND_VIO * const vio, const zend_uchar * const buf, const size_t count…
/PHP-7.1/ext/date/
H A Dphp_date.c1635 zend_string *buf; in php_strftime() local
1688 buf = zend_string_alloc(buf_len, 0); in php_strftime()
1689 while ((real_len = strftime(ZSTR_VAL(buf), buf_len, format, &ta)) == buf_len || real_len == 0) { in php_strftime()
1691 buf = zend_string_extend(buf, buf_len, 0); in php_strftime()
1700 real_len = strlen(buf->val); in php_strftime()
1710 buf = zend_string_truncate(buf, real_len, 0); in php_strftime()
1711 RETURN_NEW_STR(buf); in php_strftime()
1713 zend_string_free(buf); in php_strftime()
/PHP-7.1/Zend/
H A Dzend_language_scanner.c504 char *buf; in open_file_for_scanning() local
515 if (zend_stream_fixup(file_handle, &buf, &size) == FAILURE) { in open_file_for_scanning()
533 SCNG(script_org) = (unsigned char*)buf; in open_file_for_scanning()
544 buf = (char*)SCNG(script_filtered); in open_file_for_scanning()
548 SCNG(yy_start) = (unsigned char *)buf - offset; in open_file_for_scanning()
549 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_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.c399 LPSTR buf = NULL; in stderr_last_error() local
409 (LPSTR)&buf, in stderr_last_error()
414 fprintf(stderr, "\n%s: [0x%08lx] %s\n", msg, err, buf); in stderr_last_error()
/PHP-7.1/ext/phar/
H A Dphar_internal.h567 int phar_is_tar(char *buf, char *fname);
H A Dphar.c1537 static inline char *phar_strnstr(const char *buf, int buf_len, const char *search, int search_len) … argument
1546 c = buf - 1;
1553 so_far = c - buf;
3250 static size_t phar_zend_stream_reader(void *handle, char *buf, size_t len) /* {{{ */ argument
3252 return php_stream_read(phar_get_pharfp((phar_archive_data*)handle), buf, len);
/PHP-7.1/ext/pdo/
H A Dpdo_stmt.c590 zend_string *buf; in fetch_value() local
591 buf = php_stream_copy_to_mem((php_stream*)value, PHP_STREAM_COPY_ALL, 0); in fetch_value()
592 if (buf == NULL) { in fetch_value()
595 ZVAL_STR(dest, buf); in fetch_value()
H A Dpdo_dbh.c181 static char *dsn_from_uri(char *uri, char *buf, size_t buflen) /* {{{ */ in dsn_from_uri() argument
188 dsn = php_stream_get_line(stream, buf, buflen, NULL); in dsn_from_uri()
/PHP-7.1/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.1/ext/pcre/pcrelib/sljit/
H A DsljitLir.h311 struct sljit_memory_fragment *buf; member
/PHP-7.1/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
1079 static size_t php_sqlite3_stream_read(php_stream *stream, char *buf, size_t count) in php_sqlite3_stream_read() argument
1088 if (sqlite3_blob_read(sqlite3_stream->blob, buf, count, sqlite3_stream->position) != SQLITE_OK) { in php_sqlite3_stream_read()
/PHP-7.1/ext/xmlwriter/
H A Dphp_xmlwriter.c638 zend_stat_t buf; in _xmlwriter_get_valid_file_path() local
639 if (php_sys_stat(file_dirname, &buf) != 0) { in _xmlwriter_get_valid_file_path()
/PHP-7.1/ext/mbstring/oniguruma/
H A Dregexec.c1296 UChar *q, *bp, buf[50]; in match_at() local
1299 bp = buf; in match_at()
1307 fputs((char* )buf, stderr); in match_at()
1308 for (i = 0; i < 20 - (bp - buf); i++) fputc(' ', stderr); in match_at()
H A DHISTORY127 2007/03/02: [bug] invalid optimization for semi-end-buf in onig_search().
1880 2003/01/10: [bug] local variable name was wrong. buf -> tbuf (regerror())
1988 2002/03/08: [spec] allow use of "\A"(begin-buf) in look-behind.
/PHP-7.1/ext/gd/
H A Dgd.c2612 char buf[4096]; in _php_image_output() local
2667 while ((b = fread(buf, 1, sizeof(buf), tmp)) > 0) { in _php_image_output()
2668 php_write(buf, b); in _php_image_output()

Completed in 178 milliseconds

1...<<11121314