Home
last modified time | relevance | path

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

12345678910>>...16

/PHP-5.5/ext/zip/lib/
H A Dzip_source_filep.c135 if (z->fname) { in read_file()
136 if ((z->f=fopen(z->fname, "rb")) == NULL) { in read_file()
144 if (fseeko(z->f, (off_t)z->off, SEEK_SET) < 0) { in read_file()
150 z->remain = z->len; in read_file()
156 n = len > z->remain ? z->remain : len; in read_file()
162 if (fseeko(z->f, (off_t)(z->off + z->len-z->remain), in read_file()
182 if (z->fname) { in read_file()
194 memcpy(data, &z->st, sizeof(z->st)); in read_file()
200 if (z->f) in read_file()
237 if (z->closep && z->f) in read_file()
[all …]
H A Dzip_source_zip.c122 struct read_zip *z; in read_zip() local
133 i = (z->off-n > sizeof(b) ? sizeof(b) : z->off-n); in read_zip()
135 zip_fclose(z->zf); in read_zip()
136 z->zf = NULL; in read_zip()
143 if (z->len != -1) in read_zip()
144 n = len > z->len ? z->len : len; in read_zip()
152 if (z->len != -1) in read_zip()
153 z->len -= i; in read_zip()
163 len = sizeof(z->st); in read_zip()
181 zip_fclose(z->zf); in read_zip()
[all …]
H A Dzip_source_buffer.c88 struct read_data *z; in read_data() local
97 z->buf = z->data; in read_data()
103 n = z->end - z->buf; in read_data()
108 memcpy(buf, z->buf, n); in read_data()
109 z->buf += n; in read_data()
127 st->mtime = z->mtime; in read_data()
128 st->size = z->end - z->data; in read_data()
151 if (z->freep) { in read_data()
152 free((void *)z->data); in read_data()
153 z->data = NULL; in read_data()
[all …]
/PHP-5.5/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();
/PHP-5.5/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.5/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.5/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.5/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.5/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.5/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.5/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.5/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.5/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.5/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.5/ext/date/lib/
H A Dunixtime2tm.c129 tm->z = 0; in timelib_unixtime2gmt()
140 int z = tm->z; in timelib_update_from_sse() local
148 timelib_unixtime2gmt(tm, tm->sse - (tm->z * 60) + (tm->dst * 3600)); in timelib_update_from_sse()
171 tm->z = z; in timelib_update_from_sse()
183 int z = tm->z; in timelib_unixtime2local() local
186 timelib_unixtime2gmt(tm, ts - (tm->z * 60) + (tm->dst * 3600)); in timelib_unixtime2local()
188 tm->z = z; in timelib_unixtime2local()
200 tm->z = gmt_offset->offset; in timelib_unixtime2local()
224 t->z = utc_offset; in timelib_set_timezone_from_offset()
238 t->z = abbr_info.utc_offset; in timelib_set_timezone_from_abbr()
[all …]
/PHP-5.5/ext/dom/tests/
H A Dbug28817.phpt8 class z extends domDocument{
23 $z=new z();
24 var_dump($z->p_array);
25 var_dump($z->p_variable);

Completed in 57 milliseconds

12345678910>>...16