Searched defs:st (Results 1 - 25 of 30) 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.c76 size_t st; local
82 st = iconv(ic, (char**)&src, &inlenleft, &out_ptr, &outlenleft);
83 if(st == -1) {
/PHP_TRUNK/ext/zip/lib/
H A Dzip_open.c463 struct stat st; local
470 if (stat(fn, &st) != 0) {
H A Dzip_source_buffer.c117 struct zip_stat *st; local
119 if (len < sizeof(*st))
122 st = (struct zip_stat *)data;
124 zip_stat_init(st);
125 st->mtime = z->mtime;
126 st->size = (zip_uint64_t)(z->end - z->data);
127 st->comp_size = st->size;
128 st->comp_method = ZIP_CM_STORE;
129 st
[all...]
H A Dzip_source_crc.c107 struct zip_stat st; local
109 if (zip_source_stat(src, &st) < 0)
112 if ((st.valid & ZIP_STAT_CRC) && st.crc != ctx->crc) {
118 if ((st.valid & ZIP_STAT_SIZE) && st.size != ctx->size) {
137 struct zip_stat *st; local
139 st = (struct zip_stat *)data;
144 st->size = ctx->size;
145 st
[all...]
H A Dzip_source_deflate.c284 struct zip_stat *st; local
286 st = (struct zip_stat *)data;
288 st->comp_method = ZIP_CM_DEFLATE;
289 st->valid |= ZIP_STAT_COMP_METHOD;
291 st->comp_size = ctx->size;
292 st->valid |= ZIP_STAT_COMP_SIZE;
295 st->valid &= ~ZIP_STAT_COMP_SIZE;
355 struct zip_stat *st; local
357 st = (struct zip_stat *)data;
359 st
[all...]
H A Dzip_source_filep.c48 struct zip_stat st; /* stat information passed in */ member in struct:read_file
81 const struct zip_stat *st)
108 if (st)
109 memcpy(&f->st, st, sizeof(f->st));
111 zip_stat_init(&f->st);
194 if (len < sizeof(z->st))
197 if (z->st.valid != 0)
198 memcpy(data, &z->st, sizeo
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.c137 struct zip_stat st; local
154 if (zip_source_stat(src, &st) < 0) {
159 _zip_u2d_time(st.mtime, &dostime, &dosdate);
161 if (header[HEADERLEN-1] != st.crc>>24
201 struct zip_stat *st; local
203 st = (struct zip_stat *)data;
205 st->encryption_method = ZIP_EM_NONE;
206 st->valid |= ZIP_STAT_ENCRYPTION_METHOD;
208 if (st->valid & ZIP_STAT_COMP_SIZE)
209 st
[all...]
H A Dzip_source_stat.c41 zip_source_stat(struct zip_source *src, struct zip_stat *st) argument
45 if (st == NULL) {
51 if (src->cb.f(src->ud, st, sizeof(*st), ZIP_SOURCE_STAT) < 0)
56 if (zip_source_stat(src->src, st) < 0) {
61 ret = src->cb.l(src->src, src->ud, st, sizeof(*st), ZIP_SOURCE_STAT);
H A Dzip_source_zip_new.c50 struct zip_stat st; local
66 if (zip_stat_index(srcza, srcidx, flags|ZIP_FL_UNCHANGED, &st) < 0) {
80 if ((start > 0 || len > 0) && (start+len < start || start+len > st.size)) {
86 if (((flags & ZIP_FL_ENCRYPTED) == 0) && (st.encryption_method != ZIP_EM_NONE)) {
91 if ((enc_impl=_zip_get_encryption_implementation(st.encryption_method)) == NULL) {
99 if (st.comp_method != ZIP_CM_STORE) {
100 if ((comp_impl=_zip_get_compression_implementation(st.comp_method)) == NULL) {
110 if (st.comp_size == 0) {
118 st2.size = len ? len : st.size-start;
121 st2.mtime = st
[all...]
H A Dzip_stat.c41 zip_stat(struct zip *za, const char *fname, zip_flags_t flags, struct zip_stat *st) argument
48 return zip_stat_index(za, (zip_uint64_t)idx, flags, st);
H A Dzip_stat_index.c42 struct zip_stat *st)
56 if (zip_source_stat(za->entry[index].source, st) < 0) {
62 zip_stat_init(st);
64 st->crc = de->crc;
65 st->size = de->uncomp_size;
66 st->mtime = de->last_mod;
67 st->comp_size = de->comp_size;
68 st->comp_method = (zip_uint16_t)de->comp_method;
72 st->encryption_method = ZIP_EM_UNKNOWN;
75 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_stat_init.c41 zip_stat_init(struct zip_stat *st) argument
43 st->valid = 0;
44 st->name = NULL;
45 st->index = ZIP_UINT64_MAX;
46 st->crc = 0;
47 st->mtime = (time_t)-1;
48 st->size = 0;
49 st->comp_size = 0;
50 st->comp_method = ZIP_CM_STORE;
51 st
[all...]
H A Dzip_close.c294 struct zip_stat st; local
300 if (zip_source_stat(src, &st) < 0) {
305 if ((st.valid & ZIP_STAT_COMP_METHOD) == 0) {
306 st.valid |= ZIP_STAT_COMP_METHOD;
307 st.comp_method = ZIP_CM_STORE;
310 if (ZIP_CM_IS_DEFAULT(de->comp_method) && st.comp_method != ZIP_CM_STORE)
311 de->comp_method = st.comp_method;
312 else if (de->comp_method == ZIP_CM_STORE && (st.valid & ZIP_STAT_SIZE)) {
313 st.valid |= ZIP_STAT_COMP_SIZE;
314 st
[all...]
H A Dzip_source_window.c128 struct zip_stat *st; local
130 st = (struct zip_stat *)data;
132 st->size = ctx->len;
133 st->valid |= ZIP_STAT_SIZE;
134 st->valid &= ~(ZIP_STAT_CRC|ZIP_STAT_COMP_SIZE);
/PHP_TRUNK/ext/opcache/
H A DZendAccelerator.c692 SYSTEMTIME st; local
694 st.wYear = 1970;
695 st.wMonth = 1;
696 st.wDay = 1;
697 st.wHour = 0;
698 st.wMinute = 0;
699 st.wSecond = 0;
700 st.wMilliseconds = 0;
702 SystemTimeToFileTime (&st, &utc_base_ft);
/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/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) argument
1426 php_snmp(INTERNAL_FUNCTION_PARAMETERS, int st, int version) argument
[all...]
/PHP_TRUNK/ext/soap/
H A Dphp_sdl.c1537 struct stat st; local
1544 if (fstat(f, &st) != 0) {
1548 buf = in = emalloc(st.st_size);
1549 if (read(f, in, st.st_size) != st.st_size) {
/PHP_TRUNK/TSRM/
H A Dtsrm_win32.c755 SYSTEMTIME st; local
756 GetSystemTime(&st);
757 SystemTimeToFileTime(&st, &mtime);
/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/ext/fileinfo/libmagic/
H A Dapprentice.c1147 zend_stat_t st; local
1171 if (php_sys_stat(fn, &st) == 0 && S_ISDIR(st.st_mode)) {
1188 if (zend_stat(mfn, &st) == -1 || !S_ISREG(st.st_mode)) {
2605 php_stream_statbuf st; local
2622 if (php_stream_stat_path_ex((char *)fn, 0, &st, NULL) == SUCCESS) {
2623 if (st.sb.st_mode & S_IFDIR) {
2639 if (php_stream_stat(stream, &st) < 0) {
2644 if (st
[all...]
/PHP_TRUNK/sapi/fpm/fpm/
H A Dfpm_main.c1068 struct stat st; local
1126 if (stat(pt, &st) == 0 && S_ISREG(st.st_mode)) {
/PHP_TRUNK/ext/imap/
H A Dphp_imap.c1312 STRING st; local
1346 INIT (&st, mail_string, (void *) message->val, message->len);
1348 if (mail_append_full(imap_le_struct->imap_stream, folder->val, (flags ? flags->val : NIL), (internal_date ? internal_date->val : NIL), &st)) {
/PHP_TRUNK/sapi/cgi/
H A Dcgi_main.c1160 zend_stat_t st; local
1214 if (zend_stat(pt, &st) == 0 && S_ISREG(st.st_mode)) {

Completed in 57 milliseconds

12