Searched defs:st (Results 1 - 25 of 30) sorted by relevance

12

/PHP_5_4/ext/ereg/regex/
H A Dengine.c42 states st; /* current states */ member in struct:match
115 SETUP(m->st);
632 register states st = m->st; local
642 CLEAR(st);
643 SET1(st, startst);
644 st = step(m->g, startst, stopst, st, NOTHING, st);
645 ASSIGN(fresh, st);
723 register states st = m->st; local
[all...]
/PHP_5_4/ext/xmlrpc/libxmlrpc/
H A Dencodings.c75 size_t st; local
81 st = iconv(ic, (char**)&src, &inlenleft, &out_ptr, &outlenleft);
82 if(st == -1) {
/PHP_5_4/ext/zip/lib/
H A Dzip_close.c359 struct zip_stat st;
364 if (zip_source_stat(src, &st) < 0) {
380 if (((st.valid & ZIP_STAT_COMP_METHOD) == 0
381 || st.comp_method == ZIP_CM_STORE)
382 && ((st.valid & ZIP_STAT_SIZE) == 0 || st.size != 0)) {
404 if (zip_source_stat(s2, &st) < 0)
425 de->last_mod = st.mtime;
426 de->comp_method = st.comp_method;
427 de->crc = st
355 struct zip_stat st; local
[all...]
H A Dzip_fopen_index_encrypted.c57 struct zip_stat st;
78 zip_stat_index(za, fileno, flags, &st);
82 if (st.encryption_method != ZIP_EM_NONE) {
88 st.encryption_method)) == NULL) {
97 if (st.comp_method != ZIP_CM_STORE) {
99 st.comp_method)) == NULL) {
109 if (st.comp_size == 0) {
114 if ((src=_zip_source_file_or_p(za, NULL, za->zp, start, st.comp_size,
115 0, &st)) == NULL)
136 || st
55 struct zip_stat st; local
[all...]
H A Dzip_open.c493 struct stat st;
500 if (stat(fn, &st) != 0) {
483 struct stat st; local
H A Dzip_source_buffer.c122 struct zip_stat *st;
124 if (len < sizeof(*st))
127 st = (struct zip_stat *)data;
129 zip_stat_init(st);
130 st->mtime = z->mtime;
131 st->size = z->end - z->data;
132 st->comp_size = st->size;
133 st->comp_method = ZIP_CM_STORE;
134 st
119 struct zip_stat *st; local
[all...]
H A Dzip_source_crc.c106 struct zip_stat st;
108 if (zip_source_stat(src, &st) < 0)
111 if ((st.valid & ZIP_STAT_CRC) && st.crc != ctx->crc) {
117 if ((st.valid & ZIP_STAT_SIZE) && st.size != ctx->size) {
136 struct zip_stat *st;
138 st = (struct zip_stat *)data;
143 st->size = ctx->size;
144 st
103 struct zip_stat st; local
133 struct zip_stat *st; local
[all...]
H A Dzip_source_deflate.c291 struct zip_stat *st;
293 st = (struct zip_stat *)data;
295 st->comp_method = ZIP_CM_DEFLATE;
296 st->valid |= ZIP_STAT_COMP_METHOD;
298 st->comp_size = ctx->size;
299 st->valid |= ZIP_STAT_COMP_SIZE;
302 st->valid &= ~ZIP_STAT_COMP_SIZE;
363 struct zip_stat *st;
365 st = (struct zip_stat *)data;
367 st
286 struct zip_stat *st; local
357 struct zip_stat *st; local
[all...]
H A Dzip_source_filep.c49 struct zip_stat st; /* stat information passed in */
84 const struct zip_stat *st)
111 if (st)
112 memcpy(&f->st, st, sizeof(f->st));
114 zip_stat_init(&f->st);
194 if (len < sizeof(z->st))
197 if (z->st.valid != 0)
198 memcpy(data, &z->st, sizeo
48 struct zip_stat st; /* stat information passed in */ member in struct:read_file
79 _zip_source_file_or_p(struct zip *za, const char *fname, FILE *file, zip_uint64_t start, zip_int64_t len, int closep, const struct zip_stat *st) argument
196 struct zip_stat *st; local
[all...]
H A Dzip_source_pkware.c149 struct zip_stat st;
166 if (zip_source_stat(src, &st) < 0) {
171 _zip_u2d_time(st.mtime, &dostime, &dosdate);
173 if (header[HEADERLEN-1] != st.crc>>24
214 struct zip_stat *st;
216 st = (struct zip_stat *)data;
218 st->encryption_method = ZIP_EM_NONE;
219 st->valid |= ZIP_STAT_ENCRYPTION_METHOD;
221 if (st->valid & ZIP_STAT_COMP_SIZE)
222 st
144 struct zip_stat st; local
208 struct zip_stat *st; local
[all...]
H A Dzip_source_stat.c43 zip_source_stat(struct zip_source *src, struct zip_stat *st)
47 if (st == NULL) {
53 if (src->cb.f(src->ud, st, sizeof(*st), ZIP_SOURCE_STAT) < 0)
58 if (zip_source_stat(src->src, st) < 0) {
63 ret = src->cb.l(src->src, src->ud, st, sizeof(*st), ZIP_SOURCE_STAT);
41 zip_source_stat(struct zip_source *src, struct zip_stat *st) argument
H A Dzip_source_zip.c44 struct zip_stat st;
49 static zip_int64_t read_zip(void *st, void *data, zip_uint64_t len,
94 if (zip_stat_index(srcza, srcidx, flags, &p->st) < 0
106 p->st.size = p->st.comp_size = len;
107 p->st.comp_method = ZIP_CM_STORE;
108 p->st.crc = 0;
164 if (len < sizeof(z->st))
166 len = sizeof(z->st);
168 memcpy(data, &z->st, le
43 struct zip_stat st; member in struct:read_zip
[all...]
H A Dzip_stat.c43 zip_stat(struct zip *za, const char *fname, int flags, struct zip_stat *st)
50 return zip_stat_index(za, idx, flags, st);
41 zip_stat(struct zip *za, const char *fname, int flags, struct zip_stat *st) argument
H A Dzip_stat_index.c44 struct zip_stat *st)
59 if (zip_source_stat(za->entry[index].source, st) < 0) {
70 zip_stat_init(st);
72 st->crc = za->cdir->entry[index].crc;
73 st->size = za->cdir->entry[index].uncomp_size;
74 st->mtime = za->cdir->entry[index].last_mod;
75 st->comp_size = za->cdir->entry[index].comp_size;
76 st->comp_method = za->cdir->entry[index].comp_method;
80 st->encryption_method = ZIP_EM_UNKNOWN;
83 st
41 zip_stat_index(struct zip *za, zip_uint64_t index, int flags, struct zip_stat *st) argument
[all...]
H A Dzip_stat_init.c43 zip_stat_init(struct zip_stat *st)
45 st->valid = 0;
46 st->name = NULL;
47 st->index = ZIP_UINT64_MAX;
48 st->crc = 0;
49 st->mtime = (time_t)-1;
50 st->size = 0;
51 st->comp_size = 0;
52 st->comp_method = ZIP_CM_STORE;
53 st
41 zip_stat_init(struct zip_stat *st) argument
[all...]
/PHP_5_4/ext/phar/
H A Dzip.c1096 off_t tell, st; local
1103 st = tell = php_stream_tell(pass->filefp);
/PHP_5_4/ext/snmp/
H A Dsnmp.c705 static void php_snmp_internal(INTERNAL_FUNCTION_PARAMETERS, int st, argument
728 if (st & SNMP_CMD_WALK) { /* remember root OID */
742 if ((st & SNMP_CMD_SET) && objid_query->count > objid_query->step) {
748 if (st & SNMP_CMD_WALK) {
758 if (st & SNMP_CMD_GET) {
760 } else if (st & SNMP_CMD_GETNEXT) {
762 } else if (st & SNMP_CMD_SET) {
771 if (st & SNMP_CMD_SET) {
796 if (st & SNMP_CMD_SET) {
811 if ((st
970 php_snmp_parse_oid(zval *object, int st, struct objid_query *objid_query, zval **oid, zval **type, zval **value TSRMLS_DC) argument
1426 php_snmp(INTERNAL_FUNCTION_PARAMETERS, int st, int version) argument
[all...]
/PHP_5_4/ext/soap/
H A Dphp_sdl.c1545 struct stat st; local
1552 if (fstat(f, &st) != 0) {
1556 buf = in = emalloc(st.st_size);
1557 if (read(f, in, st.st_size) != st.st_size) {
/PHP_5_4/ext/standard/
H A Dphp_fopen_wrapper.c357 struct stat st; local
358 memset(&st, 0, sizeof(st));
359 if (fstat(fd, &st) == 0 && (st.st_mode & S_IFMT) == S_IFSOCK) {
/PHP_5_4/sapi/cgi/
H A Dcgi_main.c1190 struct stat st; local
1244 if (stat(pt, &st) == 0 && S_ISREG(st.st_mode)) {
/PHP_5_4/TSRM/
H A Dtsrm_virtual_cwd.c759 struct stat st;
1049 if (save && php_sys_lstat(path, &st) < 0) {
1061 if (save && S_ISLNK(st.st_mode)) {
1093 directory = S_ISDIR(st.st_mode);
1543 SYSTEMTIME st; local
1544 GetSystemTime(&st);
1545 SystemTimeToFileTime(&st, &mtime);
/PHP_5_4/ext/imap/
H A Dphp_imap.c1318 STRING st; local
1348 INIT (&st, mail_string, (void *) message, message_len);
1350 if (mail_append_full(imap_le_struct->imap_stream, folder, (flags ? flags : NIL), (internal_date ? internal_date : NIL), &st)) {
/PHP_5_4/sapi/fpm/fpm/
H A Dfpm_main.c1129 struct stat st; local
1187 if (stat(pt, &st) == 0 && S_ISREG(st.st_mode)) {
/PHP_5_4/ext/fileinfo/libmagic/
H A Dapprentice.c1139 struct stat st; local
1170 if (php_sys_stat(fn, &st) == 0 && S_ISDIR(st.st_mode)) {
1187 if (stat(mfn, &st) == -1 || !S_ISREG(st.st_mode)) {
2599 php_stream_statbuf st; local
2618 if (php_stream_stat_path_ex((char *)fn, 0, &st, NULL) == SUCCESS) {
2619 if (st.sb.st_mode & S_IFDIR) {
2639 if (php_stream_stat(stream, &st) < 0) {
2644 if (st
[all...]
H A Dreadelf.c1152 struct stat st; local
1179 if (fstat(fd, &st) == -1) {
1183 fsize = st.st_size;

Completed in 46 milliseconds

12