| /PHP_5_5/ext/xmlrpc/libxmlrpc/ |
| H A D | encodings.c | 60 static char* convert(const char* src, int src_len, int *new_len, const char* from_enc, const char* to_enc) { argument 63 if(src && src_len && from_enc && to_enc) { 81 st = iconv(ic, (char**)&src, &inlenleft, &out_ptr, &outlenleft);
|
| /PHP_5_5/ext/zip/lib/ |
| H A D | zip_error.c | 55 _zip_error_copy(struct zip_error *dst, struct zip_error *src) 57 dst->zip_err = src->zip_err; 58 dst->sys_err = src->sys_err; 114 _zip_error_set_from_source(struct zip_error *err, struct zip_source *src) 118 zip_source_error(src, &ze, &se); 52 _zip_error_copy(struct zip_error *dst, struct zip_error *src) argument 106 _zip_error_set_from_source(struct zip_error *err, struct zip_source *src) argument
|
| H A D | zip_fopen_index_encrypted.c | 55 struct zip_source *src, *s2; 110 if ((src=zip_source_buffer(za, NULL, 0, 0)) == NULL) 114 if ((src=_zip_source_file_or_p(za, NULL, za->zp, start, st.comp_size, 118 if ((s2=enc_impl(za, src, ZIP_EM_TRAD_PKWARE, 0, 120 zip_source_free(src); 124 src = s2; 127 if ((s2=comp_impl(za, src, za->cdir->entry[fileno].comp_method, 129 zip_source_free(src); 133 src = s2; 137 if ((s2=zip_source_crc(za, src, 53 struct zip_source *src, *s2; local [all...] |
| H A D | zip_source_close.c | 43 zip_source_close(struct zip_source *src) 45 if (!src->is_open) 48 if (src->src == NULL) 49 (void)src->cb.f(src->ud, NULL, 0, ZIP_SOURCE_CLOSE); 51 (void)src->cb.l(src->src, src 41 zip_source_close(struct zip_source *src) argument [all...] |
| H A D | zip_source_crc.c | 57 zip_source_crc(struct zip *za, struct zip_source *src, int validate) 61 if (src == NULL) { 73 return zip_source_layered(za, src, crc_read, ctx); 80 crc_read(struct zip_source *src, void *_ctx, void *data, 100 if ((n=zip_source_read(src, data, len)) < 0) 108 if (zip_source_stat(src, &st) < 0) 55 zip_source_crc(struct zip *za, struct zip_source *src, int validate) argument 77 crc_read(struct zip_source *src, void *_ctx, void *data, zip_uint64_t len, enum zip_source_cmd cmd) argument
|
| H A D | zip_source_deflate.c | 66 zip_source_deflate(struct zip *za, struct zip_source *src, 72 if (src == NULL || cm != ZIP_CM_DEFLATE) { 91 if ((s2=zip_source_layered(za, src, 106 compress_read(struct zip_source *src, struct deflate *ctx, 142 if ((n=zip_source_read(src, ctx->buffer, 144 zip_source_error(src, ctx->e, ctx->e+1); 151 /* XXX: check against stat of src? */ 182 decompress_read(struct zip_source *src, struct deflate *ctx, 217 if ((n=zip_source_read(src, ctx->buffer, 219 zip_source_error(src, ct 64 zip_source_deflate(struct zip *za, struct zip_source *src, zip_uint16_t cm, int flags) argument 103 compress_read(struct zip_source *src, struct deflate *ctx, void *data, zip_uint64_t len) argument 178 decompress_read(struct zip_source *src, struct deflate *ctx, void *data, zip_uint64_t len) argument 248 deflate_compress(struct zip_source *src, void *ud, void *data, zip_uint64_t len, enum zip_source_cmd cmd) argument 319 deflate_decompress(struct zip_source *src, void *ud, void *data, zip_uint64_t len, enum zip_source_cmd cmd) argument [all...] |
| H A D | zip_source_error.c | 43 zip_source_error(struct zip_source *src, int *ze, int *se) 47 if (src->src == NULL) { 50 switch (src->error_source) { 52 if (src->src == NULL) { 53 if (src->cb.f(src->ud, e, sizeof(e), ZIP_SOURCE_ERROR) < 0) { 68 zip_source_error(src->src, z 41 zip_source_error(struct zip_source *src, int *ze, int *se) argument [all...] |
| H A D | zip_source_free.c | 45 zip_source_free(struct zip_source *src) 47 if (src == NULL) 50 if (src->is_open) 51 zip_source_close(src); 53 if (src->src == NULL) 54 (void)src->cb.f(src->ud, NULL, 0, ZIP_SOURCE_FREE); 56 (void)src->cb.l(src 43 zip_source_free(struct zip_source *src) argument [all...] |
| H A D | zip_source_function.c | 67 struct zip_source *src; 69 if ((src=(struct zip_source *)malloc(sizeof(*src))) == NULL) { 74 src->src = NULL; 75 src->cb.f = NULL; 76 src->ud = NULL; 77 src->error_source = ZIP_LES_NONE; 78 src->is_open = 0; 80 return src; 64 struct zip_source *src; local [all...] |
| H A D | zip_source_layered.c | 45 zip_source_layered(struct zip *za, struct zip_source *src, 56 zs->src = src; 43 zip_source_layered(struct zip *za, struct zip_source *src, zip_source_layered_callback cb, void *ud) argument
|
| H A D | zip_source_open.c | 43 zip_source_open(struct zip_source *src) 47 if (src->is_open) { 48 src->error_source = ZIP_LES_INVAL; 52 if (src->src == NULL) { 53 if (src->cb.f(src->ud, NULL, 0, ZIP_SOURCE_OPEN) < 0) 57 if (zip_source_open(src->src) < 0) { 58 src 41 zip_source_open(struct zip_source *src) argument [all...] |
| H A D | zip_source_pkware.c | 71 zip_source_pkware(struct zip *za, struct zip_source *src, 77 if (password == NULL || src == NULL || em != ZIP_EM_TRAD_PKWARE) { 101 if ((s2=zip_source_layered(za, src, pkware_decrypt, ctx)) == NULL) { 146 decrypt_header(struct zip_source *src, struct trad_pkware *ctx) 153 if ((n=zip_source_read(src, header, HEADERLEN)) < 0) { 154 zip_source_error(src, ctx->e, ctx->e+1); 166 if (zip_source_stat(src, &st) < 0) { 187 pkware_decrypt(struct zip_source *src, void *ud, void *data, 197 if (decrypt_header(src, ctx) < 0) 202 if ((n=zip_source_read(src, dat 68 zip_source_pkware(struct zip *za, struct zip_source *src, zip_uint16_t em, int flags, const char *password) argument 141 decrypt_header(struct zip_source *src, struct trad_pkware *ctx) argument 181 pkware_decrypt(struct zip_source *src, void *ud, void *data, zip_uint64_t len, enum zip_source_cmd cmd) argument [all...] |
| H A D | zip_source_pop.c | 45 zip_source_pop(struct zip_source *src) 49 if (src == NULL) 52 lower = src->src; 55 zip_source_free(src); 57 if (src->is_open) 58 (void)src->cb.l(src, src->ud, NULL, 0, ZIP_SOURCE_CLOSE); 59 (void)src 43 zip_source_pop(struct zip_source *src) argument [all...] |
| H A D | zip_source_stat.c | 43 zip_source_stat(struct zip_source *src, struct zip_stat *st) 48 src->error_source = ZIP_LES_INVAL; 52 if (src->src == NULL) { 53 if (src->cb.f(src->ud, st, sizeof(*st), ZIP_SOURCE_STAT) < 0) 58 if (zip_source_stat(src->src, st) < 0) { 59 src->error_source = ZIP_LES_LOWER; 63 ret = src 41 zip_source_stat(struct zip_source *src, struct zip_stat *st) argument [all...] |
| /PHP_5_5/sapi/fpm/fpm/ |
| H A D | fpm_str.h | 8 static inline char *str_purify_filename(char *dst, char *src, size_t size) /* {{{ */ argument 15 for (; d < end && *src; ++d, ++src) { 16 if (* (unsigned char *) src < ' ' || * (unsigned char *) src > '\x7f') { 19 *d = *src;
|
| /PHP_5_5/ext/gd/libgd/ |
| H A D | gd_filter.c | 13 #define GET_PIXEL_FUNCTION(src)(src->trueColor?gdImageGetTrueColorPixel:gdImageGetPixel) 15 /* invert src image */ 16 int gdImageNegate(gdImagePtr src) argument 24 if (src==NULL) { 28 f = GET_PIXEL_FUNCTION(src); 30 for (y=0; y<src->sy; ++y) { 31 for (x=0; x<src->sx; ++x) { 32 pxl = f (src, x, y); 33 r = gdImageRed(src, px 49 gdImageGrayScale(gdImagePtr src) argument 82 gdImageBrightness(gdImagePtr src, int brightness) argument 127 gdImageContrast(gdImagePtr src, double contrast) argument 187 gdImageColor(gdImagePtr src, const int red, const int green, const int blue, const int alpha) argument 230 gdImageConvolution(gdImagePtr src, float filter[3][3], float filter_div, float offset) argument 291 gdImageSelectiveBlur( gdImagePtr src) argument 410 gdImageEdgeDetectQuick(gdImagePtr src) argument [all...] |
| H A D | gd_io_dp.c | 49 static int appendDynamic (dynamicPtr * dp, const void *src, int size); 293 static int appendDynamic (dynamicPtr * dp, const void *src, int size) argument 317 memcpy((void *) (tmp + (dp->pos)), src, size);
|
| H A D | gd_io_ss.c | 35 gdSourcePtr src; member in struct:ssIOCtx 41 gdIOCtx *gdNewSSCtx (gdSourcePtr src, gdSinkPtr snk); 50 gdIOCtx * gdNewSSCtx (gdSourcePtr src, gdSinkPtr snk) argument 56 ctx->src = src; 86 res = ((lctx->src->source) (lctx->src->context, buf, size));
|
| H A D | gdkanji.c | 560 any2eucjp (unsigned char *dest, unsigned char *src, unsigned int dest_max) argument 565 if (strlen ((const char *) src) >= BUFSIZ) 575 ret = do_check_and_conv (tmp_dest, src); 579 ustrcpy (dest, src);
|
| H A D | gd_crop.c | 32 * Crops the src image using the area defined by the <crop> rectangle. 37 * src - Source image 43 gdImagePtr gdImageCrop(gdImagePtr src, const gdRectPtr crop) argument 47 if (src->trueColor) { 52 gdImagePaletteCopy(dst, src); 54 dst->transparent = src->transparent; 56 if (src->sx < (crop->x + crop->width -1)) { 57 crop->width = src->sx - crop->x + 1; 59 if (src->sy < (crop->y + crop->height -1)) { 60 crop->height = src [all...] |
| H A D | gd_matrix.c | 27 int gdAffineApplyToPointF (gdPointFPtr dst, const gdPointFPtr src, argument 30 double x = src->x; 31 double y = src->y; 32 x = src->x; 33 y = src->y; 44 * inverted matrix will restore the original values. Multiplying <src> 60 int gdAffineInvert (double dst[6], const double src[6]) argument 62 double r_det = (src[0] * src[3] - src[ 95 gdAffineFlip(double dst[6], const double src[6], const int flip_h, const int flip_v) argument 291 gdAffineExpansion(const double src[6]) argument [all...] |
| /PHP_5_5/ext/intl/ |
| H A D | intl_convert.c | 48 const char* src, int src_len, 60 u_strFromUTF8( *target, *target_len, &dst_len, src, src_len, status ); 82 u_strFromUTF8( dst_buf, dst_len+1, NULL, src, src_len, status ); 112 const UChar* src, int src_len, 120 u_strToUTF8( NULL, 0, &dst_len, src, src_len, status ); 134 u_strToUTF8( dst_buf, dst_len, NULL, src, src_len, status ); 46 intl_convert_utf8_to_utf16( UChar** target, int* target_len, const char* src, int src_len, UErrorCode* status ) argument 110 intl_convert_utf16_to_utf8( char** target, int* target_len, const UChar* src, int src_len, UErrorCode* status ) argument
|
| /PHP_5_5/ext/mbstring/libmbfl/mbfl/ |
| H A D | mbfl_convert.c | 425 mbfl_convert_filter *src, 428 if (src->filter_copy != NULL) { 429 src->filter_copy(src, dest); 433 *dest = *src; 436 int mbfl_convert_filter_devcat(mbfl_convert_filter *filter, mbfl_memory_device *src) argument 441 p = src->buffer; 442 n = src->pos; 424 mbfl_convert_filter_copy( mbfl_convert_filter *src, mbfl_convert_filter *dest) argument
|
| H A D | mbfl_memory_device.c | 276 mbfl_memory_device_devcat(mbfl_memory_device *dest, mbfl_memory_device *src) argument 281 if ((dest->pos + src->pos) >= dest->length) { 283 int newlen = dest->length + src->pos + MBFL_MEMORY_DEVICE_ALLOC_SIZE; 292 p = src->buffer; 294 n = src->pos;
|
| /PHP_5_5/ext/standard/ |
| H A D | uuencode.c | 68 PHPAPI int php_uuencode(char *src, int src_len, char **dest) /* {{{ */ argument 75 s = src; 76 e = src + src_len; 127 PHPAPI int php_uudecode(char *src, int src_len, char **dest) /* {{{ */ argument 133 s = src; 134 e = src + src_len; 192 char *src, *dst; local 195 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &src, &src_len) == FAILURE || src_len < 1) { 199 dst_len = php_uuencode(src, src_len, &dst); 209 char *src, *ds local [all...] |