Home
last modified time | relevance | path

Searched refs:dest (Results 1 – 25 of 111) sorted by relevance

12345

/PHP-7.4/Zend/
H A Dzend_smart_str.h30 #define smart_str_extend(dest, len) \ argument
32 #define smart_str_appendc(dest, c) \ argument
40 #define smart_str_sets(dest, src) \ argument
46 #define smart_str_free(dest) \ argument
47 smart_str_free_ex((dest), 0)
78 char *ret = ZSTR_VAL(dest->s) + ZSTR_LEN(dest->s); in smart_str_extend_ex()
79 ZSTR_LEN(dest->s) = new_len; in smart_str_extend_ex()
116 ZSTR_LEN(dest->s) = new_len; in smart_str_appendc_ex()
121 memcpy(ZSTR_VAL(dest->s) + ZSTR_LEN(dest->s), str, len); in smart_str_appendl_ex()
122 ZSTR_LEN(dest->s) = new_len; in smart_str_appendl_ex()
[all …]
H A Dzend_smart_string.h82 dest->len = smart_string_alloc(dest, 1, persistent); in smart_string_appendc_ex()
83 dest->c[dest->len - 1] = ch; in smart_string_appendc_ex()
87 size_t new_len = smart_string_alloc(dest, len, persistent); in smart_string_appendl_ex()
88 memcpy(dest->c + dest->len, str, len); in smart_string_appendl_ex()
89 dest->len = new_len; in smart_string_appendl_ex()
96 smart_string_appendl_ex(dest, result, buf + sizeof(buf) - 1 - result, persistent); in smart_string_append_long_ex()
102 smart_string_appendl_ex(dest, result, buf + sizeof(buf) - 1 - result, persistent); in smart_string_append_unsigned_ex()
105 static zend_always_inline void smart_string_setl(smart_string *dest, char *src, size_t len) { in smart_string_setl() argument
106 dest->len = len; in smart_string_setl()
107 dest->a = len + 1; in smart_string_setl()
[all …]
H A Dzend_API.h1563 *dest = 1; in zend_parse_arg_bool()
1565 *dest = 0; in zend_parse_arg_bool()
1568 *dest = 0; in zend_parse_arg_bool()
1584 *dest = 0; in zend_parse_arg_long()
1602 *dest = 0.0; in zend_parse_arg_double()
1614 *dest = NULL; in zend_parse_arg_str()
1629 *dest = NULL; in zend_parse_arg_string()
1641 (*dest && UNEXPECTED(CHECK_NULL_PATH(ZSTR_VAL(*dest), ZSTR_LEN(*dest))))) { in zend_parse_arg_path_str()
1668 *dest = arg; in zend_parse_arg_array()
1703 *dest = arg; in zend_parse_arg_object()
[all …]
/PHP-7.4/ext/standard/
H A Duuencode.c70 zend_string *dest; in php_uuencode() local
125 dest = zend_string_truncate(dest, (char *) p - ZSTR_VAL(dest), 0); in php_uuencode()
126 return dest; in php_uuencode()
134 zend_string *dest; in php_uudecode() local
137 p = ZSTR_VAL(dest); in php_uudecode()
187 ZSTR_LEN(dest) = total_len; in php_uudecode()
188 ZSTR_VAL(dest)[ZSTR_LEN(dest)] = '\0'; in php_uudecode() local
190 return dest; in php_uudecode()
193 zend_string_efree(dest); in php_uudecode()
219 zend_string *dest; in PHP_FUNCTION() local
[all …]
/PHP-7.4/ext/gd/tests/
H A Dbug66005.phpt9 $dest = imagecreatetruecolor(150, 50);
10 $transparent = imagecolorallocatealpha($dest, 255, 255, 255, 127);
11 imagealphablending($dest, false);
12 imagefill($dest, 1, 1, $transparent);
13 imagesavealpha($dest, true);
24 imagecopy($dest, $png_palette, 0, 0, 0, 0, 50, 50);
25 imagecopy($dest, $png_24, 50, 0, 0, 0, 50, 50);
26 imagecopy($dest, $png_full, 100, 0, 0, 0, 50, 50);
29 test_image_equals_file(__DIR__ . '/bug66005.png', $dest);
H A Dbug24155.phpt12 $dest = dirname(realpath(__FILE__)) . '/bug24155.png';
13 @unlink($dest);
18 imagepng($im, $dest);
20 $im2 = imagecreatefrompng($dest);
27 @unlink($dest);
H A Dbug27582_1.phpt9 $dest = dirname(realpath(__FILE__)) . '/bug27582.png';
10 @unlink($dest);
17 imagepng($im, $dest);
19 $im2 = imagecreatefrompng($dest);
23 @unlink($dest);
H A Dbug36697-mb.phpt11 $dest = __DIR__ . "/36697私はガラスを食べられます.gif";
19 imagegif($im, $dest);
21 $im = imagecreatefromgif($dest);
25 @unlink($dest);
H A Dbug36697.phpt11 $dest = __DIR__ . "/36697.gif";
19 imagegif($im, $dest);
21 $im = imagecreatefromgif($dest);
25 @unlink($dest);
H A Dimagefilledpolygon_basic.phpt18 $dest = dirname(realpath(__FILE__)) . '/imagefilledpolygon.png';
42 imagepng($image, $dest);
45 $image_in = imagecreatefrompng($dest);
66 $dest = dirname(realpath(__FILE__)) . '/imagefilledpolygon.png';
67 @unlink($dest);
H A Dimagepolygon_basic.phpt19 $dest = dirname(realpath(__FILE__)) . '/imagepolygon.png';
40 imagepng($image, $dest);
54 $dest = dirname(realpath(__FILE__)) . '/imagepolygon.png';
55 @unlink($dest);
/PHP-7.4/ext/standard/tests/file/
H A Dstream_copy_to_stream.phpt13 $dest = fopen($new_file, 'w');
15 fclose($src); fclose($dest);
25 $dest = fopen($new_file, 'w');
27 fclose($src); fclose($dest);
40 $dest = fopen($new_file, 'w');
42 fclose($src); fclose($dest);
55 $dest = fopen($new_file, 'w');
57 fclose($src); fclose($dest);
72 fclose($src); fclose($dest);
88 fclose($src); fclose($dest);
[all …]
H A Dcopy_variation8.phpt10 /* Prototype: bool copy ( string $source, string $dest );
11 Description: Makes a copy of the file source to dest.
50 foreach($dests as $dest) {
53 var_dump( copy($symlink, $dest) );
54 var_dump( file_exists($dest) );
55 var_dump( is_link($dest) ); //expected: bool(false)
56 var_dump( is_file($dest) ); //expected: bool(true)
58 unlink("$dest");
60 var_dump( copy($hardlink, $dest) );
61 var_dump( file_exists($dest) );
[all …]
H A Dcopy_variation12.phpt10 /* Prototype: bool copy ( string $source, string $dest );
11 Description: Makes a copy of the file source to dest.
23 $dest = $file_path."/copy_copy_variation12";
25 var_dump( copy($src_dir, $dest) );
27 var_dump( file_exists($dest) );
30 var_dump( filesize($dest) );
H A Dbug38086.phpt13 $dest = fopen($new_file, 'w');
14 var_dump(stream_copy_to_stream($src, $dest));
15 fclose($src); fclose($dest);
27 $dest = fopen($new_file, 'w');
28 var_dump(stream_copy_to_stream($src, $dest, 10000));
29 fclose($src); fclose($dest);
H A Dcopy_variation12-win32.phpt10 /* Prototype: bool copy ( string $source, string $dest );
11 Description: Makes a copy of the file source to dest.
23 $dest = $file_path."/copy_copy_variation12";
25 var_dump( copy($src_dir, $dest) );
27 var_dump( file_exists($dest) );
H A Dcopy_variation6-win32.phpt10 /* Prototype: bool copy ( string $source, string $dest );
11 Description: Makes a copy of the file source to dest.
48 foreach($dests as $dest) {
52 var_dump( copy($src_file_name, $dest) );
55 var_dump( file_exists($dest) );
57 if( file_exists($dest) ) {
59 print($dest);
67 var_dump( filesize($dest) );
70 unlink("$dest");
H A Dcopy_variation16-win32.phpt10 /* Prototype: bool copy ( string $source, string $dest );
11 Description: Makes a copy of the file source to dest.
50 foreach($dests as $dest) {
57 var_dump( copy($src_file_name, $dest) );
60 var_dump( file_exists($dest) );
62 if( file_exists($dest) ){
64 print($dest);
68 var_dump( filesize($dest) );
71 unlink("$dest");
/PHP-7.4/ext/zip/tests/
H A Dbug40228-mb.phpt7 $dest = __DIR__;
8 $arc_name = $dest . "/bug40228私はガラスを食べられます.zip";
11 $zip->extractTo($dest);
12 if (is_dir($dest . '/test/empty')) {
14 rmdir($dest . '/test/empty');
15 rmdir($dest . '/test');
H A Dbug40228.phpt7 $dest = __DIR__;
8 $arc_name = $dest . "/bug40228.zip";
11 $zip->extractTo($dest);
12 if (is_dir($dest . '/test/empty')) {
14 rmdir($dest . '/test/empty');
15 rmdir($dest . '/test');
/PHP-7.4/win32/build/
H A Dmkdist.php157 function copy_text_file($source, $dest) argument
161 $fp = fopen($dest, "w");
211 fclose($dest);
260 foreach ($text_files as $src => $dest) {
270 copy($src, $dist_dir . '/' . $dest);
342 $dest = "$dist_dir/$dll[0]"; variable
345 if (!file_exists("$dest") || !is_dir("$dest")) {
390 function copy_dir($source, $dest) argument
392 if (!is_dir($dest)) {
393 if (!mkdir($dest)) {
[all …]
/PHP-7.4/ext/pcre/pcre2lib/
H A Dpcre2_string_utils.c70 unsigned char *dest = (unsigned char *)d; in PRIV()
72 if (dest > src) in PRIV()
74 dest += n; in PRIV()
76 for (i = 0; i < n; ++i) *(--dest) = *(--src); in PRIV()
77 return (void *)dest; in PRIV()
81 for (i = 0; i < n; ++i) *dest++ = *src++; in PRIV()
82 return (void *)(dest - n); in PRIV()
/PHP-7.4/ext/gd/libgd/
H A Dgd_jpeg.c770 my_dest_ptr dest = (my_dest_ptr) cinfo->dest; in init_destination() local
775 dest->pub.next_output_byte = dest->buffer; in init_destination()
776 dest->pub.free_in_buffer = OUTPUT_BUF_SIZE; in init_destination()
805 my_dest_ptr dest = (my_dest_ptr) cinfo->dest; in empty_output_buffer() local
807 if (gdPutBuf (dest->buffer, OUTPUT_BUF_SIZE, dest->outfile) != (size_t) OUTPUT_BUF_SIZE) { in empty_output_buffer()
811 dest->pub.next_output_byte = dest->buffer; in empty_output_buffer()
829 my_dest_ptr dest = (my_dest_ptr) cinfo->dest; in term_destination() local
833 if (datacount > 0 && ((size_t)gdPutBuf (dest->buffer, datacount, dest->outfile) != datacount)) { in term_destination()
847 my_dest_ptr dest; in jpeg_gdIOCtx_dest() local
859 dest = (my_dest_ptr) cinfo->dest; in jpeg_gdIOCtx_dest()
[all …]
/PHP-7.4/ext/bz2/
H A Dbz2.c553 zend_string_efree(dest); in PHP_FUNCTION()
558 ZSTR_LEN(dest) = dest_len; in PHP_FUNCTION()
559 ZSTR_VAL(dest)[ZSTR_LEN(dest)] = '\0'; in PHP_FUNCTION() local
560 RETURN_NEW_STR(dest); in PHP_FUNCTION()
570 zend_string *dest; in PHP_FUNCTION() local
598 bzs.next_out = ZSTR_VAL(dest); in PHP_FUNCTION()
610 dest = zend_string_safe_realloc(dest, 1, bzs.avail_out+1, (size_t) size, 0); in PHP_FUNCTION()
619 zend_string_efree(dest); in PHP_FUNCTION()
624 dest = zend_string_safe_realloc(dest, 1, (size_t)size, 1, 0); in PHP_FUNCTION()
627 RETVAL_STR(dest); in PHP_FUNCTION()
[all …]
/PHP-7.4/ext/com_dotnet/
H A Dcom_misc.c96 PHP_COM_DOTNET_API int php_com_safearray_get_elem(VARIANT *array, VARIANT *dest, LONG dim1) in php_com_safearray_get_elem() argument
130 VariantInit(dest); in php_com_safearray_get_elem()
135 SafeArrayGetElement(V_ARRAY(array), indices, dest); in php_com_safearray_get_elem()
137 V_VT(dest) = vt; in php_com_safearray_get_elem()
141 SafeArrayGetElement(V_ARRAY(array), indices, &dest->lVal); in php_com_safearray_get_elem()

Completed in 55 milliseconds

12345