Lines Matching refs:dsize
56 php_stream_printf(dba->fp TSRMLS_CC, "%zu\n", key_datum.dsize); in flatfile_store()
58 if (php_stream_write(dba->fp, key_datum.dptr, key_datum.dsize) < key_datum.dsize) { in flatfile_store()
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()
68 php_stream_printf(dba->fp TSRMLS_CC, "%zu\n", key_datum.dsize); in flatfile_store()
70 if (php_stream_write(dba->fp, key_datum.dptr, key_datum.dsize) < key_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()
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()
97 value_datum.dsize = 0; in flatfile_fetch()
108 size_t size = key_datum.dsize; in flatfile_delete()
170 size_t size = key_datum.dsize; in flatfile_findkey()
235 res.dsize = num; in flatfile_firstkey()
253 res.dsize = 0; in flatfile_firstkey()
295 res.dsize = num; in flatfile_nextkey()
301 res.dsize = 0; in flatfile_nextkey()