| /PHP_5_3/ext/ereg/regex/ |
| H A D | engine.c | 42 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_3/ext/xmlrpc/libxmlrpc/ |
| H A D | encodings.c | 75 size_t st; local 81 st = iconv(ic, (char**)&src, &inlenleft, &out_ptr, &outlenleft); 82 if(st == -1) {
|
| /PHP_5_3/ext/zip/lib/ |
| H A D | zip_fopen_index_encrypted.c | 57 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 D | zip_open.c | 493 struct stat st; 500 if (stat(fn, &st) != 0) { 483 struct stat st; local
|
| H A D | zip_source_buffer.c | 122 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 D | zip_source_crc.c | 106 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 D | zip_source_deflate.c | 291 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 D | zip_source_filep.c | 49 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 D | zip_source_pkware.c | 149 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 D | zip_source_stat.c | 43 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 D | zip_source_zip.c | 44 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 D | zip_stat.c | 43 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 D | zip_stat_index.c | 44 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 D | zip_stat_init.c | 43 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 D | zip_close.c | 359 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...] |
| /PHP_5_3/ |
| H A D | run-tests.php | 2125 $st = $steps / 2; variable 2127 for ($ofs1 = $idx1 + 1; $ofs1 < $cnt1 && $st-- > 0; $ofs1++) { 2128 $eq = @count_array_diff($ar1, $ar2, $is_reg, $w, $ofs1, $idx2, $cnt1, $cnt2, $st); 2136 $st = $steps; variable 2138 for ($ofs2 = $idx2 + 1; $ofs2 < $cnt2 && $st-- > 0; $ofs2++) { 2139 $eq = @count_array_diff($ar1, $ar2, $is_reg, $w, $idx1, $ofs2, $cnt1, $cnt2, $st);
|
| /PHP_5_3/ext/fileinfo/libmagic/ |
| H A D | apprentice.c | 758 struct stat st; local 777 if (php_sys_stat(fn, &st) == 0 && S_ISDIR(st.st_mode)) { 793 if (stat(mfn, &st) == -1 || !S_ISREG(st.st_mode)) { 2197 php_stream_statbuf st; local 2211 if (php_stream_stat_path_ex(fn, 0, &st, NULL) == SUCCESS) { 2212 if (st.sb.st_mode & S_IFDIR) { 2232 if (php_stream_stat(stream, &st) < 0) { 2237 if (st [all...] |
| H A D | readelf.c | 1135 struct stat st; local 1162 if (fstat(fd, &st) == -1) { 1166 fsize = st.st_size;
|
| /PHP_5_3/TSRM/ |
| H A D | tsrm_virtual_cwd.c | 772 struct stat st; 1062 if (save && php_sys_lstat(path, &st) < 0) { 1074 if (save && S_ISLNK(st.st_mode)) { 1106 directory = S_ISDIR(st.st_mode); 1557 SYSTEMTIME st; local 1558 GetSystemTime(&st); 1559 SystemTimeToFileTime(&st, &mtime);
|
| /PHP_5_3/ext/snmp/ |
| H A D | snmp.c | 220 ZEND_ARG_INFO(0, st) 536 * st=SNMP_CMD_GET get - query an agent with SNMP-GET. 537 * st=SNMP_CMD_GETNEXT getnext - query an agent with SNMP-GETNEXT. 538 * st=SNMP_CMD_WALK walk - walk the mib and return a single dimensional array 540 * st=SNMP_CMD_REALWALK realwalk() and walkoid() - walk the mib and return an 542 * st=SNMP_CMD_SET set() - query an agent and set a single value 545 static void php_snmp_internal(INTERNAL_FUNCTION_PARAMETERS, int st, argument 566 if (st >= SNMP_CMD_WALK) { /* walk */ 590 if (st >= SNMP_CMD_WALK) { 593 switch(st) { 776 php_snmp(INTERNAL_FUNCTION_PARAMETERS, int st, int version) argument 1174 php_snmpv3(INTERNAL_FUNCTION_PARAMETERS, int st) argument [all...] |
| /PHP_5_3/ext/standard/ |
| H A D | php_fopen_wrapper.c | 357 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_3/main/ |
| H A D | fopen_wrappers.c | 413 struct stat st; local 503 if (fp && (0 > fstat(fileno(fp), &st) || !S_ISREG(st.st_mode))) {
|
| /PHP_5_3/sapi/cgi/ |
| H A D | cgi_main.c | 1130 struct stat st; local 1184 if (stat(pt, &st) == 0 && S_ISREG(st.st_mode)) {
|
| /PHP_5_3/sapi/fpm/fpm/ |
| H A D | fpm_main.c | 1130 struct stat st; local 1185 if (stat(pt, &st) == 0 && S_ISREG(st.st_mode)) {
|
| /PHP_5_3/ext/phar/ |
| H A D | zip.c | 1096 off_t tell, st; local 1103 st = tell = php_stream_tell(pass->filefp);
|