Home
last modified time | relevance | path

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

1234

/PHP-8.2/Zend/
H A Dzend_smart_str.h58 char *ret = ZSTR_VAL(dest->s) + ZSTR_LEN(dest->s); in smart_str_extend_ex()
59 ZSTR_LEN(dest->s) = new_len; in smart_str_extend_ex()
101 smart_str_trim_to_size_ex(dest, false); in smart_str_trim_to_size()
124 ZSTR_VAL(dest->s)[new_len - 1] = ch; in smart_str_appendc_ex() local
125 ZSTR_LEN(dest->s) = new_len; in smart_str_appendc_ex()
130 memcpy(ZSTR_VAL(dest->s) + ZSTR_LEN(dest->s), str, len); in smart_str_appendl_ex()
131 ZSTR_LEN(dest->s) = new_len; in smart_str_appendl_ex()
180 smart_str_append_ex(dest, src, false); in smart_str_append()
184 smart_str_appendc_ex(dest, ch, false); in smart_str_appendc()
192 smart_str_free(dest); in smart_str_setl()
[all …]
H A Dzend_smart_string.h80 dest->len = smart_string_alloc(dest, 1, persistent); in smart_string_appendc_ex()
81 dest->c[dest->len - 1] = ch; in smart_string_appendc_ex()
85 size_t new_len = smart_string_alloc(dest, len, persistent); in smart_string_appendl_ex()
86 memcpy(dest->c + dest->len, str, len); in smart_string_appendl_ex()
87 dest->len = new_len; in smart_string_appendl_ex()
94 smart_string_appendl_ex(dest, result, buf + sizeof(buf) - 1 - result, persistent); in smart_string_append_long_ex()
100 smart_string_appendl_ex(dest, result, buf + sizeof(buf) - 1 - result, persistent); in smart_string_append_unsigned_ex()
103 static zend_always_inline void smart_string_setl(smart_string *dest, char *src, size_t len) { in smart_string_setl() argument
104 dest->len = len; in smart_string_setl()
105 dest->a = len + 1; in smart_string_setl()
[all …]
H A Dzend_API.h2056 *dest = 1; in zend_parse_arg_bool()
2058 *dest = 0; in zend_parse_arg_bool()
2061 *dest = 0; in zend_parse_arg_bool()
2077 *dest = 0; in zend_parse_arg_long()
2093 *dest = 0.0; in zend_parse_arg_double()
2103 *dest = arg; in zend_parse_arg_number()
2144 (*dest && UNEXPECTED(CHECK_NULL_PATH(ZSTR_VAL(*dest), ZSTR_LEN(*dest))))) { in zend_parse_arg_path_str()
2170 *dest = arg; in zend_parse_arg_iterable()
2186 *dest = arg; in zend_parse_arg_array()
2245 *dest = arg; in zend_parse_arg_object()
[all …]
H A Dzend_smart_str.c126 ZEND_API void smart_str_append_printf(smart_str *dest, const char *format, ...) { in smart_str_append_printf() argument
129 zend_printf_to_smart_str(dest, format, arg); in smart_str_append_printf()
193 ZEND_API void ZEND_FASTCALL smart_str_append_scalar(smart_str *dest, zval *value, size_t truncate) { in smart_str_append_scalar() argument
199 smart_str_appendl(dest, "NULL", sizeof("NULL")-1); in smart_str_append_scalar()
204 smart_str_appends(dest, Z_TYPE_P(value) == IS_TRUE ? "true" : "false"); in smart_str_append_scalar()
208 smart_str_append_double(dest, Z_DVAL_P(value), (int) EG(precision), true); in smart_str_append_scalar()
212 smart_str_append_long(dest, Z_LVAL_P(value)); in smart_str_append_scalar()
216 smart_str_appendc(dest, '\''); in smart_str_append_scalar()
217 smart_str_append_escaped_truncated(dest, Z_STR_P(value), truncate); in smart_str_append_scalar()
218 smart_str_appendc(dest, '\''); in smart_str_append_scalar()
/PHP-8.2/ext/standard/
H A Duuencode.c69 zend_string *dest; in php_uuencode() local
124 dest = zend_string_truncate(dest, (char *) p - ZSTR_VAL(dest), 0); in php_uuencode()
125 return dest; in php_uuencode()
134 zend_string *dest; in php_uudecode() local
141 p = ZSTR_VAL(dest); in php_uudecode()
191 ZSTR_LEN(dest) = total_len; in php_uudecode()
192 ZSTR_VAL(dest)[ZSTR_LEN(dest)] = '\0'; in php_uudecode() local
194 return dest; in php_uudecode()
197 zend_string_efree(dest); in php_uudecode()
220 zend_string *dest; in PHP_FUNCTION() local
[all …]
/PHP-8.2/ext/standard/tests/file/
H A Dstream_copy_to_stream.phpt13 $dest = fopen($new_file, 'w');
16 var_dump(ftell($dest));
17 fclose($src); fclose($dest);
30 var_dump(ftell($dest));
31 fclose($src); fclose($dest);
47 var_dump(ftell($dest));
48 fclose($src); fclose($dest);
64 var_dump(ftell($dest));
81 var_dump(ftell($dest));
99 var_dump(ftell($dest));
[all …]
H A Dstream_copy_to_stream_interleaved.phpt12 $dest = fopen($new_file, 'w');
15 var_dump(fwrite($dest, "foo"));
16 var_dump(stream_copy_to_stream($src, $dest, 10));
18 var_dump(ftell($dest));
20 var_dump(fwrite($dest, "bar"));
21 var_dump(stream_copy_to_stream($src, $dest, 10));
23 var_dump(ftell($dest));
24 fclose($src); fclose($dest);
H A Dgh9779.phpt7 $dest = __DIR__.'/gh9779_dest.txt';
10 file_put_contents($dest, "foo");
12 $destHandle = fopen($dest, "a");
16 var_dump(file_get_contents($dest));
21 $dest = __DIR__.'/gh9779_dest.txt';
24 @unlink($dest);
H A Dcopy_variation8.phpt45 foreach($dests as $dest) {
48 var_dump( copy($symlink, $dest) );
49 var_dump( file_exists($dest) );
50 var_dump( is_link($dest) ); //expected: bool(false)
51 var_dump( is_file($dest) ); //expected: bool(true)
53 unlink("$dest");
55 var_dump( copy($hardlink, $dest) );
56 var_dump( file_exists($dest) );
57 var_dump( is_link($dest) ); //expected: bool(flase)
58 var_dump( is_file($dest) ); //expected: bool(true)
[all …]
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.phpt18 $dest = $file_path."/copy_copy_variation12";
20 var_dump( copy($src_dir, $dest) );
22 var_dump( file_exists($dest) );
25 var_dump( filesize($dest) );
/PHP-8.2/ext/gd/tests/
H A Dbug66005.phpt7 $dest = imagecreatetruecolor(150, 50);
8 $transparent = imagecolorallocatealpha($dest, 255, 255, 255, 127);
9 imagealphablending($dest, false);
10 imagefill($dest, 1, 1, $transparent);
11 imagesavealpha($dest, true);
22 imagecopy($dest, $png_palette, 0, 0, 0, 0, 50, 50);
23 imagecopy($dest, $png_24, 50, 0, 0, 0, 50, 50);
24 imagecopy($dest, $png_full, 100, 0, 0, 0, 50, 50);
27 test_image_equals_file(__DIR__ . '/bug66005.png', $dest);
H A Dbug24155.phpt11 $dest = dirname(realpath(__FILE__)) . '/bug24155.png';
12 @unlink($dest);
17 imagepng($im, $dest);
19 $im2 = imagecreatefrompng($dest);
26 @unlink($dest);
H A Dbug27582_1.phpt7 $dest = dirname(realpath(__FILE__)) . '/bug27582.png';
8 @unlink($dest);
15 imagepng($im, $dest);
17 $im2 = imagecreatefrompng($dest);
21 @unlink($dest);
H A Dbug36697-mb.phpt7 $dest = __DIR__ . "/36697私はガラスを食べられます.gif";
15 imagegif($im, $dest);
17 $im = imagecreatefromgif($dest);
21 @unlink($dest);
H A Dbug36697.phpt7 $dest = __DIR__ . "/36697.gif";
15 imagegif($im, $dest);
17 $im = imagecreatefromgif($dest);
21 @unlink($dest);
H A Dimagefilledpolygon_basic.phpt14 $dest = dirname(realpath(__FILE__)) . '/imagefilledpolygon.png';
38 imagepng($image, $dest);
41 $image_in = imagecreatefrompng($dest);
62 $dest = dirname(realpath(__FILE__)) . '/imagefilledpolygon.png';
63 @unlink($dest);
H A Dimagepolygon_basic.phpt14 $dest = dirname(realpath(__FILE__)) . '/imagepolygon.png';
34 imagepng($image, $dest);
48 $dest = dirname(realpath(__FILE__)) . '/imagepolygon.png';
49 @unlink($dest);
H A Dimagedashedline_basic.phpt14 $dest = dirname(realpath(__FILE__)) . '/imagedashedline.png';
30 imagepng($image, $dest);
46 $dest = dirname(realpath(__FILE__)) . '/imagedashedline.png';
47 @unlink($dest);
/PHP-8.2/ext/zip/tests/
H A Dbug40228-mb.phpt7 $dest = __DIR__ . "/bug40228-mb";
11 $zip->extractTo($dest);
12 if (is_dir($dest . '/test/empty')) {
14 rmdir($dest . '/test/empty');
15 rmdir($dest . '/test');
16 rmdir($dest);
H A Dbug40228.phpt7 $dest = __DIR__ . "/bug40228";
11 $zip->extractTo($dest);
12 if (is_dir($dest . '/test/empty')) {
14 rmdir($dest . '/test/empty');
15 rmdir($dest . '/test');
16 rmdir($dest);
/PHP-8.2/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);
346 $dest = "$dist_dir/$dll[0]"; variable
349 if (!file_exists("$dest") || !is_dir("$dest")) {
410 function copy_dir($source, $dest) argument
412 if (!is_dir($dest)) {
413 if (!mkdir($dest)) {
[all …]
/PHP-8.2/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-8.2/ext/bz2/
H A Dbz2.c478 zend_string_efree(dest); in PHP_FUNCTION()
483 ZSTR_LEN(dest) = dest_len; in PHP_FUNCTION()
484 ZSTR_VAL(dest)[ZSTR_LEN(dest)] = '\0'; in PHP_FUNCTION() local
485 RETURN_NEW_STR(dest); in PHP_FUNCTION()
494 zend_string *dest; in PHP_FUNCTION() local
522 bzs.next_out = ZSTR_VAL(dest); in PHP_FUNCTION()
534 dest = zend_string_safe_realloc(dest, 1, bzs.avail_out+1, (size_t) size, 0); in PHP_FUNCTION()
543 zend_string_efree(dest); in PHP_FUNCTION()
548 dest = zend_string_safe_realloc(dest, 1, (size_t)size, 1, 0); in PHP_FUNCTION()
551 RETVAL_STR(dest); in PHP_FUNCTION()
[all …]
/PHP-8.2/ext/gd/libgd/
H A Dgd_jpeg.c767 my_dest_ptr dest = (my_dest_ptr) cinfo->dest; in init_destination() local
772 dest->pub.next_output_byte = dest->buffer; in init_destination()
773 dest->pub.free_in_buffer = OUTPUT_BUF_SIZE; in init_destination()
802 my_dest_ptr dest = (my_dest_ptr) cinfo->dest; in empty_output_buffer() local
804 if (gdPutBuf (dest->buffer, OUTPUT_BUF_SIZE, dest->outfile) != (size_t) OUTPUT_BUF_SIZE) { in empty_output_buffer()
808 dest->pub.next_output_byte = dest->buffer; in empty_output_buffer()
826 my_dest_ptr dest = (my_dest_ptr) cinfo->dest; in term_destination() local
830 if (datacount > 0 && ((size_t)gdPutBuf (dest->buffer, datacount, dest->outfile) != datacount)) { in term_destination()
844 my_dest_ptr dest; in jpeg_gdIOCtx_dest() local
856 dest = (my_dest_ptr) cinfo->dest; in jpeg_gdIOCtx_dest()
[all …]

Completed in 34 milliseconds

1234