/PHP-7.2/Zend/tests/ |
H A D | compare_005_64bit.phpt | 36 $buf = ob_get_clean(); 37 echo str_replace("\n", "", $buf);
|
H A D | compare_006_64bit.phpt | 36 $buf = ob_get_clean(); 37 echo str_replace("\n", "", $buf);
|
/PHP-7.2/ext/date/lib/ |
H A D | parse_date.re | 315 uchar *buf = (uchar*) timelib_malloc(((s->lim - s->bot) + BSIZE)*sizeof(uchar)); 316 memcpy(buf, s->tok, s->lim - s->tok); 317 s->tok = buf; 318 s->ptr = &buf[s->ptr - s->bot]; 319 cursor = &buf[cursor - s->bot]; 320 s->pos = &buf[s->pos - s->bot]; 321 s->lim = &buf[s->lim - s->bot]; 324 s->bot = buf;
|
H A D | parse_date.c | 317 uchar *buf = (uchar*) timelib_malloc(((s->lim - s->bot) + BSIZE)*sizeof(uchar)); 318 memcpy(buf, s->tok, s->lim - s->tok); 319 s->tok = buf; 320 s->ptr = &buf[s->ptr - s->bot]; 321 cursor = &buf[cursor - s->bot]; 322 s->pos = &buf[s->pos - s->bot]; 323 s->lim = &buf[s->lim - s->bot]; 326 s->bot = buf;
|
/PHP-7.2/ext/standard/ |
H A D | streamsfuncs.c | 1302 zend_string *buf; in PHP_FUNCTION() local 1322 if ((buf = php_stream_get_record(stream, max_length, str, str_len))) { in PHP_FUNCTION() 1323 RETURN_STR(buf); in PHP_FUNCTION()
|
/PHP-7.2/ext/mbstring/ |
H A D | mbstring.c | 5132 char* buf; in php_mb_chr() local 5197 buf = (char *) safe_emalloc(buf_len, 1, 1); in php_mb_chr() 5198 buf[0] = (cp >> 24) & 0xff; in php_mb_chr() 5199 buf[1] = (cp >> 16) & 0xff; in php_mb_chr() 5200 buf[2] = (cp >> 8) & 0xff; in php_mb_chr() 5201 buf[3] = cp & 0xff; in php_mb_chr() 5202 buf[4] = 0; in php_mb_chr() 5207 ret = php_mb_convert_encoding(buf, buf_len, enc, "UCS-4BE", &ret_len); in php_mb_chr() 5209 efree(buf); in php_mb_chr() 5218 efree(buf); in php_mb_chr()
|
/PHP-7.2/ext/mysqlnd/ |
H A D | mysqlnd_ps.c | 1037 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 D | mysqlnd_structs.h | 197 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.2/ext/sqlite3/ |
H A D | sqlite3.c | 1076 static size_t php_sqlite3_stream_write(php_stream *stream, const char *buf, size_t count) in php_sqlite3_stream_write() argument 1090 if (sqlite3_blob_write(sqlite3_stream->blob, buf, count, sqlite3_stream->position) != SQLITE_OK) { in php_sqlite3_stream_write() 1105 static size_t php_sqlite3_stream_read(php_stream *stream, char *buf, size_t count) in php_sqlite3_stream_read() argument 1114 if (sqlite3_blob_read(sqlite3_stream->blob, buf, count, sqlite3_stream->position) != SQLITE_OK) { in php_sqlite3_stream_read()
|
/PHP-7.2/ext/date/ |
H A D | php_date.c | 1668 zend_string *buf; in php_strftime() local 1723 buf = zend_string_alloc(buf_len, 0); in php_strftime() 1724 …while ((real_len = strftime(ZSTR_VAL(buf), buf_len, ZSTR_VAL(format), &ta)) == buf_len || real_len… in php_strftime() 1726 buf = zend_string_extend(buf, buf_len, 0); in php_strftime() 1735 real_len = strlen(buf->val); in php_strftime() 1745 buf = zend_string_truncate(buf, real_len, 0); in php_strftime() 1746 RETURN_NEW_STR(buf); in php_strftime() 1748 zend_string_free(buf); in php_strftime()
|
/PHP-7.2/Zend/ |
H A D | zend_language_scanner.c | 505 char *buf; in open_file_for_scanning() local 516 if (zend_stream_fixup(file_handle, &buf, &size) == FAILURE) { in open_file_for_scanning() 534 SCNG(script_org) = (unsigned char*)buf; in open_file_for_scanning() 545 buf = (char*)SCNG(script_filtered); in open_file_for_scanning() 549 SCNG(yy_start) = (unsigned char *)buf - offset; in open_file_for_scanning() 550 yy_scan_buffer(buf, (unsigned int)size); in open_file_for_scanning() 687 char *buf; in zend_prepare_string_for_scanning() local 700 buf = Z_STRVAL_P(str); in zend_prepare_string_for_scanning() 704 SCNG(script_org) = (unsigned char*)buf; in zend_prepare_string_for_scanning() 715 buf = (char*)SCNG(script_filtered); in zend_prepare_string_for_scanning() [all …]
|
H A D | zend_ini_scanner.c | 281 char *buf; in zend_ini_open_file_for_scanning() local 284 if (zend_stream_fixup(fh, &buf, &size) == FAILURE) { in zend_ini_open_file_for_scanning() 293 yy_scan_buffer(buf, (unsigned int)size); in zend_ini_open_file_for_scanning()
|
H A D | zend_alloc.c | 397 LPSTR buf = NULL; in stderr_last_error() local 407 (LPSTR)&buf, in stderr_last_error() 412 fprintf(stderr, "\n%s: [0x%08lx] %s\n", msg, err, buf); in stderr_last_error()
|
/PHP-7.2/ext/phar/ |
H A D | phar_internal.h | 567 int phar_is_tar(char *buf, char *fname);
|
H A D | phar.c | 1538 static inline char *phar_strnstr(const char *buf, int buf_len, const char *search, int search_len) … argument 1547 c = buf - 1; 1554 so_far = c - buf; 3251 static size_t phar_zend_stream_reader(void *handle, char *buf, size_t len) /* {{{ */ argument 3253 return php_stream_read(phar_get_pharfp((phar_archive_data*)handle), buf, len);
|
/PHP-7.2/ext/pdo/ |
H A D | pdo_stmt.c | 586 zend_string *buf; in fetch_value() local 587 buf = php_stream_copy_to_mem((php_stream*)value, PHP_STREAM_COPY_ALL, 0); in fetch_value() 588 if (buf == NULL) { in fetch_value() 591 ZVAL_STR(dest, buf); in fetch_value()
|
H A D | pdo_dbh.c | 181 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.2/ext/zip/lib/ |
H A D | zipint.h | 475 zip_buffer_t *_zip_buffer_new_from_source(zip_source_t *src, zip_uint64_t size, zip_uint8_t *buf, z…
|
/PHP-7.2/ext/pcre/pcrelib/sljit/ |
H A D | sljitLir.h | 310 struct sljit_memory_fragment *buf; member
|
/PHP-7.2/ext/xmlwriter/ |
H A D | php_xmlwriter.c | 638 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.2/ext/mbstring/oniguruma/src/ |
H A D | regexec.c | 1344 UChar *q, *bp, buf[50]; in match_at() local 1347 bp = buf; in match_at() 1355 fputs((char* )buf, stderr); in match_at() 1356 for (i = 0; i < 20 - (bp - buf); i++) fputc(' ', stderr); in match_at()
|
/PHP-7.2/ext/gd/ |
H A D | gd.c | 2665 char buf[4096]; in _php_image_output() local 2717 while ((b = fread(buf, 1, sizeof(buf), tmp)) > 0) { in _php_image_output() 2718 php_write(buf, b); in _php_image_output()
|
/PHP-7.2/ext/sodium/ |
H A D | libsodium.c | 667 char *buf = Z_STRVAL(*buf_zv); in PHP_FUNCTION() local 670 sodium_memzero(buf, (size_t) buf_len); in PHP_FUNCTION()
|
/PHP-7.2/ext/mbstring/oniguruma/ |
H A D | HISTORY | 215 2007/03/02: [bug] invalid optimization for semi-end-buf in onig_search(). 1968 2003/01/10: [bug] local variable name was wrong. buf -> tbuf (regerror()) 2076 2002/03/08: [spec] allow use of "\A"(begin-buf) in look-behind.
|