Home
last modified time | relevance | path

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

/PHP-7.2/ext/dba/libflatfile/
H A Dflatfile.c52 if (flatfile_findkey(dba, key_datum)) { in flatfile_store()
58 if (php_stream_write(dba->fp, key_datum.dptr, key_datum.dsize) < key_datum.dsize) { in flatfile_store()
67 flatfile_delete(dba, key_datum); in flatfile_store()
70 if (php_stream_write(dba->fp, key_datum.dptr, key_datum.dsize) < key_datum.dsize) { in flatfile_store()
86 datum flatfile_fetch(flatfile *dba, datum key_datum) { in flatfile_fetch() argument
90 if (flatfile_findkey(dba, key_datum)) { in flatfile_fetch()
106 int flatfile_delete(flatfile *dba, datum key_datum) { in flatfile_delete() argument
107 char *key = key_datum.dptr; in flatfile_delete()
108 size_t size = key_datum.dsize; in flatfile_delete()
163 void *key = key_datum.dptr; in flatfile_findkey()
[all …]
H A Dflatfile.h40 int flatfile_store(flatfile *dba, datum key_datum, datum value_datum, int mode);
41 datum flatfile_fetch(flatfile *dba, datum key_datum);
42 int flatfile_delete(flatfile *dba, datum key_datum);
43 int flatfile_findkey(flatfile *dba, datum key_datum);

Completed in 8 milliseconds