| /PHP_TRUNK/ext/gd/libgd/ |
| H A D | gdkanji.c | 347 iconv_t cd; local 350 if ((cd = iconv_open (EUCSTR, code)) == (iconv_t) - 1) 365 if ((int) iconv(cd, (char **) &from, &from_len, (char **) &to, &to_len) == -1) 381 if (iconv_close (cd) != 0)
|
| /PHP_TRUNK/ext/iconv/ |
| H A D | iconv.c | 194 static php_iconv_err_t _php_iconv_appendl(smart_str *d, const char *s, size_t l, iconv_t cd); 195 static php_iconv_err_t _php_iconv_appendc(smart_str *d, const char c, iconv_t cd); 380 static php_iconv_err_t _php_iconv_appendl(smart_str *d, const char *s, size_t l, iconv_t cd) argument 401 if (iconv(cd, (char **)&in_p, &in_left, (char **) &out_p, &out_left) == (size_t)-1) { 438 if (iconv(cd, NULL, NULL, (char **) &out_p, &out_left) == (size_t)0) { 461 static php_iconv_err_t _php_iconv_appendc(smart_str *d, const char c, iconv_t cd) argument 463 return _php_iconv_appendl(d, &c, 1, cd); 476 iconv_t cd; local 494 cd = iconv_open(out_charset, in_charset); 496 if (cd 648 iconv_t cd; local 880 iconv_t cd; local 1060 iconv_t cd = (iconv_t)(-1), cd_pl = (iconv_t)(-1); local 1392 iconv_t cd = (iconv_t)(-1), cd_pl = (iconv_t)(-1); local 2472 iconv_t cd; member in struct:_php_iconv_stream_filter [all...] |
| /PHP_TRUNK/ext/pcre/pcrelib/ |
| H A D | pcre_study.c | 544 cd the block with char table pointers 552 compile_data *cd, BOOL utf) 580 if (caseless && (cd->ctypes[c] & ctype_letter) != 0) SET_BIT(cd->fcc[c]); 611 if (caseless && (cd->ctypes[c] & ctype_letter) != 0) SET_BIT(cd->fcc[c]); 633 cd the block with char table pointers 640 compile_data *cd) 643 for (c = 0; c < table_limit; c++) start_bits[c] |= cd->cbits[c+cbit_type]; 648 if ((cd 551 set_table_bit(pcre_uint8 *start_bits, const pcre_uchar *p, BOOL caseless, compile_data *cd, BOOL utf) argument 639 set_type_bits(pcre_uint8 *start_bits, int cbit_type, unsigned int table_limit, compile_data *cd) argument 681 set_nottype_bits(pcre_uint8 *start_bits, int cbit_type, unsigned int table_limit, compile_data *cd) argument 718 set_start_bits(const pcre_uchar *code, pcre_uint8 *start_bits, BOOL utf, compile_data *cd) argument [all...] |
| H A D | pcre_compile.c | 49 #define NLBLOCK cd /* Block containing newline information */ 691 expand_workspace(compile_data *cd) argument 694 int newsize = cd->workspace_size * 2; 697 if (cd->workspace_size >= COMPILE_WORK_SIZE_MAX || 698 newsize - cd->workspace_size < WORK_SIZE_SAFETY_MARGIN) 703 memcpy(newspace, cd->start_workspace, cd->workspace_size * sizeof(pcre_uchar)); 704 cd->hwm = (pcre_uchar *)newspace + (cd->hwm - cd 1396 find_parens_sub(pcre_uchar **ptrptr, compile_data *cd, const pcre_uchar *name, int lorn, BOOL xmode, BOOL utf, int *count) argument 1630 find_parens(compile_data *cd, const pcre_uchar *name, int lorn, BOOL xmode, BOOL utf) argument 1739 find_fixedlength(pcre_uchar *code, BOOL utf, BOOL atend, compile_data *cd) argument 2361 could_be_empty_branch(const pcre_uchar *code, const pcre_uchar *endcode, BOOL utf, compile_data *cd) argument 2660 could_be_empty(const pcre_uchar *code, const pcre_uchar *endcode, branch_chain *bcptr, BOOL utf, compile_data *cd) argument 2808 adjust_recurse(pcre_uchar *group, int adjust, BOOL utf, compile_data *cd, pcre_uchar *save_hwm) argument 2862 auto_callout(pcre_uchar *code, const pcre_uchar *ptr, compile_data *cd) argument 2890 complete_callout(pcre_uchar *previous_callout, const pcre_uchar *ptr, compile_data *cd) argument 3060 check_auto_possessive(const pcre_uchar *previous, BOOL utf, const pcre_uchar *ptr, int options, compile_data *cd) argument 3448 add_to_class(pcre_uint8 *classbits, pcre_uchar **uchardptr, int options, compile_data *cd, pcre_uint32 start, pcre_uint32 end) argument 3607 add_list_to_class(pcre_uint8 *classbits, pcre_uchar **uchardptr, int options, compile_data *cd, const pcre_uint32 *p, unsigned int except) argument 3645 add_not_list_to_class(pcre_uint8 *classbits, pcre_uchar **uchardptr, int options, compile_data *cd, const pcre_uint32 *p) argument 3694 compile_branch(int *optionsptr, pcre_uchar **codeptr, const pcre_uchar **ptrptr, int *errorcodeptr, pcre_uint32 *firstcharptr, pcre_int32 *firstcharflagsptr, pcre_uint32 *reqcharptr, pcre_int32 *reqcharflagsptr, branch_chain *bcptr, int cond_depth, compile_data *cd, int *lengthptr) argument 7096 compile_regex(int options, pcre_uchar **codeptr, const pcre_uchar **ptrptr, int *errorcodeptr, BOOL lookbehind, BOOL reset_bracount, int skipbytes, int cond_depth, pcre_uint32 *firstcharptr, pcre_int32 *firstcharflagsptr, pcre_uint32 *reqcharptr, pcre_int32 *reqcharflagsptr, branch_chain *bcptr, compile_data *cd, int *lengthptr) argument 7433 is_anchored(register const pcre_uchar *code, unsigned int bracket_map, compile_data *cd, int atomcount) argument 7523 is_startline(const pcre_uchar *code, unsigned int bracket_map, compile_data *cd, int atomcount) argument 7789 compile_data *cd = &compile_block; local [all...] |
| /PHP_TRUNK/ext/zip/lib/ |
| H A D | zip_dirent.c | 56 _zip_cdir_free(struct zip_cdir *cd) 60 if (!cd) 63 for (i=0; i<cd->nentry; i++) 64 _zip_dirent_finalize(cd->entry+i); 65 free(cd->comment); 66 free(cd->entry); 67 free(cd); 74 _zip_cdir_grow(struct zip_cdir *cd, int nentry, struct zip_error *error) 78 if (nentry < cd->nentry) { 84 realloc(cd 54 _zip_cdir_free(struct zip_cdir *cd) argument 71 _zip_cdir_grow(struct zip_cdir *cd, int nentry, struct zip_error *error) argument 97 struct zip_cdir *cd; local 124 _zip_cdir_write(struct zip_cdir *cd, FILE *fp, struct zip_error *error) argument [all...] |
| H A D | zip_close.c | 83 struct zip_cdir *cd; 115 if ((cd=_zip_cdir_new(survivors, &za->error)) == NULL) { 121 _zip_dirent_init(&cd->entry[i]); 125 cd->comment = _zip_memdup(TORRENT_SIG "XXXXXXXX", 128 if (cd->comment == NULL) { 129 _zip_cdir_free(cd); 133 cd->comment_len = TORRENT_SIG_LEN + TORRENT_CRC_LEN; 136 if (_zip_cdir_set_comment(cd, za) == -1) { 137 _zip_cdir_free(cd); 144 _zip_cdir_free(cd); 80 struct zip_cdir *cd; local 511 write_cdir(struct zip *za, struct zip_cdir *cd, FILE *out) argument [all...] |
| H A D | zip_open.c | 177 struct zip_cdir *cd; 206 if ((cd=_zip_cdir_new(nentry, error)) == NULL) 209 cd->size = _zip_read4(&cdp); 210 cd->offset = _zip_read4(&cdp); 211 cd->comment = NULL; 212 cd->comment_len = _zip_read2(&cdp); 214 if (((zip_uint64_t)cd->offset)+cd->size > buf_offset + (eocd-buf)) { 217 cd->nentry = 0; 218 _zip_cdir_free(cd); 172 struct zip_cdir *cd; local 299 _zip_checkcons(FILE *fp, struct zip_cdir *cd, struct zip_error *error) argument [all...] |
| /PHP_TRUNK/ext/sqlite3/libsqlite/ |
| H A D | sqlite3.c | 63261 } cd; member in union:vdbeExecUnion [all...] |
| /PHP_TRUNK/main/ |
| H A D | rfc1867.c | 781 char *cd = NULL, *param = NULL, *filename = NULL, *tmp = NULL; local 791 if ((cd = php_mime_get_hdr_value(header, "Content-Disposition"))) { 795 while (isspace(*cd)) { 796 ++cd; 799 while (*cd && (pair = getword(mbuff->input_encoding, &cd, ';' TSRMLS_CC))) 803 while (isspace(*cd)) { 804 ++cd; 1152 if (cancel_upload || !(cd = php_mime_get_hdr_value(header, "Content-Type"))) { 1153 cd [all...] |
| /PHP_TRUNK/ext/standard/ |
| H A D | filters.c | 1207 php_conv *cd; member in struct:_php_convert_filter 1507 if ((inst->cd = php_conv_open(conv_mode, conv_opts, persistent)) == NULL) { 1514 if (inst->cd != NULL) { 1515 php_conv_dtor(inst->cd); 1516 pefree(inst->cd, persistent); 1526 if (inst->cd != NULL) { 1527 php_conv_dtor(inst->cd); 1528 pefree(inst->cd, inst->persistent); 1573 err = php_conv_convert(inst->cd, &pt, &tcnt, &pd, &ocnt); 1651 err = ((ps == NULL ? php_conv_convert(inst->cd, NUL [all...] |