Home
last modified time | relevance | path

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

123

/PHP-7.1/ext/pdo_odbc/
H A Dodbc_stmt.c407 php_stream_statbuf sb; in odbc_stmt_param_hook() local
415 if (0 == php_stream_stat(stm, &sb)) { in odbc_stmt_param_hook()
438 P->len = SQL_LEN_DATA_AT_EXEC(sb.sb.st_size); in odbc_stmt_param_hook()
/PHP-7.1/sapi/cli/
H A Dphp_cli_server.c139 zend_stat_t sb; member
1371 zend_stat_t sb; in php_cli_server_request_translate_vpath() local
1408 if (!php_sys_stat(buf, &sb)) { in php_cli_server_request_translate_vpath()
1409 if (sb.st_mode & S_IFDIR) { in php_cli_server_request_translate_vpath()
1417 if (!php_sys_stat(buf, &sb) && (sb.st_mode & S_IFREG)) { in php_cli_server_request_translate_vpath()
1474 request->sb = sb; in php_cli_server_request_translate_vpath()
2082 smart_str_append_unsigned_ex(&buffer, client->request.sb.st_size, 1); in php_cli_server_begin_send_static()
2594 zend_stat_t sb; in do_cli_server() local
2596 if (php_sys_stat(document_root, &sb)) { in do_cli_server()
2600 if (!S_ISDIR(sb.st_mode)) { in do_cli_server()
/PHP-7.1/sapi/phpdbg/
H A Dphpdbg_prompt.c320 zend_stat_t sb; in phpdbg_try_file_init() local
322 if (init_file && VCWD_STAT(init_file, &sb) != -1) { in phpdbg_try_file_init()
411 zend_stat_t sb; in PHPDBG_COMMAND() local
413 if (VCWD_STAT(param->str, &sb) != FAILURE) { in PHPDBG_COMMAND()
414 if (sb.st_mode & (S_IFREG|S_IFLNK)) { in PHPDBG_COMMAND()
1467 zend_stat_t sb; in PHPDBG_COMMAND() local
1469 if (VCWD_STAT(param->str, &sb) != -1) { in PHPDBG_COMMAND()
H A Dphpdbg.c327 zend_stat_t sb; in PHP_FUNCTION() local
330 if (VCWD_STAT(ZSTR_VAL(exec), &sb) != FAILURE) { in PHP_FUNCTION()
331 if (sb.st_mode & (S_IFREG|S_IFLNK)) { in PHP_FUNCTION()
H A Dphpdbg_bp.c276 } else if (!(ssb.sb.st_mode & (S_IFREG|S_IFLNK))) { in phpdbg_set_breakpoint_file_ex()
/PHP-7.1/ext/fileinfo/
H A Dfileinfo.c544 if (ssb.sb.st_mode & S_IFDIR) { in _php_finfo_get_type()
559 if (ssb.sb.st_mode & S_IFDIR) { in _php_finfo_get_type()
/PHP-7.1/ext/snmp/tests/
H A Dsnmp2_set.phpt101 $z = snmp2_set($hostname, $communityWrite, array($oid1, $oid2), array('s','sb'), array($newvalue1, …
209 Warning: snmp2_set(): '%s': bogus type 'sb', should be single char, got 2 in %s on line %s
H A Dsnmpset.phpt101 $z = snmpset($hostname, $communityWrite, array($oid1, $oid2), array('s','sb'), array($newvalue1, $n…
209 Warning: snmpset(): '%s': bogus type 'sb', should be single char, got 2 in %s on line %s
/PHP-7.1/ext/phar/
H A Dutil.c221 if (ssb.sb.st_mode & S_IFDIR) { in phar_mount_entry()
231 entry.uncompressed_filesize = entry.compressed_filesize = ssb.sb.st_size; in phar_mount_entry()
234 entry.flags = ssb.sb.st_mode; in phar_mount_entry()
1326 if (ssb.sb.st_mode & S_IFDIR && !dir) { in phar_get_entry_info_dir()
1334 if ((ssb.sb.st_mode & S_IFDIR) == 0 && dir) { in phar_get_entry_info_dir()
H A Dphar.c1771 if (ssb.sb.st_mode & S_IFDIR) {
1826 if (ssb.sb.st_mode & S_IFDIR) {
1838 if (ssb.sb.st_mode & S_IFDIR) {
H A Dphar_object.c2608 RETURN_BOOL((ssb.sb.st_mode & (S_IWOTH | S_IWGRP | S_IWUSR)) != 0); in PHP_METHOD()
3684 data->internal_file->flags = ssb.sb.st_mode & PHAR_ENT_PERM_MASK ; in phar_add_file()
4370 } else if (!(ssb.sb.st_mode & S_IFDIR)) { in PHP_METHOD()
/PHP-7.1/main/streams/
H A Dstreams.c1464 if (php_stream_stat(src, &ssbuf) == 0 && ssbuf.sb.st_size > 0) { in _php_stream_copy_to_mem()
1465 max_len = ssbuf.sb.st_size + step; in _php_stream_copy_to_mem()
1518 if (ssbuf.sb.st_size == 0 in _php_stream_copy_to_stream_ex()
1520 && S_ISREG(ssbuf.sb.st_mode) in _php_stream_copy_to_stream_ex()
H A Dxp_socket.c243 return zend_fstat(sock->socket, &ssb->sb); in php_sockop_stat()
H A Duserspace.c851 ssb->sb.st_##name2 = zval_get_long(elem); \ in statbuf_from_array()
/PHP-7.1/ext/opcache/
H A DZendAccelerator.c748 *statbuf = stream_statbuf.sb; in zend_get_stream_timestamp()
860 php_stream_statbuf sb; in zend_get_file_handle_timestamp() local
872 ret = stream->ops->stat(stream, &sb); in zend_get_file_handle_timestamp()
881 statbuf = sb.sb; in zend_get_file_handle_timestamp()
/PHP-7.1/sapi/fpm/fpm/
H A Dfpm_conf.c165 struct stat sb; in fpm_conf_is_dir() local
167 if (stat(path, &sb) != 0) { in fpm_conf_is_dir()
171 return (sb.st_mode & S_IFMT) == S_IFDIR; in fpm_conf_is_dir()
/PHP-7.1/main/
H A Dphp_streams.h109 zend_stat_t sb; /* regular info */ member
H A Dmain.c1404 return ssb.sb.st_size; in php_zend_stream_fsizer()
/PHP-7.1/ext/session/
H A Dsession.c1087 zend_stat_t sb;
1092 if (VCWD_STAT(path, &sb) == -1) {
1098 strcpy_gmt(buf + sizeof(LAST_MODIFIED) - 1, &sb.st_mtime);
/PHP-7.1/ext/hash/tests/
H A Dfnv1a32.phpt237 array( 'axuETGoA{fFG"0&6G$4sb!_upS#[{5h^.^$c\'t%#[LK]\\Q', '8520630b' ),
/PHP-7.1/ext/openssl/
H A Dopenssl.c2592 zend_stat_t sb; in setup_verify() local
2605 if (VCWD_STAT(Z_STRVAL_P(item), &sb) == -1) { in setup_verify()
2610 if ((sb.st_mode & S_IFREG) == S_IFREG) { in setup_verify()
/PHP-7.1/ext/sqlite3/
H A Dsqlite3.c1187 ssb->sb.st_size = sqlite3_stream->size; in php_sqlite3_stream_stat()
/PHP-7.1/ext/pcre/pcrelib/testdata/
H A Dtestinput82880 /a\sb/
H A Dtestinput12554 /a\sb/
H A Dtestoutput84603 /a\sb/

Completed in 175 milliseconds

123