/PHP-5.6/ext/zip/lib/ |
H A D | zip_stat_init.c | 41 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 D | zip_stat_index.c | 42 struct zip_stat *st) in zip_stat_index() argument 62 zip_stat_init(st); in zip_stat_index() 64 st->crc = de->crc; in zip_stat_index() 65 st->size = de->uncomp_size; in zip_stat_index() 66 st->mtime = de->last_mod; in zip_stat_index() 67 st->comp_size = de->comp_size; in zip_stat_index() 72 st->encryption_method = ZIP_EM_UNKNOWN; in zip_stat_index() 75 st->encryption_method = ZIP_EM_TRAD_PKWARE; in zip_stat_index() 78 st->encryption_method = ZIP_EM_NONE; in zip_stat_index() 83 st->index = index; in zip_stat_index() [all …]
|
H A D | zip_source_crc.c | 107 struct zip_stat st; in crc_read() local 109 if (zip_source_stat(src, &st) < 0) in crc_read() 112 if ((st.valid & ZIP_STAT_CRC) && st.crc != ctx->crc) { in crc_read() 118 if ((st.valid & ZIP_STAT_SIZE) && st.size != ctx->size) { in crc_read() 137 struct zip_stat *st; in crc_read() local 139 st = (struct zip_stat *)data; in crc_read() 144 st->size = ctx->size; in crc_read() 145 st->crc = ctx->crc; in crc_read() 146 st->comp_size = ctx->size; in crc_read() 147 st->comp_method = ZIP_CM_STORE; in crc_read() [all …]
|
H A D | zip_source_filep.c | 108 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() 194 if (len < sizeof(z->st)) in read_file() 197 if (z->st.valid != 0) in read_file() 198 memcpy(data, &z->st, sizeof(z->st)); in read_file() 200 struct zip_stat *st; in read_file() local 217 zip_stat_init(st); in read_file() 218 st->mtime = fst.st_mtime; in read_file() 219 st->valid |= ZIP_STAT_MTIME; in read_file() [all …]
|
H A D | zip_source_zip_new.c | 50 struct zip_stat st; in _zip_source_zip_new() local 66 if (zip_stat_index(srcza, srcidx, flags|ZIP_FL_UNCHANGED, &st) < 0) { in _zip_source_zip_new() 99 if (st.comp_method != ZIP_CM_STORE) { in _zip_source_zip_new() 110 if (st.comp_size == 0) { in _zip_source_zip_new() 118 st2.size = len ? len : st.size-start; in _zip_source_zip_new() 121 st2.mtime = st.mtime; in _zip_source_zip_new() 130 …if ((src=_zip_source_file_or_p(za, NULL, srcza->zp, offset, (zip_int64_t)st.comp_size, 0, &st)) ==… in _zip_source_zip_new() 135 if ((s2=enc_impl(za, src, st.encryption_method, 0, password)) == NULL) { in _zip_source_zip_new() 143 if ((s2=comp_impl(za, src, st.comp_method, 0)) == NULL) { in _zip_source_zip_new() 150 if (((flags & ZIP_FL_COMPRESSED) == 0 || st.comp_method == ZIP_CM_STORE) in _zip_source_zip_new() [all …]
|
H A D | zip_source_stat.c | 41 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 D | zip_source_buffer.c | 117 struct zip_stat *st; in read_data() local 119 if (len < sizeof(*st)) in read_data() 122 st = (struct zip_stat *)data; in read_data() 124 zip_stat_init(st); in read_data() 125 st->mtime = z->mtime; in read_data() 126 st->size = (zip_uint64_t)(z->end - z->data); in read_data() 127 st->comp_size = st->size; in read_data() 128 st->comp_method = ZIP_CM_STORE; in read_data() 129 st->encryption_method = ZIP_EM_NONE; in read_data() 130 st->valid = ZIP_STAT_MTIME|ZIP_STAT_SIZE|ZIP_STAT_COMP_SIZE in read_data() [all …]
|
H A D | zip_close.c | 294 struct zip_stat st; in add_data() local 306 st.valid |= ZIP_STAT_COMP_METHOD; in add_data() 307 st.comp_method = ZIP_CM_STORE; in add_data() 313 st.valid |= ZIP_STAT_COMP_SIZE; in add_data() 314 st.comp_size = st.size; in add_data() 318 st.valid &= ~ZIP_STAT_COMP_SIZE; in add_data() 327 de->uncomp_size = st.size; in add_data() 371 if (de->comp_method != ZIP_CM_STORE && ((st.valid & ZIP_STAT_SIZE) == 0 || st.size != 0)) { in add_data() 423 de->last_mod = st.mtime; in add_data() 427 de->crc = st.crc; in add_data() [all …]
|
H A D | zip_source_pkware.c | 137 struct zip_stat st; in decrypt_header() local 154 if (zip_source_stat(src, &st) < 0) { in decrypt_header() 159 _zip_u2d_time(st.mtime, &dostime, &dosdate); in decrypt_header() 161 if (header[HEADERLEN-1] != st.crc>>24 in decrypt_header() 201 struct zip_stat *st; in pkware_decrypt() local 203 st = (struct zip_stat *)data; in pkware_decrypt() 205 st->encryption_method = ZIP_EM_NONE; in pkware_decrypt() 206 st->valid |= ZIP_STAT_ENCRYPTION_METHOD; in pkware_decrypt() 208 if (st->valid & ZIP_STAT_COMP_SIZE) in pkware_decrypt() 209 st->comp_size -= HEADERLEN; in pkware_decrypt()
|
H A D | zip_source_deflate.c | 284 struct zip_stat *st; in deflate_compress() local 286 st = (struct zip_stat *)data; in deflate_compress() 288 st->comp_method = ZIP_CM_DEFLATE; in deflate_compress() 291 st->comp_size = ctx->size; in deflate_compress() 292 st->valid |= ZIP_STAT_COMP_SIZE; in deflate_compress() 295 st->valid &= ~ZIP_STAT_COMP_SIZE; in deflate_compress() 355 struct zip_stat *st; in deflate_decompress() local 357 st = (struct zip_stat *)data; in deflate_decompress() 359 st->comp_method = ZIP_CM_STORE; in deflate_decompress() 360 if (st->comp_size > 0 && st->size > 0) in deflate_decompress() [all …]
|
H A D | zip_source_window.c | 128 struct zip_stat *st; in window_read() local 130 st = (struct zip_stat *)data; in window_read() 132 st->size = ctx->len; in window_read() 133 st->valid |= ZIP_STAT_SIZE; in window_read() 134 st->valid &= ~(ZIP_STAT_CRC|ZIP_STAT_COMP_SIZE); in window_read()
|
H A D | zip_stat.c | 41 zip_stat(struct zip *za, const char *fname, zip_flags_t flags, struct zip_stat *st) in zip_stat() argument 48 return zip_stat_index(za, (zip_uint64_t)idx, flags, st); in zip_stat()
|
/PHP-5.6/ext/pdo_pgsql/tests/ |
H A D | bug64953.phpt | 20 $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.6/ext/pdo_sqlite/tests/ |
H A D | pdo_fetch_func_001.phpt | 15 $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.6/ext/ereg/regex/ |
H A D | engine.c | 632 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.6/Zend/tests/ |
H A D | bug37138.phpt | 6 class st { 10 class stch extends st { 13 st::e (); 14 st::e2 ();
|
/PHP-5.6/ext/date/tests/ |
H A D | 003.phpt | 14 string(4) "31st" 15 string(3) "1st" 35 string(4) "21st" 45 string(4) "31st"
|
H A D | DateTime_data-spring-type2-type3.inc | 15 * + 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 D | DateTime_data-spring-type3-type2.inc | 15 * + 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 D | DateTime_data-spring-type3-type3.inc | 15 * + 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 D | DateTime_data-spring-type2-type2.inc | 15 * + 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-5.6/ext/intl/tests/ |
H A D | msgfmt_setPattern_cache.phpt | 23 string(10) "1.3 -- 1st" 24 string(10) "1.3 -- 1st" 25 string(10) "1st -- 1.3"
|
/PHP-5.6/ext/mbstring/tests/ |
H A D | mb_eregi_replace.phpt | 10 function do_translit($st) { 27 $st = mb_eregi_replace($i,$u,$st); 29 return $st;
|
/PHP-5.6/ext/spl/tests/ |
H A D | array_010.phpt | 6 $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.6/ext/xmlrpc/libxmlrpc/ |
H A D | encodings.c | 75 size_t st; in convert() local 81 st = iconv(ic, (char**)&src, &inlenleft, &out_ptr, &outlenleft); in convert() 82 if(st == -1) { in convert()
|