Searched defs:dst (Results 1 - 22 of 22) sorted by relevance

/PHP_5_6/ext/gd/libgd/
H A Dgd.c97 static int gdLayerOverlay(int dst, int src);
98 static int gdAlphaOverlayColor(int src, int dst, int max);
2152 void gdImageCopy (gdImagePtr dst, gdImagePtr src, int dstX, int dstY, int srcX, int srcY, int w, int h) argument
2160 if (dst->trueColor) {
2170 gdImageSetPixel (dst, dstX + x, dstY + y, c);
2179 gdImageSetPixel(dst, dstX + x, dstY + y, gdTrueColorAlpha(src->red[c], src->green[c], src->blue[c], src->alpha[c]));
2197 nc = gdImageColorResolveAlpha(dst, gdTrueColorGetRed(c), gdTrueColorGetGreen(c), gdTrueColorGetBlue(c), gdTrueColorGetAlpha(c));
2199 gdImageSetPixel(dst, tox, toy, nc);
2228 mapTo = gdImageColorResolveAlpha (dst, gdTrueColorGetRed (c), gdTrueColorGetGreen (c), gdTrueColorGetBlue (c), gdTrueColorGetAlpha (c));
2231 if (dst
2251 gdImageCopyMerge(gdImagePtr dst, gdImagePtr src, int dstX, int dstY, int srcX, int srcY, int w, int h, int pct) argument
2291 gdImageCopyMergeGray(gdImagePtr dst, gdImagePtr src, int dstX, int dstY, int srcX, int srcY, int w, int h, int pct) argument
2345 gdImageCopyResized(gdImagePtr dst, gdImagePtr src, int dstX, int dstY, int srcX, int srcY, int dstW, int dstH, int srcW, int srcH) argument
2455 gdImageCopyResampled(gdImagePtr dst, gdImagePtr src, int dstX, int dstY, int srcX, int srcY, int dstW, int dstH, int srcW, int srcH) argument
2853 gdAlphaBlendOld(int dst, int src) argument
2875 gdAlphaBlend(int dst, int src) argument
2937 gdLayerOverlay(int dst, int src) argument
2949 gdAlphaOverlayColor(int src, int dst, int max ) argument
[all...]
H A Dgd_matrix.c20 * dst - Where to store the resulting point
27 int gdAffineApplyToPointF (gdPointFPtr dst, const gdPointFPtr src, argument
34 dst->x = x * affine[0] + y * affine[2] + affine[4];
35 dst->y = x * affine[1] + y * affine[3] + affine[5];
45 * by <dst> (commutative) will return the identity affine (rounding
49 * dst - Where to store the resulting affine transform
60 int gdAffineInvert (double dst[6], const double src[6]) argument
69 dst[0] = src[3] * r_det;
70 dst[1] = -src[1] * r_det;
71 dst[
95 gdAffineFlip(double dst[6], const double src[6], const int flip_h, const int flip_v) argument
123 gdAffineConcat(double dst[6], const double m1[6], const double m2[6]) argument
152 gdAffineIdentity(double dst[6]) argument
174 gdAffineScale(double dst[6], const double scale_x, const double scale_y) argument
199 gdAffineRotate(double dst[6], const double angle) argument
224 gdAffineShearHorizontal(double dst[6], const double angle) argument
246 gdAffineShearVertical(double dst[6], const double angle) argument
269 gdAffineTranslate(double dst[6], const double offset_x, const double offset_y) argument
[all...]
H A Dgd_rotate.c20 void gdImageSkewX (gdImagePtr dst, gdImagePtr src, int uRow, int iOffset, double dWeight, int clrBack, int ignoretransparent) argument
43 gdImageSetPixel (dst, i, uRow, clrBack);
46 if (i < dst->sx) {
47 gdImageSetPixel (dst, i, uRow, clrBack);
85 if (ignoretransparent && pxlSrc == dst->transparent) {
86 pxlSrc = dst->transparent;
88 pxlSrc = gdImageColorAllocateAlpha(dst, r, g, b, a);
91 pxlSrc = gdImageColorClosestAlpha(dst, r, g, b, a);
95 if ((i + iOffset >= 0) && (i + iOffset < dst->sx)) {
96 gdImageSetPixel (dst,
117 gdImageSkewY(gdImagePtr dst, gdImagePtr src, int uCol, int iOffset, double dWeight, int clrBack, int ignoretransparent) argument
209 gdImagePtr dst; local
256 gdImagePtr dst; local
304 gdImagePtr dst; local
[all...]
H A Dgd_crop.c45 gdImagePtr dst; local
50 dst = gdImageCreateTrueColor(crop->width, crop->height);
51 if (dst == NULL) {
54 gdImageSaveAlpha(dst, 1);
56 dst = gdImageCreate(crop->width, crop->height);
57 if (dst == NULL) {
60 gdImagePaletteCopy(dst, src);
62 dst->transparent = src->transparent;
66 return dst;
85 memcpy(dst
[all...]
H A Dgd_interpolation.c24 as each column is mapped from src to dst image. This lets
606 static inline int _color_blend (const int dst, const int src) argument
613 const int dst_alpha = gdTrueColorGetAlpha(dst);
615 if( src_alpha == gdAlphaTransparent ) return dst;
627 + gdTrueColorGetRed(dst) * dst_weight) / tot_weight;
629 + gdTrueColorGetGreen(dst) * dst_weight) / tot_weight;
631 + gdTrueColorGetBlue(dst) * dst_weight) / tot_weight;
965 static inline void _gdScaleRow(gdImagePtr pSrc, unsigned int src_width, gdImagePtr dst, unsigned int dst_width, unsigned int row, LineContribType *contrib) argument
968 int *p_dst_row = dst->tpixels[row];
1060 gdImagePtr dst; local
1081 Scale(const gdImagePtr src, const unsigned int src_width, const unsigned int src_height, const gdImagePtr dst, const unsigned int new_width, const unsigned int new_height) argument
1404 gdImagePtr dst; local
1676 gdImagePtr dst; local
1726 gdImagePtr dst; local
1790 gdImagePtr dst; local
1909 gdImagePtr dst; local
2250 gdTransformAffineGetImage(gdImagePtr *dst, const gdImagePtr src, gdRectPtr src_area, const double affine[6]) argument
2316 gdTransformAffineCopy(gdImagePtr dst, int dst_x, int dst_y, const gdImagePtr src, gdRectPtr src_region, const double affine[6]) argument
[all...]
H A Dwebpimg.c151 static void ToRGB(int y, int u, int v, uint32* const dst) { argument
158 *dst = (r << RED_SHIFT) | (g << GREEN_SHIFT) | (b << BLUE_SHIFT);
/PHP_5_6/ext/standard/
H A Dcrypt_sha256.c41 char * __php_stpncpy(char *dst, const char *src, size_t len) argument
47 return strncpy(dst, src, len) + n;
50 void * __php_mempcpy(void * dst, const void * src, size_t len) argument
52 return (((char *)memcpy(dst, src, len)) + len);
H A Duuencode.c195 char *src, *dst; local
202 dst_len = php_uuencode(src, src_len, &dst);
204 RETURN_STRINGL(dst, dst_len, 0);
212 char *src, *dst; local
219 dst_len = php_uudecode(src, src_len, &dst);
225 RETURN_STRINGL(dst, dst_len, 0);
H A Dcrypt_blowfish.c377 #define BF_safe_atoi64(dst, src) \
384 (dst) = tmp; \
387 static int BF_decode(BF_word *dst, const char *src, int size) argument
389 unsigned char *dptr = (unsigned char *)dst;
414 static void BF_encode(char *dst, const BF_word *src, int size) argument
418 unsigned char *dptr = (unsigned char *)dst;
/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
12 d = dst;
13 end = dst + size - 1;
/PHP_5_6/Zend/
H A Dzend_llist.c158 ZEND_API void zend_llist_copy(zend_llist *dst, zend_llist *src) argument
162 zend_llist_init(dst, src->size, src->dtor, src->persistent);
165 zend_llist_add_element(dst, ptr->data);
/PHP_5_6/ext/date/lib/
H A Dparse_iso_intervals.c193 static long timelib_get_zone(char **ptr, int *dst, timelib_time *t, int *tz_not_found, const timelib_tzdb *tzdb) argument
210 t->dst = 0;
218 t->dst = 0;
1059 in.begin->dst = 0;
1072 in.end->dst = 0;
H A Dtimelib_structs.h130 signed int dst; /* Flag if we were parsing a DST zone */ member in struct:timelib_time
148 int dst; member in struct:timelib_abbr_info
H A Dunixtime2tm.c130 tm->dst = 0;
141 signed int dst = tm->dst; local
148 timelib_unixtime2gmt(tm, tm->sse - (tm->z * 60) + (tm->dst * 3600));
172 tm->dst = dst;
184 signed int dst = tm->dst; local
186 timelib_unixtime2gmt(tm, ts - (tm->z * 60) + (tm->dst * 3600));
189 tm->dst
[all...]
H A Dparse_date.c711 static long timelib_lookup_abbr(char **ptr, int *dst, char **tz_abbr, int *found) argument
727 *dst = tp->type;
738 long timelib_parse_zone(char **ptr, int *dst, timelib_time *t, int *tz_not_found, const timelib_tzdb *tzdb, timelib_tz_get_wrapper tz_wrapper) argument
756 t->dst = 0;
764 t->dst = 0;
775 offset = timelib_lookup_abbr(ptr, dst, &tz_abbr, &found);
967 s->time->z = timelib_parse_zone((char **) &ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz_get_wrapper);
4429 s->time->z = timelib_parse_zone((char **) &ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz_get_wrapper);
9759 s->time->z = timelib_parse_zone((char **) &ptr, &s->time->dst, s->time, &tz_not_found, s->tzdb, tz_get_wrapper);
12034 s->time->z = timelib_parse_zone((char **) &ptr, &s->time->dst,
[all...]
/PHP_5_6/ext/mysqlnd/
H A Dmysqlnd_auth.c466 mysqlnd_xor_string(char * dst, const size_t dst_len, const char * xor_str, const size_t xor_str_len) argument
470 dst[i] ^= xor_str[i % xor_str_len];
/PHP_5_6/ext/pdo/
H A Dpdo.c323 char *dst = outbuf; local
327 *dst++ = '-';
331 *dst++ = '0';
332 *dst++ = '\0';
351 while ((*dst++ = *p++) != 0)
353 *dst = '\0';
/PHP_5_6/ext/zip/lib/
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;
55 _zip_error_copy(struct zip_error *dst, const struct zip_error *src) argument
/PHP_5_6/ext/fileinfo/libmagic/
H A Dsoftmagic.c1103 char *dst = p->s; local
1112 for (/*EMPTY*/; src < esrc; src += 2, dst++) {
1113 if (dst < edst)
1114 *dst = *src;
1117 if (*dst == '\0') {
1121 *dst = ' ';
/PHP_5_6/ext/gd/
H A Dgd.c422 ZEND_ARG_INFO(0, dst)
2821 /* {{{ proto void imagepalettecopy(resource dst, resource src)
2822 Copy the palette from the src image onto the dst image */
2826 gdImagePtr dst, src; local
2832 ZEND_FETCH_RESOURCE(dst, gdImagePtr, &dstim, -1, "Image", le_gd);
2835 gdImagePaletteCopy(dst, src);
5156 gdImagePtr dst; local
5271 if (gdTransformAffineGetImage(&dst, src, pRect, affine) != GD_TRUE) {
5275 if (dst == NULL) {
5278 ZEND_REGISTER_RESOURCE(return_value, dst, le_g
[all...]
/PHP_5_6/ext/date/
H A Dphp_date.c1078 offset->offset = (t->z - (t->dst * 60)) * -60;
1080 offset->is_dst = t->dst;
1289 offset->offset = (t->z - (t->dst * 60)) * -60;
1291 offset->is_dst = t->dst;
1295 offset->offset = (t->z - (t->dst * 60)) * -60;
1297 offset->is_dst = t->dst;
1507 long hou = 0, min = 0, sec = 0, mon = 0, day = 0, yea = 0, dst = -1; local
1513 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|lllllll", &hou, &min, &sec, &mon, &day, &yea, &dst) == FAILURE) {
1563 if (dst != -1) {
1567 if (dst
3686 int dst, not_found; local
[all...]
/PHP_5_6/main/
H A Dsnprintf.c144 char *digits, *dst, *src; local
158 dst = buf;
160 *dst++ = '-';
172 *dst++ = *src++;
173 *dst++ = dec_point;
175 *dst++ = '0';
178 *dst++ = *src++;
181 *dst++ = exponent;
183 *dst++ = '-';
185 *dst
[all...]

Completed in 88 milliseconds