Home
last modified time | relevance | path

Searched refs:st (Results 1 – 25 of 180) sorted by relevance

12345678

/PHP-7.0/ext/zip/lib/
H A Dzip_stat_index.c40 zip_stat_t *st) in zip_stat_index() argument
60 zip_stat_init(st); in zip_stat_index()
62 st->crc = de->crc; in zip_stat_index()
63 st->size = de->uncomp_size; in zip_stat_index()
64 st->mtime = de->last_mod; in zip_stat_index()
65 st->comp_size = de->comp_size; in zip_stat_index()
70 st->encryption_method = ZIP_EM_UNKNOWN; in zip_stat_index()
73 st->encryption_method = ZIP_EM_TRAD_PKWARE; in zip_stat_index()
76 st->encryption_method = ZIP_EM_NONE; in zip_stat_index()
81 st->index = index; in zip_stat_index()
[all …]
H A Dzip_stat_init.c40 zip_stat_init(zip_stat_t *st) in zip_stat_init() argument
42 st->valid = 0; in zip_stat_init()
43 st->name = NULL; in zip_stat_init()
44 st->index = ZIP_UINT64_MAX; in zip_stat_init()
45 st->crc = 0; in zip_stat_init()
46 st->mtime = (time_t)-1; in zip_stat_init()
47 st->size = 0; in zip_stat_init()
48 st->comp_size = 0; in zip_stat_init()
49 st->comp_method = ZIP_CM_STORE; in zip_stat_init()
50 st->encryption_method = ZIP_EM_NONE; in zip_stat_init()
H A Dzip_source_zip_new.c47 struct zip_stat st; in _zip_source_zip_new() local
63 if (zip_stat_index(srcza, srcidx, flags|ZIP_FL_UNCHANGED, &st) < 0) { in _zip_source_zip_new()
96 if (st.comp_method != ZIP_CM_STORE) { in _zip_source_zip_new()
107 if (st.comp_size == 0) { in _zip_source_zip_new()
114 st2.size = len ? len : st.size-start; in _zip_source_zip_new()
117 st2.mtime = st.mtime; in _zip_source_zip_new()
125 if ((src = _zip_source_window_new(srcza->src, offset, st.comp_size, &st, &za->error)) == NULL) { in _zip_source_zip_new()
138 s2 = enc_impl(za, src, st.encryption_method, 0, password); in _zip_source_zip_new()
146 s2 = comp_impl(za, src, st.comp_method, 0); in _zip_source_zip_new()
153 …if (((flags & ZIP_FL_COMPRESSED) == 0 || st.comp_method == ZIP_CM_STORE) && (len == 0 || len == st in _zip_source_zip_new()
[all …]
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_close.c235 struct zip_stat st; in add_data() local
247 st.valid |= ZIP_STAT_COMP_METHOD; in add_data()
248 st.comp_method = ZIP_CM_STORE; in add_data()
252 de->comp_method = st.comp_method; in add_data()
254 st.valid |= ZIP_STAT_COMP_SIZE; in add_data()
255 st.comp_size = st.size; in add_data()
259 st.valid &= ~ZIP_STAT_COMP_SIZE; in add_data()
268 de->uncomp_size = st.size; in add_data()
315 if (de->comp_method != ZIP_CM_STORE && ((st.valid & ZIP_STAT_SIZE) == 0 || st.size != 0)) { in add_data()
371 de->crc = st.crc; in add_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_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_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_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 …]
H A Dzip_stat.c39 zip_stat(zip_t *za, const char *fname, zip_flags_t flags, zip_stat_t *st) in zip_stat() argument
46 return zip_stat_index(za, (zip_uint64_t)idx, flags, st); in zip_stat()
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 …]
/PHP-7.0/ext/pdo_pgsql/tests/
H A Dbug64953.phpt20 $st = $pdo->prepare('SELECT ?::char as i');
21 $st->bindValue(1, '1');
22 $st->execute();
23 var_dump($st->fetch()); // return false
26 $st = $pdo->prepare('SELECT (?)::char as i');
27 $st->bindValue(1, '1');
28 $st->execute();
34 $st->execute(array(":int" => 123));
35 var_dump($st->fetch());
38 $st->execute();
[all …]
/PHP-7.0/ext/pdo_sqlite/tests/
H A Dpdo_fetch_func_001.phpt15 $st = $db->query('SELECT * FROM testing');
16 $st->fetchAll(PDO::FETCH_FUNC, function($x, $y) use ($st) { var_dump($st); print "data: $x, $y\n"; …
18 $st = $db->query('SELECT name FROM testing');
21 $st = $db->query('SELECT * FROM testing');
24 $st = $db->query('SELECT * FROM testing');
27 $st = $db->query('SELECT * FROM testing');
30 $st = $db->query('SELECT * FROM testing');
33 $st = $db->query('SELECT * FROM testing');
62 $st = $db->query('SELECT * FROM testing');
65 $st = $db->query('SELECT * FROM testing');
[all …]
/PHP-7.0/Zend/tests/
H A Dbug37138.phpt6 class st {
10 class stch extends st {
13 st::e ();
14 st::e2 ();
H A Dbug70547.phpt25 brokenTrace("1st", $arg2, "3th", "4th");
34 string(3) "1st"
44 string(3) "1st"
52 string(3) "1st"
58 string(3) "1st"
/PHP-7.0/ext/date/tests/
H A D003.phpt14 string(4) "31st"
15 string(3) "1st"
35 string(4) "21st"
45 string(4) "31st"
H A DDateTime_data-spring-type2-type3.inc15 * + st: standard time on transition day 2010-03-14 00:10:20 EST
27 $end = new DateTime('2010-03-14 00:10:20'); // st, zt3
43 $start = new DateTime('2010-03-14 00:10:20 EST'); // st, zt2
47 $end = new DateTime('2010-03-14 00:15:35'); // sp st, zt3
48 $start = new DateTime('2010-03-14 00:10:20 EST'); // st, zt2
53 $start = new DateTime('2010-03-14 00:10:20 EST'); // st, zt2
58 $start = new DateTime('2010-03-14 00:10:20 EST'); // st, zt2
67 $end = new DateTime('2010-03-14 00:10:20'); // st, zt3
87 $end = new DateTime('2010-03-14 00:10:20'); // st, zt3
H A DDateTime_data-spring-type3-type2.inc15 * + st: standard time on transition day 2010-03-14 00:10:20 EST
27 $end = new DateTime('2010-03-14 00:10:20 EST'); // st, zt2
43 $start = new DateTime('2010-03-14 00:10:20'); // st, zt3
47 $end = new DateTime('2010-03-14 00:15:35 EST'); // sp st, zt2
48 $start = new DateTime('2010-03-14 00:10:20'); // st, zt3
53 $start = new DateTime('2010-03-14 00:10:20'); // st, zt3
58 $start = new DateTime('2010-03-14 00:10:20'); // st, zt3
67 $end = new DateTime('2010-03-14 00:10:20 EST'); // st, zt2
87 $end = new DateTime('2010-03-14 00:10:20 EST'); // st, zt2
H A DDateTime_data-spring-type3-type3.inc15 * + st: standard time on transition day 2010-03-14 00:10:20
27 $end = new DateTime('2010-03-14 00:10:20'); // st, zt3
43 $start = new DateTime('2010-03-14 00:10:20'); // st, zt3
47 $end = new DateTime('2010-03-14 00:15:35'); // sp st, zt3
48 $start = new DateTime('2010-03-14 00:10:20'); // st, zt3
53 $start = new DateTime('2010-03-14 00:10:20'); // st, zt3
58 $start = new DateTime('2010-03-14 00:10:20'); // st, zt3
67 $end = new DateTime('2010-03-14 00:10:20'); // st, zt3
87 $end = new DateTime('2010-03-14 00:10:20'); // st, zt3
H A DDateTime_data-spring-type2-type2.inc15 * + st: standard time on transition day 2010-03-14 00:10:20 EST
27 $end = new DateTime('2010-03-14 00:10:20 EST'); // st, zt2
43 $start = new DateTime('2010-03-14 00:10:20 EST'); // st, zt2
47 $end = new DateTime('2010-03-14 00:15:35 EST'); // sp st, zt2
48 $start = new DateTime('2010-03-14 00:10:20 EST'); // st, zt2
53 $start = new DateTime('2010-03-14 00:10:20 EST'); // st, zt2
58 $start = new DateTime('2010-03-14 00:10:20 EST'); // st, zt2
67 $end = new DateTime('2010-03-14 00:10:20 EST'); // st, zt2
87 $end = new DateTime('2010-03-14 00:10:20 EST'); // st, zt2
/PHP-7.0/ext/intl/tests/
H A Dmsgfmt_setPattern_cache.phpt23 string(10) "1.3 -- 1st"
24 string(10) "1.3 -- 1st"
25 string(10) "1st -- 1.3"
/PHP-7.0/ext/mbstring/tests/
H A Dmb_eregi_replace.phpt10 function do_translit($st) {
27 $st = mb_eregi_replace($i,$u,$st);
29 return $st;
/PHP-7.0/ext/spl/tests/
H A Darray_010.phpt6 $obj = new ArrayObject(array('1st', 1, 2=>'3rd', '4th'=>4));
69 string(3) "1st"
92 string(3) "1st"
111 string(3) "1st"
118 string(3) "1st"
136 string(3) "1st"
/PHP-7.0/ext/xmlrpc/libxmlrpc/
H A Dencodings.c76 size_t st; in convert() local
82 st = iconv(ic, (char**)&src, &inlenleft, &out_ptr, &outlenleft); in convert()
83 if(st == -1) { in convert()

Completed in 66 milliseconds

12345678