/PHP-7.2/ext/zip/lib/ |
H A D | zip_stat_index.c | 40 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 D | zip_stat_init.c | 40 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 D | zip_source_zip_new.c | 47 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 D | zip_source_stat.c | 39 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 D | zip_close.c | 235 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 D | zip_source_crc.c | 105 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 D | zip_source_filep.c | 139 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 D | zip_source_pkware.c | 131 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 D | zip_source_win32handle.c | 102 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 D | zip_source_deflate.c | 312 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 D | zip_stat.c | 39 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()
|
/PHP-7.2/ext/pdo_mysql/tests/ |
H A D | bug_38546.phpt | 44 $result = $st->execute(); 47 var_dump($st->errorInfo()); 70 $result = $st->execute(); 73 var_dump($st->errorInfo()); 96 $result = $st->execute(); 99 var_dump($st->errorInfo()); 123 $result = $st->execute(); 126 var_dump($st->errorInfo()); 150 $result = $st->execute(); 153 var_dump($st->errorInfo()); [all …]
|
/PHP-7.2/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-7.2/ext/filter/tests/ |
H A D | 058.phpt | 16 'tést@example.com', 17 'tést.child@example.com', 18 'tést@xn--exmple-cua.com', 19 'tést@xn----zfa.xe', 20 'tést@subexample.wizard', 21 'tést@[255.255.255.255]', 23 'tést@[IPv6:2001::7344]', 25 'tést+reference@example.com', 44 string(17) "tést@example.com" 45 string(23) "tést.child@example.com" [all …]
|
/PHP-7.2/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-7.2/Zend/tests/ |
H A D | bug37138.phpt | 6 class st { 10 class stch extends st { 13 st::e (); 14 st::e2 ();
|
H A D | bug70547.phpt | 25 brokenTrace("1st", $arg2, "3th", "4th"); 34 string(3) "1st" 44 string(3) "1st" 52 string(3) "1st" 58 string(3) "1st"
|
/PHP-7.2/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-7.2/win32/ |
H A D | ftok.c | 30 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.2/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-7.2/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;
|