Home
last modified time | relevance | path

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

12345678910>>...14

/PHP-7.2/
H A DREADME.STREAMS28 PHPAPI size_t php_stream_read(php_stream * stream, char * buf, size_t count);
29 PHPAPI size_t php_stream_write(php_stream * stream, const char * buf, size_t
35 PHPAPI char *php_stream_gets(php_stream * stream, char *buf, size_t maxlen);
118 PHPAPI size_t php_stream_copy_to_mem(php_stream *src, char **buf,
121 This function will set buf to the address of the buffer that it allocated,
338 static size_t php_mysqlop_read(php_stream * stream, char * buf, size_t count)
342 if (buf == NULL && count == 0) {
351 /* pull out some data from the stream and put it in buf */
354 and place that in the buf, but that brings in some complexities,
/PHP-7.2/TSRM/m4/
H A Dgethostbyname.m4104 char buf@<:@1024@:>@;
107 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
124 char buf@<:@1024@:>@;
127 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
/PHP-7.2/TSRM/
H A Dtsrm_win32.c761 TSRM_API int shmctl(int key, int cmd, struct shmid_ds *buf) in shmctl() argument
771 memcpy(buf, shm->descriptor, sizeof(struct shmid_ds)); in shmctl()
776 shm->descriptor->shm_perm.uid = buf->shm_perm.uid; in shmctl()
777 shm->descriptor->shm_perm.gid = buf->shm_perm.gid; in shmctl()
778 shm->descriptor->shm_perm.mode = buf->shm_perm.mode; in shmctl()
813 TSRM_API int win32_utime(const char *filename, struct utimbuf *buf) /* {{{ */ in win32_utime() argument
838 if (!buf) { in win32_utime()
844 UnixTimeToFileTime(buf->modtime, &mtime); in win32_utime()
845 UnixTimeToFileTime(buf->actime, &atime); in win32_utime()
H A Dtsrm_win32.h107 TSRM_API int win32_utime(const char *filename, struct utimbuf *buf);
112 TSRM_API int shmctl(int key, int cmd, struct shmid_ds *buf);
/PHP-7.2/Zend/
H A Dacinclude.m470 AC_TRY_RUN([main() {char buf[20];exit(sprintf(buf,"testing 123")!=11); }],[
H A Dzend.c173 buf.len = max_len; in ZEND_INI_END()
176 smart_string_0(&buf); in ZEND_INI_END()
178 if (buf.c) { in ZEND_INI_END()
179 *pbuf = buf.c; in ZEND_INI_END()
180 return buf.len; in ZEND_INI_END()
202 smart_str buf = {0}; in zend_vstrpprintf() local
206 if (!buf.s) { in zend_vstrpprintf()
214 smart_str_0(&buf); in zend_vstrpprintf()
215 return buf.s; in zend_vstrpprintf()
447 smart_str_0(&buf); in zend_print_zval_r_to_str()
[all …]
H A Dzend.h155 …int (*unserialize)(zval *object, zend_class_entry *ce, const unsigned char *buf, size_t buf_len, z…
189 void (*printf_to_smart_string_function)(smart_string *buf, const char *format, va_list ap);
190 void (*printf_to_smart_str_function)(smart_str *buf, const char *format, va_list ap);
269 extern void (*zend_printf_to_smart_string)(smart_string *buf, const char *format, va_list ap);
270 extern void (*zend_printf_to_smart_str)(smart_str *buf, const char *format, va_list ap);
H A Dzend_alloc.c397 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()
H A Dzend_gc.c167 if (gc_globals->buf) { in root_buffer_dtor()
168 free(gc_globals->buf); in root_buffer_dtor()
240 if (GC_G(buf)) { in gc_reset()
714 if (buf) { in gc_add_garbage()
718 GC_INFO(ref) = buf - GC_G(buf); in gc_add_garbage()
720 GC_REF_SET_ADDRESS(ref, buf - GC_G(buf)); in gc_add_garbage()
727 GC_INFO(ref) = buf - GC_G(buf); in gc_add_garbage()
729 GC_REF_SET_ADDRESS(ref, buf - GC_G(buf)); in gc_add_garbage()
742 buf = GC_G(additional_buffer)->buf + GC_G(additional_buffer)->used; in gc_add_garbage()
751 if (buf) { in gc_add_garbage()
[all …]
H A Dzend_gc.h78 gc_root_buffer buf[GC_NUM_ADDITIONAL_ENTRIES]; member
86 gc_root_buffer *buf; /* preallocated arrays of buffers */ member
H A Dzend_ini_scanner.c281 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 Dzend_ini_scanner.l279 char *buf; in zend_ini_open_file_for_scanning() local
282 if (zend_stream_fixup(fh, &buf, &size) == FAILURE) { in zend_ini_open_file_for_scanning()
291 yy_scan_buffer(buf, (unsigned int)size); in zend_ini_open_file_for_scanning()
/PHP-7.2/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);

Completed in 76 milliseconds

12345678910>>...14