Home
last modified time | relevance | path

Searched refs:fopen (Results 51 – 75 of 23794) sorted by relevance

12345678910>>...952

/dports/www/mod_php73/php-7.3.33/ext/standard/tests/file/
H A Dfopen_variation4.phpt2 Test fopen() function : usage variation different datatypes for stream context
13 echo "*** Testing fopen() : usage variation ***\n";
28 $fileresource = fopen($filename, $mode);
115 $h = fopen($filename, $mode, false, $value);
130 *** Testing fopen() : usage variation ***
133 Error: 2 - fopen() expects parameter 4 to be resource, int given, %s(%d)
137 Error: 2 - fopen() expects parameter 4 to be resource, int given, %s(%d)
141 Error: 2 - fopen() expects parameter 4 to be resource, int given, %s(%d)
145 Error: 2 - fopen() expects parameter 4 to be resource, int given, %s(%d)
191 Error: 2 - fopen() expects parameter 4 to be resource, bool given, %s(%d)
[all …]
/dports/devel/llvm70/llvm-7.0.1.src/tools/clang/test/Analysis/
H A Dsimple-stream-checks.c6 FILE *F = fopen("myfile.txt", "w"); in checkDoubleFClose()
18 FILE *F = fopen("myfile.txt", "w"); in checkLeak()
30 FILE *F = fopen("myfile.txt", "w"); in checkLeakFollowedByAssert()
40 FILE *F = fopen("myfile.txt", "w"); in CloseOnlyOnValidFileHandle()
47 FILE *F = fopen("myfile.txt", "w"); in leakOnEnfOfPath1()
51 FILE *F = fopen("myfile.txt", "w"); in leakOnEnfOfPath2()
56 FILE *F = fopen("myfile.txt", "w"); in leakOnEnfOfPath3()
62 FILE *F = fopen("myfile.txt", "w"); in SymbolEscapedThroughFunctionCall()
69 FILE *F = fopen("myfile.txt", "w"); in SymbolEscapedThroughAssignmentToGlobal()
75 FILE *F = fopen("myfile.txt", "w"); in SymbolDoesNotEscapeThoughStringAPIs()
[all …]
/dports/lang/php73/php-7.3.33/ext/bz2/tests/
H A D002.phpt10 $fp = fopen("bz_open_002.txt", "w");
13 $fp = fopen("bz_open_002.txt", "r");
17 $fp = fopen("bz_open_002.txt", "x");
21 $fp = fopen("bz_open_002.txt", "x");
24 $fp = fopen("bz_open_002.txt", "rb");
27 $fp = fopen("bz_open_002.txt", "wb");
30 $fp = fopen("bz_open_002.txt", "br");
33 $fp = fopen("bz_open_002.txt", "br");
36 $fp = fopen("bz_open_002.txt", "r");
39 $fp = fopen("bz_open_002.txt", "w");
[all …]
/dports/archivers/php80-bz2/php-8.0.15/ext/bz2/tests/
H A D002.phpt10 $fp = fopen("bz_open_002.txt", "w");
13 $fp = fopen("bz_open_002.txt", "r");
17 $fp = fopen("bz_open_002.txt", "x");
21 $fp = fopen("bz_open_002.txt", "x");
24 $fp = fopen("bz_open_002.txt", "rb");
27 $fp = fopen("bz_open_002.txt", "wb");
30 $fp = fopen("bz_open_002.txt", "br");
37 $fp = fopen("bz_open_002.txt", "br");
44 $fp = fopen("bz_open_002.txt", "r");
47 $fp = fopen("bz_open_002.txt", "w");
[all …]
/dports/archivers/php81-bz2/php-8.1.1/ext/bz2/tests/
H A D002.phpt10 $fp = fopen("bz_open_002.txt", "w");
13 $fp = fopen("bz_open_002.txt", "r");
17 $fp = fopen("bz_open_002.txt", "x");
21 $fp = fopen("bz_open_002.txt", "x");
24 $fp = fopen("bz_open_002.txt", "rb");
27 $fp = fopen("bz_open_002.txt", "wb");
30 $fp = fopen("bz_open_002.txt", "br");
37 $fp = fopen("bz_open_002.txt", "br");
44 $fp = fopen("bz_open_002.txt", "r");
47 $fp = fopen("bz_open_002.txt", "w");
[all …]
/dports/archivers/php74-bz2/php-7.4.27/ext/bz2/tests/
H A D002.phpt10 $fp = fopen("bz_open_002.txt", "w");
13 $fp = fopen("bz_open_002.txt", "r");
17 $fp = fopen("bz_open_002.txt", "x");
21 $fp = fopen("bz_open_002.txt", "x");
24 $fp = fopen("bz_open_002.txt", "rb");
27 $fp = fopen("bz_open_002.txt", "wb");
30 $fp = fopen("bz_open_002.txt", "br");
33 $fp = fopen("bz_open_002.txt", "br");
36 $fp = fopen("bz_open_002.txt", "r");
39 $fp = fopen("bz_open_002.txt", "w");
[all …]
/dports/archivers/php73-bz2/php-7.3.33/ext/bz2/tests/
H A D002.phpt10 $fp = fopen("bz_open_002.txt", "w");
13 $fp = fopen("bz_open_002.txt", "r");
17 $fp = fopen("bz_open_002.txt", "x");
21 $fp = fopen("bz_open_002.txt", "x");
24 $fp = fopen("bz_open_002.txt", "rb");
27 $fp = fopen("bz_open_002.txt", "wb");
30 $fp = fopen("bz_open_002.txt", "br");
33 $fp = fopen("bz_open_002.txt", "br");
36 $fp = fopen("bz_open_002.txt", "r");
39 $fp = fopen("bz_open_002.txt", "w");
[all …]
/dports/www/mod_php81/php-8.1.1/ext/bz2/tests/
H A D002.phpt10 $fp = fopen("bz_open_002.txt", "w");
13 $fp = fopen("bz_open_002.txt", "r");
17 $fp = fopen("bz_open_002.txt", "x");
21 $fp = fopen("bz_open_002.txt", "x");
24 $fp = fopen("bz_open_002.txt", "rb");
27 $fp = fopen("bz_open_002.txt", "wb");
30 $fp = fopen("bz_open_002.txt", "br");
37 $fp = fopen("bz_open_002.txt", "br");
44 $fp = fopen("bz_open_002.txt", "r");
47 $fp = fopen("bz_open_002.txt", "w");
[all …]
/dports/www/mod_php74/php-7.4.27/ext/bz2/tests/
H A D002.phpt10 $fp = fopen("bz_open_002.txt", "w");
13 $fp = fopen("bz_open_002.txt", "r");
17 $fp = fopen("bz_open_002.txt", "x");
21 $fp = fopen("bz_open_002.txt", "x");
24 $fp = fopen("bz_open_002.txt", "rb");
27 $fp = fopen("bz_open_002.txt", "wb");
30 $fp = fopen("bz_open_002.txt", "br");
33 $fp = fopen("bz_open_002.txt", "br");
36 $fp = fopen("bz_open_002.txt", "r");
39 $fp = fopen("bz_open_002.txt", "w");
[all …]
/dports/lang/php81/php-8.1.1/ext/bz2/tests/
H A D002.phpt10 $fp = fopen("bz_open_002.txt", "w");
13 $fp = fopen("bz_open_002.txt", "r");
17 $fp = fopen("bz_open_002.txt", "x");
21 $fp = fopen("bz_open_002.txt", "x");
24 $fp = fopen("bz_open_002.txt", "rb");
27 $fp = fopen("bz_open_002.txt", "wb");
30 $fp = fopen("bz_open_002.txt", "br");
37 $fp = fopen("bz_open_002.txt", "br");
44 $fp = fopen("bz_open_002.txt", "r");
47 $fp = fopen("bz_open_002.txt", "w");
[all …]
/dports/lang/php80/php-8.0.15/ext/bz2/tests/
H A D002.phpt10 $fp = fopen("bz_open_002.txt", "w");
13 $fp = fopen("bz_open_002.txt", "r");
17 $fp = fopen("bz_open_002.txt", "x");
21 $fp = fopen("bz_open_002.txt", "x");
24 $fp = fopen("bz_open_002.txt", "rb");
27 $fp = fopen("bz_open_002.txt", "wb");
30 $fp = fopen("bz_open_002.txt", "br");
37 $fp = fopen("bz_open_002.txt", "br");
44 $fp = fopen("bz_open_002.txt", "r");
47 $fp = fopen("bz_open_002.txt", "w");
[all …]
/dports/lang/php74/php-7.4.27/ext/bz2/tests/
H A D002.phpt10 $fp = fopen("bz_open_002.txt", "w");
13 $fp = fopen("bz_open_002.txt", "r");
17 $fp = fopen("bz_open_002.txt", "x");
21 $fp = fopen("bz_open_002.txt", "x");
24 $fp = fopen("bz_open_002.txt", "rb");
27 $fp = fopen("bz_open_002.txt", "wb");
30 $fp = fopen("bz_open_002.txt", "br");
33 $fp = fopen("bz_open_002.txt", "br");
36 $fp = fopen("bz_open_002.txt", "r");
39 $fp = fopen("bz_open_002.txt", "w");
[all …]
/dports/www/mod_php73/php-7.3.33/ext/bz2/tests/
H A D002.phpt10 $fp = fopen("bz_open_002.txt", "w");
13 $fp = fopen("bz_open_002.txt", "r");
17 $fp = fopen("bz_open_002.txt", "x");
21 $fp = fopen("bz_open_002.txt", "x");
24 $fp = fopen("bz_open_002.txt", "rb");
27 $fp = fopen("bz_open_002.txt", "wb");
30 $fp = fopen("bz_open_002.txt", "br");
33 $fp = fopen("bz_open_002.txt", "br");
36 $fp = fopen("bz_open_002.txt", "r");
39 $fp = fopen("bz_open_002.txt", "w");
[all …]
/dports/www/mod_php80/php-8.0.15/ext/bz2/tests/
H A D002.phpt10 $fp = fopen("bz_open_002.txt", "w");
13 $fp = fopen("bz_open_002.txt", "r");
17 $fp = fopen("bz_open_002.txt", "x");
21 $fp = fopen("bz_open_002.txt", "x");
24 $fp = fopen("bz_open_002.txt", "rb");
27 $fp = fopen("bz_open_002.txt", "wb");
30 $fp = fopen("bz_open_002.txt", "br");
37 $fp = fopen("bz_open_002.txt", "br");
44 $fp = fopen("bz_open_002.txt", "r");
47 $fp = fopen("bz_open_002.txt", "w");
[all …]
/dports/lang/php81/php-8.1.1/tests/output/
H A Dsapi_windows_vt100_support.inc30 'STDIN (fopen)' => fopen('php://stdin', 'rb'),
31 'STDIN (php://fd/0)' => fopen('php://fd/0', 'rb'),
33 'STDOUT (fopen)' => fopen('php://stdout', 'wb'),
34 'STDOUT (php://fd/1)' => fopen('php://fd/1', 'wb'),
36 'STDERR (fopen)' => fopen('php://stderr', 'wb'),
37 'STDERR (php://fd/2)' => fopen('php://fd/2', 'wb'),
38 'Invalid stream (php://temp)' => fopen('php://temp', 'wb'),
39 'Invalid stream (php://input)' => fopen('php://input', 'wb'),
40 'Invalid stream (php://memory)' => fopen('php://memory', 'wb'),
41 'File stream' => $closeMe = fopen(__FILE__, 'rb'),
/dports/www/mod_php81/php-8.1.1/tests/output/
H A Dsapi_windows_vt100_support.inc30 'STDIN (fopen)' => fopen('php://stdin', 'rb'),
31 'STDIN (php://fd/0)' => fopen('php://fd/0', 'rb'),
33 'STDOUT (fopen)' => fopen('php://stdout', 'wb'),
34 'STDOUT (php://fd/1)' => fopen('php://fd/1', 'wb'),
36 'STDERR (fopen)' => fopen('php://stderr', 'wb'),
37 'STDERR (php://fd/2)' => fopen('php://fd/2', 'wb'),
38 'Invalid stream (php://temp)' => fopen('php://temp', 'wb'),
39 'Invalid stream (php://input)' => fopen('php://input', 'wb'),
40 'Invalid stream (php://memory)' => fopen('php://memory', 'wb'),
41 'File stream' => $closeMe = fopen(__FILE__, 'rb'),
/dports/www/mod_php80/php-8.0.15/tests/output/
H A Dsapi_windows_vt100_support.inc30 'STDIN (fopen)' => fopen('php://stdin', 'rb'),
31 'STDIN (php://fd/0)' => fopen('php://fd/0', 'rb'),
33 'STDOUT (fopen)' => fopen('php://stdout', 'wb'),
34 'STDOUT (php://fd/1)' => fopen('php://fd/1', 'wb'),
36 'STDERR (fopen)' => fopen('php://stderr', 'wb'),
37 'STDERR (php://fd/2)' => fopen('php://fd/2', 'wb'),
38 'Invalid stream (php://temp)' => fopen('php://temp', 'wb'),
39 'Invalid stream (php://input)' => fopen('php://input', 'wb'),
40 'Invalid stream (php://memory)' => fopen('php://memory', 'wb'),
41 'File stream' => $closeMe = fopen(__FILE__, 'rb'),
/dports/lang/php80/php-8.0.15/tests/output/
H A Dsapi_windows_vt100_support.inc30 'STDIN (fopen)' => fopen('php://stdin', 'rb'),
31 'STDIN (php://fd/0)' => fopen('php://fd/0', 'rb'),
33 'STDOUT (fopen)' => fopen('php://stdout', 'wb'),
34 'STDOUT (php://fd/1)' => fopen('php://fd/1', 'wb'),
36 'STDERR (fopen)' => fopen('php://stderr', 'wb'),
37 'STDERR (php://fd/2)' => fopen('php://fd/2', 'wb'),
38 'Invalid stream (php://temp)' => fopen('php://temp', 'wb'),
39 'Invalid stream (php://input)' => fopen('php://input', 'wb'),
40 'Invalid stream (php://memory)' => fopen('php://memory', 'wb'),
41 'File stream' => $closeMe = fopen(__FILE__, 'rb'),
/dports/lang/php73/php-7.3.33/tests/output/
H A Dsapi_windows_vt100_support.inc30 'STDIN (fopen)' => fopen('php://stdin', 'rb'),
31 'STDIN (php://fd/0)' => fopen('php://fd/0', 'rb'),
33 'STDOUT (fopen)' => fopen('php://stdout', 'wb'),
34 'STDOUT (php://fd/1)' => fopen('php://fd/1', 'wb'),
36 'STDERR (fopen)' => fopen('php://stderr', 'wb'),
37 'STDERR (php://fd/2)' => fopen('php://fd/2', 'wb'),
39 'Invalid stream (php://temp)' => fopen('php://temp', 'wb'),
40 'Invalid stream (php://input)' => fopen('php://input', 'wb'),
41 'Invalid stream (php://memory)' => fopen('php://memory', 'wb'),
42 'File stream' => $closeMe = fopen(__FILE__, 'rb'),
/dports/lang/php74/php-7.4.27/tests/output/
H A Dsapi_windows_vt100_support.inc30 'STDIN (fopen)' => fopen('php://stdin', 'rb'),
31 'STDIN (php://fd/0)' => fopen('php://fd/0', 'rb'),
33 'STDOUT (fopen)' => fopen('php://stdout', 'wb'),
34 'STDOUT (php://fd/1)' => fopen('php://fd/1', 'wb'),
36 'STDERR (fopen)' => fopen('php://stderr', 'wb'),
37 'STDERR (php://fd/2)' => fopen('php://fd/2', 'wb'),
39 'Invalid stream (php://temp)' => fopen('php://temp', 'wb'),
40 'Invalid stream (php://input)' => fopen('php://input', 'wb'),
41 'Invalid stream (php://memory)' => fopen('php://memory', 'wb'),
42 'File stream' => $closeMe = fopen(__FILE__, 'rb'),
/dports/www/mod_php73/php-7.3.33/tests/output/
H A Dsapi_windows_vt100_support.inc30 'STDIN (fopen)' => fopen('php://stdin', 'rb'),
31 'STDIN (php://fd/0)' => fopen('php://fd/0', 'rb'),
33 'STDOUT (fopen)' => fopen('php://stdout', 'wb'),
34 'STDOUT (php://fd/1)' => fopen('php://fd/1', 'wb'),
36 'STDERR (fopen)' => fopen('php://stderr', 'wb'),
37 'STDERR (php://fd/2)' => fopen('php://fd/2', 'wb'),
39 'Invalid stream (php://temp)' => fopen('php://temp', 'wb'),
40 'Invalid stream (php://input)' => fopen('php://input', 'wb'),
41 'Invalid stream (php://memory)' => fopen('php://memory', 'wb'),
42 'File stream' => $closeMe = fopen(__FILE__, 'rb'),
/dports/www/mod_php74/php-7.4.27/tests/output/
H A Dsapi_windows_vt100_support.inc30 'STDIN (fopen)' => fopen('php://stdin', 'rb'),
31 'STDIN (php://fd/0)' => fopen('php://fd/0', 'rb'),
33 'STDOUT (fopen)' => fopen('php://stdout', 'wb'),
34 'STDOUT (php://fd/1)' => fopen('php://fd/1', 'wb'),
36 'STDERR (fopen)' => fopen('php://stderr', 'wb'),
37 'STDERR (php://fd/2)' => fopen('php://fd/2', 'wb'),
39 'Invalid stream (php://temp)' => fopen('php://temp', 'wb'),
40 'Invalid stream (php://input)' => fopen('php://input', 'wb'),
41 'Invalid stream (php://memory)' => fopen('php://memory', 'wb'),
42 'File stream' => $closeMe = fopen(__FILE__, 'rb'),
/dports/security/libgsasl/gsasl-1.10.0/gltests/
H A Dtest-fopen.h37 ASSERT (fopen (BASE "file", "r") == NULL); in test_fopen()
41 f = fopen (BASE "file", "w"); in test_fopen()
47 ASSERT (fopen (BASE "file/", "r") == NULL); in test_fopen()
51 ASSERT (fopen (BASE "file/", "r+") == NULL); in test_fopen()
56 ASSERT (fopen ("nonexist.ent/", "w") == NULL); in test_fopen()
62 ASSERT (fopen (".", "w") == NULL); in test_fopen()
66 ASSERT (fopen ("./", "w") == NULL); in test_fopen()
70 ASSERT (fopen (".", "r+") == NULL); in test_fopen()
74 ASSERT (fopen ("./", "r+") == NULL); in test_fopen()
78 f = fopen ("/dev/null", "r"); in test_fopen()
[all …]
/dports/devel/gettext-tools/gettext-0.21/gettext-tools/gnulib-tests/
H A Dtest-fopen.h37 ASSERT (fopen (BASE "file", "r") == NULL); in test_fopen()
41 f = fopen (BASE "file", "w"); in test_fopen()
47 ASSERT (fopen (BASE "file/", "r") == NULL); in test_fopen()
51 ASSERT (fopen (BASE "file/", "r+") == NULL); in test_fopen()
56 ASSERT (fopen ("nonexist.ent/", "w") == NULL); in test_fopen()
62 ASSERT (fopen (".", "w") == NULL); in test_fopen()
66 ASSERT (fopen ("./", "w") == NULL); in test_fopen()
70 ASSERT (fopen (".", "r+") == NULL); in test_fopen()
74 ASSERT (fopen ("./", "r+") == NULL); in test_fopen()
78 f = fopen ("/dev/null", "r"); in test_fopen()
[all …]
/dports/devel/m4/m4-1.4.19/tests/
H A Dtest-fopen.h37 ASSERT (fopen (BASE "file", "r") == NULL); in test_fopen()
41 f = fopen (BASE "file", "w"); in test_fopen()
47 ASSERT (fopen (BASE "file/", "r") == NULL); in test_fopen()
51 ASSERT (fopen (BASE "file/", "r+") == NULL); in test_fopen()
56 ASSERT (fopen ("nonexist.ent/", "w") == NULL); in test_fopen()
62 ASSERT (fopen (".", "w") == NULL); in test_fopen()
66 ASSERT (fopen ("./", "w") == NULL); in test_fopen()
70 ASSERT (fopen (".", "r+") == NULL); in test_fopen()
74 ASSERT (fopen ("./", "r+") == NULL); in test_fopen()
78 f = fopen ("/dev/null", "r"); in test_fopen()
[all …]

12345678910>>...952