Searched refs:src (Results 1 - 25 of 117) sorted by relevance

12345

/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_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_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_rotate.c20 void gdImageSkewX (gdImagePtr dst, gdImagePtr src, int uRow, int iOffset, double dWeight, int clrBack, int ignoretransparent) argument
29 if (src->trueColor) {
34 clrBackR = gdImageRed(src, clrBack);
35 clrBackG = gdImageGreen(src, clrBack);
36 clrBackB = gdImageBlue(src, clrBack);
37 clrBackA = gdImageAlpha(src, clrBack);
50 for (i = 0; i < src->sx; i++) {
51 pxlSrc = f (src,i,uRow);
53 r = (int)(gdImageRed(src,pxlSrc) * dWeight);
54 g = (int)(gdImageGreen(src,pxlSr
117 gdImageSkewY(gdImagePtr dst, gdImagePtr src, int uCol, int iOffset, double dWeight, int clrBack, int ignoretransparent) argument
205 gdImageRotate90(gdImagePtr src, int ignoretransparent) argument
252 gdImageRotate180(gdImagePtr src, int ignoretransparent) argument
300 gdImageRotate270(gdImagePtr src, int ignoretransparent) argument
347 gdImageRotate45(gdImagePtr src, double dAngle, int clrBack, int ignoretransparent) argument
505 gdImageRotate(gdImagePtr src, double dAngle, int clrBack, int ignoretransparent) argument
[all...]
/PHP_TRUNK/sapi/phpdbg/travis/
H A Dci.sh2 git clone https://github.com/php/php-src
3 cd php-src
/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
H A Dintl_convert.h25 const char* src, size_t src_len,
30 const UChar* src, int32_t src_len,
/PHP_TRUNK/ext/zip/lib/
H A Dzip_fread.c59 if ((n=zip_source_read(zf->src, outbuf, toread)) < 0) {
60 _zip_error_set_from_source(&zf->error, zf->src);
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_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_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_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...]
/PHP_TRUNK/Zend/
H A Dzend_smart_str.h33 #define smart_str_appends_ex(dest, src, what) \
34 smart_str_appendl_ex((dest), (src), strlen(src), (what))
35 #define smart_str_appends(dest, src) \
36 smart_str_appendl((dest), (src), strlen(src))
39 #define smart_str_appendl(dest, src, len) \
40 smart_str_appendl_ex((dest), (src), (len), 0)
41 #define smart_str_append(dest, src) \
42 smart_str_append_ex((dest), (src),
97 smart_str_append_ex(smart_str *dest, const zend_string *src, zend_bool persistent) argument
101 smart_str_append_smart_str_ex(smart_str *dest, const smart_str *src, zend_bool persistent) argument
119 smart_str_setl(smart_str *dest, const char *src, size_t len) argument
[all...]
/PHP_TRUNK/ext/standard/
H A Dphp_smart_string.h77 #define smart_string_appends_ex(dest, src, what) \
78 smart_string_appendl_ex((dest), (src), strlen(src), (what))
79 #define smart_string_appends(dest, src) \
80 smart_string_appendl((dest), (src), strlen(src))
86 #define smart_string_appendl(dest, src, len) \
87 smart_string_appendl_ex((dest), (src), (len), 0)
88 #define smart_string_append(dest, src) \
89 smart_string_append_ex((dest), (src),
[all...]
H A Dphp_uuencode.h27 PHPAPI zend_string *php_uudecode(char *src, size_t src_len);
28 PHPAPI zend_string *php_uuencode(char *src, size_t src_len);
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...]
/PHP_TRUNK/main/
H A Dstrlcat.c62 * Appends src to string dst of size siz (unlike strncat, siz is the
65 * Returns strlen(src); if retval >= siz, truncation occurred.
67 PHPAPI size_t php_strlcat(dst, src, siz)
69 const char *src;
73 register const char *s = src;
94 return(dlen + (s - src)); /* count does not include NUL */
H A Dstrlcpy.c62 * Copy src to string dst of size siz. At most siz-1 characters
64 * Returns strlen(src); if retval >= siz, truncation occurred.
66 PHPAPI size_t php_strlcpy(dst, src, siz)
68 const char *src;
72 register const char *s = src;
83 /* Not enough room in dst, add NUL and traverse rest of src */
91 return(s - src - 1); /* count does not include NUL */

Completed in 29 milliseconds

12345