/PHP-5.5/ |
H A D | README.STREAMS | 28 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-5.5/TSRM/ |
H A D | tsrm_virtual_cwd.c | 296 buf->st_dev = buf->st_rdev = path[0] - 'A'; in php_sys_stat_ex() 298 buf->st_dev = buf->st_rdev = path[0] - 'a'; in php_sys_stat_ex() 301 buf->st_dev = buf->st_rdev = 0; in php_sys_stat_ex() 312 buf->st_dev = buf->st_rdev = path[0] - 'A'; in php_sys_stat_ex() 314 buf->st_dev = buf->st_rdev = path[0] - 'a'; in php_sys_stat_ex() 317 buf->st_dev = buf->st_rdev = -1; in php_sys_stat_ex() 321 buf->st_dev = buf->st_rdev = -1; in php_sys_stat_ex() 333 buf->st_uid = buf->st_gid = buf->st_ino = 0; in php_sys_stat_ex() 400 struct stat buf; in php_is_dir_ok() local 552 return buf; in virtual_getcwd() [all …]
|
H A D | tsrm_virtual_cwd.h | 133 CWD_API int php_sys_stat_ex(const char *path, struct stat *buf, int lstat); 134 # define php_sys_stat(path, buf) php_sys_stat_ex(path, buf, 0) argument 135 # define php_sys_lstat(path, buf) php_sys_stat_ex(path, buf, 1) argument 155 CWD_API char *virtual_getcwd(char *buf, size_t size TSRMLS_DC); 165 CWD_API int virtual_stat(const char *path, struct stat *buf TSRMLS_DC); 166 CWD_API int virtual_lstat(const char *path, struct stat *buf TSRMLS_DC); 190 CWD_API int virtual_utime(const char *filename, struct utimbuf *buf TSRMLS_DC); 266 #define VCWD_GETWD(buf) argument 304 #define VCWD_GETWD(buf) getwd(buf) argument
|
H A D | tsrm_win32.c | 686 TSRM_API int shmctl(int key, int cmd, struct shmid_ds *buf) { in shmctl() argument 695 memcpy(buf, shm->descriptor, sizeof(struct shmid_ds)); in shmctl() 700 shm->descriptor->shm_perm.uid = buf->shm_perm.uid; in shmctl() 701 shm->descriptor->shm_perm.gid = buf->shm_perm.gid; in shmctl() 702 shm->descriptor->shm_perm.mode = buf->shm_perm.mode; in shmctl()
|
H A D | tsrm_win32.h | 102 TSRM_API int win32_utime(const char *filename, struct utimbuf *buf); 107 TSRM_API int shmctl(int key, int cmd, struct shmid_ds *buf);
|
/PHP-5.5/Zend/ |
H A D | acinclude.m4 | 61 AC_TRY_RUN([main() {char buf[20];exit(sprintf(buf,"testing 123")!=11); }],[
|
H A D | zend.h | 516 …int (*unserialize)(zval **object, zend_class_entry *ce, const unsigned char *buf, zend_uint buf_le…
|
H A D | zend_alloc.c | 977 static void zend_mm_random(unsigned char *buf, size_t size) /* {{{ */ in zend_mm_random() argument 999 BOOL ret = CryptGenRandom(hCryptProv, size, buf); in zend_mm_random() 1002 while (i < size && buf[i] != 0) { in zend_mm_random() 1015 if (read(fd, buf, size) == size) { in zend_mm_random() 1016 while (i < size && buf[i] != 0) { in zend_mm_random() 1030 buf[i] = ((unsigned char)rand()) ^ t; in zend_mm_random() 1031 } while (buf[i] == 0); in zend_mm_random() 1032 t = buf[i++] << 1; in zend_mm_random()
|
H A D | zend_compile.c | 3234 #define REALLOC_BUF_IF_EXCEED(buf, offset, length, size) \ argument 3235 if (UNEXPECTED(offset - buf + size >= length)) { \ 3237 buf = erealloc(buf, length); \ 3242 char *offset, *buf; in zend_get_function_declaration() local 3245 offset = buf = (char *)emalloc(length * sizeof(char)); in zend_get_function_declaration() 3260 REALLOC_BUF_IF_EXCEED(buf, offset, length, name_len); in zend_get_function_declaration() 3285 REALLOC_BUF_IF_EXCEED(buf, offset, length, class_name_len); in zend_get_function_declaration() 3293 REALLOC_BUF_IF_EXCEED(buf, offset, length, type_name_len); in zend_get_function_declaration() 3346 REALLOC_BUF_IF_EXCEED(buf, offset, length, Z_STRLEN_P(zv)); in zend_get_function_declaration() 3396 REALLOC_BUF_IF_EXCEED(buf, offset, length, 32); in zend_get_function_declaration() [all …]
|
H A D | zend_gc.c | 35 if (gc_globals->buf) { in root_buffer_dtor() 36 free(gc_globals->buf); in root_buffer_dtor() 37 gc_globals->buf = NULL; in root_buffer_dtor() 46 gc_globals->buf = NULL; in gc_globals_ctor_ex() 109 if (GC_G(buf)) { in gc_reset() 111 GC_G(first_unused) = GC_G(buf); in gc_reset() 123 if (GC_G(buf) == NULL && GC_G(gc_enabled)) { in gc_init() 124 GC_G(buf) = (gc_root_buffer*) malloc(sizeof(gc_root_buffer) * GC_ROOT_BUFFER_MAX_ENTRIES); in gc_init() 125 GC_G(last_unused) = &GC_G(buf)[GC_ROOT_BUFFER_MAX_ENTRIES]; in gc_init() 135 (GC_ZVAL_ADDRESS(zv) < GC_G(buf) || in gc_zval_possible_root() [all …]
|
H A D | zend_gc.h | 103 gc_root_buffer *buf; /* preallocated arrays of buffers */ member
|
H A D | zend_ini_scanner.c | 230 char *buf; in zend_ini_open_file_for_scanning() local 233 if (zend_stream_fixup(fh, &buf, &size TSRMLS_CC) == FAILURE) { in zend_ini_open_file_for_scanning() 242 yy_scan_buffer(buf, size TSRMLS_CC); in zend_ini_open_file_for_scanning()
|
H A D | zend_ini_scanner.l | 228 char *buf; in zend_ini_open_file_for_scanning() local 231 if (zend_stream_fixup(fh, &buf, &size TSRMLS_CC) == FAILURE) { in zend_ini_open_file_for_scanning() 240 yy_scan_buffer(buf, size TSRMLS_CC); in zend_ini_open_file_for_scanning()
|
/PHP-5.5/Zend/tests/ |
H A D | compare_001.phpt | 36 $buf = ob_get_clean(); 37 echo str_replace("\n", "", $buf);
|
H A D | compare_001_64bit.phpt | 36 $buf = ob_get_clean(); 37 echo str_replace("\n", "", $buf);
|
H A D | compare_002.phpt | 36 $buf = ob_get_clean(); 37 echo str_replace("\n", "", $buf);
|
H A D | compare_002_64bit.phpt | 36 $buf = ob_get_clean(); 37 echo str_replace("\n", "", $buf);
|
H A D | compare_003.phpt | 36 $buf = ob_get_clean(); 37 echo str_replace("\n", "", $buf);
|
H A D | compare_003_64bit.phpt | 36 $buf = ob_get_clean(); 37 echo str_replace("\n", "", $buf);
|
H A D | compare_004.phpt | 36 $buf = ob_get_clean(); 37 echo str_replace("\n", "", $buf);
|
H A D | compare_004_64bit.phpt | 36 $buf = ob_get_clean(); 37 echo str_replace("\n", "", $buf);
|
H A D | compare_005.phpt | 36 $buf = ob_get_clean(); 37 echo str_replace("\n", "", $buf);
|
H A D | compare_005_64bit.phpt | 36 $buf = ob_get_clean(); 37 echo str_replace("\n", "", $buf);
|
H A D | compare_006.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);
|