Searched refs:value_datum (Results 1 – 2 of 2) sorted by relevance
/PHP-5.4/ext/dba/libflatfile/ |
H A D | flatfile.c | 61 php_stream_printf(dba->fp TSRMLS_CC, "%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 TSRMLS_CC, "%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 D | flatfile.h | 40 int flatfile_store(flatfile *dba, datum key_datum, datum value_datum, int mode TSRMLS_DC);
|
Completed in 6 milliseconds