Home
last modified time | relevance | path

Searched refs:cdb (Results 1 – 16 of 16) sorted by relevance

/PHP-7.4/ext/dba/
H A Ddba_cdb.c49 struct cdb c;
69 dba_cdb *cdb; in DBA_OPEN_FUNC() local
125 if (cdb->make) { in DBA_CLOSE_FUNC()
140 # define php_cdb_find(cdb, key, len) cdb_find(cdb, key, len) argument
144 # define php_cdb_find(cdb, key, len) cdb_find(cdb, key, len) argument
154 if (cdb->make) in DBA_FETCH_FUNC()
183 if (!cdb->make) in DBA_UPDATE_FUNC()
198 if (cdb->make) in DBA_EXISTS_FUNC()
251 if (cdb->make) in DBA_FIRSTKEY_FUNC()
255 cdb->eod = -1; in DBA_FIRSTKEY_FUNC()
[all …]
H A Dinstall_cdb.sh35 ar x ../cdb.a
49 cp cdb.h uint32.h "$prefix/include"
H A Dphp_cdb.h8 DBA_FUNCS(cdb);
H A Dconfig.m4622 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 Dconfig.w3210 ADD_SOURCES("ext/dba/libcdb", "cdb.c cdb_make.c uint32.c", "dba");
H A Ddba.c335 DBA_HND(cdb, DBA_STREAM_OPEN|DBA_LOCK_ALL) /* No lock in lib */
338 DBA_NAMED_HND(cdb_make, cdb, DBA_STREAM_OPEN|DBA_LOCK_ALL) /* No lock in lib */
/PHP-7.4/ext/dba/libcdb/
H A Dcdb.h28 struct cdb { struct
41 void cdb_free(struct cdb *); argument
42 void cdb_init(struct cdb *, php_stream *fp);
44 int cdb_read(struct cdb *, char *, unsigned int, uint32);
46 void cdb_findstart(struct cdb *);
47 int cdb_findnext(struct cdb *, char *, unsigned int);
48 int cdb_find(struct cdb *, char *, unsigned int);
H A Dcdb.c46 static int cdb_match(struct cdb *c, char *key, unsigned int len, uint32 pos) in cdb_match()
82 void cdb_free(struct cdb *c) in cdb_free()
88 void cdb_findstart(struct cdb *c) in cdb_findstart()
95 void cdb_init(struct cdb *c, php_stream *fp) in cdb_init()
104 int cdb_read(struct cdb *c, char *buf, unsigned int len, uint32 pos) in cdb_read()
129 int cdb_findnext(struct cdb *c, char *key, unsigned int len) in cdb_findnext()
182 int cdb_find(struct cdb *c, char *key, unsigned int len) in cdb_find()
/PHP-7.4/ext/dba/tests/
H A Ddba_cdb_read.phpt10 echo "database handler: cdb\n";
11 $handler = 'cdb';
12 $db_file = __DIR__.'/test.cdb';
59 database handler: cdb
H A Ddba_cdb.phpt5 $handler = 'cdb';
11 $handler = 'cdb';
21 database handler: cdb
H A Ddba_cdb_001.phpt5 $handler = 'cdb';
12 $handler = 'cdb';
80 Warning: dba_open(%stest0.dbm,c): Driver initialization failed for handler: cdb: Update operations …
87 Warning: dba_open(%stest0.dbm,w): Driver initialization failed for handler: cdb: Update operations …
H A Dbug38698.phpt2 Bug #38698 (Bug #38698 for some keys cdbmake creates corrupted db and cdb can't read valid db)
15 $db_file = __DIR__ .'/129php.cdb';
H A Ddba_cdb_make.phpt14 // print md5 checksum of test.cdb which is generated by cdb_make program
15 var_dump(md5_file(__DIR__.'/test.cdb'));
H A Ddba_handler.inc12 if ($handler != 'cdb') {
33 if ($handler != 'cdb') {
41 if ($handler != 'cdb') {
H A Dskipif.inc10 $handlers = array_diff($handlers, array('cdb', 'cdb_make')); /* these can only read OR write */
/PHP-7.4/
H A D.gitattributes7 /ext/dba/libcdb/cdb.c ident

Completed in 53 milliseconds