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

12

/PHP_TRUNK/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_TRUNK/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_TRUNK/ext/zip/lib/
H A Dzip_source_buffer.c120 struct zip_stat *st;
122 if (len < sizeof(*st))
125 st = (struct zip_stat *)data;
127 zip_stat_init(st);
128 st->mtime = z->mtime;
129 st->size = (zip_uint64_t)(z->end - z->data);
130 st->comp_size = st->size;
131 st->comp_method = ZIP_CM_STORE;
132 st
117 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_stat.c43 zip_stat(struct zip *za, const char *fname, zip_flags_t flags, struct zip_stat *st)
50 return zip_stat_index(za, (zip_uint64_t)idx, flags, st);
41 zip_stat(struct zip *za, const char *fname, zip_flags_t flags, struct zip_stat *st) argument
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...]
H A Dzip_open.c473 struct stat st;
480 if (stat(fn, &st) != 0) {
463 struct stat st; local
H A Dzip_source_crc.c110 struct zip_stat st;
112 if (zip_source_stat(src, &st) < 0)
115 if ((st.valid & ZIP_STAT_CRC) && st.crc != ctx->crc) {
121 if ((st.valid & ZIP_STAT_SIZE) && st.size != ctx->size) {
140 struct zip_stat *st;
142 st = (struct zip_stat *)data;
147 st->size = ctx->size;
148 st
107 struct zip_stat st; local
137 struct zip_stat *st; local
[all...]
H A Dzip_source_deflate.c289 struct zip_stat *st;
291 st = (struct zip_stat *)data;
293 st->comp_method = ZIP_CM_DEFLATE;
294 st->valid |= ZIP_STAT_COMP_METHOD;
296 st->comp_size = ctx->size;
297 st->valid |= ZIP_STAT_COMP_SIZE;
300 st->valid &= ~ZIP_STAT_COMP_SIZE;
361 struct zip_stat *st;
363 st = (struct zip_stat *)data;
365 st
284 struct zip_stat *st; local
355 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);
198 if (len < sizeof(z->st))
201 if (z->st.valid != 0)
202 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
200 struct zip_stat *st; local
[all...]
H A Dzip_source_pkware.c142 struct zip_stat st;
159 if (zip_source_stat(src, &st) < 0) {
164 _zip_u2d_time(st.mtime, &dostime, &dosdate);
166 if (header[HEADERLEN-1] != st.crc>>24
207 struct zip_stat *st;
209 st = (struct zip_stat *)data;
211 st->encryption_method = ZIP_EM_NONE;
212 st->valid |= ZIP_STAT_ENCRYPTION_METHOD;
214 if (st->valid & ZIP_STAT_COMP_SIZE)
215 st
137 struct zip_stat st; local
201 struct zip_stat *st; local
[all...]
H A Dzip_source_zip_new.c52 struct zip_stat st;
68 if (zip_stat_index(srcza, srcidx, flags|ZIP_FL_UNCHANGED, &st) < 0) {
82 if ((start > 0 || len > 0) && (start+len < start || start+len > st.size)) {
88 if (((flags & ZIP_FL_ENCRYPTED) == 0) && (st.encryption_method != ZIP_EM_NONE)) {
93 if ((enc_impl=_zip_get_encryption_implementation(st.encryption_method)) == NULL) {
101 if (st.comp_method != ZIP_CM_STORE) {
102 if ((comp_impl=_zip_get_compression_implementation(st.comp_method)) == NULL) {
112 if (st.comp_size == 0) {
120 st2.size = len ? len : st.size-start;
123 st2.mtime = st
50 struct zip_stat st; local
[all...]
H A Dzip_stat_index.c44 struct zip_stat *st)
58 if (zip_source_stat(za->entry[index].source, st) < 0) {
64 zip_stat_init(st);
66 st->crc = de->crc;
67 st->size = de->uncomp_size;
68 st->mtime = de->last_mod;
69 st->comp_size = de->comp_size;
70 st->comp_method = (zip_uint16_t)de->comp_method;
74 st->encryption_method = ZIP_EM_UNKNOWN;
77 st
41 zip_stat_index(struct zip *za, zip_uint64_t index, zip_flags_t flags, struct zip_stat *st) argument
[all...]
H A Dzip_close.c298 struct zip_stat st;
304 if (zip_source_stat(src, &st) < 0) {
309 if ((st.valid & ZIP_STAT_COMP_METHOD) == 0) {
310 st.valid |= ZIP_STAT_COMP_METHOD;
311 st.comp_method = ZIP_CM_STORE;
314 if (ZIP_CM_IS_DEFAULT(de->comp_method) && st.comp_method != ZIP_CM_STORE)
315 de->comp_method = st.comp_method;
316 else if (de->comp_method == ZIP_CM_STORE && (st.valid & ZIP_STAT_SIZE)) {
317 st.valid |= ZIP_STAT_COMP_SIZE;
318 st
294 struct zip_stat st; local
[all...]
H A Dzip_source_window.c131 struct zip_stat *st;
133 st = (struct zip_stat *)data;
135 st->size = ctx->len;
136 st->valid |= ZIP_STAT_SIZE;
137 st->valid &= ~(ZIP_STAT_CRC|ZIP_STAT_COMP_SIZE);
128 struct zip_stat *st; local
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_list.c129 struct stat st; local
136 if (VCWD_STAT(filename, &st) == FAILURE) {
/PHP_TRUNK/Zend/
H A Dzend_virtual_cwd.c787 zend_stat_t st;
1077 if (save && php_sys_lstat(path, &st) < 0) {
1089 if (save && S_ISLNK(st.st_mode)) {
1121 directory = S_ISDIR(st.st_mode);
1572 SYSTEMTIME st; local
1573 GetSystemTime(&st);
1574 SystemTimeToFileTime(&st, &mtime);
/PHP_TRUNK/ext/fileinfo/libmagic/
H A Dapprentice.c1148 zend_stat_t st; local
1173 if (php_sys_stat(fn, &st) == 0 && S_ISDIR(st.st_mode)) {
1190 if (zend_stat(mfn, &st) == -1 || !S_ISREG(st.st_mode)) {
2608 php_stream_statbuf st; local
2627 if (php_stream_stat_path_ex((char *)fn, 0, &st, NULL) == SUCCESS) {
2628 if (st.sb.st_mode & S_IFDIR) {
2644 if (php_stream_stat(stream, &st) < 0) {
2649 if (st
[all...]
H A Dreadelf.c1206 struct stat st; local
1233 if (fstat(fd, &st) == -1) {
1237 fsize = st.st_size;
/PHP_TRUNK/ext/phar/
H A Dzip.c1111 zend_off_t tell, st; local
1118 st = tell = php_stream_tell(pass->filefp);
/PHP_TRUNK/ext/standard/
H A Dphp_fopen_wrapper.c383 zend_stat_t st; local
384 memset(&st, 0, sizeof(st));
385 if (zend_fstat(fd, &st) == 0 && (st.st_mode & S_IFMT) == S_IFSOCK) {
/PHP_TRUNK/sapi/cgi/
H A Dcgi_main.c1187 zend_stat_t st; local
1241 if (zend_stat(pt, &st) == 0 && S_ISREG(st.st_mode)) {
/PHP_TRUNK/sapi/fpm/fpm/
H A Dfpm_main.c1124 struct stat st; local
1182 if (stat(pt, &st) == 0 && S_ISREG(st.st_mode)) {
/PHP_TRUNK/ext/snmp/
H A Dsnmp.c701 static void php_snmp_internal(INTERNAL_FUNCTION_PARAMETERS, int st, argument
724 if (st & SNMP_CMD_WALK) { /* remember root OID */
738 if ((st & SNMP_CMD_SET) && objid_query->count > objid_query->step) {
744 if (st & SNMP_CMD_WALK) {
754 if (st & SNMP_CMD_GET) {
756 } else if (st & SNMP_CMD_GETNEXT) {
758 } else if (st & SNMP_CMD_SET) {
767 if (st & SNMP_CMD_SET) {
792 if (st & SNMP_CMD_SET) {
807 if ((st
964 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_TRUNK/ext/opcache/
H A DZendAccelerator.c683 SYSTEMTIME st; local
685 st.wYear = 1970;
686 st.wMonth = 1;
687 st.wDay = 1;
688 st.wHour = 0;
689 st.wMinute = 0;
690 st.wSecond = 0;
691 st.wMilliseconds = 0;
693 SystemTimeToFileTime (&st, &utc_base_ft);

Completed in 43 milliseconds

12