Searched defs:cd (Results 1 - 9 of 9) sorted by relevance

/PHP_5_5/ext/gd/libgd/
H A Dgdkanji.c347 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_5_5/ext/zip/lib/
H A Dzip_dirent.c56 _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 Dzip_close.c83 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 Dzip_open.c177 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_5_5/ext/standard/
H A Dfilters.c1209 php_conv *cd; member in struct:_php_convert_filter
1509 if ((inst->cd = php_conv_open(conv_mode, conv_opts, persistent)) == NULL) {
1516 if (inst->cd != NULL) {
1517 php_conv_dtor(inst->cd);
1518 pefree(inst->cd, persistent);
1528 if (inst->cd != NULL) {
1529 php_conv_dtor(inst->cd);
1530 pefree(inst->cd, inst->persistent);
1575 err = php_conv_convert(inst->cd, &pt, &tcnt, &pd, &ocnt);
1653 err = ((ps == NULL ? php_conv_convert(inst->cd, NUL
[all...]
/PHP_5_5/main/
H A Drfc1867.c781 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_5_5/ext/iconv/
H A Diconv.c194 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_5_5/ext/pcre/pcrelib/
H A Dpcre_study.c586 cd the block with char table pointers
594 compile_data *cd, BOOL utf)
622 if (caseless && (cd->ctypes[c] & ctype_letter) != 0) SET_BIT(cd->fcc[c]);
653 if (caseless && (cd->ctypes[c] & ctype_letter) != 0) SET_BIT(cd->fcc[c]);
675 cd the block with char table pointers
682 compile_data *cd)
685 for (c = 0; c < table_limit; c++) start_bits[c] |= cd->cbits[c+cbit_type];
690 if ((cd
593 set_table_bit(pcre_uint8 *start_bits, const pcre_uchar *p, BOOL caseless, compile_data *cd, BOOL utf) argument
681 set_type_bits(pcre_uint8 *start_bits, int cbit_type, unsigned int table_limit, compile_data *cd) argument
723 set_nottype_bits(pcre_uint8 *start_bits, int cbit_type, unsigned int table_limit, compile_data *cd) argument
760 set_start_bits(const pcre_uchar *code, pcre_uint8 *start_bits, BOOL utf, compile_data *cd) argument
[all...]
H A Dpcre_compile.c49 #define NLBLOCK cd /* Block containing newline information */
908 expand_workspace(compile_data *cd) argument
911 int newsize = cd->workspace_size * 2;
914 if (cd->workspace_size >= COMPILE_WORK_SIZE_MAX ||
915 newsize - cd->workspace_size < WORK_SIZE_SAFETY_MARGIN)
920 memcpy(newspace, cd->start_workspace, cd->workspace_size * sizeof(pcre_uchar));
921 cd->hwm = (pcre_uchar *)newspace + (cd->hwm - cd
1710 find_fixedlength(pcre_uchar *code, BOOL utf, BOOL atend, compile_data *cd) argument
2337 could_be_empty_branch(const pcre_uchar *code, const pcre_uchar *endcode, BOOL utf, compile_data *cd, recurse_check *recurses) argument
2715 could_be_empty(const pcre_uchar *code, const pcre_uchar *endcode, branch_chain *bcptr, BOOL utf, compile_data *cd) argument
3064 compare_opcodes(const pcre_uchar *code, BOOL utf, const compile_data *cd, const pcre_uint32 *base_list, const pcre_uchar *base_end) argument
3575 auto_possessify(pcre_uchar *code, BOOL utf, const compile_data *cd) argument
3929 adjust_recurse(pcre_uchar *group, int adjust, BOOL utf, compile_data *cd, pcre_uchar *save_hwm) argument
3983 auto_callout(pcre_uchar *code, const pcre_uchar *ptr, compile_data *cd) argument
4011 complete_callout(pcre_uchar *previous_callout, const pcre_uchar *ptr, compile_data *cd) argument
4104 add_to_class(pcre_uint8 *classbits, pcre_uchar **uchardptr, int options, compile_data *cd, pcre_uint32 start, pcre_uint32 end) argument
4263 add_list_to_class(pcre_uint8 *classbits, pcre_uchar **uchardptr, int options, compile_data *cd, const pcre_uint32 *p, unsigned int except) argument
4301 add_not_list_to_class(pcre_uint8 *classbits, pcre_uchar **uchardptr, int options, compile_data *cd, const pcre_uint32 *p) argument
4350 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
7974 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
8311 is_anchored(register const pcre_uchar *code, unsigned int bracket_map, compile_data *cd, int atomcount) argument
8401 is_startline(const pcre_uchar *code, unsigned int bracket_map, compile_data *cd, int atomcount) argument
8612 add_name(compile_data *cd, const pcre_uchar *name, int length, unsigned int groupno) argument
8725 compile_data *cd = &compile_block; local
[all...]

Completed in 31 milliseconds