Searched refs:cdb (Results 1 – 19 of 19) sorted by relevance
/PHP-8.3/ext/dba/ |
H A D | dba_cdb.c | 47 struct cdb c; 59 DBA_OPEN_FUNC(cdb) in DBA_OPEN_FUNC() argument 67 dba_cdb *cdb; in DBA_OPEN_FUNC() local 138 # define php_cdb_find(cdb, key, len) cdb_find(cdb, key, len) argument 142 # define php_cdb_find(cdb, key, len) cdb_find(cdb, key, len) argument 152 if (cdb->make) in DBA_FETCH_FUNC() 179 if (!cdb->make) in DBA_UPDATE_FUNC() 194 if (cdb->make) in DBA_EXISTS_FUNC() 247 if (cdb->make) in DBA_FIRSTKEY_FUNC() 251 cdb->eod = -1; in DBA_FIRSTKEY_FUNC() [all …]
|
H A D | install_cdb.sh | 35 ar x ../cdb.a 49 cp cdb.h uint32.h "$prefix/include"
|
H A D | php_cdb.h | 8 DBA_FUNCS(cdb);
|
H A D | config.m4 | 622 PHP_ARG_WITH([cdb],, 623 [AS_HELP_STRING([[--without-cdb[=DIR]]], 645 cdb_sources="libcdb/cdb.c libcdb/cdb_make.c libcdb/uint32.c" 650 if test -f "$i/include/cdb.h"; then 652 THIS_INCLUDE=$i/include/cdb.h 658 for LIB in cdb c; do 674 PHP_DBA_STD_RESULT(cdb)
|
H A D | config.w32 | 10 ADD_SOURCES("ext/dba/libcdb", "cdb.c cdb_make.c uint32.c", "dba");
|
H A D | dba.c | 173 DBA_HND(cdb, DBA_STREAM_OPEN|DBA_LOCK_ALL) /* No lock in lib */ 176 DBA_NAMED_HND(cdb_make, cdb, DBA_STREAM_OPEN|DBA_LOCK_ALL) /* No lock in lib */
|
/PHP-8.3/ext/dba/libcdb/ |
H A D | cdb.h | 26 struct cdb { struct 39 void cdb_free(struct cdb *); argument 40 void cdb_init(struct cdb *, php_stream *fp); 42 int cdb_read(struct cdb *, char *, unsigned int, uint32); 44 void cdb_findstart(struct cdb *); 45 int cdb_findnext(struct cdb *, char *, unsigned int); 46 int cdb_find(struct cdb *, char *, unsigned int);
|
H A D | cdb.c | 44 static int cdb_match(struct cdb *c, char *key, unsigned int len, uint32 pos) in cdb_match() 80 void cdb_free(struct cdb *c) in cdb_free() 86 void cdb_findstart(struct cdb *c) in cdb_findstart() 93 void cdb_init(struct cdb *c, php_stream *fp) in cdb_init() 102 int cdb_read(struct cdb *c, char *buf, unsigned int len, uint32 pos) in cdb_read() 127 int cdb_findnext(struct cdb *c, char *key, unsigned int len) in cdb_findnext() 180 int cdb_find(struct cdb *c, char *key, unsigned int len) in cdb_find()
|
/PHP-8.3/ext/dba/tests/ |
H A D | dba_cdb_make.phpt | 11 test.cdb 15 $db_file = 'recreate_testcdb.cdb'; 17 // print md5 checksum of test.cdb which is generated by cdb_make program 18 var_dump(md5_file(__DIR__.'/test.cdb')); 39 $db_name = 'recreate_testcdb.cdb';
|
H A D | dba_cdb_creation_matrix.phpt | 8 check_skip('cdb'); 14 $handler = 'cdb'; 21 $handler = 'cdb'; 60 Warning: dba_open(): Driver initialization failed for handler: cdb: Update operations are not suppo… 64 Warning: dba_open(): Driver initialization failed for handler: cdb: Update operations are not suppo… 68 Warning: dba_open(): Driver initialization failed for handler: cdb: Update operations are not suppo… 72 Warning: dba_open(): Driver initialization failed for handler: cdb: Update operations are not suppo… 101 Warning: dba_open(): Driver initialization failed for handler: cdb: Update operations are not suppo… 105 Warning: dba_open(): Driver initialization failed for handler: cdb: Update operations are not suppo… 109 Warning: dba_open(): Driver initialization failed for handler: cdb: Update operations are not suppo… [all …]
|
H A D | dba_cdb_read.phpt | 11 test.cdb 14 echo "database handler: cdb\n"; 15 $handler = 'cdb'; 16 $db_file = __DIR__.'/test.cdb'; 63 database handler: cdb
|
H A D | dba_cdb_001.phpt | 7 $handler = 'cdb'; 16 $handler = 'cdb'; 83 Warning: dba_open(): Driver initialization failed for handler: cdb: Update operations are not suppo… 90 Warning: dba_open(): Driver initialization failed for handler: cdb: Update operations are not suppo…
|
H A D | bug38698.phpt | 2 Bug #38698 (Bug #38698 for some keys cdbmake creates corrupted db and cdb can't read valid db) 17 $db_file = __DIR__ .'/129php.cdb';
|
H A D | skipif.inc | 8 … $handlers = array_diff($handlers, array('cdb', 'cdb_make')); /* these can only read OR write */
|
H A D | dba_cdb.phpt | 8 check_skip('cdb');
|
/PHP-8.3/ext/dba/tests/setup/ |
H A D | setup_dba_tests.inc | 7 if (dba_handlers() === ['cdb']) { 8 die('skip only cdb installed which is not suitable'); 29 if ($handler !== 'cdb' && $handler !== 'cdb_make' && $handler !== 'inifile') { 268 set_up_db('cdb', $name); 270 $db_file = dba_open($name, 'rl', 'cdb'); 282 set_up_db('cdb', $name, LockFlag::NoLock); 283 $db_file = dba_open($name, 'r-', 'cdb');
|
/PHP-8.3/ |
H A D | .gitattributes | 7 /ext/dba/libcdb/cdb.c ident
|
/PHP-8.3/.github/actions/configure-x64/ |
H A D | action.yml | 72 --with-cdb \
|
/PHP-8.3/.circleci/ |
H A D | config.yml | 147 --with-cdb \
|
Completed in 35 milliseconds