/PHP-5.3/ext/standard/ |
H A D | php_smart_str.h | 78 #define smart_str_appends(dest, src) \ argument 81 #define smart_str_appendc(dest, c) \ argument 82 smart_str_appendc_ex((dest), (c), 0) 87 #define smart_str_append(dest, src) \ argument 88 smart_str_append_ex((dest), (src), 0) 99 (dest)->len = __nl; \ 100 ((unsigned char *) (dest)->c)[(dest)->len - 1] = (ch); \ 187 (dest)->len = (nlen); \ 188 (dest)->a = (nlen) + 1; \ 189 (dest)->c = (char *) (src); \ [all …]
|
H A D | uuencode.c | 68 PHPAPI int php_uuencode(char *src, int src_len, char **dest) /* {{{ */ in php_uuencode() argument 74 p = *dest = safe_emalloc((size_t) ceil(src_len * 1.38), 1, 46); in php_uuencode() 123 return (p - *dest); in php_uuencode() 127 PHPAPI int php_uudecode(char *src, int src_len, char **dest) /* {{{ */ in php_uudecode() argument 132 p = *dest = safe_emalloc((size_t) ceil(src_len * 0.75), 1, 1); in php_uudecode() 171 if ((len = total_len > (p - *dest))) { in php_uudecode() 181 *(*dest + total_len) = '\0'; in php_uudecode() 186 efree(*dest); in php_uudecode()
|
H A D | php_uuencode.h | 27 PHPAPI int php_uudecode(char *src, int src_len, char **dest); 28 PHPAPI int php_uuencode(char *src, int src_len, char **dest);
|
/PHP-5.3/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 | 10 /* 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 D | copy_variation12.phpt | 11 /* Prototype: bool copy ( string $source, string $dest ); 12 Description: Makes a copy of the file source to dest. 24 $dest = $file_path."/copy_copy_variation12"; 26 var_dump( copy($src_dir, $dest) ); 28 var_dump( file_exists($dest) ); 31 var_dump( filesize($dest) );
|
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-win32.phpt | 10 /* 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 D | copy_variation16-win32.phpt | 10 /* 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");
|
H A D | copy_variation6-win32.phpt | 10 /* 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 D | copy_variation16.phpt | 10 /* 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) ); 63 print($dest); 67 var_dump( filesize($dest) ); 70 unlink("$dest");
|
H A D | copy_variation6.phpt | 10 /* 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) ); 58 print($dest); 66 var_dump( filesize($dest) ); 69 unlink("$dest");
|
/PHP-5.3/ext/zip/tests/ |
H A D | bug40228.phpt | 7 $dest = dirname(__FILE__); 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-5.3/ext/gd/tests/ |
H A D | bug22544.phpt | 11 $dest = dirname(realpath(__FILE__)) . '/bug22544.png'; 12 @unlink($dest); 18 imagePng($image, $dest); 19 echo md5_file($dest) . "\n"; 20 @unlink($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 | 10 $dest = dirname(realpath(__FILE__)) . '/bug27582.png'; 11 @unlink($dest); 18 imagepng($im, $dest); 20 $im2 = imagecreatefrompng($dest); 24 @unlink($dest);
|
H A D | bug36697.phpt | 11 $dest = dirname(__FILE__) . "/36697.gif"; 19 imagegif($im, $dest); 21 $im = imagecreatefromgif($dest); 25 @unlink($dest);
|
H A D | imagefilledpolygon_basic.phpt | 19 $dest = dirname(realpath(__FILE__)) . '/imagefilledpolygon.png'; 43 imagepng($image, $dest); 46 $image_in = imagecreatefrompng($dest); 67 $dest = dirname(realpath(__FILE__)) . '/imagefilledpolygon.png'; 68 @unlink($dest);
|
H A D | imagepolygon_basic.phpt | 20 $dest = dirname(realpath(__FILE__)) . '/imagepolygon.png'; 41 imagepng($image, $dest); 55 $dest = dirname(realpath(__FILE__)) . '/imagepolygon.png'; 56 @unlink($dest);
|
H A D | imagedashedline_basic.phpt | 21 $dest = dirname(realpath(__FILE__)) . '/imagedashedline.png'; 37 imagepng($image, $dest); 53 $dest = dirname(realpath(__FILE__)) . '/imagedashedline.png'; 54 @unlink($dest);
|
/PHP-5.3/win32/build/ |
H A D | mkdist.php | 141 function copy_text_file($source, $dest) argument 145 $fp = fopen($dest, "w"); 193 $dest = fopen($destfilename, 'wb'); 195 fclose($dest); 255 copy($src, $dist_dir . '/' . $dest); 353 function copy_dir($source, $dest) argument 355 if (!is_dir($dest)) { 356 if (!mkdir($dest)) { 367 $fd = $dest . '/' . $f; 386 if (!is_dir($dest . '/tests')) { [all …]
|
/PHP-5.3/ext/gd/libgd/ |
H A D | gd_jpeg.c | 735 my_dest_ptr dest = (my_dest_ptr) cinfo->dest; in init_destination() local 740 dest->pub.next_output_byte = dest->buffer; in init_destination() 741 dest->pub.free_in_buffer = OUTPUT_BUF_SIZE; in init_destination() 770 my_dest_ptr dest = (my_dest_ptr) cinfo->dest; in empty_output_buffer() local 772 if (gdPutBuf (dest->buffer, OUTPUT_BUF_SIZE, dest->outfile) != (size_t) OUTPUT_BUF_SIZE) { in empty_output_buffer() 776 dest->pub.next_output_byte = dest->buffer; in empty_output_buffer() 794 my_dest_ptr dest = (my_dest_ptr) cinfo->dest; in term_destination() local 798 if (datacount > 0 && ((size_t)gdPutBuf (dest->buffer, datacount, dest->outfile) != datacount)) { in term_destination() 812 my_dest_ptr dest; in jpeg_gdIOCtx_dest() local 824 dest = (my_dest_ptr) cinfo->dest; in jpeg_gdIOCtx_dest() [all …]
|
/PHP-5.3/ext/bz2/ |
H A D | bz2.c | 513 dest = emalloc(dest_len + 1); in PHP_FUNCTION() 526 efree(dest); in PHP_FUNCTION() 531 dest = erealloc(dest, dest_len + 1); in PHP_FUNCTION() 532 dest[dest_len] = 0; in PHP_FUNCTION() 533 RETURN_STRINGL(dest, dest_len, 0); in PHP_FUNCTION() 542 char *source, *dest; in PHP_FUNCTION() local 574 dest = safe_erealloc(dest, 1, bzs.avail_out+1, (size_t) size ); in PHP_FUNCTION() 575 bzs.next_out = dest + size; in PHP_FUNCTION() 580 dest = safe_erealloc(dest, 1, (size_t) size, 1); in PHP_FUNCTION() 581 dest[size] = '\0'; in PHP_FUNCTION() [all …]
|
/PHP-5.3/ext/mbstring/libmbfl/mbfl/ |
H A D | mbfl_memory_device.c | 276 mbfl_memory_device_devcat(mbfl_memory_device *dest, mbfl_memory_device *src) in mbfl_memory_device_devcat() argument 281 if ((dest->pos + src->pos) >= dest->length) { in mbfl_memory_device_devcat() 283 int newlen = dest->length + src->pos + MBFL_MEMORY_DEVICE_ALLOC_SIZE; in mbfl_memory_device_devcat() 284 …unsigned char *tmp = (unsigned char *)mbfl_realloc((void *)dest->buffer, newlen*sizeof(unsigned ch… in mbfl_memory_device_devcat() 288 dest->length = newlen; in mbfl_memory_device_devcat() 289 dest->buffer = tmp; in mbfl_memory_device_devcat() 293 w = &dest->buffer[dest->pos]; in mbfl_memory_device_devcat() 295 dest->pos += n; in mbfl_memory_device_devcat()
|
/PHP-5.3/ext/com_dotnet/ |
H A D | com_misc.c | 95 PHP_COM_DOTNET_API int php_com_safearray_get_elem(VARIANT *array, VARIANT *dest, LONG dim1 TSRMLS_D… 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()
|