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

1234

/PHP_TRUNK/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_TRUNK/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_TRUNK/ext/intl/
H A Dintl_convert.c52 const char* src, size_t src_len,
70 u_strFromUTF8( *target, *target_len, &dst_len, src, (int32_t)src_len, status );
92 u_strFromUTF8( dst_buf, dst_len+1, NULL, src, src_len, status );
122 const UChar* src, int32_t src_len,
130 u_strToUTF8( NULL, 0, &dst_len, src, src_len, status );
144 u_strToUTF8( dst_buf, dst_len, NULL, src, src_len, status );
50 intl_convert_utf8_to_utf16( UChar** target, int32_t* target_len, const char* src, size_t src_len, UErrorCode* status ) argument
120 intl_convert_utf16_to_utf8( char** target, size_t* target_len, const UChar* src, int32_t src_len, UErrorCode* status ) argument
/PHP_TRUNK/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_TRUNK/ext/xmlrpc/libxmlrpc/
H A Dencodings.c61 static char* convert(const char* src, int src_len, int *new_len, const char* from_enc, const char* to_enc) { argument
64 if(src && src_len && from_enc && to_enc) {
82 st = iconv(ic, (char**)&src, &inlenleft, &out_ptr, &outlenleft);
/PHP_TRUNK/ext/zip/lib/
H A Dzip_source_close.c41 zip_source_close(struct zip_source *src) argument
43 if (!src->is_open)
46 if (src->src == NULL)
47 (void)src->cb.f(src->ud, NULL, 0, ZIP_SOURCE_CLOSE);
49 (void)src->cb.l(src->src, src
[all...]
H A Dzip_source_crc.c55 zip_source_crc(struct zip *za, struct zip_source *src, int validate) argument
59 if (src == NULL) {
75 return zip_source_layered(za, src, crc_read, ctx);
81 crc_read(struct zip_source *src, void *_ctx, void *data, argument
101 if ((n=zip_source_read(src, data, len)) < 0)
109 if (zip_source_stat(src, &st) < 0)
H A Dzip_source_deflate.c64 zip_source_deflate(struct zip *za, struct zip_source *src, argument
70 if (src == NULL || (cm != ZIP_CM_DEFLATE && !ZIP_CM_IS_DEFAULT(cm))) {
89 if ((s2=zip_source_layered(za, src,
103 compress_read(struct zip_source *src, struct deflate *ctx, argument
139 if ((n=zip_source_read(src, ctx->buffer, sizeof(ctx->buffer))) < 0) {
140 zip_source_error(src, ctx->e, ctx->e+1);
147 /* TODO: check against stat of src? */
177 decompress_read(struct zip_source *src, struct deflate *ctx, argument
212 if ((n=zip_source_read(src, ctx->buffer, sizeof(ctx->buffer))) < 0) {
213 zip_source_error(src, ct
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_free.c43 zip_source_free(struct zip_source *src) argument
45 if (src == NULL)
48 if (src->is_open)
49 zip_source_close(src);
51 if (src->src == NULL)
52 (void)src->cb.f(src->ud, NULL, 0, ZIP_SOURCE_FREE);
54 (void)src->cb.l(src
[all...]
H A Dzip_source_function.c64 struct zip_source *src; local
66 if ((src=(struct zip_source *)malloc(sizeof(*src))) == NULL) {
71 src->src = NULL;
72 src->cb.f = NULL;
73 src->ud = NULL;
74 src->error_source = ZIP_LES_NONE;
75 src->is_open = 0;
77 return src;
[all...]
H A Dzip_source_layered.c43 zip_source_layered(struct zip *za, struct zip_source *src, argument
54 zs->src = src;
H A Dzip_source_pkware.c64 zip_source_pkware(struct zip *za, struct zip_source *src, argument
70 if (password == NULL || src == NULL || em != ZIP_EM_TRAD_PKWARE) {
91 if ((s2=zip_source_layered(za, src, pkware_decrypt, ctx)) == NULL) {
134 decrypt_header(struct zip_source *src, struct trad_pkware *ctx) argument
141 if ((n=zip_source_read(src, header, HEADERLEN)) < 0) {
142 zip_source_error(src, ctx->e, ctx->e+1);
154 if (zip_source_stat(src, &st) < 0) {
174 pkware_decrypt(struct zip_source *src, void *ud, void *data, argument
184 if (decrypt_header(src, ctx) < 0)
189 if ((n=zip_source_read(src, dat
[all...]
H A Dzip_source_pop.c43 zip_source_pop(struct zip_source *src) argument
47 if (src == NULL)
50 lower = src->src;
53 zip_source_free(src);
55 if (src->is_open)
56 (void)src->cb.l(src, src->ud, NULL, 0, ZIP_SOURCE_CLOSE);
57 (void)src
[all...]
H A Dzip_source_read.c41 zip_source_read(struct zip_source *src, void *data, zip_uint64_t len) argument
45 if (!src->is_open || len > ZIP_INT64_MAX || (len > 0 && data == NULL)) {
46 src->error_source = ZIP_LES_INVAL;
50 if (src->src == NULL)
51 return src->cb.f(src->ud, data, len, ZIP_SOURCE_READ);
53 ret = src->cb.l(src->src, sr
[all...]
H A Dzip_source_stat.c41 zip_source_stat(struct zip_source *src, struct zip_stat *st) argument
46 src->error_source = ZIP_LES_INVAL;
50 if (src->src == NULL) {
51 if (src->cb.f(src->ud, st, sizeof(*st), ZIP_SOURCE_STAT) < 0)
56 if (zip_source_stat(src->src, st) < 0) {
57 src->error_source = ZIP_LES_LOWER;
61 ret = src
[all...]
H A Dzip_source_zip_new.c48 struct zip_source *src, *s2; local
111 if ((src=zip_source_buffer(za, NULL, 0, 0)) == NULL)
125 if ((src=_zip_source_file_or_p(za, NULL, srcza->zp, offset+start, (zip_int64_t)st2.size, 0, &st2)) == NULL)
130 if ((src=_zip_source_file_or_p(za, NULL, srcza->zp, offset, (zip_int64_t)st.comp_size, 0, &st)) == NULL)
135 if ((s2=enc_impl(za, src, st.encryption_method, 0, password)) == NULL) {
136 zip_source_free(src);
140 src = s2;
143 if ((s2=comp_impl(za, src, st.comp_method, 0)) == NULL) {
144 zip_source_free(src);
148 src
[all...]
H A Dzip_error.c55 _zip_error_copy(struct zip_error *dst, const struct zip_error *src) argument
57 dst->zip_err = src->zip_err;
58 dst->sys_err = src->sys_err;
109 _zip_error_set_from_source(struct zip_error *err, struct zip_source *src) argument
113 zip_source_error(src, &ze, &se);
H A Dzip_fopen_index_encrypted.c51 struct zip_source *src; local
53 if ((src=_zip_source_zip_new(za, za, index, flags, 0, 0, password)) == NULL)
56 if (zip_source_open(src) < 0) {
57 _zip_error_set_from_source(&za->error, src);
58 zip_source_free(src);
63 zip_source_free(src);
67 zf->src = src;
103 zf->src = NULL;
H A Dzip_source_error.c41 zip_source_error(struct zip_source *src, int *ze, int *se) argument
45 if (src->src == NULL) {
46 if (src->cb.f(src->ud, e, sizeof(e), ZIP_SOURCE_ERROR) < 0) {
52 switch (src->error_source) {
63 zip_source_error(src->src, ze, se);
67 if (src->cb.l(src
[all...]
H A Dzip_source_open.c41 zip_source_open(struct zip_source *src) argument
45 if (src->is_open) {
46 src->error_source = ZIP_LES_INVAL;
50 if (src->src == NULL) {
51 if (src->cb.f(src->ud, NULL, 0, ZIP_SOURCE_OPEN) < 0)
55 if (zip_source_open(src->src) < 0) {
56 src
[all...]
H A Dzip_source_window.c54 zip_source_window(struct zip *za, struct zip_source *src, zip_uint64_t start, zip_uint64_t len) argument
58 if (src == NULL) {
72 return zip_source_layered(za, src, window_read, ctx);
78 window_read(struct zip_source *src, void *_ctx, void *data, argument
92 if ((ret=zip_source_read(src, b, i)) < 0)
109 if ((ret=zip_source_read(src, data, len)) < 0)
/PHP_TRUNK/ext/standard/
H A Duuencode.c68 PHPAPI zend_string *php_uuencode(char *src, size_t src_len) /* {{{ */ argument
77 s = src;
78 e = src + src_len;
130 PHPAPI zend_string *php_uudecode(char *src, size_t src_len) /* {{{ */ argument
138 s = src;
139 e = src + src_len;
203 zend_string *src; local
205 if (zend_parse_parameters(ZEND_NUM_ARGS(), "S", &src) == FAILURE || src->len < 1) {
209 RETURN_STR(php_uuencode(src
217 zend_string *src; local
[all...]

Completed in 23 milliseconds

1234