cd 347 ext/gd/libgd/gdkanji.c iconv_t cd; cd 350 ext/gd/libgd/gdkanji.c if ((cd = iconv_open (EUCSTR, code)) == (iconv_t) - 1) cd 365 ext/gd/libgd/gdkanji.c if ((int) iconv(cd, (char **) &from, &from_len, (char **) &to, &to_len) == -1) cd 381 ext/gd/libgd/gdkanji.c if (iconv_close (cd) != 0) cd 194 ext/iconv/iconv.c static php_iconv_err_t _php_iconv_appendl(smart_str *d, const char *s, size_t l, iconv_t cd); cd 195 ext/iconv/iconv.c static php_iconv_err_t _php_iconv_appendc(smart_str *d, const char c, iconv_t cd); cd 445 ext/iconv/iconv.c static php_iconv_err_t _php_iconv_appendl(smart_str *d, const char *s, size_t l, iconv_t cd) cd 466 ext/iconv/iconv.c if (iconv(cd, (char **)&in_p, &in_left, (char **) &out_p, &out_left) == (size_t)-1) { cd 503 ext/iconv/iconv.c if (iconv(cd, NULL, NULL, (char **) &out_p, &out_left) == (size_t)0) { cd 526 ext/iconv/iconv.c static php_iconv_err_t _php_iconv_appendc(smart_str *d, const char c, iconv_t cd) cd 528 ext/iconv/iconv.c return _php_iconv_appendl(d, &c, 1, cd); cd 559 ext/iconv/iconv.c iconv_t cd; cd 577 ext/iconv/iconv.c cd = iconv_open(out_charset, in_charset); cd 579 ext/iconv/iconv.c if (cd == (iconv_t)(-1)) { cd 587 ext/iconv/iconv.c result = iconv(cd, (char **) &in_p, &in_size, (char **) cd 589 ext/iconv/iconv.c result = iconv(cd, (const char **) &in_p, &in_size, (char **) cd 607 ext/iconv/iconv.c result = iconv(cd, NULL, NULL, &out_p, &out_left); cd 618 ext/iconv/iconv.c iconv_close(cd); cd 626 ext/iconv/iconv.c iconv_t cd; cd 636 ext/iconv/iconv.c cd = iconv_open(out_charset, in_charset); cd 638 ext/iconv/iconv.c if (cd == (iconv_t)(-1)) { cd 653 ext/iconv/iconv.c result = iconv(cd, (char **) &in_p, &in_left, (char **) &out_p, &out_left); cd 684 ext/iconv/iconv.c result = iconv(cd, NULL, NULL, (char **) &out_p, &out_left); cd 704 ext/iconv/iconv.c iconv_close(cd); cd 743 ext/iconv/iconv.c iconv_t cd; cd 755 ext/iconv/iconv.c cd = iconv_open(GENERIC_SUPERSET_NAME, enc); cd 757 ext/iconv/iconv.c if (cd == (iconv_t)(-1)) { cd 778 ext/iconv/iconv.c if (iconv(cd, (char **)&in_p, &in_left, (char **) &out_p, &out_left) == (size_t)-1) { cd 812 ext/iconv/iconv.c iconv_close(cd); cd 975 ext/iconv/iconv.c iconv_t cd; cd 1003 ext/iconv/iconv.c cd = iconv_open(GENERIC_SUPERSET_NAME, enc); cd 1005 ext/iconv/iconv.c if (cd == (iconv_t)(-1)) { cd 1031 ext/iconv/iconv.c if (iconv(cd, (char **)&in_p, &in_left, (char **) &out_p, &out_left) == (size_t)-1) { cd 1145 ext/iconv/iconv.c iconv_close(cd); cd 1155 ext/iconv/iconv.c iconv_t cd = (iconv_t)(-1), cd_pl = (iconv_t)(-1); cd 1209 ext/iconv/iconv.c cd = iconv_open(out_charset, enc); cd 1210 ext/iconv/iconv.c if (cd == (iconv_t)(-1)) { cd 1280 ext/iconv/iconv.c if (iconv(cd, (char **)&in_p, &in_left, (char **) &out_p, &out_left) == (size_t)-1) { cd 1312 ext/iconv/iconv.c if (iconv(cd, NULL, NULL, (char **) &out_p, &out_left) == (size_t)-1) { cd 1328 ext/iconv/iconv.c if (iconv(cd, NULL, NULL, NULL, NULL) == (size_t)-1) { cd 1380 ext/iconv/iconv.c if (iconv(cd, (char **)&in_p, &in_left, (char **) &out_p, &out_left) == (size_t)-1) { cd 1411 ext/iconv/iconv.c if (iconv(cd, NULL, NULL, (char **) &out_p, &out_left) == (size_t)-1) { cd 1454 ext/iconv/iconv.c if (iconv(cd, NULL, NULL, NULL, NULL) == (size_t)-1) { cd 1466 ext/iconv/iconv.c if (cd != (iconv_t)(-1)) { cd 1467 ext/iconv/iconv.c iconv_close(cd); cd 1487 ext/iconv/iconv.c iconv_t cd = (iconv_t)(-1), cd_pl = (iconv_t)(-1); cd 1615 ext/iconv/iconv.c if (cd != (iconv_t)(-1)) { cd 1616 ext/iconv/iconv.c iconv_close(cd); cd 1619 ext/iconv/iconv.c cd = iconv_open(enc, tmpbuf); cd 1621 ext/iconv/iconv.c if (cd == (iconv_t)(-1)) { cd 1857 ext/iconv/iconv.c err = _php_iconv_appendl(pretval, decoded_text, decoded_text_len, cd); cd 2000 ext/iconv/iconv.c if (cd != (iconv_t)(-1)) { cd 2001 ext/iconv/iconv.c iconv_close(cd); cd 2567 ext/iconv/iconv.c iconv_t cd; cd 2581 ext/iconv/iconv.c iconv_close(self->cd); cd 2607 ext/iconv/iconv.c if ((iconv_t)-1 == (self->cd = iconv_open(self->to_charset, self->from_charset))) { cd 2653 ext/iconv/iconv.c if (iconv(self->cd, &pt, &tcnt, &pd, &ocnt) == (size_t)-1) { cd 2731 ext/iconv/iconv.c if ((ps == NULL ? iconv(self->cd, NULL, NULL, &pd, &ocnt): cd 2732 ext/iconv/iconv.c iconv(self->cd, (char **)&ps, &icnt, &pd, &ocnt)) == (size_t)-1) { cd 49 ext/pcre/pcrelib/pcre_compile.c #define NLBLOCK cd /* Block containing newline information */ cd 921 ext/pcre/pcrelib/pcre_compile.c expand_workspace(compile_data *cd) cd 924 ext/pcre/pcrelib/pcre_compile.c int newsize = cd->workspace_size * 2; cd 927 ext/pcre/pcrelib/pcre_compile.c if (cd->workspace_size >= COMPILE_WORK_SIZE_MAX || cd 928 ext/pcre/pcrelib/pcre_compile.c newsize - cd->workspace_size < WORK_SIZE_SAFETY_MARGIN) cd 933 ext/pcre/pcrelib/pcre_compile.c memcpy(newspace, cd->start_workspace, cd->workspace_size * sizeof(pcre_uchar)); cd 934 ext/pcre/pcrelib/pcre_compile.c cd->hwm = (pcre_uchar *)newspace + (cd->hwm - cd->start_workspace); cd 935 ext/pcre/pcrelib/pcre_compile.c if (cd->workspace_size > COMPILE_WORK_SIZE) cd 936 ext/pcre/pcrelib/pcre_compile.c (PUBL(free))((void *)cd->start_workspace); cd 937 ext/pcre/pcrelib/pcre_compile.c cd->start_workspace = newspace; cd 938 ext/pcre/pcrelib/pcre_compile.c cd->workspace_size = newsize; cd 1736 ext/pcre/pcrelib/pcre_compile.c find_fixedlength(pcre_uchar *code, BOOL utf, BOOL atend, compile_data *cd, cd 1765 ext/pcre/pcrelib/pcre_compile.c d = find_fixedlength(cc + ((op == OP_CBRA)? IMM2_SIZE : 0), utf, atend, cd, cd 1797 ext/pcre/pcrelib/pcre_compile.c cs = ce = (pcre_uchar *)cd->start_code + GET(cc, 1); /* Start subpattern */ cd 1808 ext/pcre/pcrelib/pcre_compile.c d = find_fixedlength(cs + IMM2_SIZE, utf, atend, cd, &this_recurse); cd 2397 ext/pcre/pcrelib/pcre_compile.c BOOL utf, compile_data *cd, recurse_check *recurses) cd 2429 ext/pcre/pcrelib/pcre_compile.c const pcre_uchar *scode = cd->start_code + GET(code, 1); cd 2437 ext/pcre/pcrelib/pcre_compile.c if (cd->start_workspace != NULL) cd 2440 ext/pcre/pcrelib/pcre_compile.c for (tcode = cd->start_workspace; tcode < cd->hwm; tcode += LINK_SIZE) cd 2441 ext/pcre/pcrelib/pcre_compile.c if ((int)GET(tcode, 0) == (int)(code + 1 - cd->start_code)) return TRUE; cd 2469 ext/pcre/pcrelib/pcre_compile.c if (could_be_empty_branch(scode, endcode, utf, cd, &this_recurse)) cd 2525 ext/pcre/pcrelib/pcre_compile.c if (!empty_branch && could_be_empty_branch(code, endcode, utf, cd, cd 2772 ext/pcre/pcrelib/pcre_compile.c branch_chain *bcptr, BOOL utf, compile_data *cd) cd 2776 ext/pcre/pcrelib/pcre_compile.c if (!could_be_empty_branch(bcptr->current_branch, endcode, utf, cd, NULL)) cd 3120 ext/pcre/pcrelib/pcre_compile.c compare_opcodes(const pcre_uchar *code, BOOL utf, const compile_data *cd, cd 3211 ext/pcre/pcrelib/pcre_compile.c if (!compare_opcodes(code, utf, cd, base_list, base_end, rec_limit)) cd 3232 ext/pcre/pcrelib/pcre_compile.c if (!compare_opcodes(next_code, utf, cd, base_list, base_end, rec_limit)) cd 3244 ext/pcre/pcrelib/pcre_compile.c code = get_chr_property_list(code, utf, cd->fcc, list); cd 3313 ext/pcre/pcrelib/pcre_compile.c set2 = (pcre_uint8 *)(cd->cbits + cbit_digit); cd 3320 ext/pcre/pcrelib/pcre_compile.c set2 = (pcre_uint8 *)(cd->cbits + cbit_space); cd 3327 ext/pcre/pcrelib/pcre_compile.c set2 = (pcre_uint8 *)(cd->cbits + cbit_word); cd 3520 ext/pcre/pcrelib/pcre_compile.c if (chr < 256 && (cd->ctypes[chr] & ctype_digit) != 0) return FALSE; cd 3524 ext/pcre/pcrelib/pcre_compile.c if (chr > 255 || (cd->ctypes[chr] & ctype_digit) == 0) return FALSE; cd 3528 ext/pcre/pcrelib/pcre_compile.c if (chr < 256 && (cd->ctypes[chr] & ctype_space) != 0) return FALSE; cd 3532 ext/pcre/pcrelib/pcre_compile.c if (chr > 255 || (cd->ctypes[chr] & ctype_space) == 0) return FALSE; cd 3536 ext/pcre/pcrelib/pcre_compile.c if (chr < 255 && (cd->ctypes[chr] & ctype_word) != 0) return FALSE; cd 3540 ext/pcre/pcrelib/pcre_compile.c if (chr > 255 || (cd->ctypes[chr] & ctype_word) == 0) return FALSE; cd 3659 ext/pcre/pcrelib/pcre_compile.c auto_possessify(pcre_uchar *code, BOOL utf, const compile_data *cd) cd 3683 ext/pcre/pcrelib/pcre_compile.c get_chr_property_list(code, utf, cd->fcc, list) : NULL; cd 3687 ext/pcre/pcrelib/pcre_compile.c if (end != NULL && compare_opcodes(end, utf, cd, list, end, &rec_limit)) cd 3739 ext/pcre/pcrelib/pcre_compile.c end = get_chr_property_list(code, utf, cd->fcc, list); cd 3744 ext/pcre/pcrelib/pcre_compile.c if (compare_opcodes(end, utf, cd, list, end, &rec_limit)) cd 4020 ext/pcre/pcrelib/pcre_compile.c adjust_recurse(pcre_uchar *group, int adjust, BOOL utf, compile_data *cd, cd 4029 ext/pcre/pcrelib/pcre_compile.c for (hc = (pcre_uchar *)cd->start_workspace + save_hwm_offset; hc < cd->hwm; cd 4033 ext/pcre/pcrelib/pcre_compile.c if (cd->start_code + offset == ptr + 1) break; cd 4039 ext/pcre/pcrelib/pcre_compile.c if (hc >= cd->hwm) cd 4042 ext/pcre/pcrelib/pcre_compile.c if (cd->start_code + offset >= group) PUT(ptr, 1, offset + adjust); cd 4050 ext/pcre/pcrelib/pcre_compile.c for (hc = (pcre_uchar *)cd->start_workspace + save_hwm_offset; hc < cd->hwm; cd 4076 ext/pcre/pcrelib/pcre_compile.c auto_callout(pcre_uchar *code, const pcre_uchar *ptr, compile_data *cd) cd 4080 ext/pcre/pcrelib/pcre_compile.c PUT(code, 0, (int)(ptr - cd->start_pattern)); /* Pattern offset */ cd 4104 ext/pcre/pcrelib/pcre_compile.c complete_callout(pcre_uchar *previous_callout, const pcre_uchar *ptr, compile_data *cd) cd 4106 ext/pcre/pcrelib/pcre_compile.c int length = (int)(ptr - cd->start_pattern - GET(previous_callout, 2)); cd 4202 ext/pcre/pcrelib/pcre_compile.c compile_data *cd, pcre_uint32 start, pcre_uint32 end) cd 4228 ext/pcre/pcrelib/pcre_compile.c if (rc > 0) n8 += add_list_to_class(classbits, uchardptr, options, cd, cd 4245 ext/pcre/pcrelib/pcre_compile.c else n8 += add_to_class(classbits, uchardptr, options, cd, oc, od); cd 4255 ext/pcre/pcrelib/pcre_compile.c SETBIT(classbits, cd->fcc[c]); cd 4366 ext/pcre/pcrelib/pcre_compile.c compile_data *cd, const pcre_uint32 *p, unsigned int except) cd 4375 ext/pcre/pcrelib/pcre_compile.c n8 += add_to_class(classbits, uchardptr, options, cd, p[0], p[n]); cd 4404 ext/pcre/pcrelib/pcre_compile.c int options, compile_data *cd, const pcre_uint32 *p) cd 4409 ext/pcre/pcrelib/pcre_compile.c n8 += add_to_class(classbits, uchardptr, options, cd, 0, p[0] - 1); cd 4413 ext/pcre/pcrelib/pcre_compile.c n8 += add_to_class(classbits, uchardptr, options, cd, p[0] + 1, cd 4457 ext/pcre/pcrelib/pcre_compile.c compile_data *cd, int *lengthptr) cd 4589 ext/pcre/pcrelib/pcre_compile.c if (code > cd->hwm) cd->hwm = code; /* High water info */ cd 4591 ext/pcre/pcrelib/pcre_compile.c if (code > cd->start_workspace + cd->workspace_size - cd 4642 ext/pcre/pcrelib/pcre_compile.c else if (cd->hwm > cd->start_workspace + cd->workspace_size) cd 4663 ext/pcre/pcrelib/pcre_compile.c complete_callout(previous_callout, ptr, cd); cd 4669 ext/pcre/pcrelib/pcre_compile.c code = auto_callout(code, ptr, cd); cd 4683 ext/pcre/pcrelib/pcre_compile.c while (MAX_255(c) && (cd->ctypes[c] & ctype_space) != 0) c = *(++ptr); cd 4690 ext/pcre/pcrelib/pcre_compile.c ptr += cd->nllen; cd 4715 ext/pcre/pcrelib/pcre_compile.c complete_callout(previous_callout, ptr, cd); cd 4725 ext/pcre/pcrelib/pcre_compile.c code = auto_callout(code, ptr, cd); cd 4785 ext/pcre/pcrelib/pcre_compile.c item_hwm_offset = cd->hwm - cd->start_workspace; cd 4806 ext/pcre/pcrelib/pcre_compile.c if ((cd->external_options & PCRE_JAVASCRIPT_COMPAT) != 0) cd 4837 ext/pcre/pcrelib/pcre_compile.c item_hwm_offset = cd->hwm - cd->start_workspace; cd 4878 ext/pcre/pcrelib/pcre_compile.c (cd->external_options & PCRE_JAVASCRIPT_COMPAT) != 0) cd 4977 ext/pcre/pcrelib/pcre_compile.c register const pcre_uint8 *cbits = cd->cbits; cd 5133 ext/pcre/pcrelib/pcre_compile.c escape = check_escape(&ptr, &ec, errorcodeptr, cd->bracount, options, cd 5156 ext/pcre/pcrelib/pcre_compile.c register const pcre_uint8 *cbits = cd->cbits; cd 5213 ext/pcre/pcrelib/pcre_compile.c (void)add_list_to_class(classbits, &class_uchardata, options, cd, cd 5219 ext/pcre/pcrelib/pcre_compile.c cd, PRIV(hspace_list)); cd 5223 ext/pcre/pcrelib/pcre_compile.c (void)add_list_to_class(classbits, &class_uchardata, options, cd, cd 5229 ext/pcre/pcrelib/pcre_compile.c cd, PRIV(vspace_list)); cd 5291 ext/pcre/pcrelib/pcre_compile.c if (c == CHAR_CR || c == CHAR_NL) cd->external_flags |= PCRE_HASCRORLF; cd 5344 ext/pcre/pcrelib/pcre_compile.c descape = check_escape(&ptr, &d, errorcodeptr, cd->bracount, options, TRUE); cd 5390 ext/pcre/pcrelib/pcre_compile.c if (d == CHAR_CR || d == CHAR_NL) cd->external_flags |= PCRE_HASCRORLF; cd 5393 ext/pcre/pcrelib/pcre_compile.c add_to_class(classbits, &class_uchardata, options, cd, c, d); cd 5485 ext/pcre/pcrelib/pcre_compile.c add_to_class(classbits, &class_uchardata, options, cd, c, c); cd 5656 ext/pcre/pcrelib/pcre_compile.c while (MAX_255(*p) && (cd->ctypes[*p] & ctype_space) != 0) p++; cd 5663 ext/pcre/pcrelib/pcre_compile.c p += cd->nllen; cd 5713 ext/pcre/pcrelib/pcre_compile.c if (lengthptr == NULL && cd->hwm >= cd->start_workspace + LINK_SIZE) cd 5715 ext/pcre/pcrelib/pcre_compile.c int offset = GET(cd->hwm, -LINK_SIZE); cd 5716 ext/pcre/pcrelib/pcre_compile.c if (offset == previous + 1 - cd->start_code) cd 5717 ext/pcre/pcrelib/pcre_compile.c PUT(cd->hwm, -LINK_SIZE, offset + 1 + LINK_SIZE); cd 5765 ext/pcre/pcrelib/pcre_compile.c reqcharflags = req_caseopt | cd->req_varyopt; cd 6030 ext/pcre/pcrelib/pcre_compile.c adjust_recurse(previous, 1, utf, cd, item_hwm_offset); cd 6054 ext/pcre/pcrelib/pcre_compile.c adjust_recurse(previous, 2 + LINK_SIZE, utf, cd, item_hwm_offset); cd 6117 ext/pcre/pcrelib/pcre_compile.c size_t this_hwm_offset = cd->hwm - cd->start_workspace; cd 6120 ext/pcre/pcrelib/pcre_compile.c while (cd->hwm > cd->start_workspace + cd->workspace_size - cd 6124 ext/pcre/pcrelib/pcre_compile.c *errorcodeptr = expand_workspace(cd); cd 6128 ext/pcre/pcrelib/pcre_compile.c for (hc = (pcre_uchar *)cd->start_workspace + base_hwm_offset; cd 6129 ext/pcre/pcrelib/pcre_compile.c hc < (pcre_uchar *)cd->start_workspace + this_hwm_offset; cd 6132 ext/pcre/pcrelib/pcre_compile.c PUT(cd->hwm, 0, GET(hc, 0) + len); cd 6133 ext/pcre/pcrelib/pcre_compile.c cd->hwm += LINK_SIZE; cd 6180 ext/pcre/pcrelib/pcre_compile.c size_t this_hwm_offset = cd->hwm - cd->start_workspace; cd 6201 ext/pcre/pcrelib/pcre_compile.c while (cd->hwm > cd->start_workspace + cd->workspace_size - cd 6205 ext/pcre/pcrelib/pcre_compile.c *errorcodeptr = expand_workspace(cd); cd 6209 ext/pcre/pcrelib/pcre_compile.c for (hc = (pcre_uchar *)cd->start_workspace + base_hwm_offset; cd 6210 ext/pcre/pcrelib/pcre_compile.c hc < (pcre_uchar *)cd->start_workspace + this_hwm_offset; cd 6213 ext/pcre/pcrelib/pcre_compile.c PUT(cd->hwm, 0, GET(hc, 0) + len + ((i != 0)? 2+LINK_SIZE : 1)); cd 6214 ext/pcre/pcrelib/pcre_compile.c cd->hwm += LINK_SIZE; cd 6289 ext/pcre/pcrelib/pcre_compile.c if (could_be_empty_branch(scode, ketcode, utf, cd, NULL)) cd 6318 ext/pcre/pcrelib/pcre_compile.c adjust_recurse(bracode, 1 + LINK_SIZE, utf, cd, item_hwm_offset); cd 6452 ext/pcre/pcrelib/pcre_compile.c adjust_recurse(tempcode, 1 + LINK_SIZE, utf, cd, item_hwm_offset); cd 6501 ext/pcre/pcrelib/pcre_compile.c adjust_recurse(tempcode, 1 + LINK_SIZE, utf, cd, item_hwm_offset); cd 6520 ext/pcre/pcrelib/pcre_compile.c cd->req_varyopt |= reqvary; cd 6550 ext/pcre/pcrelib/pcre_compile.c || (MAX_255(ptr[1]) && ((cd->ctypes[ptr[1]] & ctype_letter) != 0)))) cd 6559 ext/pcre/pcrelib/pcre_compile.c while (MAX_255(*ptr) && (cd->ctypes[*ptr] & ctype_letter) != 0) ptr++; cd 6604 ext/pcre/pcrelib/pcre_compile.c cd->had_accept = TRUE; cd 6605 ext/pcre/pcrelib/pcre_compile.c for (oc = cd->open_caps; oc != NULL; oc = oc->next) cd 6611 ext/pcre/pcrelib/pcre_compile.c (cd->assert_depth > 0)? OP_ASSERT_ACCEPT : OP_ACCEPT; cd 6655 ext/pcre/pcrelib/pcre_compile.c cd->external_flags |= PCRE_HASTHEN; cd 6662 ext/pcre/pcrelib/pcre_compile.c cd->had_pruneorskip = TRUE; cd 6682 ext/pcre/pcrelib/pcre_compile.c item_hwm_offset = cd->hwm - cd->start_workspace; cd 6700 ext/pcre/pcrelib/pcre_compile.c cd->dupgroups = TRUE; /* Record (?| encountered */ cd 6750 ext/pcre/pcrelib/pcre_compile.c cd->iscondassert = TRUE; cd 6824 ext/pcre/pcrelib/pcre_compile.c if (!MAX_255(*ptr) || (cd->ctypes[*ptr] & ctype_word) == 0) cd 6830 ext/pcre/pcrelib/pcre_compile.c while (MAX_255(*ptr) && (cd->ctypes[*ptr] & ctype_word) != 0) cd 6864 ext/pcre/pcrelib/pcre_compile.c cd->bracount - recno + 1 : recno + cd->bracount; cd 6865 ext/pcre/pcrelib/pcre_compile.c if (recno <= 0 || recno > cd->final_bracount) cd 6871 ext/pcre/pcrelib/pcre_compile.c if (recno > cd->top_backref) cd->top_backref = recno; cd 6877 ext/pcre/pcrelib/pcre_compile.c slot = cd->name_table; cd 6878 ext/pcre/pcrelib/pcre_compile.c for (i = 0; i < cd->names_found; i++) cd 6881 ext/pcre/pcrelib/pcre_compile.c slot += cd->name_entry_size; cd 6889 ext/pcre/pcrelib/pcre_compile.c if (i < cd->names_found) cd 6894 ext/pcre/pcrelib/pcre_compile.c if (recno > cd->top_backref) cd->top_backref = recno; cd 6895 ext/pcre/pcrelib/pcre_compile.c for (; i < cd->names_found; i++) cd 6897 ext/pcre/pcrelib/pcre_compile.c slot += cd->name_entry_size; cd 6975 ext/pcre/pcrelib/pcre_compile.c cd->assert_depth += 1; cd 6997 ext/pcre/pcrelib/pcre_compile.c cd->assert_depth += 1; cd 7007 ext/pcre/pcrelib/pcre_compile.c cd->assert_depth += 1; cd 7013 ext/pcre/pcrelib/pcre_compile.c cd->assert_depth += 1; cd 7018 ext/pcre/pcrelib/pcre_compile.c if (MAX_255(ptr[1]) && (cd->ctypes[ptr[1]] & ctype_word) != 0) cd 7055 ext/pcre/pcrelib/pcre_compile.c PUT(code, 0, (int)(ptr - cd->start_pattern + 1)); /* Pattern offset */ cd 7091 ext/pcre/pcrelib/pcre_compile.c while (MAX_255(*ptr) && (cd->ctypes[*ptr] & ctype_word) != 0) ptr++; cd 7103 ext/pcre/pcrelib/pcre_compile.c pcre_uint32 number = cd->bracount + 1; cd 7111 ext/pcre/pcrelib/pcre_compile.c if (cd->names_found >= MAX_NAME_COUNT) cd 7117 ext/pcre/pcrelib/pcre_compile.c if (namelen + IMM2_SIZE + 1 > cd->name_entry_size) cd 7119 ext/pcre/pcrelib/pcre_compile.c cd->name_entry_size = namelen + IMM2_SIZE + 1; cd 7134 ext/pcre/pcrelib/pcre_compile.c ng = cd->named_groups; cd 7135 ext/pcre/pcrelib/pcre_compile.c for (i = 0; i < cd->names_found; i++, ng++) cd 7146 ext/pcre/pcrelib/pcre_compile.c cd->dupnames = TRUE; /* Duplicate names exist */ cd 7155 ext/pcre/pcrelib/pcre_compile.c if (i >= cd->names_found) /* Not a duplicate with same number */ cd 7159 ext/pcre/pcrelib/pcre_compile.c if (cd->names_found >= cd->named_group_list_size) cd 7161 ext/pcre/pcrelib/pcre_compile.c int newsize = cd->named_group_list_size * 2; cd 7171 ext/pcre/pcrelib/pcre_compile.c memcpy(newspace, cd->named_groups, cd 7172 ext/pcre/pcrelib/pcre_compile.c cd->named_group_list_size * sizeof(named_group)); cd 7173 ext/pcre/pcrelib/pcre_compile.c if (cd->named_group_list_size > NAMED_GROUP_LIST_SIZE) cd 7174 ext/pcre/pcrelib/pcre_compile.c (PUBL(free))((void *)cd->named_groups); cd 7175 ext/pcre/pcrelib/pcre_compile.c cd->named_groups = newspace; cd 7176 ext/pcre/pcrelib/pcre_compile.c cd->named_group_list_size = newsize; cd 7179 ext/pcre/pcrelib/pcre_compile.c cd->named_groups[cd->names_found].name = name; cd 7180 ext/pcre/pcrelib/pcre_compile.c cd->named_groups[cd->names_found].length = namelen; cd 7181 ext/pcre/pcrelib/pcre_compile.c cd->named_groups[cd->names_found].number = number; cd 7182 ext/pcre/pcrelib/pcre_compile.c cd->names_found++; cd 7209 ext/pcre/pcrelib/pcre_compile.c while (MAX_255(*ptr) && (cd->ctypes[*ptr] & ctype_word) != 0) ptr++; cd 7242 ext/pcre/pcrelib/pcre_compile.c if (!is_recurse) cd->namedrefcount++; cd 7270 ext/pcre/pcrelib/pcre_compile.c if (cd->dupgroups) *lengthptr += 4 + 4*LINK_SIZE; cd 7279 ext/pcre/pcrelib/pcre_compile.c ng = cd->named_groups; cd 7280 ext/pcre/pcrelib/pcre_compile.c for (i = 0; i < cd->names_found; i++, ng++) cd 7288 ext/pcre/pcrelib/pcre_compile.c for (oc = cd->open_caps; oc != NULL; oc = oc->next) cd 7308 ext/pcre/pcrelib/pcre_compile.c slot = cd->name_table; cd 7309 ext/pcre/pcrelib/pcre_compile.c for (i = 0; i < cd->names_found; i++) cd 7314 ext/pcre/pcrelib/pcre_compile.c slot += cd->name_entry_size; cd 7317 ext/pcre/pcrelib/pcre_compile.c if (i < cd->names_found) cd 7336 ext/pcre/pcrelib/pcre_compile.c if (lengthptr == NULL && cd->dupnames) cd 7340 ext/pcre/pcrelib/pcre_compile.c pcre_uchar *cslot = slot + cd->name_entry_size; cd 7342 ext/pcre/pcrelib/pcre_compile.c for (i++; i < cd->names_found; i++) cd 7346 ext/pcre/pcrelib/pcre_compile.c cslot += cd->name_entry_size; cd 7353 ext/pcre/pcrelib/pcre_compile.c item_hwm_offset = cd->hwm - cd->start_workspace; cd 7360 ext/pcre/pcrelib/pcre_compile.c for (; slot < cslot; slot += cd->name_entry_size) cd 7364 ext/pcre/pcrelib/pcre_compile.c cd->backref_map |= (recno < 32)? (1 << recno) : 1; cd 7365 ext/pcre/pcrelib/pcre_compile.c if (recno > cd->top_backref) cd->top_backref = recno; cd 7371 ext/pcre/pcrelib/pcre_compile.c for (oc = cd->open_caps; oc != NULL; oc = oc->next) cd 7458 ext/pcre/pcrelib/pcre_compile.c recno = cd->bracount - recno + 1; cd 7472 ext/pcre/pcrelib/pcre_compile.c recno += cd->bracount; cd 7480 ext/pcre/pcrelib/pcre_compile.c item_hwm_offset = cd->hwm - cd->start_workspace; cd 7481 ext/pcre/pcrelib/pcre_compile.c called = cd->start_code; cd 7494 ext/pcre/pcrelib/pcre_compile.c called = PRIV(find_bracket)(cd->start_code, utf, recno); cd 7500 ext/pcre/pcrelib/pcre_compile.c if (recno > cd->final_bracount) cd 7510 ext/pcre/pcrelib/pcre_compile.c called = cd->start_code + recno; cd 7511 ext/pcre/pcrelib/pcre_compile.c if (cd->hwm >= cd->start_workspace + cd->workspace_size - cd 7514 ext/pcre/pcrelib/pcre_compile.c *errorcodeptr = expand_workspace(cd); cd 7517 ext/pcre/pcrelib/pcre_compile.c PUTINC(cd->hwm, 0, (int)(code + 1 - cd->start_code)); cd 7530 ext/pcre/pcrelib/pcre_compile.c could_be_empty(called, code, bcptr, utf, cd)) cd 7542 ext/pcre/pcrelib/pcre_compile.c PUT(code, 1, (int)(called - cd->start_code)); cd 7567 ext/pcre/pcrelib/pcre_compile.c cd->external_flags |= PCRE_JCHANGED; cd 7610 ext/pcre/pcrelib/pcre_compile.c if (code == cd->start_code + 1 + LINK_SIZE && cd 7613 ext/pcre/pcrelib/pcre_compile.c cd->external_options = newoptions; cd 7654 ext/pcre/pcrelib/pcre_compile.c cd->bracount += 1; cd 7655 ext/pcre/pcrelib/pcre_compile.c PUT2(code, 1+LINK_SIZE, cd->bracount); cd 7662 ext/pcre/pcrelib/pcre_compile.c if ((cd->parens_depth += 1) > PARENS_NEST_LIMIT) cd 7677 ext/pcre/pcrelib/pcre_compile.c cd->iscondassert) cd 7680 ext/pcre/pcrelib/pcre_compile.c cd->iscondassert = FALSE; cd 7685 ext/pcre/pcrelib/pcre_compile.c item_hwm_offset = cd->hwm - cd->start_workspace; cd 7690 ext/pcre/pcrelib/pcre_compile.c tempreqvary = cd->req_varyopt; /* Save value before bracket */ cd 7691 ext/pcre/pcrelib/pcre_compile.c tempbracount = cd->bracount; /* Save value before bracket */ cd 7710 ext/pcre/pcrelib/pcre_compile.c cd, /* Tables block */ cd 7716 ext/pcre/pcrelib/pcre_compile.c cd->parens_depth -= 1; cd 7721 ext/pcre/pcrelib/pcre_compile.c if (bravalue == OP_ONCE && cd->bracount <= tempbracount) cd 7725 ext/pcre/pcrelib/pcre_compile.c cd->assert_depth -= 1; cd 7892 ext/pcre/pcrelib/pcre_compile.c escape = check_escape(&ptr, &ec, errorcodeptr, cd->bracount, options, FALSE); cd 7934 ext/pcre/pcrelib/pcre_compile.c item_hwm_offset = cd->hwm - cd->start_workspace; /* Normally this is set when '(' is read */ cd 8002 ext/pcre/pcrelib/pcre_compile.c item_hwm_offset = cd->hwm - cd->start_workspace; cd 8005 ext/pcre/pcrelib/pcre_compile.c cd->backref_map |= (recno < 32)? (1 << recno) : 1; cd 8006 ext/pcre/pcrelib/pcre_compile.c if (recno > cd->top_backref) cd->top_backref = recno; cd 8012 ext/pcre/pcrelib/pcre_compile.c for (oc = cd->open_caps; oc != NULL; oc = oc->next) cd 8032 ext/pcre/pcrelib/pcre_compile.c item_hwm_offset = cd->hwm - cd->start_workspace; cd 8058 ext/pcre/pcrelib/pcre_compile.c cd->max_lookbehind == 0) cd 8059 ext/pcre/pcrelib/pcre_compile.c cd->max_lookbehind = 1; cd 8073 ext/pcre/pcrelib/pcre_compile.c item_hwm_offset = cd->hwm - cd->start_workspace; cd 8117 ext/pcre/pcrelib/pcre_compile.c item_hwm_offset = cd->hwm - cd->start_workspace; cd 8147 ext/pcre/pcrelib/pcre_compile.c cd->external_flags |= PCRE_HASCRORLF; cd 8172 ext/pcre/pcrelib/pcre_compile.c reqcharflags = cd->req_varyopt; cd 8190 ext/pcre/pcrelib/pcre_compile.c reqcharflags = req_caseopt | cd->req_varyopt; cd 8248 ext/pcre/pcrelib/pcre_compile.c branch_chain *bcptr, compile_data *cd, int *lengthptr) cd 8283 ext/pcre/pcrelib/pcre_compile.c save_hwm_offset = cd->hwm - cd->start_workspace; cd 8309 ext/pcre/pcrelib/pcre_compile.c capitem.next = cd->open_caps; cd 8311 ext/pcre/pcrelib/pcre_compile.c cd->open_caps = &capitem; cd 8321 ext/pcre/pcrelib/pcre_compile.c orig_bracount = max_bracount = cd->bracount; cd 8327 ext/pcre/pcrelib/pcre_compile.c if (reset_bracount) cd->bracount = orig_bracount; cd 8344 ext/pcre/pcrelib/pcre_compile.c cond_depth, cd, (lengthptr == NULL)? NULL : &length)) cd 8353 ext/pcre/pcrelib/pcre_compile.c if (cd->bracount > max_bracount) max_bracount = cd->bracount; cd 8426 ext/pcre/pcrelib/pcre_compile.c FALSE, cd, NULL); cd 8430 ext/pcre/pcrelib/pcre_compile.c cd->check_lookbehind = TRUE; cd 8441 ext/pcre/pcrelib/pcre_compile.c if (fixed_length > cd->max_lookbehind) cd 8442 ext/pcre/pcrelib/pcre_compile.c cd->max_lookbehind = fixed_length; cd 8483 ext/pcre/pcrelib/pcre_compile.c if (cd->open_caps->flag) cd 8487 ext/pcre/pcrelib/pcre_compile.c (options & PCRE_UTF8) != 0, cd, save_hwm_offset); cd 8498 ext/pcre/pcrelib/pcre_compile.c cd->open_caps = cd->open_caps->next; cd 8503 ext/pcre/pcrelib/pcre_compile.c cd->bracount = max_bracount; cd 8598 ext/pcre/pcrelib/pcre_compile.c compile_data *cd, int atomcount) cd 8610 ext/pcre/pcrelib/pcre_compile.c if (!is_anchored(scode, bracket_map, cd, atomcount)) return FALSE; cd 8620 ext/pcre/pcrelib/pcre_compile.c if (!is_anchored(scode, new_map, cd, atomcount)) return FALSE; cd 8627 ext/pcre/pcrelib/pcre_compile.c if (!is_anchored(scode, bracket_map, cd, atomcount)) return FALSE; cd 8634 ext/pcre/pcrelib/pcre_compile.c if (!is_anchored(scode, bracket_map, cd, atomcount + 1)) cd 8645 ext/pcre/pcrelib/pcre_compile.c if (scode[1] != OP_ALLANY || (bracket_map & cd->backref_map) != 0 || cd 8646 ext/pcre/pcrelib/pcre_compile.c atomcount > 0 || cd->had_pruneorskip) cd 8688 ext/pcre/pcrelib/pcre_compile.c compile_data *cd, int atomcount) cd 8715 ext/pcre/pcrelib/pcre_compile.c if (!is_startline(scode, bracket_map, cd, atomcount)) return FALSE; cd 8729 ext/pcre/pcrelib/pcre_compile.c if (!is_startline(scode, bracket_map, cd, atomcount)) return FALSE; cd 8739 ext/pcre/pcrelib/pcre_compile.c if (!is_startline(scode, new_map, cd, atomcount)) return FALSE; cd 8746 ext/pcre/pcrelib/pcre_compile.c if (!is_startline(scode, bracket_map, cd, atomcount)) return FALSE; cd 8753 ext/pcre/pcrelib/pcre_compile.c if (!is_startline(scode, bracket_map, cd, atomcount + 1)) return FALSE; cd 8764 ext/pcre/pcrelib/pcre_compile.c if (scode[1] != OP_ANY || (bracket_map & cd->backref_map) != 0 || cd 8765 ext/pcre/pcrelib/pcre_compile.c atomcount > 0 || cd->had_pruneorskip) cd 8899 ext/pcre/pcrelib/pcre_compile.c add_name(compile_data *cd, const pcre_uchar *name, int length, cd 8903 ext/pcre/pcrelib/pcre_compile.c pcre_uchar *slot = cd->name_table; cd 8905 ext/pcre/pcrelib/pcre_compile.c for (i = 0; i < cd->names_found; i++) cd 8918 ext/pcre/pcrelib/pcre_compile.c memmove(slot + cd->name_entry_size, slot, cd 8919 ext/pcre/pcrelib/pcre_compile.c IN_UCHARS((cd->names_found - i) * cd->name_entry_size)); cd 8925 ext/pcre/pcrelib/pcre_compile.c slot += cd->name_entry_size; cd 8931 ext/pcre/pcrelib/pcre_compile.c cd->names_found++; cd 9012 ext/pcre/pcrelib/pcre_compile.c compile_data *cd = &compile_block; cd 9058 ext/pcre/pcrelib/pcre_compile.c cd->lcc = tables + lcc_offset; cd 9059 ext/pcre/pcrelib/pcre_compile.c cd->fcc = tables + fcc_offset; cd 9060 ext/pcre/pcrelib/pcre_compile.c cd->cbits = tables + cbits_offset; cd 9061 ext/pcre/pcrelib/pcre_compile.c cd->ctypes = tables + ctypes_offset; cd 9078 ext/pcre/pcrelib/pcre_compile.c cd->external_flags = 0; /* Initialize here for LIMIT_MATCH/RECURSION */ cd 9125 ext/pcre/pcrelib/pcre_compile.c cd->external_flags |= PCRE_MLSET; cd 9144 ext/pcre/pcrelib/pcre_compile.c cd->external_flags |= PCRE_RLSET; cd 9244 ext/pcre/pcrelib/pcre_compile.c cd->nltype = NLTYPE_ANYCRLF; cd 9248 ext/pcre/pcrelib/pcre_compile.c cd->nltype = NLTYPE_ANY; cd 9252 ext/pcre/pcrelib/pcre_compile.c cd->nltype = NLTYPE_FIXED; cd 9255 ext/pcre/pcrelib/pcre_compile.c cd->nllen = 2; cd 9256 ext/pcre/pcrelib/pcre_compile.c cd->nl[0] = (newline >> 8) & 255; cd 9257 ext/pcre/pcrelib/pcre_compile.c cd->nl[1] = newline & 255; cd 9261 ext/pcre/pcrelib/pcre_compile.c cd->nllen = 1; cd 9262 ext/pcre/pcrelib/pcre_compile.c cd->nl[0] = newline; cd 9270 ext/pcre/pcrelib/pcre_compile.c cd->top_backref = 0; cd 9271 ext/pcre/pcrelib/pcre_compile.c cd->backref_map = 0; cd 9288 ext/pcre/pcrelib/pcre_compile.c cd->bracount = cd->final_bracount = 0; cd 9289 ext/pcre/pcrelib/pcre_compile.c cd->names_found = 0; cd 9290 ext/pcre/pcrelib/pcre_compile.c cd->name_entry_size = 0; cd 9291 ext/pcre/pcrelib/pcre_compile.c cd->name_table = NULL; cd 9292 ext/pcre/pcrelib/pcre_compile.c cd->dupnames = FALSE; cd 9293 ext/pcre/pcrelib/pcre_compile.c cd->dupgroups = FALSE; cd 9294 ext/pcre/pcrelib/pcre_compile.c cd->namedrefcount = 0; cd 9295 ext/pcre/pcrelib/pcre_compile.c cd->start_code = cworkspace; cd 9296 ext/pcre/pcrelib/pcre_compile.c cd->hwm = cworkspace; cd 9297 ext/pcre/pcrelib/pcre_compile.c cd->iscondassert = FALSE; cd 9298 ext/pcre/pcrelib/pcre_compile.c cd->start_workspace = cworkspace; cd 9299 ext/pcre/pcrelib/pcre_compile.c cd->workspace_size = COMPILE_WORK_SIZE; cd 9300 ext/pcre/pcrelib/pcre_compile.c cd->named_groups = named_groups; cd 9301 ext/pcre/pcrelib/pcre_compile.c cd->named_group_list_size = NAMED_GROUP_LIST_SIZE; cd 9302 ext/pcre/pcrelib/pcre_compile.c cd->start_pattern = (const pcre_uchar *)pattern; cd 9303 ext/pcre/pcrelib/pcre_compile.c cd->end_pattern = (const pcre_uchar *)(pattern + STRLEN_UC((const pcre_uchar *)pattern)); cd 9304 ext/pcre/pcrelib/pcre_compile.c cd->req_varyopt = 0; cd 9305 ext/pcre/pcrelib/pcre_compile.c cd->parens_depth = 0; cd 9306 ext/pcre/pcrelib/pcre_compile.c cd->assert_depth = 0; cd 9307 ext/pcre/pcrelib/pcre_compile.c cd->max_lookbehind = 0; cd 9308 ext/pcre/pcrelib/pcre_compile.c cd->external_options = options; cd 9309 ext/pcre/pcrelib/pcre_compile.c cd->open_caps = NULL; cd 9321 ext/pcre/pcrelib/pcre_compile.c (void)compile_regex(cd->external_options, &code, &ptr, &errorcode, FALSE, cd 9323 ext/pcre/pcrelib/pcre_compile.c cd, &length); cd 9327 ext/pcre/pcrelib/pcre_compile.c (int)(cd->hwm - cworkspace))); cd 9340 ext/pcre/pcrelib/pcre_compile.c (length + cd->names_found * cd->name_entry_size) * sizeof(pcre_uchar); cd 9359 ext/pcre/pcrelib/pcre_compile.c re->options = cd->external_options; cd 9360 ext/pcre/pcrelib/pcre_compile.c re->flags = cd->external_flags; cd 9366 ext/pcre/pcrelib/pcre_compile.c re->name_entry_size = cd->name_entry_size; cd 9367 ext/pcre/pcrelib/pcre_compile.c re->name_count = cd->names_found; cd 9384 ext/pcre/pcrelib/pcre_compile.c cd->final_bracount = cd->bracount; /* Save for checking forward references */ cd 9385 ext/pcre/pcrelib/pcre_compile.c cd->parens_depth = 0; cd 9386 ext/pcre/pcrelib/pcre_compile.c cd->assert_depth = 0; cd 9387 ext/pcre/pcrelib/pcre_compile.c cd->bracount = 0; cd 9388 ext/pcre/pcrelib/pcre_compile.c cd->max_lookbehind = 0; cd 9389 ext/pcre/pcrelib/pcre_compile.c cd->name_table = (pcre_uchar *)re + re->name_table_offset; cd 9390 ext/pcre/pcrelib/pcre_compile.c codestart = cd->name_table + re->name_entry_size * re->name_count; cd 9391 ext/pcre/pcrelib/pcre_compile.c cd->start_code = codestart; cd 9392 ext/pcre/pcrelib/pcre_compile.c cd->hwm = (pcre_uchar *)(cd->start_workspace); cd 9393 ext/pcre/pcrelib/pcre_compile.c cd->iscondassert = FALSE; cd 9394 ext/pcre/pcrelib/pcre_compile.c cd->req_varyopt = 0; cd 9395 ext/pcre/pcrelib/pcre_compile.c cd->had_accept = FALSE; cd 9396 ext/pcre/pcrelib/pcre_compile.c cd->had_pruneorskip = FALSE; cd 9397 ext/pcre/pcrelib/pcre_compile.c cd->check_lookbehind = FALSE; cd 9398 ext/pcre/pcrelib/pcre_compile.c cd->open_caps = NULL; cd 9403 ext/pcre/pcrelib/pcre_compile.c if (cd->names_found > 0) cd 9405 ext/pcre/pcrelib/pcre_compile.c int i = cd->names_found; cd 9406 ext/pcre/pcrelib/pcre_compile.c named_group *ng = cd->named_groups; cd 9407 ext/pcre/pcrelib/pcre_compile.c cd->names_found = 0; cd 9409 ext/pcre/pcrelib/pcre_compile.c add_name(cd, ng->name, ng->length, ng->number); cd 9410 ext/pcre/pcrelib/pcre_compile.c if (cd->named_group_list_size > NAMED_GROUP_LIST_SIZE) cd 9411 ext/pcre/pcrelib/pcre_compile.c (PUBL(free))((void *)cd->named_groups); cd 9422 ext/pcre/pcrelib/pcre_compile.c &firstchar, &firstcharflags, &reqchar, &reqcharflags, NULL, cd, NULL); cd 9423 ext/pcre/pcrelib/pcre_compile.c re->top_bracket = cd->bracount; cd 9424 ext/pcre/pcrelib/pcre_compile.c re->top_backref = cd->top_backref; cd 9425 ext/pcre/pcrelib/pcre_compile.c re->max_lookbehind = cd->max_lookbehind; cd 9426 ext/pcre/pcrelib/pcre_compile.c re->flags = cd->external_flags | PCRE_MODE; cd 9428 ext/pcre/pcrelib/pcre_compile.c if (cd->had_accept) cd 9457 ext/pcre/pcrelib/pcre_compile.c if (cd->hwm > cd->start_workspace) cd 9461 ext/pcre/pcrelib/pcre_compile.c while (errorcode == 0 && cd->hwm > cd->start_workspace) cd 9464 ext/pcre/pcrelib/pcre_compile.c cd->hwm -= LINK_SIZE; cd 9465 ext/pcre/pcrelib/pcre_compile.c offset = GET(cd->hwm, 0); cd 9490 ext/pcre/pcrelib/pcre_compile.c if (cd->workspace_size > COMPILE_WORK_SIZE) cd 9491 ext/pcre/pcrelib/pcre_compile.c (PUBL(free))((void *)cd->start_workspace); cd 9492 ext/pcre/pcrelib/pcre_compile.c cd->start_workspace = NULL; cd 9509 ext/pcre/pcrelib/pcre_compile.c auto_possessify(temp, utf, cd); cd 9520 ext/pcre/pcrelib/pcre_compile.c if (errorcode == 0 && cd->check_lookbehind) cd 9540 ext/pcre/pcrelib/pcre_compile.c cd, NULL); cd 9549 ext/pcre/pcrelib/pcre_compile.c if (fixed_length > cd->max_lookbehind) cd->max_lookbehind = fixed_length; cd 9582 ext/pcre/pcrelib/pcre_compile.c if (is_anchored(codestart, 0, cd, 0)) re->options |= PCRE_ANCHORED; cd 9604 ext/pcre/pcrelib/pcre_compile.c if (cd->fcc[re->first_char] != re->first_char) cd 9613 ext/pcre/pcrelib/pcre_compile.c && cd->fcc[re->first_char] != re->first_char) cd 9620 ext/pcre/pcrelib/pcre_compile.c else if (is_startline(codestart, 0, cd, 0)) re->flags |= PCRE_STARTLINE; cd 9646 ext/pcre/pcrelib/pcre_compile.c if (cd->fcc[re->req_char] != re->req_char) cd 9654 ext/pcre/pcrelib/pcre_compile.c if (MAX_255(re->req_char) && cd->fcc[re->req_char] != re->req_char) cd 9714 ext/pcre/pcrelib/pcre_compile.c if (could_be_empty_branch(codestart, code, utf, cd, NULL)) cd 636 ext/pcre/pcrelib/pcre_study.c compile_data *cd, BOOL utf) cd 664 ext/pcre/pcrelib/pcre_study.c if (caseless && (cd->ctypes[c] & ctype_letter) != 0) SET_BIT(cd->fcc[c]); cd 695 ext/pcre/pcrelib/pcre_study.c if (caseless && (cd->ctypes[c] & ctype_letter) != 0) SET_BIT(cd->fcc[c]); cd 724 ext/pcre/pcrelib/pcre_study.c compile_data *cd) cd 727 ext/pcre/pcrelib/pcre_study.c for (c = 0; c < table_limit; c++) start_bits[c] |= cd->cbits[c+cbit_type]; cd 732 ext/pcre/pcrelib/pcre_study.c if ((cd->cbits[c/8] & (1 << (c&7))) != 0) cd 766 ext/pcre/pcrelib/pcre_study.c compile_data *cd) cd 769 ext/pcre/pcrelib/pcre_study.c for (c = 0; c < table_limit; c++) start_bits[c] |= ~cd->cbits[c+cbit_type]; cd 803 ext/pcre/pcrelib/pcre_study.c compile_data *cd) cd 973 ext/pcre/pcrelib/pcre_study.c rc = set_start_bits(tcode, start_bits, utf, cd); cd 1020 ext/pcre/pcrelib/pcre_study.c rc = set_start_bits(++tcode, start_bits, utf, cd); cd 1047 ext/pcre/pcrelib/pcre_study.c tcode = set_table_bit(start_bits, tcode + 1, FALSE, cd, utf); cd 1056 ext/pcre/pcrelib/pcre_study.c tcode = set_table_bit(start_bits, tcode + 1, TRUE, cd, utf); cd 1064 ext/pcre/pcrelib/pcre_study.c tcode = set_table_bit(start_bits, tcode + 1 + IMM2_SIZE, FALSE, cd, utf); cd 1070 ext/pcre/pcrelib/pcre_study.c tcode = set_table_bit(start_bits, tcode + 1 + IMM2_SIZE, TRUE, cd, utf); cd 1082 ext/pcre/pcrelib/pcre_study.c (void)set_table_bit(start_bits, tcode + 1, FALSE, cd, utf); cd 1093 ext/pcre/pcrelib/pcre_study.c (void)set_table_bit(start_bits, tcode + 1, TRUE, cd, utf); cd 1166 ext/pcre/pcrelib/pcre_study.c set_nottype_bits(start_bits, cbit_digit, table_limit, cd); cd 1171 ext/pcre/pcrelib/pcre_study.c set_type_bits(start_bits, cbit_digit, table_limit, cd); cd 1180 ext/pcre/pcrelib/pcre_study.c set_nottype_bits(start_bits, cbit_space, table_limit, cd); cd 1185 ext/pcre/pcrelib/pcre_study.c set_type_bits(start_bits, cbit_space, table_limit, cd); cd 1190 ext/pcre/pcrelib/pcre_study.c set_nottype_bits(start_bits, cbit_word, table_limit, cd); cd 1195 ext/pcre/pcrelib/pcre_study.c set_type_bits(start_bits, cbit_word, table_limit, cd); cd 1279 ext/pcre/pcrelib/pcre_study.c set_nottype_bits(start_bits, cbit_digit, table_limit, cd); cd 1283 ext/pcre/pcrelib/pcre_study.c set_type_bits(start_bits, cbit_digit, table_limit, cd); cd 1291 ext/pcre/pcrelib/pcre_study.c set_nottype_bits(start_bits, cbit_space, table_limit, cd); cd 1295 ext/pcre/pcrelib/pcre_study.c set_type_bits(start_bits, cbit_space, table_limit, cd); cd 1299 ext/pcre/pcrelib/pcre_study.c set_nottype_bits(start_bits, cbit_word, table_limit, cd); cd 1303 ext/pcre/pcrelib/pcre_study.c set_type_bits(start_bits, cbit_word, table_limit, cd); cd 1209 ext/standard/filters.c php_conv *cd; cd 1509 ext/standard/filters.c if ((inst->cd = php_conv_open(conv_mode, conv_opts, persistent)) == NULL) { cd 1516 ext/standard/filters.c if (inst->cd != NULL) { cd 1517 ext/standard/filters.c php_conv_dtor(inst->cd); cd 1518 ext/standard/filters.c pefree(inst->cd, persistent); cd 1528 ext/standard/filters.c if (inst->cd != NULL) { cd 1529 ext/standard/filters.c php_conv_dtor(inst->cd); cd 1530 ext/standard/filters.c pefree(inst->cd, inst->persistent); cd 1575 ext/standard/filters.c err = php_conv_convert(inst->cd, &pt, &tcnt, &pd, &ocnt); cd 1653 ext/standard/filters.c err = ((ps == NULL ? php_conv_convert(inst->cd, NULL, NULL, &pd, &ocnt): cd 1654 ext/standard/filters.c php_conv_convert(inst->cd, &ps, &icnt, &pd, &ocnt))); cd 53 ext/zip/lib/zip_dirent.c _zip_cdir_free(struct zip_cdir *cd) cd 57 ext/zip/lib/zip_dirent.c if (!cd) cd 60 ext/zip/lib/zip_dirent.c for (i=0; i<cd->nentry; i++) cd 61 ext/zip/lib/zip_dirent.c _zip_entry_finalize(cd->entry+i); cd 62 ext/zip/lib/zip_dirent.c free(cd->entry); cd 63 ext/zip/lib/zip_dirent.c _zip_string_free(cd->comment); cd 64 ext/zip/lib/zip_dirent.c free(cd); cd 70 ext/zip/lib/zip_dirent.c _zip_cdir_grow(struct zip_cdir *cd, zip_uint64_t nentry, struct zip_error *error) cd 75 ext/zip/lib/zip_dirent.c if (nentry < cd->nentry_alloc) { cd 80 ext/zip/lib/zip_dirent.c if (nentry == cd->nentry_alloc) cd 84 ext/zip/lib/zip_dirent.c realloc(cd->entry, sizeof(*(cd->entry))*(size_t)nentry))) == NULL) { cd 89 ext/zip/lib/zip_dirent.c for (i=cd->nentry_alloc; i<nentry; i++) cd 92 ext/zip/lib/zip_dirent.c cd->nentry_alloc = nentry; cd 93 ext/zip/lib/zip_dirent.c cd->entry = entry; cd 103 ext/zip/lib/zip_dirent.c struct zip_cdir *cd; cd 106 ext/zip/lib/zip_dirent.c if ((cd=(struct zip_cdir *)malloc(sizeof(*cd))) == NULL) { cd 112 ext/zip/lib/zip_dirent.c cd->entry = NULL; cd 113 ext/zip/lib/zip_dirent.c else if (nentry > ((size_t)-1)/sizeof(*(cd->entry)) || (cd->entry=(struct zip_entry *)malloc(sizeof(*(cd->entry))*(size_t)nentry)) == NULL) { cd 115 ext/zip/lib/zip_dirent.c free(cd); cd 120 ext/zip/lib/zip_dirent.c _zip_entry_init(cd->entry+i); cd 122 ext/zip/lib/zip_dirent.c cd->nentry = cd->nentry_alloc = nentry; cd 123 ext/zip/lib/zip_dirent.c cd->size = cd->offset = 0; cd 124 ext/zip/lib/zip_dirent.c cd->comment = NULL; cd 126 ext/zip/lib/zip_dirent.c return cd; cd 204 ext/zip/lib/zip_open.c struct zip_cdir *cd; cd 229 ext/zip/lib/zip_open.c cd = _zip_read_eocd64(fp, eocd-EOCD64LOCLEN, buf, buf_offset, buflen, flags, error); cd 231 ext/zip/lib/zip_open.c cd = _zip_read_eocd(eocd, buf, buf_offset, buflen, flags, error); cd 233 ext/zip/lib/zip_open.c if (cd == NULL) cd 239 ext/zip/lib/zip_open.c if ((zip_uint64_t)cd->offset+(zip_uint64_t)cd->size > (zip_uint64_t)buf_offset + (zip_uint64_t)(eocd-buf)) { cd 242 ext/zip/lib/zip_open.c _zip_cdir_free(cd); cd 248 ext/zip/lib/zip_open.c _zip_cdir_free(cd); cd 253 ext/zip/lib/zip_open.c if ((cd->comment=_zip_string_new(eocd+EOCDLEN, (zip_uint16_t)comment_len, ZIP_FL_ENC_GUESS, error)) == NULL) { cd 254 ext/zip/lib/zip_open.c _zip_cdir_free(cd); cd 259 ext/zip/lib/zip_open.c if (cd->offset >= buf_offset) { cd 261 ext/zip/lib/zip_open.c cdp = buf + (cd->offset - buf_offset); cd 268 ext/zip/lib/zip_open.c fseeko(fp, cd->offset, SEEK_SET); cd 271 ext/zip/lib/zip_open.c if (ferror(fp) || (ftello(fp) != cd->offset)) { cd 277 ext/zip/lib/zip_open.c _zip_cdir_free(cd); cd 282 ext/zip/lib/zip_open.c left = (zip_uint64_t)cd->size; cd 284 ext/zip/lib/zip_open.c while (i<cd->nentry && left > 0) { cd 285 ext/zip/lib/zip_open.c if ((cd->entry[i].orig=_zip_dirent_new()) == NULL cd 286 ext/zip/lib/zip_open.c || (_zip_dirent_read(cd->entry[i].orig, fp, bufp, &left, 0, error)) < 0) { cd 287 ext/zip/lib/zip_open.c _zip_cdir_free(cd); cd 292 ext/zip/lib/zip_open.c if (i != cd->nentry || ((flags & ZIP_CHECKCONS) && left != 0)) { cd 294 ext/zip/lib/zip_open.c _zip_cdir_free(cd); cd 298 ext/zip/lib/zip_open.c return cd; cd 310 ext/zip/lib/zip_open.c _zip_checkcons(FILE *fp, struct zip_cdir *cd, struct zip_error *error) cd 316 ext/zip/lib/zip_open.c if (cd->nentry) { cd 317 ext/zip/lib/zip_open.c max = cd->entry[0].orig->offset; cd 318 ext/zip/lib/zip_open.c min = cd->entry[0].orig->offset; cd 323 ext/zip/lib/zip_open.c for (i=0; i<cd->nentry; i++) { cd 324 ext/zip/lib/zip_open.c if (cd->entry[i].orig->offset < min) cd 325 ext/zip/lib/zip_open.c min = cd->entry[i].orig->offset; cd 326 ext/zip/lib/zip_open.c if (min > (zip_uint64_t)cd->offset) { cd 331 ext/zip/lib/zip_open.c j = cd->entry[i].orig->offset + cd->entry[i].orig->comp_size cd 332 ext/zip/lib/zip_open.c + _zip_string_length(cd->entry[i].orig->filename) + LENTRYSIZE; cd 335 ext/zip/lib/zip_open.c if (max > (zip_uint64_t)cd->offset) { cd 340 ext/zip/lib/zip_open.c if (fseeko(fp, (off_t)cd->entry[i].orig->offset, SEEK_SET) != 0) { cd 348 ext/zip/lib/zip_open.c if (_zip_headercomp(cd->entry[i].orig, &temp) != 0) { cd 354 ext/zip/lib/zip_open.c cd->entry[i].orig->extra_fields = _zip_ef_merge(cd->entry[i].orig->extra_fields, temp.extra_fields); cd 355 ext/zip/lib/zip_open.c cd->entry[i].orig->local_extra_fields_read = 1; cd 601 ext/zip/lib/zip_open.c struct zip_cdir *cd; cd 641 ext/zip/lib/zip_open.c if ((cd=_zip_cdir_new(nentry, error)) == NULL) cd 644 ext/zip/lib/zip_open.c cd->size = (off_t)size; cd 645 ext/zip/lib/zip_open.c cd->offset = (off_t)offset; cd 647 ext/zip/lib/zip_open.c return cd; cd 656 ext/zip/lib/zip_open.c struct zip_cdir *cd; cd 734 ext/zip/lib/zip_open.c if ((cd=_zip_cdir_new(nentry, error)) == NULL) cd 738 ext/zip/lib/zip_open.c cd->size = (off_t)size; cd 739 ext/zip/lib/zip_open.c cd->offset = (off_t)offset; cd 741 ext/zip/lib/zip_open.c return cd; cd 790 main/rfc1867.c char *cd = NULL, *param = NULL, *filename = NULL, *tmp = NULL; cd 800 main/rfc1867.c if ((cd = php_mime_get_hdr_value(header, "Content-Disposition"))) { cd 804 main/rfc1867.c while (isspace(*cd)) { cd 805 main/rfc1867.c ++cd; cd 808 main/rfc1867.c while (*cd && (pair = getword(mbuff->input_encoding, &cd, ';' TSRMLS_CC))) cd 812 main/rfc1867.c while (isspace(*cd)) { cd 813 main/rfc1867.c ++cd; cd 1165 main/rfc1867.c if (cancel_upload || !(cd = php_mime_get_hdr_value(header, "Content-Type"))) { cd 1166 main/rfc1867.c cd = ""; cd 1169 main/rfc1867.c s = strchr(cd, ';'); cd 1182 main/rfc1867.c safe_php_register_variable(lbuf, cd, strlen(cd), NULL, 0 TSRMLS_CC); cd 1191 main/rfc1867.c register_http_post_files_variable(lbuf, cd, http_post_files, 0 TSRMLS_CC);