Home
last modified time | relevance | path

Searched refs:z (Results 1 – 25 of 398) sorted by relevance

12345678910>>...16

/PHP-5.6/ext/zip/lib/
H A Dzip_source_filep.c136 if (z->fname) { in read_file()
137 if ((z->f=fopen(z->fname, "rb")) == NULL) { in read_file()
144 if (z->closep && z->off > 0) { in read_file()
145 if (fseeko(z->f, (off_t)z->off, SEEK_SET) < 0) { in read_file()
151 z->remain = z->len; in read_file()
165 if (fseeko(z->f, (off_t)(z->off + (zip_uint64_t)(z->len-z->remain)), SEEK_SET) < 0) { in read_file()
186 if (z->fname) { in read_file()
198 memcpy(data, &z->st, sizeof(z->st)); in read_file()
204 if (z->f) in read_file()
241 if (z->closep && z->f) in read_file()
[all …]
H A Dzip_source_buffer.c88 struct read_data *z; in read_data() local
97 z->buf = z->data; in read_data()
101 n = (zip_uint64_t)(z->end - z->buf); in read_data()
106 memcpy(buf, z->buf, n); in read_data()
107 z->buf += n; in read_data()
125 st->mtime = z->mtime; in read_data()
126 st->size = (zip_uint64_t)(z->end - z->data); in read_data()
149 if (z->freep) { in read_data()
150 free((void *)z->data); in read_data()
151 z->data = NULL; in read_data()
[all …]
/PHP-5.6/ext/zip/examples/
H A Dget_set_comments.php5 $z = new ZipArchive; variable
6 $z->open('t.zip');
8 print_r($z);
10 for ($i=0; $i<$z->numFiles; $i++) {
12 print_r($z->getCommentIndex($i));
20 $z->setCommentIndex(1, 'new comment idx 1');
21 $z->setCommentName('foobar/', 'new comment foobar/');
23 $z->setArchiveComment( 'new archive comment');
25 for ($i=0; $i<$z->numFiles; $i++) {
27 print_r($z->getCommentIndex($i));
[all …]
H A Dcomment.php2 $z = new ZipArchive; variable
3 $z->open('test_with_comment.zip');
5 $z->setCommentName('foo', 'Too Comment ' . time());
6 $z->close();
H A Daddglob.php3 $z = new ZipArchive; variable
4 $z->open('a.zip', ZIPARCHIVE::CREATE);
11 $found = $z->addGlob("/home/pierre/cvs/gd/libgd/tests/*.png", 0, $options);
13 $z->close();
H A Daddpattern.php2 $z = new ZipArchive; variable
3 $z->open('a.zip', ZIPARCHIVE::CREATE);
10 $found = $z->addPattern("/(\.png)$/i", "/home/pierre/cvs/gd/libgd/tests", $options);
12 $z->close();
/PHP-5.6/ext/date/tests/
H A Ddate_time_immutable.phpt19 $z = $v;
23 $z = $v;
29 $z = $v;
33 $z = $v;
39 $z = $v;
43 $z = $v;
49 $z = $v;
53 $z = $v;
57 $z = $v;
63 $z = $v;
[all …]
/PHP-5.6/ext/imap/tests/
H A Dimap_headerinfo_basic.phpt34 var_dump($z->subject);
35 var_dump($z->Subject);
37 if ($z->Recent == 'R' || $z->Recent == 'N' || $z->Recent == ' ') {
44 if ($z->Unseen == 'U' || $z->Unseen == ' ') {
51 if ($z->Flagged == 'F' || $z->Flagged == ' ') {
58 if ($z->Answered == 'A' || $z->Answered == ' ') {
65 if ($z->Deleted == 'D' || $z->Deleted == ' ') {
72 if ($z->Draft == 'X' || $z->Draft == ' ') {
79 var_dump($z->Msgno);
80 var_dump($z->Size);
[all …]
H A Dimap_rfc822_parse_headers_basic.phpt34 var_dump($z->subject);
35 var_dump($z->Subject);
37 if ($z->Recent == 'R' || $z->Recent == 'N' || $z->Recent == ' ') {
44 if ($z->Unseen == 'U' || $z->Unseen == ' ') {
51 if ($z->Flagged == 'F' || $z->Flagged == ' ') {
58 if ($z->Answered == 'A' || $z->Answered == ' ') {
65 if ($z->Deleted == 'D' || $z->Deleted == ' ') {
72 if ($z->Draft == 'X' || $z->Draft == ' ') {
79 var_dump($z->Msgno);
80 var_dump($z->Size);
[all …]
/PHP-5.6/Zend/
H A Dzend_gc.h63 #define GC_ZVAL_INIT(z) \ argument
78 #define GC_OBJ_INIT(z) \ argument
79 (z)->buffered = NULL
92 zval z; member
182 if (z->type == IS_ARRAY || z->type == IS_OBJECT) {
199 GC_ZVAL_INIT(z); \
207 GC_ZVAL_INIT(z); \
214 efree(z); \
228 efree_rel(z); \
232 efree(z)
[all …]
/PHP-5.6/ext/snmp/tests/
H A Dsnmp_getvalue.phpt27 echo gettype($z)."\n";
28 var_dump($z->type);
29 var_dump($z->value);
34 echo gettype($z)."\n";
35 var_dump($z->type);
36 var_dump($z->value);
41 echo gettype($z)."\n";
42 var_dump($z->type);
43 var_dump($z->value);
48 echo gettype($z)."\n";
[all …]
H A Dsnmp-object.phpt47 var_dump(key($z));
56 var_dump(key($z));
65 var_dump(key($z));
75 var_dump(key($z));
87 array_shift($z);
89 array_shift($z);
91 array_shift($z);
125 var_dump($z);
128 var_dump($z);
140 var_dump($z);
[all …]
H A Dsnmp3.phpt39 var_dump(gettype($z));
40 var_dump(count($z));
41 var_dump($z);
46 var_dump(count($z));
47 var_dump($z);
52 var_dump(count($z));
53 var_dump(key($z));
59 var_dump(count($z));
60 var_dump(key($z));
69 var_dump($z);
[all …]
H A Dsnmp2_set.phpt20 var_dump($z);
24 var_dump($z);
28 var_dump($z);
32 var_dump($z);
44 var_dump($z);
47 var_dump($z);
52 var_dump($z);
56 var_dump($z);
62 var_dump($z);
66 var_dump($z);
[all …]
H A Dsnmpset.phpt20 var_dump($z);
24 var_dump($z);
28 var_dump($z);
32 var_dump($z);
44 var_dump($z);
47 var_dump($z);
52 var_dump($z);
56 var_dump($z);
62 var_dump($z);
66 var_dump($z);
[all …]
H A Dsnmp2_set-nomib.phpt23 $z = snmp2_set($hostname, $communityWrite, '.1.3.6.777.888.999.444.0', 's', 'bbb', $timeout, $retri…
24 var_dump($z);
27 $z = snmp2_set($hostname, $communityWrite, '.1.3.6...777.888.999.444.0', 's', 'bbb', $timeout, $ret…
28 var_dump($z);
36 $z = snmp2_set($hostname, $communityWrite, $oid1, 's', $newvalue1, $timeout, $retries);
37 var_dump($z);
39 $z = snmp2_set($hostname, $communityWrite, $oid1, 's', $oldvalue1, $timeout, $retries);
40 var_dump($z);
H A Dsnmpset-nomib.phpt23 $z = snmpset($hostname, $communityWrite, '.1.3.6.777.888.999.444.0', 's', 'bbb', $timeout, $retries…
24 var_dump($z);
27 $z = snmpset($hostname, $communityWrite, '.1.3...6.777.888.999.444.0', 's', 'bbb', $timeout, $retri…
28 var_dump($z);
37 $z = snmpset($hostname, $communityWrite, $oid1, 's', $newvalue1, $timeout, $retries);
38 var_dump($z);
40 $z = snmpset($hostname, $communityWrite, $oid1, 's', $oldvalue1, $timeout, $retries);
41 var_dump($z);
/PHP-5.6/ext/standard/tests/strings/
H A Dbug40915.phpt6 $str = (binary)"a\000z";
10 var_dump(addcslashes($str, (binary)"\000z"));
11 var_dump(addcslashes( $str, (binary)"z"));
16 string(4) "a\0z"
17 string(3) "a�z"
18 string(7) "a\000\z"
19 string(4) "a�\z"
H A Dbug68710.phpt16 $z = serialize($m);
17 $z = str_replace("aaa", "123", $z);
18 $z = str_replace("bbb", "123", $z);
19 $y = unserialize($z);
20 $z = serialize($y);
/PHP-5.6/ext/intl/common/
H A Dcommon_date.cpp59 ? -((php_date_obj*)object)->time->z
82 : ((php_timezone_obj*)object)->tzi.z.abbr;
109 U_CFUNC int intl_datetime_decompose(zval *z, double *millis, TimeZone **tz, argument
148 datetime = (php_date_obj*)zend_object_store_get_object(z TSRMLS_CC);
187 switch (Z_TYPE_P(z)) {
189 type = is_numeric_string(Z_STRVAL_P(z), Z_STRLEN_P(z), &lv, &rv, 0);
197 Z_STRVAL_P(z));
204 rv = U_MILLIS_PER_SECOND * (double)Z_LVAL_P(z);
207 rv = U_MILLIS_PER_SECOND * Z_DVAL_P(z);
211 intl_datetime_decompose(z, &rv, NULL, err, func TSRMLS_CC);
[all …]
/PHP-5.6/ext/standard/tests/serialize/
H A Dbug68594.phpt15 $z = serialize($m);
16 $z = str_replace("bbb", "aaa", $z);
17 $y = unserialize($z);
18 $z = serialize($y);
/PHP-5.6/Zend/tests/
H A Dbug28444.phpt50 var_dump($y->z = new Object(4));
51 var_dump($y->z->x);
52 $t = $y->z;
54 var_dump($y->z->x = 6);
70 Overloaded::__set(z,)
75 Overloaded::__get(z)
77 Overloaded::__get(z)
79 Overloaded::__get(z)
/PHP-5.6/ext/standard/tests/array/
H A Darray_rand_variation6.phpt73 string\([0-9]*\) "[a-z \n \t \0 0-9 ]*"
76 string\([0-9]*\) "[a-z \n \t \0 0-9 ]*"
81 string\([0-9]*\) "[a-z \n \t \0 0-9 ]*"
83 string\([0-9]*\) "[a-z \n \t \0 0-9 ]*"
85 string\([0-9]*\) "[a-z \n \t \0 0-9 ]*"
91 string\([0-9]*\) "[a-z \n \t \0 0-9 ]*"
93 string\([0-9]*\) "[a-z \n \t \0 0-9 ]*"
95 string\([0-9]*\) "[a-z \n \t \0 0-9 ]*"
97 string\([0-9]*\) "[a-z \n \t \0 0-9 ]*"
99 string\([0-9]*\) "[a-z \n \t \0 0-9 ]*"
[all …]
/PHP-5.6/tests/lang/
H A Dexecution_order.phpt74 $z = $x - ($x++);
76 echo $z;
80 $z = ($x++) - $x;
82 echo $z;
86 $z = $x - (++$x);
88 echo $z;
92 $z = (++$x) - $x;
94 echo $z;
100 $z = $x - ($x=$y);
102 echo $z;
[all …]
/PHP-5.6/ext/date/lib/
H A Dunixtime2tm.c133 tm->z = 0; in timelib_unixtime2gmt()
144 int z = tm->z; in timelib_update_from_sse() local
152 timelib_unixtime2gmt(tm, tm->sse - (tm->z * 60) + (tm->dst * 3600)); in timelib_update_from_sse()
175 tm->z = z; in timelib_update_from_sse()
187 int z = tm->z; in timelib_unixtime2local() local
190 timelib_unixtime2gmt(tm, ts - (tm->z * 60) + (tm->dst * 3600)); in timelib_unixtime2local()
192 tm->z = z; in timelib_unixtime2local()
204 tm->z = gmt_offset->offset; in timelib_unixtime2local()
228 t->z = utc_offset; in timelib_set_timezone_from_offset()
242 t->z = abbr_info.utc_offset; in timelib_set_timezone_from_abbr()
[all …]

Completed in 59 milliseconds

12345678910>>...16