Home
last modified time | relevance | path

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

1234567

/PHP-5.5/ext/zip/lib/
H A Dzip_stat_init.c41 zip_stat_init(struct zip_stat *st) in zip_stat_init() argument
43 st->valid = 0; in zip_stat_init()
44 st->name = NULL; in zip_stat_init()
45 st->index = ZIP_UINT64_MAX; in zip_stat_init()
46 st->crc = 0; in zip_stat_init()
47 st->mtime = (time_t)-1; in zip_stat_init()
48 st->size = 0; in zip_stat_init()
49 st->comp_size = 0; in zip_stat_init()
50 st->comp_method = ZIP_CM_STORE; in zip_stat_init()
51 st->encryption_method = ZIP_EM_NONE; in zip_stat_init()
H A Dzip_stat_index.c42 struct zip_stat *st) in zip_stat_index() argument
68 zip_stat_init(st); in zip_stat_index()
70 st->crc = za->cdir->entry[index].crc; in zip_stat_index()
71 st->size = za->cdir->entry[index].uncomp_size; in zip_stat_index()
72 st->mtime = za->cdir->entry[index].last_mod; in zip_stat_index()
78 st->encryption_method = ZIP_EM_UNKNOWN; in zip_stat_index()
81 st->encryption_method = ZIP_EM_TRAD_PKWARE; in zip_stat_index()
84 st->encryption_method = ZIP_EM_NONE; in zip_stat_index()
89 st->index = index; in zip_stat_index()
90 st->name = name; in zip_stat_index()
[all …]
H A Dzip_source_filep.c108 if (st) in _zip_source_file_or_p()
109 memcpy(&f->st, st, sizeof(f->st)); in _zip_source_file_or_p()
111 zip_stat_init(&f->st); in _zip_source_file_or_p()
190 if (len < sizeof(z->st)) in read_file()
193 if (z->st.valid != 0) in read_file()
194 memcpy(data, &z->st, sizeof(z->st)); in read_file()
196 struct zip_stat *st; in read_file() local
213 zip_stat_init(st); in read_file()
214 st->mtime = fst.st_mtime; in read_file()
217 st->size = z->len; in read_file()
[all …]
H A Dzip_source_stat.c41 zip_source_stat(struct zip_source *src, struct zip_stat *st) in zip_source_stat() argument
45 if (st == NULL) { in zip_source_stat()
51 if (src->cb.f(src->ud, st, sizeof(*st), ZIP_SOURCE_STAT) < 0) in zip_source_stat()
56 if (zip_source_stat(src->src, st) < 0) { in zip_source_stat()
61 ret = src->cb.l(src->src, src->ud, st, sizeof(*st), ZIP_SOURCE_STAT); in zip_source_stat()
H A Dzip_source_buffer.c119 struct zip_stat *st; in read_data() local
121 if (len < sizeof(*st)) in read_data()
124 st = (struct zip_stat *)data; in read_data()
126 zip_stat_init(st); in read_data()
127 st->mtime = z->mtime; in read_data()
128 st->size = z->end - z->data; in read_data()
129 st->comp_size = st->size; in read_data()
130 st->comp_method = ZIP_CM_STORE; in read_data()
131 st->encryption_method = ZIP_EM_NONE; in read_data()
132 st->valid = ZIP_STAT_MTIME|ZIP_STAT_SIZE|ZIP_STAT_COMP_SIZE in read_data()
[all …]
H A Dzip_source_crc.c103 struct zip_stat st; in crc_read() local
105 if (zip_source_stat(src, &st) < 0) in crc_read()
108 if ((st.valid & ZIP_STAT_CRC) && st.crc != ctx->crc) { in crc_read()
114 if ((st.valid & ZIP_STAT_SIZE) && st.size != ctx->size) { in crc_read()
133 struct zip_stat *st; in crc_read() local
135 st = (struct zip_stat *)data; in crc_read()
140 st->size = ctx->size; in crc_read()
141 st->crc = ctx->crc; in crc_read()
142 st->valid |= ZIP_STAT_SIZE|ZIP_STAT_CRC; in crc_read()
H A Dzip_source_zip.c43 struct zip_stat st; member
48 static zip_int64_t read_zip(void *st, void *data, zip_uint64_t len,
92 if (zip_stat_index(srcza, srcidx, flags, &p->st) < 0 in zip_source_zip()
104 p->st.size = p->st.comp_size = len; in zip_source_zip()
105 p->st.comp_method = ZIP_CM_STORE; in zip_source_zip()
106 p->st.crc = 0; in zip_source_zip()
161 if (len < sizeof(z->st)) in read_zip()
163 len = sizeof(z->st); in read_zip()
165 memcpy(data, &z->st, len); in read_zip()
H A Dzip_fopen_index_encrypted.c55 struct zip_stat st; in zip_fopen_index_encrypted() local
76 zip_stat_index(za, fileno, flags, &st); in zip_fopen_index_encrypted()
80 if (st.encryption_method != ZIP_EM_NONE) { in zip_fopen_index_encrypted()
86 st.encryption_method)) == NULL) { in zip_fopen_index_encrypted()
95 if (st.comp_method != ZIP_CM_STORE) { in zip_fopen_index_encrypted()
97 st.comp_method)) == NULL) { in zip_fopen_index_encrypted()
107 if (st.comp_size == 0) { in zip_fopen_index_encrypted()
112 if ((src=_zip_source_file_or_p(za, NULL, za->zp, start, st.comp_size, in zip_fopen_index_encrypted()
113 0, &st)) == NULL) in zip_fopen_index_encrypted()
134 || st.comp_method == ZIP_CM_STORE ) { in zip_fopen_index_encrypted()
H A Dzip_source_pkware.c144 struct zip_stat st; in decrypt_header() local
161 if (zip_source_stat(src, &st) < 0) { in decrypt_header()
166 _zip_u2d_time(st.mtime, &dostime, &dosdate); in decrypt_header()
168 if (header[HEADERLEN-1] != st.crc>>24 in decrypt_header()
208 struct zip_stat *st; in pkware_decrypt() local
210 st = (struct zip_stat *)data; in pkware_decrypt()
212 st->encryption_method = ZIP_EM_NONE; in pkware_decrypt()
213 st->valid |= ZIP_STAT_ENCRYPTION_METHOD; in pkware_decrypt()
215 if (st->valid & ZIP_STAT_COMP_SIZE) in pkware_decrypt()
216 st->comp_size -= HEADERLEN; in pkware_decrypt()
H A Dzip_source_deflate.c286 struct zip_stat *st; in deflate_compress() local
288 st = (struct zip_stat *)data; in deflate_compress()
290 st->comp_method = ZIP_CM_DEFLATE; in deflate_compress()
293 st->comp_size = ctx->size; in deflate_compress()
294 st->valid |= ZIP_STAT_COMP_SIZE; in deflate_compress()
297 st->valid &= ~ZIP_STAT_COMP_SIZE; in deflate_compress()
357 struct zip_stat *st; in deflate_decompress() local
359 st = (struct zip_stat *)data; in deflate_decompress()
361 st->comp_method = ZIP_CM_STORE; in deflate_decompress()
362 if (st->comp_size > 0 && st->size > 0) in deflate_decompress()
[all …]
H A Dzip_stat.c41 zip_stat(struct zip *za, const char *fname, int flags, struct zip_stat *st) in zip_stat() argument
48 return zip_stat_index(za, idx, flags, st); in zip_stat()
/PHP-5.5/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-5.5/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-5.5/ext/ereg/regex/
H A Dengine.c632 register states st = m->st; local
644 st = step(m->g, startst, stopst, st, NOTHING, st);
670 st = step(m->g, startst, stopst, st, flagch, st);
684 st = step(m->g, startst, stopst, st, flagch, st);
696 st = step(m->g, startst, stopst, tmp, c, st);
698 assert(EQ(step(m->g, startst, stopst, st, NOTHING, st), st));
723 register states st = m->st; local
737 st = step(m->g, startst, stopst, st, NOTHING, st);
759 st = step(m->g, startst, stopst, st, flagch, st);
773 st = step(m->g, startst, stopst, st, flagch, st);
[all …]
/PHP-5.5/Zend/tests/
H A Dbug37138.phpt6 class st {
10 class stch extends st {
13 st::e ();
14 st::e2 ();
/PHP-5.5/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-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-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-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
H A DDateTime_data-fall-type2-type2.inc44 $end = new DateTime('2010-11-07 03:16:55 EST'); // st, zt2
74 $end = new DateTime('2010-11-07 03:16:55 EST'); // st, zt2
104 $end = new DateTime('2010-11-07 03:16:55 EST'); // st, zt2
134 $end = new DateTime('2010-11-07 03:16:55 EST'); // st, zt2
145 $start = new DateTime('2010-11-07 03:16:55 EST'); // st, zt2
150 $start = new DateTime('2010-11-07 03:16:55 EST'); // st, zt2
155 $start = new DateTime('2010-11-07 03:16:55 EST'); // st, zt2
160 $start = new DateTime('2010-11-07 03:16:55 EST'); // st, zt2
165 $start = new DateTime('2010-11-07 03:16:55 EST'); // st, zt2
170 $start = new DateTime('2010-11-07 03:16:55 EST'); // st, zt2
[all …]
/PHP-5.5/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-5.5/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-5.5/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-5.5/ext/xmlrpc/libxmlrpc/
H A Dencodings.c75 size_t st; in convert() local
81 st = iconv(ic, (char**)&src, &inlenleft, &out_ptr, &outlenleft); in convert()
82 if(st == -1) { in convert()

Completed in 42 milliseconds

1234567