Home
last modified time | relevance | path

Searched refs:key_datum (Results 1 – 2 of 2) sorted by relevance

/PHP-8.0/ext/dba/libflatfile/
H A Dflatfile.c49 if (flatfile_findkey(dba, key_datum)) { in flatfile_store()
55 if (php_stream_write(dba->fp, key_datum.dptr, key_datum.dsize) < key_datum.dsize) { in flatfile_store()
64 flatfile_delete(dba, key_datum); in flatfile_store()
67 if (php_stream_write(dba->fp, key_datum.dptr, key_datum.dsize) < key_datum.dsize) { in flatfile_store()
82 datum flatfile_fetch(flatfile *dba, datum key_datum) { in flatfile_fetch() argument
86 if (flatfile_findkey(dba, key_datum)) { in flatfile_fetch()
101 int flatfile_delete(flatfile *dba, datum key_datum) { in flatfile_delete() argument
102 char *key = key_datum.dptr; in flatfile_delete()
103 size_t size = key_datum.dsize; in flatfile_delete()
157 void *key = key_datum.dptr; in flatfile_findkey()
[all …]
H A Dflatfile.h36 int flatfile_store(flatfile *dba, datum key_datum, datum value_datum, int mode);
37 datum flatfile_fetch(flatfile *dba, datum key_datum);
38 int flatfile_delete(flatfile *dba, datum key_datum);
39 int flatfile_findkey(flatfile *dba, datum key_datum);

Completed in 6 milliseconds