Home
last modified time | relevance | path

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

/PHP-7.1/ext/dba/libflatfile/
H A Dflatfile.c61 php_stream_printf(dba->fp, "%zu\n", value_datum.dsize); in flatfile_store()
63 if (php_stream_write(dba->fp, value_datum.dptr, value_datum.dsize) < value_datum.dsize) { in flatfile_store()
73 php_stream_printf(dba->fp, "%zu\n", value_datum.dsize); in flatfile_store()
74 if (php_stream_write(dba->fp, value_datum.dptr, value_datum.dsize) < value_datum.dsize) { in flatfile_store()
87 datum value_datum = {NULL, 0}; in flatfile_fetch() local
92 value_datum.dsize = atoi(buf); in flatfile_fetch()
93 value_datum.dptr = safe_emalloc(value_datum.dsize, 1, 1); in flatfile_fetch()
94 value_datum.dsize = php_stream_read(dba->fp, value_datum.dptr, value_datum.dsize); in flatfile_fetch()
96 value_datum.dptr = NULL; in flatfile_fetch()
97 value_datum.dsize = 0; in flatfile_fetch()
[all …]
H A Dflatfile.h40 int flatfile_store(flatfile *dba, datum key_datum, datum value_datum, int mode);

Completed in 8 milliseconds