Lines Matching refs:dsize
53 php_stream_printf(dba->fp, "%zu\n", key_datum.dsize); in flatfile_store()
55 if (php_stream_write(dba->fp, key_datum.dptr, key_datum.dsize) < key_datum.dsize) { in flatfile_store()
58 php_stream_printf(dba->fp, "%zu\n", value_datum.dsize); in flatfile_store()
60 if (php_stream_write(dba->fp, value_datum.dptr, value_datum.dsize) < value_datum.dsize) { in flatfile_store()
65 php_stream_printf(dba->fp, "%zu\n", key_datum.dsize); in flatfile_store()
67 if (php_stream_write(dba->fp, key_datum.dptr, key_datum.dsize) < key_datum.dsize) { in flatfile_store()
70 php_stream_printf(dba->fp, "%zu\n", value_datum.dsize); in flatfile_store()
71 if (php_stream_write(dba->fp, value_datum.dptr, value_datum.dsize) < value_datum.dsize) { in flatfile_store()
88 value_datum.dsize = atoi(buf); in flatfile_fetch()
89 value_datum.dptr = safe_emalloc(value_datum.dsize, 1, 1); in flatfile_fetch()
90 value_datum.dsize = php_stream_read(dba->fp, value_datum.dptr, value_datum.dsize); in flatfile_fetch()
93 value_datum.dsize = 0; in flatfile_fetch()
103 size_t size = key_datum.dsize; in flatfile_delete()
158 size_t size = key_datum.dsize; in flatfile_findkey()
215 res.dsize = num; in flatfile_firstkey()
230 res.dsize = 0; in flatfile_firstkey()
267 res.dsize = num; in flatfile_nextkey()
273 res.dsize = 0; in flatfile_nextkey()