Home
last modified time | relevance | path

Searched refs:db_filename (Results 1 – 25 of 34) sorted by relevance

12

/PHP-5.5/ext/dba/tests/
H A Dclean.inc2 $db_filename = dirname(__FILE__) .'/test0.dbm'; // see test.inc
3 @unlink($db_filename);
4 @unlink($db_filename.'.lck');
H A Dtest.inc4 $db_filename = $db_file = dirname(__FILE__) .'/test0.dbm';
5 @unlink($db_filename);
6 @unlink($db_filename.'.lck');
H A Ddba_db4_016.phpt16 if (($db_file = dba_popen($db_filename, "c", $handler)) !== FALSE) {
17 if (file_exists($db_filename)) {
26 echo "Error creating $db_filename\n";
30 if (($db_file = dba_popen($db_filename, "c", $handler)) !== FALSE) {
31 if (file_exists($db_filename)) {
42 echo "Error creating $db_filename\n";
H A Ddba_db4_003.phpt16 var_dump(file_put_contents($db_filename, "Dummy contents"));
18 if (($db_file = dba_open($db_filename, "c", $handler)) !== FALSE) {
19 if (file_exists($db_filename)) {
26 echo "Error creating $db_filename\n";
30 $s = file_get_contents($db_filename);
H A Ddba_db4_004.phpt16 var_dump(file_put_contents($db_filename, "Dummy contents"));
18 if (($db_file = dba_open($db_filename, "n", $handler)) !== FALSE) {
19 if (file_exists($db_filename)) {
28 echo "Error creating $db_filename\n";
H A Ddba_db4_008.phpt16 var_dump(file_put_contents($db_filename, "Dummy contents"));
18 if (($db_file = dba_popen($db_filename, "n", $handler)) !== FALSE) {
19 if (file_exists($db_filename)) {
28 echo "Error creating $db_filename\n";
H A Ddba_db4_007.phpt16 var_dump(file_put_contents($db_filename, "Dummy contents"));
18 if (($db_file = dba_popen($db_filename, "c", $handler)) !== FALSE) {
19 if (file_exists($db_filename)) {
26 echo "Error creating $db_filename\n";
H A Ddba_db4_017.phpt15 if (($db_file = dba_open($db_filename, "cd", $handler)) !== FALSE) {
16 if (file_exists($db_filename)) {
25 echo "Error creating $db_filename\n";
H A Ddba_db4_015.phpt16 if (($db_file = dba_popen($db_filename, "c", $handler)) !== FALSE) {
21 if (($db_file = dba_popen($db_filename, "wl", $handler)) !== FALSE) {
27 echo "Error creating $db_filename\n";
H A Ddba_handler.inc6 if (($db_file = dba_open($db_filename, 'n'.$lock_flag, $handler))!==FALSE) {
17 if (($db_file = dba_open($db_filename, 'r'.$lock_flag, $handler))===FALSE) {
42 $db_writer = dba_open($db_filename, 'c'.$lock_flag, $handler);
43 …if (($dba_reader = @dba_open($db_filename, 'r'.$lock_flag.($lock_flag ? 't' : ''), $handler))===fa…
68 if (($db_file = dba_open($db_filename, 'r'.$lock_flag, $handler))!==FALSE) {
84 if (($db_file = dba_popen($db_filename, 'r'.($lock_flag==''?'':'-'), $handler))!==FALSE) {
H A Ddba_cdb_001.phpt17 if (($db_file = dba_open($db_filename, 'n', $handler))!==FALSE) {
31 unlink($db_filename);
35 if (($db_file = dba_open($db_filename, 'c', $handler))!==FALSE) {
45 if (($db_file = dba_open($db_filename, 'r', $handler))!==FALSE) {
55 if (($db_file = dba_open($db_filename, 'w', $handler))!==FALSE) {
H A Ddba_db4_013.phpt16 if (($db_file = dba_popen($db_filename, "c", $handler)) !== FALSE) {
21 if (($db_file = dba_popen($db_filename, "rl", $handler)) !== FALSE) {
27 echo "Error creating $db_filename\n";
H A Ddba_tcadb.phpt13 $db_filename = $db_file = dirname(__FILE__) .'/test0.tch';
14 @unlink($db_filename);
15 @unlink($db_filename.'.lck');
H A Ddba_db4_001.phpt15 if (($db_file = dba_open($db_filename, "c", $handler)) !== FALSE) {
21 echo "Error creating $db_filename\n";
H A Ddba_db4_002.phpt15 if (($db_file = dba_open($db_filename, "n", $handler)) !== FALSE) {
21 echo "Error creating $db_filename\n";
H A Ddba_db4_005.phpt15 if (($db_file = dba_popen($db_filename, "c", $handler)) !== FALSE) {
21 echo "Error creating $db_filename\n";
H A Ddba_db4_006.phpt15 if (($db_file = dba_popen($db_filename, "n", $handler)) !== FALSE) {
21 echo "Error creating $db_filename\n";
H A Ddba_db4_012.phpt15 if (($db_file = dba_open($db_filename, "rl", $handler)) !== FALSE) {
19 echo "Error creating $db_filename\n";
H A Ddba_db4_014.phpt16 if (($db_file = dba_open($db_filename, "wl", $handler)) !== FALSE) {
20 echo "Error creating $db_filename\n";
H A Ddba012.phpt20 var_dump(dba_open($db_filename, 'c'));
26 var_dump(dba_open($db_filename, 'n'));
H A Dbug48240.phpt14 $db = dba_open($db_filename, 'c', 'db4');
H A Dbug49125.phpt16 $db = dba_popen($db_filename, 'c', 'db4');
H A Ddba016.phpt15 $db_file1 = dba_popen($db_filename, 'n-t', 'flatfile');
H A Dbug65708.phpt14 $db = dba_popen($db_filename, 'c');
H A Dbug36436.phpt14 $db = dba_popen($db_filename, 'c', 'db4');

Completed in 31 milliseconds

12