Searched refs:value_datum (Results 1 – 2 of 2) sorted by relevance
/PHP-5.3/ext/dba/libflatfile/ |
H A D | flatfile.c | 62 php_stream_printf(dba->fp TSRMLS_CC, "%zu\n", value_datum.dsize); in flatfile_store() 64 if (php_stream_write(dba->fp, value_datum.dptr, value_datum.dsize) < value_datum.dsize) { in flatfile_store() 74 php_stream_printf(dba->fp TSRMLS_CC, "%zu\n", value_datum.dsize); in flatfile_store() 75 if (php_stream_write(dba->fp, value_datum.dptr, value_datum.dsize) < value_datum.dsize) { in flatfile_store() 88 datum value_datum = {NULL, 0}; in flatfile_fetch() local 93 value_datum.dsize = atoi(buf); in flatfile_fetch() 94 value_datum.dptr = safe_emalloc(value_datum.dsize, 1, 1); in flatfile_fetch() 95 value_datum.dsize = php_stream_read(dba->fp, value_datum.dptr, value_datum.dsize); in flatfile_fetch() 97 value_datum.dptr = NULL; in flatfile_fetch() 98 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 11 milliseconds