Home
last modified time | relevance | path

Searched refs:st (Results 1 – 25 of 182) sorted by last modified time

12345678

/PHP-7.1/win32/
H A Dftok.c30 struct _stat st; in ftok() local
39 if (_wstat(pathw, &st) < 0) { in ftok()
55 …ret = (key_t) ((proj_id & 0xff) << 24 | (st.st_dev & 0xff) << 16 | ((bhfi.nFileIndexLow | (__int64… in ftok()
/PHP-7.1/tests/lang/
H A DforeachLoopIteratorAggregate.004.phpt34 case 0: return "1st";
/PHP-7.1/tests/classes/
H A Diterators_001.phpt35 case 0: return "1st";
187 object:1st=>0
H A Diterators_002.phpt36 case 0: return "1st";
H A Diterators_004.phpt8 echo "1st try\n";
40 case 0: return "1st";
57 1st try
H A Darray_access_001.phpt7 public $a = array('1st', 1, 2=>'3rd', '4th'=>4);
89 string(3) "1st"
129 string(3) "1st"
162 string(3) "1st"
172 string(3) "1st"
190 string(3) "1st"
H A Darray_access_002.phpt7 public $a = array('1st', 1, 2=>'3rd', '4th'=>4);
89 string(3) "1st"
129 string(3) "1st"
162 string(3) "1st"
172 string(3) "1st"
190 string(3) "1st"
H A Darray_access_003.phpt9 public $a = array('1st', 1, 2=>'3rd', '4th'=>4);
H A Darray_access_004.phpt7 public $a = array('1st', 1, 2=>'3rd', '4th'=>4);
/PHP-7.1/sapi/litespeed/
H A Dlsapilib.c821 struct stat st; in readSecret() local
828 if ( fstat( fd, &st ) == -1 ) in readSecret()
842 if ( st.st_mode & 0077 ) in readSecret()
/PHP-7.1/sapi/fpm/fpm/
H A Dfpm_main.c1128 struct stat st; local
1186 if (stat(pt, &st) == 0 && S_ISREG(st.st_mode)) {
/PHP-7.1/
H A Drun-tests.php2234 $st = $steps / 2;
2236 for ($ofs1 = $idx1 + 1; $ofs1 < $cnt1 && $st-- > 0; $ofs1++) {
2237 $eq = @count_array_diff($ar1, $ar2, $is_reg, $w, $ofs1, $idx2, $cnt1, $cnt2, $st);
2245 $st = $steps;
2247 for ($ofs2 = $idx2 + 1; $ofs2 < $cnt2 && $st-- > 0; $ofs2++) {
2248 $eq = @count_array_diff($ar1, $ar2, $is_reg, $w, $idx1, $ofs2, $cnt1, $cnt2, $st);
/PHP-7.1/sapi/cgi/
H A Dcgi_main.c1229 zend_stat_t st; local
1283 if (zend_stat(pt, &st) == 0 && S_ISREG(st.st_mode)) {
/PHP-7.1/main/streams/
H A Dplain_wrapper.c60 # define PLAIN_WRAP_BUF_SIZE(st) (((st) > UINT_MAX) ? UINT_MAX : (unsigned int)(st)) argument
62 # define PLAIN_WRAP_BUF_SIZE(st) (st) argument
/PHP-7.1/ext/zip/lib/
H A Dzipwin32.h54 struct zip_stat st; /* stat information passed in */ member
H A Dzipint.h559 …ew(zip_source_t *src, zip_uint64_t start, zip_uint64_t length, zip_stat_t *st, zip_error_t *error);
H A Dzip_open.c185 struct zip_stat st; in _zip_open() local
188 zip_stat_init(&st); in _zip_open()
189 if (zip_source_stat(src, &st) < 0) { in _zip_open()
193 if ((st.valid & ZIP_STAT_SIZE) == 0) { in _zip_open()
197 len = st.size; in _zip_open()
543 struct zip_stat st; in _zip_file_exists() local
545 zip_stat_init(&st); in _zip_file_exists()
546 if (zip_source_stat(src, &st) != 0) { in _zip_file_exists()
555 return (st.valid & ZIP_STAT_SIZE) && st.size == 0 ? EXISTS_EMPTY : EXISTS_NONEMPTY; in _zip_file_exists()
H A Dzip_source_filep.c139 if (st) { in _zip_source_file_or_p()
140 memcpy(&ctx->st, st, sizeof(ctx->st)); in _zip_source_file_or_p()
141 ctx->st.name = NULL; in _zip_source_file_or_p()
145 zip_stat_init(&ctx->st); in _zip_source_file_or_p()
408 if (ctx->st.valid != 0) in read_file()
409 memcpy(data, &ctx->st, sizeof(ctx->st)); in read_file()
411 zip_stat_t *st; in read_file() local
425 st = (zip_stat_t *)data; in read_file()
427 zip_stat_init(st); in read_file()
428 st->mtime = fst.st_mtime; in read_file()
[all …]
H A Dzip_source_pkware.c131 struct zip_stat st; in decrypt_header() local
147 if (zip_source_stat(src, &st) < 0) { in decrypt_header()
152 _zip_u2d_time(st.mtime, &dostime, &dosdate); in decrypt_header()
154 if (header[HEADERLEN-1] != st.crc>>24 && header[HEADERLEN-1] != dostime>>8) { in decrypt_header()
192 zip_stat_t *st; in pkware_decrypt() local
194 st = (zip_stat_t *)data; in pkware_decrypt()
196 st->encryption_method = ZIP_EM_NONE; in pkware_decrypt()
197 st->valid |= ZIP_STAT_ENCRYPTION_METHOD; in pkware_decrypt()
199 if (st->valid & ZIP_STAT_COMP_SIZE) in pkware_decrypt()
200 st->comp_size -= HEADERLEN; in pkware_decrypt()
H A Dzip_source_stat.c39 zip_source_stat(zip_source_t *src, zip_stat_t *st) in zip_source_stat() argument
44 if (st == NULL) { in zip_source_stat()
49 zip_stat_init(st); in zip_source_stat()
52 if (zip_source_stat(src->src, st) < 0) { in zip_source_stat()
58 if (_zip_source_call(src, st, sizeof(*st), ZIP_SOURCE_STAT) < 0) { in zip_source_stat()
H A Dzip_source_win32handle.c102 if (st) { in _zip_source_win32_handle_or_name()
103 memcpy(&ctx->st, st, sizeof(ctx->st)); in _zip_source_win32_handle_or_name()
104 ctx->st.name = NULL; in _zip_source_win32_handle_or_name()
108 zip_stat_init(&ctx->st); in _zip_source_win32_handle_or_name()
329 if (len < sizeof(ctx->st)) in _win32_read_file()
332 if (ctx->st.valid != 0) in _win32_read_file()
333 memcpy(data, &ctx->st, sizeof(ctx->st)); in _win32_read_file()
336 zip_stat_t *st; in _win32_read_file() local
367 return sizeof(ctx->st); in _win32_read_file()
569 zip_stat_init(st); in _zip_stat_win32()
[all …]
H A Dzip_source_window.c61 _zip_source_window_new(zip_source_t *src, zip_uint64_t start, zip_uint64_t length, zip_stat_t *st, … in _zip_source_window_new() argument
82 if (st) { in _zip_source_window_new()
83 if (_zip_stat_merge(&ctx->stat, st, error) < 0) { in _zip_source_window_new()
195 zip_stat_t *st; in window_read() local
197 st = (zip_stat_t *)data; in window_read()
199 if (_zip_stat_merge(st, &ctx->stat, &ctx->error) < 0) { in window_read()
H A Dzip_source_buffer.c188 zip_stat_t *st; in read_data() local
190 if (len < sizeof(*st)) { in read_data()
195 st = (zip_stat_t *)data; in read_data()
197 zip_stat_init(st); in read_data()
198 st->mtime = ctx->mtime; in read_data()
199 st->size = ctx->in->size; in read_data()
200 st->comp_size = st->size; in read_data()
201 st->comp_method = ZIP_CM_STORE; in read_data()
202 st->encryption_method = ZIP_EM_NONE; in read_data()
203st->valid = ZIP_STAT_MTIME|ZIP_STAT_SIZE|ZIP_STAT_COMP_SIZE|ZIP_STAT_COMP_METHOD|ZIP_STAT_ENCRYPTI… in read_data()
[all …]
H A Dzip_source_crc.c105 struct zip_stat st; in crc_read() local
107 if (zip_source_stat(src, &st) < 0) { in crc_read()
112 if ((st.valid & ZIP_STAT_CRC) && st.crc != ctx->crc) { in crc_read()
116 if ((st.valid & ZIP_STAT_SIZE) && st.size != ctx->size) { in crc_read()
141 zip_stat_t *st; in crc_read() local
143 st = (zip_stat_t *)data; in crc_read()
148 st->size = ctx->size; in crc_read()
149 st->crc = ctx->crc; in crc_read()
150 st->comp_size = ctx->size; in crc_read()
151 st->comp_method = ZIP_CM_STORE; in crc_read()
[all …]
H A Dzip_source_deflate.c312 zip_stat_t *st; in deflate_compress() local
314 st = (zip_stat_t *)data; in deflate_compress()
317 st->valid |= ZIP_STAT_COMP_METHOD; in deflate_compress()
319 st->comp_size = ctx->size; in deflate_compress()
320 st->valid |= ZIP_STAT_COMP_SIZE; in deflate_compress()
323 st->valid &= ~ZIP_STAT_COMP_SIZE; in deflate_compress()
383 zip_stat_t *st; in deflate_decompress() local
385 st = (zip_stat_t *)data; in deflate_decompress()
387 st->comp_method = ZIP_CM_STORE; in deflate_decompress()
388 if (st->comp_size > 0 && st->size > 0) in deflate_decompress()
[all …]

Completed in 95 milliseconds

12345678