Home
last modified time | relevance | path

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

12

/PHP-5.5/sapi/thttpd/
H A Dthttpd_patch750 hc->end_byte_loc = hc->sb.st_size - 1;
760 - hc->sb.st_mtime );
761 + hc->sb.st_mtime, 0, 0 );
765 hc->if_modified_since >= hc->sb.st_mtime )
770 - hc->sb.st_mtime );
772 + hc->sb.st_mtime, 0, 0 );
798 - hc->sb.st_mtime );
800 + hc->sb.st_mtime, lm, lml );
1010 struct stat sb;
1320 struct stat sb;
[all …]
/PHP-5.5/ext/fileinfo/libmagic/
H A Dapprentice.c784 size_t sb = apprentice_magic_strength(mb->mp); in apprentice_sort() local
785 if (sa == sb) in apprentice_sort()
787 else if (sa > sb) in apprentice_sort()
2618 if (st.sb.st_mode & S_IFDIR) { in apprentice_map()
2643 if (st.sb.st_size < 8) { in apprentice_map()
2648 map->len = (size_t)st.sb.st_size; in apprentice_map()
2653 if (php_stream_read(stream, map->p, (size_t)st.sb.st_size) != (size_t)st.sb.st_size) { in apprentice_map()
2693 nentries = (uint32_t)(st.sb.st_size / sizeof(struct magic)); in apprentice_map()
2694 entries = (uint32_t)(st.sb.st_size / sizeof(struct magic)); in apprentice_map()
2695 if ((off_t)(entries * sizeof(struct magic)) != st.sb.st_size) { in apprentice_map()
[all …]
/PHP-5.5/sapi/cli/
H A Dphp_cli_server.c141 struct stat sb; member
1458 struct stat sb; in php_cli_server_request_translate_vpath() local
1495 if (!stat(buf, &sb)) { in php_cli_server_request_translate_vpath()
1496 if (sb.st_mode & S_IFDIR) { in php_cli_server_request_translate_vpath()
1504 if (!stat(buf, &sb) && (sb.st_mode & S_IFREG)) { in php_cli_server_request_translate_vpath()
1561 request->sb = sb; in php_cli_server_request_translate_vpath()
2077 smart_str_append_generic_ex(&buffer, client->request.sb.st_size, 1, size_t, _unsigned); in php_cli_server_begin_send_static()
2543 struct stat sb; in do_cli_server() local
2545 if (stat(document_root, &sb)) { in do_cli_server()
2549 if (!S_ISDIR(sb.st_mode)) { in do_cli_server()
/PHP-5.5/ext/fileinfo/
H A Dfileinfo.c523 if (ssb.sb.st_mode & S_IFDIR) {
542 if (ssb.sb.st_mode & S_IFDIR) {
/PHP-5.5/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-5.5/ext/phar/
H A Dutil.c228 if (ssb.sb.st_mode & S_IFDIR) { in phar_mount_entry()
238 entry.uncompressed_filesize = entry.compressed_filesize = ssb.sb.st_size; in phar_mount_entry()
241 entry.flags = ssb.sb.st_mode; in phar_mount_entry()
1352 if (ssb.sb.st_mode & S_IFDIR && !dir) { in phar_get_entry_info_dir()
1360 if ((ssb.sb.st_mode & S_IFDIR) == 0 && dir) { in phar_get_entry_info_dir()
H A Dphar.c1762 if (ssb.sb.st_mode & S_IFDIR) {
1814 if (ssb.sb.st_mode & S_IFDIR) {
1826 if (ssb.sb.st_mode & S_IFDIR) {
H A Dphar_object.c2610 RETURN_BOOL((ssb.sb.st_mode & (S_IWOTH | S_IWGRP | S_IWUSR)) != 0); in PHP_METHOD()
4352 } else if (!(ssb.sb.st_mode & S_IFDIR)) { in PHP_METHOD()
/PHP-5.5/main/streams/
H A Dstreams.c1467 if (php_stream_stat(src, &ssbuf) == 0 && ssbuf.sb.st_size > 0) { in _php_stream_copy_to_mem()
1468 max_len = ssbuf.sb.st_size + step; in _php_stream_copy_to_mem()
1519 if (ssbuf.sb.st_size == 0 in _php_stream_copy_to_stream_ex()
1521 && S_ISREG(ssbuf.sb.st_mode) in _php_stream_copy_to_stream_ex()
H A Dxp_socket.c229 return fstat(sock->socket, &ssb->sb); in php_sockop_stat()
H A Duserspace.c898 ssb->sb.st_##name2 = Z_LVAL_PP(elem); \ in statbuf_from_array()
/PHP-5.5/sapi/fpm/fpm/
H A Dfpm_conf.c158 struct stat sb; in fpm_conf_is_dir() local
160 if (stat(path, &sb) != 0) { in fpm_conf_is_dir()
164 return (sb.st_mode & S_IFMT) == S_IFDIR; in fpm_conf_is_dir()
/PHP-5.5/ext/opcache/
H A DZendAccelerator.c673 *statbuf = stream_statbuf.sb; in zend_get_stream_timestamp()
789 php_stream_statbuf sb; in zend_get_file_handle_timestamp() local
801 ret = stream->ops->stat(stream, &sb TSRMLS_CC); in zend_get_file_handle_timestamp()
810 statbuf = sb.sb; in zend_get_file_handle_timestamp()
/PHP-5.5/main/
H A Dphp_streams.h107 struct stat sb; /* regular info */ member
H A Dmain.c1318 return ssb.sb.st_size; in php_zend_stream_fsizer()
/PHP-5.5/ext/session/
H A Dsession.c1178 struct stat sb;
1183 if (VCWD_STAT(path, &sb) == -1) {
1189 strcpy_gmt(buf + sizeof(LAST_MODIFIED) - 1, &sb.st_mtime);
/PHP-5.5/ext/openssl/
H A Dopenssl.c1789 struct stat sb; in setup_verify() local
1796 if (VCWD_STAT(Z_STRVAL_PP(item), &sb) == -1) { in setup_verify()
1801 if ((sb.st_mode & S_IFREG) == S_IFREG) { in setup_verify()
/PHP-5.5/ext/sqlite3/
H A Dsqlite3.c1199 ssb->sb.st_size = sqlite3_stream->size;
/PHP-5.5/ext/pcre/pcrelib/testdata/
H A Dtestinput82880 /a\sb/
H A Dtestinput12554 /a\sb/
H A Dtestoutput84603 /a\sb/
H A Dtestoutput14124 /a\sb/

Completed in 171 milliseconds

12