Searched refs:cdb (Results 1 – 19 of 19) sorted by relevance
/PHP-5.5/ext/dba/ |
H A D | dba_cdb.c | 51 struct cdb c; 63 DBA_OPEN_FUNC(cdb) in DBA_OPEN_FUNC() argument 71 dba_cdb *cdb; in DBA_OPEN_FUNC() local 127 if (cdb->make) { in DBA_CLOSE_FUNC() 146 # define php_cdb_find(cdb, key, len) cdb_find(cdb, key, len) argument 156 if (cdb->make) in DBA_FETCH_FUNC() 185 if (!cdb->make) in DBA_UPDATE_FUNC() 200 if (cdb->make) in DBA_EXISTS_FUNC() 253 if (cdb->make) in DBA_FIRSTKEY_FUNC() 257 cdb->eod = -1; in DBA_FIRSTKEY_FUNC() [all …]
|
H A D | install_cdb.sh | 37 ar x ../cdb.a 51 cp cdb.h uint32.h "$prefix/include"
|
H A D | php_cdb.h | 8 DBA_FUNCS(cdb);
|
H A D | README | 24 cdb CDB is "a fast, reliable, lightweight package for creating and 26 can be found at http://cr.yp.to/cdb.html. Since it is constant, 28 writing (not updating) through the internal cdb library. 29 cdb_make Since PHP 4.3.0 we support creation (not updating) of cdb files 30 when the bundled cdb library is used.
|
H A D | config.w32 | 10 ADD_SOURCES("ext/dba/libcdb", "cdb.c cdb_make.c uint32.c", "dba");
|
H A D | config.m4 | 556 PHP_ARG_WITH(cdb,, 557 [ --without-cdb[=DIR] DBA: CDB support (bundled)], $php_dba_enable, no) 570 cdb_sources="libcdb/cdb.c libcdb/cdb_make.c libcdb/uint32.c" 575 if test -f "$i/include/cdb.h"; then 577 THIS_INCLUDE=$i/include/cdb.h 583 for LIB in cdb c; do 599 PHP_DBA_STD_RESULT(cdb)
|
H A D | dba.dsp | 97 SOURCE=.\libcdb\cdb.c 157 SOURCE=.\libcdb\cdb.h
|
H A D | dba.c | 328 DBA_HND(cdb, DBA_STREAM_OPEN|DBA_LOCK_ALL) /* No lock in lib */ 331 DBA_NAMED_HND(cdb_make, cdb, DBA_STREAM_OPEN|DBA_LOCK_ALL) /* No lock in lib */
|
/PHP-5.5/ext/dba/libcdb/ |
H A D | cdb.h | 30 struct cdb { struct 43 void cdb_free(struct cdb * TSRMLS_DC); argument 44 void cdb_init(struct cdb *, php_stream *fp TSRMLS_DC); 46 int cdb_read(struct cdb *, char *, unsigned int, uint32 TSRMLS_DC); 48 void cdb_findstart(struct cdb * TSRMLS_DC); 49 int cdb_findnext(struct cdb *, char *, unsigned int TSRMLS_DC); 50 int cdb_find(struct cdb *, char *, unsigned int TSRMLS_DC);
|
H A D | cdb.c | 46 static int cdb_match(struct cdb *c, char *key, unsigned int len, uint32 pos TSRMLS_DC) in cdb_match() 82 void cdb_free(struct cdb *c TSRMLS_DC) in cdb_free() 88 void cdb_findstart(struct cdb *c TSRMLS_DC) in cdb_findstart() 95 void cdb_init(struct cdb *c, php_stream *fp TSRMLS_DC) in cdb_init() 104 int cdb_read(struct cdb *c, char *buf, unsigned int len, uint32 pos TSRMLS_DC) in cdb_read() 129 int cdb_findnext(struct cdb *c, char *key, unsigned int len TSRMLS_DC) in cdb_findnext() 182 int cdb_find(struct cdb *c, char *key, unsigned int len TSRMLS_DC) in cdb_find()
|
/PHP-5.5/ext/dba/tests/ |
H A D | dba_cdb_read.phpt | 10 echo "database handler: cdb\n"; 11 $handler = 'cdb'; 12 $db_file = dirname(__FILE__).'/test.cdb'; 59 database handler: cdb
|
H A D | dba_cdb.phpt | 5 $handler = 'cdb'; 11 $handler = 'cdb'; 21 database handler: cdb
|
H A D | dba_cdb_001.phpt | 5 $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 D | bug38698.phpt | 2 Bug #38698 (Bug #38698 for some keys cdbmake creates corrupted db and cdb can't read valid db) 15 $db_file = dirname(__FILE__) .'/129php.cdb';
|
H A D | dba_cdb_make.phpt | 14 // print md5 checksum of test.cdb which is generated by cdb_make program 15 var_dump(md5_file(dirname(__FILE__).'/test.cdb'));
|
H A D | dba_handler.inc | 12 if ($handler != 'cdb') { 33 if ($handler != 'cdb') { 41 if ($handler != 'cdb') {
|
H A D | skipif.inc | 10 $handlers = array_diff($handlers, array('cdb', 'cdb_make')); /* these can only read OR write */
|
/PHP-5.5/ |
H A D | .gitattributes | 16 ext/dba/libcdb/cdb.c ident
|
H A D | NEWS | 8044 - Fixed bug #38698 (for some keys cdbmake creates corrupted db and cdb can't 8390 - Fixed bug #38290 (configure script ignores --without-cdb,inifile,flatfile).
|
Completed in 57 milliseconds