/php-src/ext/pdo_odbc/ |
H A D | odbc_stmt.c | 417 php_stream_statbuf sb; in odbc_stmt_param_hook() local 425 if (0 == php_stream_stat(stm, &sb)) { in odbc_stmt_param_hook() 448 P->len = SQL_LEN_DATA_AT_EXEC(sb.sb.st_size); in odbc_stmt_param_hook()
|
/php-src/sapi/cli/ |
H A D | php_cli_server.c | 148 zend_stat_t sb; member 1442 zend_stat_t sb = {0}; in php_cli_server_request_translate_vpath() local 1469 if (!php_sys_stat(buf, &sb)) { in php_cli_server_request_translate_vpath() 1470 if (sb.st_mode & S_IFDIR) { in php_cli_server_request_translate_vpath() 1478 if (!php_sys_stat(buf, &sb) && (sb.st_mode & S_IFREG)) { in php_cli_server_request_translate_vpath() 1535 request->sb = sb; in php_cli_server_request_translate_vpath() 2205 smart_str_append_unsigned_ex(&buffer, client->request.sb.st_size, 1); in php_cli_server_begin_send_static() 2846 zend_stat_t sb = {0}; in do_cli_server() local 2848 if (php_sys_stat(document_root, &sb)) { in do_cli_server() 2852 if (!S_ISDIR(sb.st_mode)) { in do_cli_server()
|
/php-src/ext/standard/ |
H A D | filestat.c | 734 zend_stat_t *stat_sb = &ssb.sb; in php_stat() 799 stat_sb = &BG(lssb).sb; in php_stat() 806 stat_sb = &BG(ssb).sb; in php_stat() 844 || !S_ISLNK(ssb.sb.st_mode)) { in php_stat()
|
/php-src/sapi/phpdbg/ |
H A D | phpdbg_prompt.c | 308 zend_stat_t sb = {0}; in phpdbg_try_file_init() local 310 if (init_file && VCWD_STAT(init_file, &sb) != -1) { in phpdbg_try_file_init() 400 zend_stat_t sb = {0}; in PHPDBG_COMMAND() local 402 if (VCWD_STAT(param->str, &sb) != FAILURE) { in PHPDBG_COMMAND() 403 if (sb.st_mode & (S_IFREG|S_IFLNK)) { in PHPDBG_COMMAND() 1389 zend_stat_t sb = {0}; in PHPDBG_COMMAND() local 1391 if (VCWD_STAT(param->str, &sb) != -1) { in PHPDBG_COMMAND()
|
H A D | phpdbg.c | 268 zend_stat_t sb = {0}; in PHP_FUNCTION() local 271 if (VCWD_STAT(ZSTR_VAL(exec), &sb) != FAILURE) { in PHP_FUNCTION() 272 if (sb.st_mode & (S_IFREG|S_IFLNK)) { in PHP_FUNCTION()
|
H A D | phpdbg_bp.c | 287 } else if (!(ssb.sb.st_mode & (S_IFREG|S_IFLNK))) { in phpdbg_set_breakpoint_file()
|
/php-src/ext/pdo_sqlite/ |
H A D | pdo_sqlite.c | 270 ssb->sb.st_size = sqlite3_stream->size; in php_pdosqlite3_stream_stat()
|
/php-src/ext/phar/ |
H A D | util.c | 240 if (ssb.sb.st_mode & S_IFDIR) { in phar_mount_entry() 250 entry.uncompressed_filesize = entry.compressed_filesize = ssb.sb.st_size; in phar_mount_entry() 253 entry.flags = ssb.sb.st_mode; in phar_mount_entry() 1368 if ((ssb.sb.st_mode & S_IFDIR) && !dir) { in phar_get_entry_info_dir() 1376 if ((ssb.sb.st_mode & S_IFDIR) == 0 && dir) { in phar_get_entry_info_dir()
|
H A D | phar_object.c | 1476 if (php_stream_stat_path(fname, &ssb) == 0 && S_ISDIR(ssb.sb.st_mode)) { in phar_build() 1677 data->internal_file->flags = ssb.sb.st_mode & PHAR_ENT_PERM_MASK ; in phar_build() 2604 RETURN_BOOL((ssb.sb.st_mode & (S_IWOTH | S_IWGRP | S_IWUSR)) != 0); in PHP_METHOD() 3671 data->internal_file->flags = ssb.sb.st_mode & PHAR_ENT_PERM_MASK ; in phar_add_file() 4391 } else if (!(ssb.sb.st_mode & S_IFDIR)) { in PHP_METHOD()
|
H A D | phar.c | 1837 if (ssb.sb.st_mode & S_IFDIR) { in phar_analyze_path() 1892 if (ssb.sb.st_mode & S_IFDIR) { in phar_analyze_path() 1904 if (ssb.sb.st_mode & S_IFDIR) { in phar_analyze_path()
|
/php-src/sapi/fpm/fpm/ |
H A D | fpm_conf.c | 169 struct stat sb; in fpm_conf_is_dir() local 171 if (stat(path, &sb) != 0) { in fpm_conf_is_dir() 175 return (sb.st_mode & S_IFMT) == S_IFDIR; in fpm_conf_is_dir()
|
/php-src/ext/snmp/tests/ |
H A D | snmp2_set.phpt | 122 …$z = snmp2_set($hostname, $communityWrite, array($oid1, $oid2), array('s','sb'), array($newvalue1,…
|
H A D | snmpset.phpt | 116 …$z = snmpset($hostname, $communityWrite, array($oid1, $oid2), array('s','sb'), array($newvalue1, $…
|
/php-src/main/ |
H A D | php_streams.h | 105 zend_stat_t sb; /* regular info */ member
|
H A D | main.c | 1608 return ssb.sb.st_size; in php_zend_stream_fsizer()
|
/php-src/main/streams/ |
H A D | xp_socket.c | 271 return zend_fstat(sock->socket, &ssb->sb); in php_sockop_stat()
|
H A D | streams.c | 1567 if (php_stream_stat(src, &ssbuf) == 0 && ssbuf.sb.st_size > 0) { in _php_stream_copy_to_mem() 1568 buflen = MAX(ssbuf.sb.st_size - src->position, 0) + step; in _php_stream_copy_to_mem()
|
H A D | userspace.c | 807 ssb->sb.st_##name2 = zval_get_long(elem); \ in statbuf_from_array()
|
/php-src/ext/opcache/ |
H A D | ZendAccelerator.c | 965 *statbuf = stream_statbuf.sb; in zend_get_stream_timestamp() 1071 php_stream_statbuf sb; in zend_get_file_handle_timestamp() local 1083 ret = stream->ops->stat(stream, &sb); in zend_get_file_handle_timestamp() 1092 statbuf = sb.sb; in zend_get_file_handle_timestamp()
|
/php-src/ext/session/ |
H A D | session.c | 1238 zend_stat_t sb = {0}; in last_modified() local 1243 if (VCWD_STAT(path, &sb) == -1) { in last_modified() 1249 strcpy_gmt(buf + sizeof(LAST_MODIFIED) - 1, &sb.st_mtime); in last_modified()
|
/php-src/ext/hash/tests/ |
H A D | fnv1a32.phpt | 235 array( 'axuETGoA{fFG"0&6G$4sb!_upS#[{5h^.^$c\'t%#[LK]\\Q', '8520630b' ),
|
/php-src/ext/sqlite3/ |
H A D | sqlite3.c | 1223 ssb->sb.st_size = sqlite3_stream->size; in php_sqlite3_stream_stat()
|
/php-src/ext/openssl/ |
H A D | openssl.c | 2423 zend_stat_t sb = {0}; in php_openssl_setup_verify() local 2446 if (VCWD_STAT(file_path, &sb) == -1) { in php_openssl_setup_verify() 2451 if ((sb.st_mode & S_IFREG) == S_IFREG) { in php_openssl_setup_verify()
|
/php-src/ext/curl/ |
H A D | interface.c | 1460 filesize = ssb.sb.st_size; in build_mime_structure_from_hash()
|
/php-src/ext/fileinfo/tests/ |
H A D | magic私はガラスを食べられます | 12549 >0 ubyte 0xfd Linux RAID partition persistent sb 40451 >>>>&0 search/91/sb a\0
|