Home
last modified time | relevance | path

Searched refs:tmp (Results 251 – 275 of 1152) sorted by relevance

1...<<11121314151617181920>>...47

/PHP-5.5/ext/standard/tests/file/
H A Drename_variation2.phpt21 $filename = $file_path."/rename_variation2.tmp";
26 $linkname = $file_path."/rename_variation_soft_link1.tmp";
30 $dest_linkname = $file_path."/rename_variation_soft_link2.tmp";
38 var_dump( rename($dest_linkname, $dest_dir."/rename_variation_soft_link2.tmp"));
42 var_dump( file_exists($dest_dir."/rename_variation_soft_link2.tmp") ); // expecting true
45 unlink($dest_dir."/rename_variation_soft_link2.tmp");
52 unlink($file_path."/rename_variation2.tmp");
H A Dlstat_stat_variation3.phpt24 $fp = fopen("$file_path/lstat_stat_variation3.tmp", "w"); // temp file
28 symlink("$file_path/lstat_stat_variation3.tmp", "$file_path/lstat_stat_variation_link3.tmp");
32 $old_linkname = "$file_path/lstat_stat_variation_link3.tmp";
33 $new_linkname = "$file_path/lstat_stat_variation_link3a.tmp";
53 unlink("$file_path/lstat_stat_variation3.tmp");
54 unlink("$file_path/lstat_stat_variation_link3a.tmp");
H A Drename_variation13.phpt20 $aFile = $file_path.'/afile.tmp';
67 Warning: rename(-1,%s/renameVar13/afile.tmp): No such file or directory in %s on line %d
72 Warning: rename(1,%s/renameVar13/afile.tmp): No such file or directory in %s on line %d
76 Warning: rename(%s/renameVar13/afile.tmp,): %s in %s on line %d
79 Warning: rename(,%s/renameVar13/afile.tmp): %s in %s on line %d
83 Warning: rename(%s/renameVar13/afile.tmp,): %s in %s on line %d
86 Warning: rename(,%s/renameVar13/afile.tmp): %s in %s on line %d
90 Warning: rename(%s/renameVar13/afile.tmp,): %s in %s on line %d
93 Warning: rename(,%s/renameVar13/afile.tmp): %s in %s on line %d
127 Warning: rename(%s/renameVar13/afile.tmp,php/php): %s directory in %s on line %d
[all …]
H A D005_variation.phpt54 stat_fn("$file_path/005_variation1.tmp");
59 stat_fn("$file_path/005_variation2.tmp");
64 stat_fn("$file_path/005_variation3.tmp");
67 unlink("$file_path/005_variation1.tmp");
68 unlink("$file_path/005_variation2.tmp");
69 unlink("$file_path/005_variation3.tmp");
72 $file_name = "$file_path/005_variation1.tmp";
114 $file_copy = "$file_path/005_variation_copy.tmp";
169 unlink($file_path."/005_variation1.tmp");
172 unlink($file_path."/005_variation_copy.tmp");
[all …]
H A Dfile_get_contents_error.phpt26 $file_handle = fopen($file_path."/file_put_contents_error.tmp", "w");
27 print( file_get_contents($file_path."/file1.tmp", false, $file_handle, 1, 2, "extra_argument") );
30 var_dump( file_get_contents($file_path."/file1.tmp", FALSE, $file_handle, 0, -5) );
34 unlink($file_path."/file_put_contents_error.tmp");
41 if(file_exists($file_path."/file_put_contents_error.tmp")) {
42 unlink($file_path."/file_put_contents_error.tmp");
44 if(file_exists($file_path."/file_put_contents1.tmp")) {
45 unlink($file_path."/file_put_contents1.tmp");
H A Dtempnam_variation5.phpt21 $h = fopen($dir_name."/tempnam_variation5.tmp", "w");
25 $created_file = tempnam("$dir_name", "tempnam_variation5.tmp");
38 unlink($dir_name."/tempnam_variation5.tmp");
46 File name is => %stempnam_variation5%etempnam_variation5.tmp%s
48 File name is => %stempnam_variation5%etempnam_variation5.tmp%s
50 File name is => %stempnam_variation5%etempnam_variation5.tmp%s
H A Dcopy_variation14.phpt16 $file = $file_path."/copy_variation14.tmp";
21 var_dump( copy($file_path."/nosuchfile.tmp", $file_path."/copy_nosuchfile.tmp") ); //With non-exis…
22 var_dump( file_exists($file_path."/copy_nosuchfile.tmp") );
25 var_dump( copy($file, $file_path."/nodir/copy_nosuchfile.tmp") ); //With non-existing dir path
26 var_dump( file_exists($file_path."/nodir/copy_nosuchfile.tmp") );
34 unlink(dirname(__FILE__)."/copy_variation14.tmp");
H A Drename_variation.phpt19 "$file_path/rename_variation/rename_variation.tmp",
22 "$file_path/rename_variation/rename_variation.tmp/",
25 "$file_path/rename_variation//rename_variation.tmp",
26 "$file_path//rename_variation//rename_variation.tmp",
29 /* loop through each $file and rename it to rename_variation2.tmp */
32 $fp = fopen("$file_path/rename_variation/rename_variation.tmp", "w");
34 $dest_filename = "$file_path/rename_variation2.tmp";
H A Dcopy_variation1.phpt16 $src_file_name = $file_path."/copy_variation1.tmp";
25 "copy.tmp", //regular file name
26 "copy_copy_variation1.tmp",
27 ".tmp", //file name only with extension
75 unlink(dirname(__FILE__)."/copy_variation1.tmp");
86 Destination file name => %s/copy.tmp
93 Destination file name => %s/copy_copy_variation1.tmp
100 Destination file name => %s/.tmp
107 Destination file name => %s/123.tmp
128 Destination file name => %s/123copy_variation1.tmp
[all …]
/PHP-5.5/ext/gd/libgd/
H A Dgd_transform.c37 int *px1, *px2, tmp; in gdImageFlipHorizontal() local
43 tmp = *px1; in gdImageFlipHorizontal()
45 *px2 = tmp; in gdImageFlipHorizontal()
51 unsigned char *px1, *px2, tmp; in gdImageFlipHorizontal() local
57 tmp = *px1; in gdImageFlipHorizontal()
59 *px2 = tmp; in gdImageFlipHorizontal()
/PHP-5.5/ext/mysql/tests/
H A Dmysql_select_db.phpt12 $tmp = NULL;
15 if (false !== ($tmp = @mysql_select_db($link)))
16 printf("[001] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
22 if (!is_null($tmp = @mysql_select_db($db, $link, "foo")))
23 printf("[003] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
63 if (false !== ($tmp = mysql_select_db($db, $link)))
64 printf("[012] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
H A Dmysql_fetch_assoc.phpt12 $tmp = NULL;
17 if (!is_null($tmp = @mysql_fetch_assoc()))
18 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
20 if (NULL !== ($tmp = @mysql_fetch_assoc($link)))
21 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
44 if (false !== ($tmp = mysql_fetch_assoc($res)))
45 printf("[008] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
/PHP-5.5/ext/mysqli/tests/
H A Dmysqli_debug_ini.phpt22 if (!$fp = @fopen('/tmp/mysqli_debug_phpt.trace', 'w'))
23 die("skip PHP cannot create a file in /tmp/mysqli_debug_phpt");
26 @unlink("/tmp/mysqli_debug_phpt.trace");
29 mysqlnd.debug="t:O,/tmp/mysqli_debug_phpt.trace"
37 $trace_file = '/tmp/mysqli_debug_phpt.trace';
52 string(32) "t:O,/tmp/mysqli_debug_phpt.trace"
H A Dmysqli_stmt_send_long_data_packet_size_mysqlnd.phpt46 $tmp = '';
48 $tmp = str_repeat('a', 1024);
51 $blob = str_repeat($tmp, $limit);
55 if (true !== ($tmp = mysqli_stmt_send_long_data($stmt, 1, $blob)))
57 gettype($tmp), $tmp, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
83 if (false !== ($tmp = mysqli_stmt_send_long_data($stmt, 1, $blob2)))
85 gettype($tmp), $tmp, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
88 if (false !== ($tmp = mysqli_stmt_execute($stmt)))
90 gettype($tmp), $tmp, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
H A Dmysqli_stmt_bind_result.phpt15 $tmp = NULL;
19 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
22 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
31 printf("[002b] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
41 printf("[003] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
47 printf("[005] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
50 printf("[006] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp);
53 printf("[007] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
215 $tmp = strval('99999999.99');
240 $tmp = intval(@date('Y'));
[all …]
H A Dmysqli_class_mysqli_result_interface.phpt82 assert(($tmp = mysqli_field_tell($res)) === $mysqli_result->current_field);
85 $tmp, gettype($tmp));
87 assert(($tmp = mysqli_field_count($link)) === $mysqli_result->field_count);
90 $tmp, gettype($tmp));
92 assert(($tmp = mysqli_fetch_lengths($res)) === $mysqli_result->lengths);
96 ((is_array($tmp)) ? implode(' ', $tmp) : 'n/a'),
97 gettype($tmp));
99 assert(($tmp = mysqli_num_rows($res)) === $mysqli_result->num_rows);
102 $tmp, gettype($tmp));
116 if (null !== ($tmp = @$res->num_rows))
[all …]
H A Dmysqli_select_db.phpt14 $tmp = NULL;
17 if (!is_null($tmp = @mysqli_select_db()))
18 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
20 if (!is_null($tmp = @mysqli_select_db($link)))
21 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
27 if (!is_null($tmp = @mysqli_select_db($link, $db, "foo")))
28 printf("[004] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
103 if (NULL !== ($tmp = mysqli_select_db($link, $db)))
104 printf("[017] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
H A Dmysqli_fetch_fields.phpt13 $tmp = NULL;
17 if (!is_null($tmp = @mysqli_fetch_fields()))
18 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
20 if (!is_null($tmp = @mysqli_fetch_fields($link)))
21 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
58 if (NULL !== ($tmp = mysqli_fetch_fields($res)))
59 printf("[004] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
H A Dmysqli_thread_safe.phpt10 if (!is_bool($tmp = mysqli_thread_safe()))
11 printf("[001] Expecting boolean/any, got %s/%s.\n", gettype($tmp), $tmp);
/PHP-5.5/sapi/apache_hooks/
H A Dsapi_apache.c67 char *tmp; in apache_php_module_hook() local
93 if( (tmp = strstr(handler->name, "::")) != NULL && *(tmp+2) != '\0' ) { in apache_php_module_hook()
96 *tmp = '\0'; in apache_php_module_hook()
100 ZVAL_STRING(method, tmp +2, 1); in apache_php_module_hook()
101 *tmp = ':'; in apache_php_module_hook()
/PHP-5.5/Zend/
H A Dzend_llist.c41 tmp->prev = l->tail; in zend_llist_add_element()
42 tmp->next = NULL; in zend_llist_add_element()
44 l->tail->next = tmp; in zend_llist_add_element()
46 l->head = tmp; in zend_llist_add_element()
48 l->tail = tmp; in zend_llist_add_element()
49 memcpy(tmp->data, element, l->size); in zend_llist_add_element()
59 tmp->next = l->head; in zend_llist_prepend_element()
60 tmp->prev = NULL; in zend_llist_prepend_element()
62 l->head->prev = tmp; in zend_llist_prepend_element()
64 l->tail = tmp; in zend_llist_prepend_element()
[all …]
/PHP-5.5/ext/com_dotnet/
H A Dcom_wrapper.c180 zval **tmp; in disp_getidsofnames() local
224 zval **tmp; in disp_getdispid() local
234 *pid = Z_LVAL_PP(tmp); in disp_getdispid()
455 zval *tmp; in generate_dispids() local
487 MAKE_STD_ZVAL(tmp); in generate_dispids()
492 MAKE_STD_ZVAL(tmp); in generate_dispids()
493 ZVAL_LONG(tmp, pid); in generate_dispids()
519 MAKE_STD_ZVAL(tmp); in generate_dispids()
524 MAKE_STD_ZVAL(tmp); in generate_dispids()
587 zval *tmp, **ntmp; in php_com_wrapper_export_as_sink() local
[all …]
/PHP-5.5/ext/phar/tests/tar/files/
H A Dtarmaker.php.inc16 protected $tmp;
110 fwrite($this->tmp, (binary)$block . $checksum . $blockend, 512);
112 stream_copy_to_stream($fileOrStream, $this->tmp);
114 fwrite($this->tmp, (binary)str_repeat("\0", 512 - $stat['size'] % 512));
117 fwrite($this->tmp, (binary)$fileOrStream);
119 fwrite($this->tmp, (binary)str_repeat("\0", 512 - strlen($fileOrStream) % 512));
131 $this->tmp = gzopen($this->path, 'wb');
134 $this->tmp = bzopen($this->path, 'w');
137 $this->tmp = fopen($this->path, 'wb');
166 fwrite($this->tmp, pack('a1024', ''));
[all …]
/PHP-5.5/ext/standard/
H A Dhttp_fopen_wrapper.c118 char *tmp = NULL; in php_stream_url_wrap_http_ex() local
422 tmp = NULL; in php_stream_url_wrap_http_ex()
449 if (tmp && strlen(tmp) > 0) { in php_stream_url_wrap_http_ex()
452 user_headers = estrdup(tmp); in php_stream_url_wrap_http_ex()
455 php_strtolower(tmp, strlen(tmp)); in php_stream_url_wrap_http_ex()
503 if (s == tmp) { in php_stream_url_wrap_http_ex()
511 memmove(user_headers + (s - tmp), user_headers + (p - tmp), strlen(p) + 1); in php_stream_url_wrap_http_ex()
516 if (tmp) { in php_stream_url_wrap_http_ex()
517 efree(tmp); in php_stream_url_wrap_http_ex()
543 efree(tmp); in php_stream_url_wrap_http_ex()
[all …]
/PHP-5.5/ext/standard/tests/dir/
H A Dreaddir_basic.phpt62 string(9) "file1.tmp"
63 string(9) "file2.tmp"
64 string(9) "file3.tmp"
70 string(9) "file1.tmp"
71 string(9) "file2.tmp"
72 string(9) "file3.tmp"

Completed in 51 milliseconds

1...<<11121314151617181920>>...47