/PHP-8.1/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) 81 char *ret = ZSTR_VAL(dest->s) + ZSTR_LEN(dest->s); in smart_str_extend_ex() 82 ZSTR_LEN(dest->s) = new_len; in smart_str_extend_ex() 119 ZSTR_LEN(dest->s) = new_len; in smart_str_appendc_ex() 124 memcpy(ZSTR_VAL(dest->s) + ZSTR_LEN(dest->s), str, len); in smart_str_appendl_ex() 125 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 | 1935 *dest = 1; in zend_parse_arg_bool() 1937 *dest = 0; in zend_parse_arg_bool() 1940 *dest = 0; in zend_parse_arg_bool() 1956 *dest = 0; in zend_parse_arg_long() 1972 *dest = 0.0; in zend_parse_arg_double() 1982 *dest = arg; in zend_parse_arg_number() 2023 (*dest && UNEXPECTED(CHECK_NULL_PATH(ZSTR_VAL(*dest), ZSTR_LEN(*dest))))) { in zend_parse_arg_path_str() 2049 *dest = arg; in zend_parse_arg_iterable() 2065 *dest = arg; in zend_parse_arg_array() 2124 *dest = arg; in zend_parse_arg_object() [all …]
|
H A D | zend_smart_str.c | 126 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.1/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.1/ext/gd/tests/ |
H A D | bug66005.phpt | 7 $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 D | bug27582_1.phpt | 7 $dest = dirname(realpath(__FILE__)) . '/bug27582.png'; 8 @unlink($dest); 15 imagepng($im, $dest); 17 $im2 = imagecreatefrompng($dest); 21 @unlink($dest);
|
H A D | bug24155.phpt | 11 $dest = dirname(realpath(__FILE__)) . '/bug24155.png'; 12 @unlink($dest); 17 imagepng($im, $dest); 19 $im2 = imagecreatefrompng($dest); 26 @unlink($dest);
|
H A D | bug36697-mb.phpt | 7 $dest = __DIR__ . "/36697私はガラスを食べられます.gif"; 15 imagegif($im, $dest); 17 $im = imagecreatefromgif($dest); 21 @unlink($dest);
|
H A D | bug36697.phpt | 7 $dest = __DIR__ . "/36697.gif"; 15 imagegif($im, $dest); 17 $im = imagecreatefromgif($dest); 21 @unlink($dest);
|
H A D | imagefilledpolygon_basic.phpt | 14 $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 D | imagepolygon_basic.phpt | 14 $dest = dirname(realpath(__FILE__)) . '/imagepolygon.png'; 34 imagepng($image, $dest); 48 $dest = dirname(realpath(__FILE__)) . '/imagepolygon.png'; 49 @unlink($dest);
|
H A D | imagedashedline_basic.phpt | 14 $dest = dirname(realpath(__FILE__)) . '/imagedashedline.png'; 30 imagepng($image, $dest); 46 $dest = dirname(realpath(__FILE__)) . '/imagedashedline.png'; 47 @unlink($dest);
|
/PHP-8.1/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) );
|
/PHP-8.1/ext/zip/tests/ |
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);
|
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);
|
/PHP-8.1/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.1/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.1/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.1/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.1/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()
|