/PHP-8.0/Zend/ |
H A D | zend_smart_str.h | 28 #define smart_str_extend(dest, len) \ argument 30 #define smart_str_appendc(dest, c) \ argument 38 #define smart_str_sets(dest, src) \ argument 44 #define smart_str_free(dest) \ argument 45 smart_str_free_ex((dest), 0) 76 char *ret = ZSTR_VAL(dest->s) + ZSTR_LEN(dest->s); in smart_str_extend_ex() 77 ZSTR_LEN(dest->s) = new_len; in smart_str_extend_ex() 114 ZSTR_LEN(dest->s) = new_len; in smart_str_appendc_ex() 119 memcpy(ZSTR_VAL(dest->s) + ZSTR_LEN(dest->s), str, len); in smart_str_appendl_ex() 120 ZSTR_LEN(dest->s) = new_len; in smart_str_appendl_ex() [all …]
|
H A D | zend_smart_string.h | 80 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 D | zend_API.h | 1892 *dest = 1; in zend_parse_arg_bool() 1894 *dest = 0; in zend_parse_arg_bool() 1897 *dest = 0; in zend_parse_arg_bool() 1913 *dest = 0; in zend_parse_arg_long() 1929 *dest = 0.0; in zend_parse_arg_double() 1939 *dest = arg; in zend_parse_arg_number() 1980 (*dest && UNEXPECTED(CHECK_NULL_PATH(ZSTR_VAL(*dest), ZSTR_LEN(*dest))))) { in zend_parse_arg_path_str() 2006 *dest = arg; in zend_parse_arg_iterable() 2022 *dest = arg; in zend_parse_arg_array() 2081 *dest = arg; in zend_parse_arg_object() [all …]
|
/PHP-8.0/ext/standard/ |
H A D | uuencode.c | 69 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 …]
|
H A D | php_array.h | 26 PHPAPI int php_array_merge(HashTable *dest, HashTable *src); 27 PHPAPI int php_array_merge_recursive(HashTable *dest, HashTable *src); 28 PHPAPI int php_array_replace_recursive(HashTable *dest, HashTable *src);
|
/PHP-8.0/ext/gd/tests/ |
H A D | bug66005.phpt | 9 $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 D | bug24155.phpt | 12 $dest = dirname(realpath(__FILE__)) . '/bug24155.png'; 13 @unlink($dest); 18 imagepng($im, $dest); 20 $im2 = imagecreatefrompng($dest); 27 @unlink($dest);
|
H A D | bug27582_1.phpt | 9 $dest = dirname(realpath(__FILE__)) . '/bug27582.png'; 10 @unlink($dest); 17 imagepng($im, $dest); 19 $im2 = imagecreatefrompng($dest); 23 @unlink($dest);
|
H A D | bug36697-mb.phpt | 11 $dest = __DIR__ . "/36697私はガラスを食べられます.gif"; 19 imagegif($im, $dest); 21 $im = imagecreatefromgif($dest); 25 @unlink($dest);
|
H A D | bug36697.phpt | 11 $dest = __DIR__ . "/36697.gif"; 19 imagegif($im, $dest); 21 $im = imagecreatefromgif($dest); 25 @unlink($dest);
|
H A D | imagefilledpolygon_basic.phpt | 12 $dest = dirname(realpath(__FILE__)) . '/imagefilledpolygon.png'; 36 imagepng($image, $dest); 39 $image_in = imagecreatefrompng($dest); 60 $dest = dirname(realpath(__FILE__)) . '/imagefilledpolygon.png'; 61 @unlink($dest);
|
H A D | imagepolygon_basic.phpt | 12 $dest = dirname(realpath(__FILE__)) . '/imagepolygon.png'; 32 imagepng($image, $dest); 46 $dest = dirname(realpath(__FILE__)) . '/imagepolygon.png'; 47 @unlink($dest);
|
H A D | imagedashedline_basic.phpt | 12 $dest = dirname(realpath(__FILE__)) . '/imagedashedline.png'; 28 imagepng($image, $dest); 44 $dest = dirname(realpath(__FILE__)) . '/imagedashedline.png'; 45 @unlink($dest);
|
/PHP-8.0/ext/standard/tests/file/ |
H A D | stream_copy_to_stream.phpt | 13 $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 D | copy_variation8.phpt | 45 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 D | bug38086.phpt | 13 $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 D | copy_variation12.phpt | 18 $dest = $file_path."/copy_copy_variation12"; 20 var_dump( copy($src_dir, $dest) ); 22 var_dump( file_exists($dest) ); 25 var_dump( filesize($dest) );
|
H A D | copy_variation12-win32.phpt | 18 $dest = $file_path."/copy_copy_variation12"; 20 var_dump( copy($src_dir, $dest) ); 22 var_dump( file_exists($dest) );
|
/PHP-8.0/ext/zip/tests/ |
H A D | bug40228.phpt | 7 $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);
|
H A D | bug40228-mb.phpt | 7 $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);
|
/PHP-8.0/win32/build/ |
H A D | mkdist.php | 157 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")) { 394 function copy_dir($source, $dest) argument 396 if (!is_dir($dest)) { 397 if (!mkdir($dest)) { [all …]
|
/PHP-8.0/ext/pcre/pcre2lib/ |
H A D | pcre2_string_utils.c | 70 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.0/ext/bz2/ |
H A D | bz2.c | 480 zend_string_efree(dest); in PHP_FUNCTION() 485 ZSTR_LEN(dest) = dest_len; in PHP_FUNCTION() 486 ZSTR_VAL(dest)[ZSTR_LEN(dest)] = '\0'; in PHP_FUNCTION() local 487 RETURN_NEW_STR(dest); in PHP_FUNCTION() 496 zend_string *dest; in PHP_FUNCTION() local 524 bzs.next_out = ZSTR_VAL(dest); in PHP_FUNCTION() 536 dest = zend_string_safe_realloc(dest, 1, bzs.avail_out+1, (size_t) size, 0); in PHP_FUNCTION() 545 zend_string_efree(dest); in PHP_FUNCTION() 550 dest = zend_string_safe_realloc(dest, 1, (size_t)size, 1, 0); in PHP_FUNCTION() 553 RETVAL_STR(dest); in PHP_FUNCTION() [all …]
|
/PHP-8.0/ext/gd/libgd/ |
H A D | gd_jpeg.c | 767 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 …]
|
/PHP-8.0/ext/com_dotnet/ |
H A D | com_misc.c | 94 PHP_COM_DOTNET_API int php_com_safearray_get_elem(VARIANT *array, VARIANT *dest, LONG dim1) in php_com_safearray_get_elem() argument 129 VariantInit(dest); in php_com_safearray_get_elem() 134 SafeArrayGetElement(V_ARRAY(array), indices, dest); in php_com_safearray_get_elem() 136 V_VT(dest) = vt; in php_com_safearray_get_elem() 140 SafeArrayGetElement(V_ARRAY(array), indices, &dest->lVal); in php_com_safearray_get_elem()
|