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

/PHP_TRUNK/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_TRUNK/ext/zip/lib/
H A Dzip_open.c209 struct zip_cdir *cd;
234 cd = _zip_read_eocd64(fp, eocd-EOCD64LOCLEN, buf, buf_offset, buflen, flags, error);
236 cd = _zip_read_eocd(eocd, buf, buf_offset, buflen, flags, error);
238 if (cd == NULL)
244 if ((zip_uint64_t)cd->offset+(zip_uint64_t)cd->size > (zip_uint64_t)buf_offset + (zip_uint64_t)(eocd-buf)) {
247 _zip_cdir_free(cd);
253 _zip_cdir_free(cd);
258 if ((cd->comment=_zip_string_new(eocd+EOCDLEN, (zip_uint16_t)comment_len, ZIP_FL_ENC_GUESS, error)) == NULL) {
259 _zip_cdir_free(cd);
204 struct zip_cdir *cd; local
310 _zip_checkcons(FILE *fp, struct zip_cdir *cd, struct zip_error *error) argument
601 struct zip_cdir *cd; local
656 struct zip_cdir *cd; local
[all...]
H A Dzip_dirent.c55 _zip_cdir_free(struct zip_cdir *cd)
59 if (!cd)
62 for (i=0; i<cd->nentry; i++)
63 _zip_entry_finalize(cd->entry+i);
64 free(cd->entry);
65 _zip_string_free(cd->comment);
66 free(cd);
73 _zip_cdir_grow(struct zip_cdir *cd, zip_uint64_t nentry, struct zip_error *error)
78 if (nentry < cd->nentry_alloc) {
83 if (nentry == cd
53 _zip_cdir_free(struct zip_cdir *cd) argument
70 _zip_cdir_grow(struct zip_cdir *cd, zip_uint64_t nentry, struct zip_error *error) argument
103 struct zip_cdir *cd; local
[all...]
/PHP_TRUNK/ext/pcre/pcrelib/
H A Dpcre_compile.c47 #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
3592 auto_possessify(pcre_uchar *code, BOOL utf, const compile_data *cd) argument
3946 adjust_recurse(pcre_uchar *group, int adjust, BOOL utf, compile_data *cd, pcre_uchar *save_hwm) argument
4000 auto_callout(pcre_uchar *code, const pcre_uchar *ptr, compile_data *cd) argument
4028 complete_callout(pcre_uchar *previous_callout, const pcre_uchar *ptr, compile_data *cd) argument
4125 add_to_class(pcre_uint8 *classbits, pcre_uchar **uchardptr, int options, compile_data *cd, pcre_uint32 start, pcre_uint32 end) argument
4285 add_list_to_class(pcre_uint8 *classbits, pcre_uchar **uchardptr, int options, compile_data *cd, const pcre_uint32 *p, unsigned int except) argument
4323 add_not_list_to_class(pcre_uint8 *classbits, pcre_uchar **uchardptr, int options, compile_data *cd, const pcre_uint32 *p) argument
4372 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
8013 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
8360 is_anchored(register const pcre_uchar *code, unsigned int bracket_map, compile_data *cd, int atomcount) argument
8450 is_startline(const pcre_uchar *code, unsigned int bracket_map, compile_data *cd, int atomcount) argument
8661 add_name(compile_data *cd, const pcre_uchar *name, int length, unsigned int groupno) argument
8774 compile_data *cd = &compile_block; local
[all...]
H A Dpcre_study.c584 cd the block with char table pointers
592 compile_data *cd, BOOL utf)
620 if (caseless && (cd->ctypes[c] & ctype_letter) != 0) SET_BIT(cd->fcc[c]);
651 if (caseless && (cd->ctypes[c] & ctype_letter) != 0) SET_BIT(cd->fcc[c]);
673 cd the block with char table pointers
680 compile_data *cd)
683 for (c = 0; c < table_limit; c++) start_bits[c] |= cd->cbits[c+cbit_type];
688 if ((cd
591 set_table_bit(pcre_uint8 *start_bits, const pcre_uchar *p, BOOL caseless, compile_data *cd, BOOL utf) argument
679 set_type_bits(pcre_uint8 *start_bits, int cbit_type, unsigned int table_limit, compile_data *cd) argument
721 set_nottype_bits(pcre_uint8 *start_bits, int cbit_type, unsigned int table_limit, compile_data *cd) argument
758 set_start_bits(const pcre_uchar *code, pcre_uint8 *start_bits, BOOL utf, compile_data *cd) argument
[all...]
/PHP_TRUNK/main/
H A Drfc1867.c788 char *cd = NULL, *param = NULL, *filename = NULL, *tmp = NULL; local
798 if ((cd = php_mime_get_hdr_value(header, "Content-Disposition"))) {
802 while (isspace(*cd)) {
803 ++cd;
806 while (*cd && (pair = getword(mbuff->input_encoding, &cd, ';' TSRMLS_CC)))
810 while (isspace(*cd)) {
811 ++cd;
1163 if (cancel_upload || !(cd = php_mime_get_hdr_value(header, "Content-Type"))) {
1164 cd
[all...]
/PHP_TRUNK/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);
451 static php_iconv_err_t _php_iconv_appendl(smart_str *d, const char *s, size_t l, iconv_t cd) argument
469 if (iconv(cd, (char **)&in_p, &in_left, (char **) &out_p, &out_left) == (size_t)-1) {
503 if (iconv(cd, NULL, NULL, (char **) &out_p, &out_left) == (size_t)0) {
526 static php_iconv_err_t _php_iconv_appendc(smart_str *d, const char c, iconv_t cd) argument
528 return _php_iconv_appendl(d, &c, 1, cd);
539 iconv_t cd; local
555 cd = iconv_open(out_charset, in_charset);
557 if (cd
708 iconv_t cd; local
941 iconv_t cd; local
1120 iconv_t cd = (iconv_t)(-1), cd_pl = (iconv_t)(-1); local
1449 iconv_t cd = (iconv_t)(-1), cd_pl = (iconv_t)(-1); local
2517 iconv_t cd; member in struct:_php_iconv_stream_filter
[all...]
/PHP_TRUNK/ext/standard/
H A Dfilters.c1199 php_conv *cd; member in struct:_php_convert_filter
1488 if ((inst->cd = php_conv_open(conv_mode, conv_opts, persistent TSRMLS_CC)) == NULL) {
1495 if (inst->cd != NULL) {
1496 php_conv_dtor(inst->cd);
1497 pefree(inst->cd, persistent);
1507 if (inst->cd != NULL) {
1508 php_conv_dtor(inst->cd);
1509 pefree(inst->cd, inst->persistent);
1554 err = php_conv_convert(inst->cd, &pt, &tcnt, &pd, &ocnt);
1632 err = ((ps == NULL ? php_conv_convert(inst->cd, NUL
[all...]

Completed in 23 milliseconds