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

123

/PHP_5_6/ext/gd/libgd/
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 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_6/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_6/ext/zip/lib/
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_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_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_read.c43 zip_source_read(struct zip_source *src, void *data, zip_uint64_t len)
47 if (!src->is_open || len > ZIP_INT64_MAX || (len > 0 && data == NULL)) {
48 src->error_source = ZIP_LES_INVAL;
52 if (src->src == NULL)
53 return src->cb.f(src->ud, data, len, ZIP_SOURCE_READ);
55 ret = src->cb.l(src->src, sr
41 zip_source_read(struct zip_source *src, void *data, zip_uint64_t len) 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_crc.c57 zip_source_crc(struct zip *za, struct zip_source *src, int validate)
61 if (src == NULL) {
77 return zip_source_layered(za, src, crc_read, ctx);
84 crc_read(struct zip_source *src, void *_ctx, void *data,
104 if ((n=zip_source_read(src, data, len)) < 0)
112 if (zip_source_stat(src, &st) < 0)
55 zip_source_crc(struct zip *za, struct zip_source *src, int validate) argument
81 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 && !ZIP_CM_IS_DEFAULT(cm))) {
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, sizeof(ctx->buffer))) < 0) {
143 zip_source_error(src, ctx->e, ctx->e+1);
150 /* TODO: check against stat of src? */
181 decompress_read(struct zip_source *src, struct deflate *ctx,
216 if ((n=zip_source_read(src, ctx->buffer, sizeof(ctx->buffer))) < 0) {
217 zip_source_error(src, ct
64 zip_source_deflate(struct zip *za, struct zip_source *src, zip_int32_t cm, int flags) argument
103 compress_read(struct zip_source *src, struct deflate *ctx, void *data, zip_uint64_t len) argument
177 decompress_read(struct zip_source *src, struct deflate *ctx, void *data, zip_uint64_t len) argument
246 deflate_compress(struct zip_source *src, void *ud, void *data, zip_uint64_t len, enum zip_source_cmd cmd) argument
317 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_pkware.c67 zip_source_pkware(struct zip *za, struct zip_source *src,
73 if (password == NULL || src == NULL || em != ZIP_EM_TRAD_PKWARE) {
94 if ((s2=zip_source_layered(za, src, pkware_decrypt, ctx)) == NULL) {
139 decrypt_header(struct zip_source *src, struct trad_pkware *ctx)
146 if ((n=zip_source_read(src, header, HEADERLEN)) < 0) {
147 zip_source_error(src, ctx->e, ctx->e+1);
159 if (zip_source_stat(src, &st) < 0) {
180 pkware_decrypt(struct zip_source *src, void *ud, void *data,
190 if (decrypt_header(src, ctx) < 0)
195 if ((n=zip_source_read(src, dat
64 zip_source_pkware(struct zip *za, struct zip_source *src, zip_uint16_t em, int flags, const char *password) argument
134 decrypt_header(struct zip_source *src, struct trad_pkware *ctx) argument
174 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_zip_new.c50 struct zip_source *src, *s2;
113 if ((src=zip_source_buffer(za, NULL, 0, 0)) == NULL)
127 if ((src=_zip_source_file_or_p(za, NULL, srcza->zp, offset+start, (zip_int64_t)st2.size, 0, &st2)) == NULL)
132 if ((src=_zip_source_file_or_p(za, NULL, srcza->zp, offset, (zip_int64_t)st.comp_size, 0, &st)) == NULL)
137 if ((s2=enc_impl(za, src, st.encryption_method, 0, password)) == NULL) {
138 zip_source_free(src);
142 src = s2;
145 if ((s2=comp_impl(za, src, st.comp_method, 0)) == NULL) {
146 zip_source_free(src);
150 src
48 struct zip_source *src, *s2; local
[all...]
H A Dzip_error.c58 _zip_error_copy(struct zip_error *dst, const struct zip_error *src)
60 dst->zip_err = src->zip_err;
61 dst->sys_err = src->sys_err;
117 _zip_error_set_from_source(struct zip_error *err, struct zip_source *src)
121 zip_source_error(src, &ze, &se);
55 _zip_error_copy(struct zip_error *dst, const struct zip_error *src) argument
109 _zip_error_set_from_source(struct zip_error *err, struct zip_source *src) argument
H A Dzip_fopen_index_encrypted.c53 struct zip_source *src;
55 if ((src=_zip_source_zip_new(za, za, index, flags, 0, 0, password)) == NULL)
58 if (zip_source_open(src) < 0) {
59 _zip_error_set_from_source(&za->error, src);
60 zip_source_free(src);
65 zip_source_free(src);
69 zf->src = src;
106 zf->src = NULL;
51 struct zip_source *src; local
H A Dzip_source_error.c43 zip_source_error(struct zip_source *src, int *ze, int *se)
47 if (src->src == NULL) {
48 if (src->cb.f(src->ud, e, sizeof(e), ZIP_SOURCE_ERROR) < 0) {
54 switch (src->error_source) {
65 zip_source_error(src->src, ze, se);
69 if (src->cb.l(src
41 zip_source_error(struct zip_source *src, int *ze, int *se) argument
[all...]
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_window.c56 zip_source_window(struct zip *za, struct zip_source *src, zip_uint64_t start, zip_uint64_t len)
60 if (src == NULL) {
74 return zip_source_layered(za, src, window_read, ctx);
81 window_read(struct zip_source *src, void *_ctx, void *data,
95 if ((ret=zip_source_read(src, b, i)) < 0)
112 if ((ret=zip_source_read(src, data, len)) < 0)
54 zip_source_window(struct zip *za, struct zip_source *src, zip_uint64_t start, zip_uint64_t len) argument
78 window_read(struct zip_source *src, void *_ctx, void *data, zip_uint64_t len, enum zip_source_cmd cmd) argument
/PHP_5_6/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_6/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_6/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_6/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 37 milliseconds

123