Searched defs:src (Results 1 - 25 of 59) sorted by relevance

123

/PHP_5_5/ext/xmlrpc/libxmlrpc/
H A Dencodings.c60 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 Dzip_error.c55 _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 Dzip_fopen_index_encrypted.c55 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 Dzip_source_close.c43 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 Dzip_source_crc.c57 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 Dzip_source_deflate.c66 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 Dzip_source_free.c45 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 Dzip_source_function.c67 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 Dzip_source_layered.c45 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 Dzip_source_open.c43 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 Dzip_source_pkware.c71 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 Dzip_source_pop.c45 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 Dzip_source_stat.c43 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...]
H A Dzip_source_error.c43 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...]
/PHP_5_5/sapi/fpm/fpm/
H A Dfpm_str.h8 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 Dgd_filter.c13 #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 Dgd_io_dp.c49 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 Dgd_io_ss.c35 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 Dgdkanji.c560 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 Dgd_matrix.c27 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...]
H A Dgd_crop.c32 * 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
49 if (src->trueColor) {
60 gdImagePaletteCopy(dst, src);
62 dst->transparent = src->transparent;
64 /* check position in the src image */
65 if (crop->x < 0 || crop->x>=src->sx || crop->y<0 || crop->y>=src->sy) {
70 if ((src
[all...]
/PHP_5_5/ext/intl/
H A Dintl_convert.c48 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 Dmbfl_convert.c425 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 Dmbfl_memory_device.c276 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 Duuencode.c68 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;
195 char *src, *dst; local
198 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &src, &src_len) == FAILURE || src_len < 1) {
202 dst_len = php_uuencode(src, src_len, &dst);
212 char *src, *ds local
[all...]

Completed in 35 milliseconds

123