Home
last modified time | relevance | path

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

12345678910>>...15

/PHP-5.3/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.3/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.3/ext/sqlite/libsqlite/src/
H A Dutil.c457 z[j++] = z[i]; in sqliteDequote()
523 if( *z=='-' || *z=='+' ) z++; in sqliteIsNumber()
527 z++; in sqliteIsNumber()
528 while( isdigit(*z) ){ z++; } in sqliteIsNumber()
530 z++; in sqliteIsNumber()
532 while( isdigit(*z) ){ z++; } in sqliteIsNumber()
534 if( *z=='e' || *z=='E' ){ in sqliteIsNumber()
535 z++; in sqliteIsNumber()
536 if( *z=='+' || *z=='-' ) z++; in sqliteIsNumber()
538 while( isdigit(*z) ){ z++; } in sqliteIsNumber()
[all …]
H A Dtokenize.c220 switch( *z ){ in sqliteGetToken()
228 for(i=2; z[i] && z[i]!='\n'; i++){} in sqliteGetToken()
256 if( z[1]!='*' || z[2]==0 ){ in sqliteGetToken()
260 for(i=3; z[i] && (z[i]!='/' || z[i-1]!='*'); i++){} in sqliteGetToken()
261 if( z[i] ) i++; in sqliteGetToken()
353 if( z[i]=='.' && isdigit(z[i+1]) ){ in sqliteGetToken()
358 if( (z[i]=='e' || z[i]=='E') && in sqliteGetToken()
360 || ((z[i+1]=='+' || z[i+1]=='-') && isdigit(z[i+2])) in sqliteGetToken()
370 for(i=1; z[i] && z[i-1]!=']'; i++){} in sqliteGetToken()
379 if( (*z&0x80)==0 && !isIdChar[*z] ){ in sqliteGetToken()
[all …]
H A Dfunc.c71 z = argv[0]; in lengthFunc()
74 for(len=0; *z; z++){ if( (0xc0&*z)!=0x80 ) len++; } in lengthFunc()
87 z = argv[0]; in absFunc()
89 if( z[0]=='-' && isdigit(z[1]) ) z++; in absFunc()
104 z = argv[0]; in substrFunc()
129 while( z[i] && (z[i]&0xc0)==0x80 ){ i++; p1++; } in substrFunc()
133 while( z[i] && (z[i]&0xc0)==0x80 ){ i++; p2++; } in substrFunc()
166 if( islower(z[i]) ) z[i] = toupper(z[i]); in upperFunc()
176 if( isupper(z[i]) ) z[i] = tolower(z[i]); in lowerFunc()
302 char *z; in quoteFunc() local
[all …]
H A Ddate.c133 return zEnd - z; in getValue()
467 z = zBuf; in parseModifier()
471 z[n] = 0; in parseModifier()
517 if( strncmp(z, "weekday ", 8)==0 && getValue(&z[8],&r)>0 in parseModifier()
541 z += 9; in parseModifier()
598 z += n; in parseModifier()
599 while( isspace(z[0]) ) z++; in parseModifier()
602 if( z[n-1]=='s' ){ z[n-1] = 0; n--; } in parseModifier()
747 char *z; in strftimeFunc() local
785 z = zBuf; in strftimeFunc()
[all …]
H A Dtable.c47 char *z; in sqlite_get_table_cb() local
75 z = 0; in sqlite_get_table_cb()
77 z = malloc( strlen(colv[i])+1 ); in sqlite_get_table_cb()
78 if( z==0 ){ in sqlite_get_table_cb()
82 strcpy(z, colv[i]); in sqlite_get_table_cb()
84 p->azResult[p->nData++] = z; in sqlite_get_table_cb()
99 z = 0; in sqlite_get_table_cb()
101 z = malloc( strlen(argv[i])+1 ); in sqlite_get_table_cb()
102 if( z==0 ){ in sqlite_get_table_cb()
106 strcpy(z, argv[i]); in sqlite_get_table_cb()
[all …]
H A Dpragma.c26 if( isdigit(z[0]) || (z[0]=='-' && isdigit(z[1])) ){ in getBoolean()
27 return atoi(z); in getBoolean()
60 if( isdigit(z[0]) || (z[0]=='-' && isdigit(z[1])) ){ in getSafetyLevel()
61 return atoi(z); in getSafetyLevel()
75 if( z[0]>='0' && z[0]<='2' ){ in getTempStore()
209 if( pRight->z==pLeft->z ){ in sqlitePragma()
247 if( pRight->z==pLeft->z ){ in sqlitePragma()
295 if( pRight->z==pLeft->z ){ in sqlitePragma()
338 if( pRight->z==pLeft->z ){ in sqlitePragma()
520 if( pRight->z==pLeft->z ){ in sqlitePragma()
[all …]
H A Dvdbe.c230 pStack->z = z; in hardDynamicify()
254 pStack->z = z; in hardDeephem()
704 pTos->z = z; in sqliteVdbeExec()
3082 pTos->z = z; in sqliteVdbeExec()
3214 pTos->z = z; in sqliteVdbeExec()
3296 pTos->z = z; in sqliteVdbeExec()
3605 z = pTos->z; in sqliteVdbeExec()
3739 if( z==0 || z[0]==0 ){ in sqliteVdbeExec()
3745 pTos->z = z; in sqliteVdbeExec()
4211 if( z[0]=='\\' && z[1]=='.' && z[2]==0 ){ in sqliteVdbeExec()
[all …]
/PHP-5.3/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.3/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 …]
H A Dzend_fast_cache.h108 #define ALLOC_ZVAL(z) \
109 ZEND_FAST_ALLOC(z, zval, ZVAL_CACHE_LIST)
111 #define FREE_ZVAL(z) \
112 ZEND_FAST_FREE(z, ZVAL_CACHE_LIST)
114 #define ALLOC_ZVAL_REL(z) \
115 ZEND_FAST_ALLOC_REL(z, zval, ZVAL_CACHE_LIST)
117 #define FREE_ZVAL_REL(z) \
118 ZEND_FAST_FREE_REL(z, ZVAL_CACHE_LIST)
H A Dzend_gc.c422 zval z; in gc_mark_roots() local
424 INIT_PZVAL(&z); in gc_mark_roots()
530 zval z; in gc_scan_roots() local
532 INIT_PZVAL(&z); in gc_scan_roots()
535 zobj_scan(&z TSRMLS_CC); in gc_scan_roots()
633 zval z; in gc_collect_roots() local
636 INIT_PZVAL(&z); in gc_collect_roots()
708 Z_TYPE(p->z) = IS_NULL; in gc_collect_cycles()
712 zval_dtor(&p->z); in gc_collect_cycles()
713 Z_TYPE(p->z) = IS_NULL; in gc_collect_cycles()
[all …]
/PHP-5.3/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"
/PHP-5.3/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)
H A Dobject_handlers.phpt40 $z = $x->const_get;
48 $z = $x["const_dim_get"];
58 $z = $x->{1};
65 $z = $x->{$c."_get"};
71 $z = $x[$c."_dim_get"];
82 $z = $x->{$c+3};
89 $z = $x->{$c};
98 $z = $x[$c];
112 $z = $x->{$c};
119 $z = $x->{f("var_get")};
[all …]
/PHP-5.3/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.3/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.3/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);
/PHP-5.3/ext/date/lib/
H A Dunixtime2tm.c129 tm->z = 0; in timelib_unixtime2gmt()
146 int z = tm->z; in timelib_update_from_sse() local
149 timelib_unixtime2gmt(tm, tm->sse - (tm->z * 60) + (tm->dst * 3600)); in timelib_update_from_sse()
151 tm->z = z; in timelib_update_from_sse()
184 int z = tm->z; in timelib_unixtime2local() local
187 timelib_unixtime2gmt(tm, ts - (tm->z * 60) + (tm->dst * 3600)); in timelib_unixtime2local()
189 tm->z = z; in timelib_unixtime2local()
201 tm->z = gmt_offset->offset; in timelib_unixtime2local()
223 t->z = gmt_offset->offset; in timelib_set_timezone()
H A Dinterval.c44 && (one->z != two->z)) in timelib_diff()
46 dst_h_corr = (two->z - one->z) / 3600; in timelib_diff()
47 dst_m_corr = ((two->z - one->z) % 3600) / 60; in timelib_diff()

Completed in 73 milliseconds

12345678910>>...15