Home
last modified time | relevance | path

Searched refs:src (Results 1 – 25 of 200) sorted by relevance

12345678

/PHP-8.1/ext/gd/libgd/
H A Dgd_rotate.c60 r = gdImageRed(src,pxlSrc) - (gdImageRed(src,pxlLeft) - gdImageRed(src,pxlOldLeft)); in gdImageSkewX()
61 g = gdImageGreen(src,pxlSrc) - (gdImageGreen(src,pxlLeft) - gdImageGreen(src,pxlOldLeft)); in gdImageSkewX()
62 b = gdImageBlue(src,pxlSrc) - (gdImageBlue(src,pxlLeft) - gdImageBlue(src,pxlOldLeft)); in gdImageSkewX()
63 a = gdImageAlpha(src,pxlSrc) - (gdImageAlpha(src,pxlLeft) - gdImageAlpha(src,pxlOldLeft)); in gdImageSkewX()
151 r = gdImageRed(src,pxlSrc) - (gdImageRed(src,pxlLeft) - gdImageRed(src,pxlOldLeft)); in gdImageSkewY()
152 g = gdImageGreen(src,pxlSrc) - (gdImageGreen(src,pxlLeft) - gdImageGreen(src,pxlOldLeft)); in gdImageSkewY()
153 b = gdImageBlue(src,pxlSrc) - (gdImageBlue(src,pxlLeft) - gdImageBlue(src,pxlOldLeft)); in gdImageSkewY()
154 a = gdImageAlpha(src,pxlSrc) - (gdImageAlpha(src,pxlLeft) - gdImageAlpha(src,pxlOldLeft)); in gdImageSkewY()
214 dst = gdImageCreateTrueColor(src->sy, src->sx); in gdImageRotate90()
261 dst = gdImageCreateTrueColor(src->sx, src->sy); in gdImageRotate180()
[all …]
H A Dgd_matrix.c30 double x = src->x; in gdAffineApplyToPointF()
60 double r_det = (src[0] * src[3] - src[1] * src[2]); in gdAffineInvert()
71 dst[4] = -src[4] * dst[0] - src[5] * dst[2]; in gdAffineInvert()
72 dst[5] = -src[4] * dst[1] - src[5] * dst[3]; in gdAffineInvert()
95 dst[0] = flip_h ? - src[0] : src[0]; in gdAffineFlip()
96 dst[1] = flip_h ? - src[1] : src[1]; in gdAffineFlip()
97 dst[2] = flip_v ? - src[2] : src[2]; in gdAffineFlip()
98 dst[3] = flip_v ? - src[3] : src[3]; in gdAffineFlip()
99 dst[4] = flip_h ? - src[4] : src[4]; in gdAffineFlip()
100 dst[5] = flip_v ? - src[5] : src[5]; in gdAffineFlip()
[all …]
H A Dgd_filter.c122 if (src==NULL) { in gdImageNegate()
130 pxl = f (src, x, y); in gdImageNegate()
158 if (src==NULL) { in gdImageGrayScale()
243 if (src==NULL) { in gdImageContrast()
299 if (src == NULL) { in gdImageColor()
344 if (src==NULL) { in gdImageConvolution()
349 srcback = gdImageCreateTrueColor (src->sx, src->sy); in gdImageConvolution()
358 gdImageCopy(srcback, src,0,0,0,0,src->sx,src->sy); in gdImageConvolution()
411 if (src==NULL) { in gdImageSelectiveBlur()
416 srcback = gdImageCreateTrueColor (src->sx, src->sy); in gdImageSelectiveBlur()
[all …]
H A Dgd_jpeg.c564 my_src_ptr src = (my_src_ptr) cinfo->src; in init_source() local
570 src->start_of_file = TRUE; in init_source()
611 my_src_ptr src = (my_src_ptr) cinfo->src; in fill_input_buffer() local
620 int got = gdGetBuf(src->buffer + nbytes, INPUT_BUF_SIZE - nbytes, src->infile); in fill_input_buffer()
643 src->pub.next_input_byte = src->buffer; in fill_input_buffer()
665 my_src_ptr src = (my_src_ptr) cinfo->src; in skip_input_data() local
706 my_src_ptr src = (my_src_ptr) cinfo->src; in term_source()
719 my_src_ptr src; in jpeg_gdIOCtx_src() local
731 src = (my_src_ptr) cinfo->src; in jpeg_gdIOCtx_src()
736 src = (my_src_ptr) cinfo->src; in jpeg_gdIOCtx_src()
[all …]
/PHP-8.1/ext/bcmath/
H A Dconfig.m48 libbcmath/src/add.c libbcmath/src/div.c libbcmath/src/init.c libbcmath/src/neg.c libbcmath/src/rais…
9 libbcmath/src/compare.c libbcmath/src/divmod.c libbcmath/src/int2num.c libbcmath/src/num2long.c lib…
10 …cmath/src/sqrt.c libbcmath/src/zero.c libbcmath/src/debug.c libbcmath/src/doaddsub.c libbcmath/src
11 libbcmath/src/rmzero.c libbcmath/src/str2num.c,
12 $ext_shared,,-I@ext_srcdir@/libbcmath/src -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1)
13 PHP_ADD_BUILD_DIR($ext_builddir/libbcmath/src)
/PHP-8.1/ext/gd/tests/
H A Dbug38179.phpt7 $src = imagecreate(5,5);
8 $c0 = imagecolorallocate($src, 255,255,255);
9 $c1 = imagecolorallocatealpha($src, 255,0,0,70);
11 imagealphablending($src, 0);
12 imagefill($src, 0,0, $c1);
17 imagecopy($dst_tc, $src, 0,0, 0,0, imagesx($src), imagesy($src));
22 imagedestroy($src); imagedestroy($dst_tc);
H A Dbug79068.phpt7 $src = imagecreatetruecolor(100, 100);
8 imagefilledrectangle($src, 0, 0, 99, 99, 0xffffff);
9 imageline($src, 10, 10, 90, 90, 0x000000);
10 imagesetinterpolation($src, IMG_BSPLINE);
11 imageaffine($src, [1, 1, 1, 1, 1, 1]);
12 var_dump(imagegetinterpolation($src) === IMG_BSPLINE);
H A Dbug73272.phpt9 $src = imagecreatetruecolor(100, 100);
10 imagefilledrectangle($src, 0,0, 99,99, 0xFFFFFF);
11 imageellipse($src, 49,49, 40,40, 0x000000);
13 imagesetinterpolation($src, IMG_NEAREST_NEIGHBOUR);
14 imagescale($src, 200, 200, IMG_BILINEAR_FIXED);
15 $dst = imagerotate($src, 60, 0xFFFFFF);
H A Dbug73281.phpt13 $src = imagecreatetruecolor(100, 100);
14 $white = imagecolorallocate($src, 255, 255, 255);
15 imagefilledrectangle($src, 0,0, 99,99, $white);
16 $dst = imagescale($src, 200, 200, IMG_BILINEAR_FIXED);
23 $src = imagecreate(100, 100);
24 $white = imagecolorallocate($src, 255, 255, 255);
25 imagefilledrectangle($src, 0,0, 99,99, $white);
26 $dst = imagescale($src, 200, 200, IMG_BILINEAR_FIXED);
H A Dbug73291.phpt8 $src = imagecreatetruecolor(255, 255);
9 $white = imagecolorallocate($src, 255, 255, 255);
10 imagefilledrectangle($src, 0, 0, 254, 254, $white);
13 $color = imagecolorallocate($src, $i, $i, $i);
14 imagefilledellipse($src, 127, 127, $i, $i, $color);
18 $dst = imagecropauto($src, IMG_CROP_THRESHOLD, $threshold, $white);
H A Dbug79676.phpt15 $src = imagecreatetruecolor($size, $size);
16 imagefilledrectangle($src, 0, 0, $size - 1 , $size - 1, 0xff00ff);
18 test($src, 'No scaling');
19 test(imagescale($src, $size * 2, $size * 2), 'Scale 200%, default mode');
20 test(imagescale($src, $size / 2, $size / 2), 'Scale 50%, default mode');
21 test(imagescale($src, $size * 2, $size * 2, IMG_BICUBIC), 'Scale 200%, IMG_BICUBIC mode');
22 test(imagescale($src, $size / 2, $size / 2, IMG_BICUBIC), 'Scale 50%, IMG_BICUBIC mode');
/PHP-8.1/main/
H A Dstrlcat.c64 PHPAPI size_t php_strlcat(dst, src, siz) in php_strlcat() argument
66 const char *src;
70 const char *s = src;
81 return(dlen + strlen(src));
82 while (*src != '\0') {
84 *dst++ = *src;
87 src++;
91 return(dlen + (src - s));
H A Dstrlcpy.c62 PHPAPI size_t php_strlcpy(dst, src, siz) in php_strlcpy() argument
64 const char *src;
67 const char *s = src;
73 if ((*dst++ = *src++) == 0)
82 while (*src++)
91 return((uintptr_t)src - (uintptr_t)s - 1);
/PHP-8.1/Zend/
H A Dzend_smart_str.h25 smart_str_appendl_ex((dest), (src), strlen(src), (what))
26 #define smart_str_appends(dest, src) \ argument
27 smart_str_appendl((dest), (src), strlen(src))
32 #define smart_str_appendl(dest, src, len) \ argument
34 #define smart_str_append(dest, src) \ argument
35 smart_str_append_ex((dest), (src), 0)
38 #define smart_str_sets(dest, src) \ argument
39 smart_str_setl((dest), (src), strlen(src));
129 smart_str_appendl_ex(dest, ZSTR_VAL(src), ZSTR_LEN(src), persistent); in smart_str_append_ex()
133 if (src->s && ZSTR_LEN(src->s)) { in smart_str_append_smart_str_ex()
[all …]
H A Dzend_smart_string.h29 smart_string_appendl_ex((str), (src), strlen(src), (what))
30 #define smart_string_appends(str, src) \ argument
31 smart_string_appendl((str), (src), strlen(src))
32 #define smart_string_append_ex(str, src, what) \ argument
34 ((smart_string *)(src))->len, (what));
35 #define smart_string_sets(str, src) \ argument
36 smart_string_setl((str), (src), strlen(src));
42 #define smart_string_appendl(str, src, len) \ argument
44 #define smart_string_append(str, src) \ argument
45 smart_string_append_ex((str), (src), 0)
[all …]
/PHP-8.1/sapi/fpm/fpm/
H A Dfpm_str.h6 static inline char *str_purify_filename(char *dst, char *src, size_t size) /* {{{ */ in str_purify_filename() argument
13 for (; d < end && *src; ++d, ++src) { in str_purify_filename()
14 if (* (unsigned char *) src < ' ' || * (unsigned char *) src > '\x7f') { in str_purify_filename()
17 *d = *src; in str_purify_filename()
/PHP-8.1/ext/standard/tests/file/
H A Dstream_copy_to_stream.phpt10 $src = fopen($initial_file, 'r');
15 fclose($src); fclose($dest);
22 $src = fopen($initial_file, 'r');
27 fclose($src); fclose($dest);
37 $src = fopen($initial_file, 'r');
42 fclose($src); fclose($dest);
53 $src = fopen($initial_file, 'r');
57 fclose($src); fclose($dest);
72 fclose($src); fclose($dest);
88 fclose($src); fclose($dest);
[all …]
H A Dbug81145.phpt9 $src = __DIR__ . "/bug81145_src.bin";
11 exec("fallocate -l " . (SIZE_4G-0x100) . " " . escapeshellarg($src), $output, $status);
20 $src = __DIR__ . "/bug81145_src.bin";
26 exec("fallocate -l " . (SIZE_4G-0x100) . " " . escapeshellarg($src));
28 exec("fsutil file createnew " . escapeshellarg($src) . " " . (SIZE_4G-0x100));
30 $fp = fopen($src, "ab");
33 copy($src, $dst);
34 if (filesize($src) !== filesize($dst)) {
37 $f1 = fopen($src,'rb') or die("src open failed");
H A Dbug38086.phpt10 $src = fopen($initial_file, 'r');
11 stream_filter_append($src, "string.rot13", STREAM_FILTER_READ);
14 var_dump(stream_copy_to_stream($src, $dest));
15 fclose($src); fclose($dest);
24 $src = fopen($initial_file, 'r');
25 stream_filter_append($src, "string.rot13", STREAM_FILTER_READ);
28 var_dump(stream_copy_to_stream($src, $dest, 10000));
29 fclose($src); fclose($dest);
/PHP-8.1/Zend/Optimizer/
H A Dblock_pass.c155 if (src && in zend_optimize_block()
194 if (src && in zend_optimize_block()
219 if (src && in zend_optimize_block()
272 if (src) { in zend_optimize_block()
474 if (src) { in zend_optimize_block()
534 src->op1_type = src->op2_type; in zend_optimize_block()
537 src->op1.num = src->op2.num; in zend_optimize_block()
552 src->op1_type = src->op2_type; in zend_optimize_block()
555 src->op1.num = src->op2.num; in zend_optimize_block()
769 if (src && in zend_optimize_block()
[all …]
/PHP-8.1/ext/standard/
H A Duuencode.c64 PHPAPI zend_string *php_uuencode(const char *src, size_t src_len) /* {{{ */ in php_uuencode() argument
76 s = (unsigned char *) src; in php_uuencode()
129 PHPAPI zend_string *php_uudecode(const char *src, size_t src_len) /* {{{ */ in php_uudecode() argument
142 s = src; in php_uudecode()
143 e = src + src_len; in php_uudecode()
206 zend_string *src; in PHP_FUNCTION() local
209 Z_PARAM_STR(src) in PHP_FUNCTION()
212 RETURN_STR(php_uuencode(ZSTR_VAL(src), ZSTR_LEN(src))); in PHP_FUNCTION()
219 zend_string *src; in PHP_FUNCTION() local
223 Z_PARAM_STR(src) in PHP_FUNCTION()
[all …]
/PHP-8.1/ext/filter/tests/
H A D050.phpt13 foreach ($test as $src => $dst) {
14 $out = filter_var($src, FILTER_VALIDATE_FLOAT);
17 echo "$src -> false != $dst\n";
19 echo "$src -> $out != false\n";
21 echo "$src -> $out != $dst\n";
H A D049.phpt18 foreach ($test as $src => $dst) {
19 $out = filter_var($src, FILTER_VALIDATE_FLOAT, array("flags"=>FILTER_FLAG_ALLOW_THOUSAND));
22 echo "$src -> false != $dst\n";
24 echo "$src -> $out != false\n";
26 echo "$src -> $out != $dst\n";
/PHP-8.1/ext/intl/
H A Dintl_convert.c50 const char* src, size_t src_len, in intl_convert_utf8_to_utf16() argument
68 u_strFromUTF8( *target, *target_len, &dst_len, src, (int32_t)src_len, status ); in intl_convert_utf8_to_utf16()
90 u_strFromUTF8( dst_buf, dst_len+1, NULL, src, src_len, status ); in intl_convert_utf8_to_utf16()
117 const UChar* src, int32_t src_len, in intl_convert_utf16_to_utf8() argument
125 u_strToUTF8( NULL, 0, &dst_len, src, src_len, status ); in intl_convert_utf16_to_utf8()
139 u_strToUTF8( ZSTR_VAL(dst), dst_len, NULL, src, src_len, status ); in intl_convert_utf16_to_utf8()
/PHP-8.1/ext/session/tests/
H A D021.phpt13 url_rewriter.tags="a=href,area=href,frame=src,input=src,form=,fieldset="
35 ini_set("url_rewriter.tags", "a=href,area=href,frame=src,input=src,form=");
44 ini_set("url_rewriter.tags", "a=href,area=href,frame=src,input=src,form=fakeentry");
53 ini_set("url_rewriter.tags", "a=href,fieldset=,area=href,frame=src,input=src");

Completed in 111 milliseconds

12345678