Home
last modified time | relevance | path

Searched refs:sb (Results 26 – 50 of 51) sorted by relevance

123

/php-src/ext/pdo_odbc/
H A Dodbc_stmt.c417 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 Dphp_cli_server.c148 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 Dfilestat.c734 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 Dphpdbg_prompt.c308 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 Dphpdbg.c268 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 Dphpdbg_bp.c287 } else if (!(ssb.sb.st_mode & (S_IFREG|S_IFLNK))) { in phpdbg_set_breakpoint_file()
/php-src/ext/pdo_sqlite/
H A Dpdo_sqlite.c270 ssb->sb.st_size = sqlite3_stream->size; in php_pdosqlite3_stream_stat()
/php-src/ext/phar/
H A Dutil.c240 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 Dphar_object.c1476 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 Dphar.c1837 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 Dfpm_conf.c169 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 Dsnmp2_set.phpt122 …$z = snmp2_set($hostname, $communityWrite, array($oid1, $oid2), array('s','sb'), array($newvalue1,…
H A Dsnmpset.phpt116 …$z = snmpset($hostname, $communityWrite, array($oid1, $oid2), array('s','sb'), array($newvalue1, $…
/php-src/main/
H A Dphp_streams.h105 zend_stat_t sb; /* regular info */ member
H A Dmain.c1608 return ssb.sb.st_size; in php_zend_stream_fsizer()
/php-src/main/streams/
H A Dxp_socket.c271 return zend_fstat(sock->socket, &ssb->sb); in php_sockop_stat()
H A Dstreams.c1567 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 Duserspace.c807 ssb->sb.st_##name2 = zval_get_long(elem); \ in statbuf_from_array()
/php-src/ext/opcache/
H A DZendAccelerator.c965 *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 Dsession.c1238 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 Dfnv1a32.phpt235 array( 'axuETGoA{fFG"0&6G$4sb!_upS#[{5h^.^$c\'t%#[LK]\\Q', '8520630b' ),
/php-src/ext/sqlite3/
H A Dsqlite3.c1223 ssb->sb.st_size = sqlite3_stream->size; in php_sqlite3_stream_stat()
/php-src/ext/openssl/
H A Dopenssl.c2423 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 Dinterface.c1460 filesize = ssb.sb.st_size; in build_mime_structure_from_hash()
/php-src/ext/fileinfo/tests/
H A Dmagic私はガラスを食べられます12549 >0 ubyte 0xfd Linux RAID partition persistent sb
40451 >>>>&0 search/91/sb a\0

Completed in 336 milliseconds

123