Home
last modified time | relevance | path

Searched refs:buf (Results 1 – 25 of 313) sorted by path

12345678910>>...13

/PHP-7.4/TSRM/
H A Dtsrm_win32.c747 TSRM_API int shmctl(int key, int cmd, struct shmid_ds *buf) in shmctl() argument
757 memcpy(buf, shm->descriptor, sizeof(struct shmid_ds)); in shmctl()
762 shm->descriptor->shm_perm.uid = buf->shm_perm.uid; in shmctl()
763 shm->descriptor->shm_perm.gid = buf->shm_perm.gid; in shmctl()
764 shm->descriptor->shm_perm.mode = buf->shm_perm.mode; in shmctl()
790 TSRM_API int win32_utime(const char *filename, struct utimbuf *buf) /* {{{ */ in win32_utime() argument
815 if (!buf) { in win32_utime()
821 UnixTimeToFileTime(buf->modtime, &mtime); in win32_utime()
822 UnixTimeToFileTime(buf->actime, &atime); in win32_utime()
H A Dtsrm_win32.h105 TSRM_API int win32_utime(const char *filename, struct utimbuf *buf);
110 TSRM_API int shmctl(int key, int cmd, struct shmid_ds *buf);
/PHP-7.4/Zend/tests/
H A Dbug70805.phpt15 unset($GLOBALS["a"]); // this will be called in gc_colloct_roots and put $a into gc roots buf
40 unset($a); // This one can not be putted into roots buf because it's full, thus gc_colloct_roots wi…
41 // but C::__destructor which is called in gc_colloct_roots will put $a into buf
42 // which will make $a be putted into gc roots buf twice
H A Dcompare_001.phpt36 $buf = ob_get_clean();
37 echo str_replace("\n", "", $buf);
H A Dcompare_001_64bit.phpt36 $buf = ob_get_clean();
37 echo str_replace("\n", "", $buf);
H A Dcompare_002.phpt36 $buf = ob_get_clean();
37 echo str_replace("\n", "", $buf);
H A Dcompare_002_64bit.phpt36 $buf = ob_get_clean();
37 echo str_replace("\n", "", $buf);
H A Dcompare_003.phpt36 $buf = ob_get_clean();
37 echo str_replace("\n", "", $buf);
H A Dcompare_003_64bit.phpt36 $buf = ob_get_clean();
37 echo str_replace("\n", "", $buf);
H A Dcompare_004.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.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.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.4/Zend/
H A Dzend.c200 buf.len = max_len; in ZEND_INI_END()
203 smart_string_0(&buf); in ZEND_INI_END()
205 if (buf.c) { in ZEND_INI_END()
206 *pbuf = buf.c; in ZEND_INI_END()
207 return buf.len; in ZEND_INI_END()
241 smart_str buf = {0}; in zend_vstrpprintf() local
245 if (!buf.s) { in zend_vstrpprintf()
253 smart_str_0(&buf); in zend_vstrpprintf()
254 return buf.s; in zend_vstrpprintf()
499 smart_str_0(&buf); in zend_print_zval_r_to_str()
[all …]
H A Dzend.h159 …int (*unserialize)(zval *object, zend_class_entry *ce, const unsigned char *buf, size_t buf_len, z…
198 void (*printf_to_smart_string_function)(smart_string *buf, const char *format, va_list ap);
199 void (*printf_to_smart_str_function)(smart_str *buf, const char *format, va_list ap);
286 extern void (*zend_printf_to_smart_string)(smart_string *buf, const char *format, va_list ap);
287 extern void (*zend_printf_to_smart_str)(smart_str *buf, const char *format, va_list ap);
H A Dzend_alloc.c401 char *buf = php_win32_error_to_msg(err); in stderr_last_error() local
403 if (!buf[0]) { in stderr_last_error()
407 fprintf(stderr, "\n%s: [0x%08lx] %s\n", msg, err, buf); in stderr_last_error()
410 php_win32_error_msg_free(buf); in stderr_last_error()
H A Dzend_ast.c762 zend_ast_zval *new = (zend_ast_zval*)buf; in zend_ast_tree_copy()
766 buf = (void*)((char*)buf + sizeof(zend_ast_zval)); in zend_ast_tree_copy()
772 buf = (void*)((char*)buf + sizeof(zend_ast_zval)); in zend_ast_tree_copy()
780 buf = (void*)((char*)buf + zend_ast_list_size(list->children)); in zend_ast_tree_copy()
783 new->child[i] = (zend_ast*)buf; in zend_ast_tree_copy()
784 buf = zend_ast_tree_copy(list->child[i], buf); in zend_ast_tree_copy()
791 zend_ast *new = (zend_ast*)buf; in zend_ast_tree_copy()
794 buf = (void*)((char*)buf + zend_ast_size(children)); in zend_ast_tree_copy()
797 new->child[i] = (zend_ast*)buf; in zend_ast_tree_copy()
798 buf = zend_ast_tree_copy(ast->child[i], buf); in zend_ast_tree_copy()
[all …]
H A Dzend_gc.c164 #define GC_IDX2PTR(idx) (GC_G(buf) + (idx))
423 if (gc_globals->buf) { in root_buffer_dtor()
424 free(gc_globals->buf); in root_buffer_dtor()
425 gc_globals->buf = NULL; in root_buffer_dtor()
436 gc_globals->buf = NULL; in gc_globals_ctor_ex()
474 if (GC_G(buf)) { in gc_reset()
502 GC_G(buf)[0].ref = NULL; in gc_enable() local
548 GC_G(buf) = perealloc(GC_G(buf), sizeof(gc_root_buffer) * new_size, 1); in gc_grow_root_buffer()
1132 gc_root_buffer *buf; in gc_add_garbage() local
1146 buf = GC_IDX2PTR(idx); in gc_add_garbage()
[all …]
H A Dzend_ini_scanner.l278 char *buf; in zend_ini_open_file_for_scanning() local
281 if (zend_stream_fixup(fh, &buf, &size) == FAILURE) { in zend_ini_open_file_for_scanning()
290 yy_scan_buffer(buf, (unsigned int)size); in zend_ini_open_file_for_scanning()
H A Dzend_interfaces.c472 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
H A Dzend_interfaces.h75 ZEND_API int zend_user_unserialize(zval *object, zend_class_entry *ce, const unsigned char *buf, si…
78 …_unserialize_deny(zval *object, zend_class_entry *ce, const unsigned char *buf, size_t buf_len, ze…
H A Dzend_language_scanner.l516 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 Dzend_multibyte.h25 …encoding_filter)(unsigned char **str, size_t *str_length, const unsigned char *buf, size_t length);

Completed in 70 milliseconds

12345678910>>...13