Lines Matching refs:dptr
38 #define FLATFILE_GKEY datum gkey; gkey.dptr = (char *) key; gkey.dsize = keylen
54 if (dba->nextkey.dptr) { in DBA_CLOSE_FUNC()
55 efree(dba->nextkey.dptr); in DBA_CLOSE_FUNC()
69 if (gval.dptr) { in DBA_FETCH_FUNC()
73 new = estrndup(gval.dptr, gval.dsize); in DBA_FETCH_FUNC()
74 efree(gval.dptr); in DBA_FETCH_FUNC()
85 gval.dptr = (char *) val; in DBA_UPDATE_FUNC()
109 if (gval.dptr) { in DBA_EXISTS_FUNC()
110 efree(gval.dptr); in DBA_EXISTS_FUNC()
127 if (dba->nextkey.dptr) { in DBA_FIRSTKEY_FUNC()
128 efree(dba->nextkey.dptr); in DBA_FIRSTKEY_FUNC()
131 if (dba->nextkey.dptr) { in DBA_FIRSTKEY_FUNC()
135 return estrndup(dba->nextkey.dptr, dba->nextkey.dsize); in DBA_FIRSTKEY_FUNC()
144 if (!dba->nextkey.dptr) { in DBA_NEXTKEY_FUNC()
148 if (dba->nextkey.dptr) { in DBA_NEXTKEY_FUNC()
149 efree(dba->nextkey.dptr); in DBA_NEXTKEY_FUNC()
152 if (dba->nextkey.dptr) { in DBA_NEXTKEY_FUNC()
156 return estrndup(dba->nextkey.dptr, dba->nextkey.dsize); in DBA_NEXTKEY_FUNC()