Lines Matching refs:dptr
40 #define FLATFILE_GKEY datum gkey; gkey.dptr = (char *) key; gkey.dsize = keylen
56 if (dba->nextkey.dptr) { in DBA_CLOSE_FUNC()
57 efree(dba->nextkey.dptr); in DBA_CLOSE_FUNC()
71 if (gval.dptr) { in DBA_FETCH_FUNC()
75 new = estrndup(gval.dptr, gval.dsize); in DBA_FETCH_FUNC()
76 efree(gval.dptr); in DBA_FETCH_FUNC()
87 gval.dptr = (char *) val; in DBA_UPDATE_FUNC()
111 if (gval.dptr) { in DBA_EXISTS_FUNC()
112 efree(gval.dptr); in DBA_EXISTS_FUNC()
129 if (dba->nextkey.dptr) { in DBA_FIRSTKEY_FUNC()
130 efree(dba->nextkey.dptr); in DBA_FIRSTKEY_FUNC()
133 if (dba->nextkey.dptr) { in DBA_FIRSTKEY_FUNC()
137 return estrndup(dba->nextkey.dptr, dba->nextkey.dsize); in DBA_FIRSTKEY_FUNC()
146 if (!dba->nextkey.dptr) { in DBA_NEXTKEY_FUNC()
150 if (dba->nextkey.dptr) { in DBA_NEXTKEY_FUNC()
151 efree(dba->nextkey.dptr); in DBA_NEXTKEY_FUNC()
154 if (dba->nextkey.dptr) { in DBA_NEXTKEY_FUNC()
158 return estrndup(dba->nextkey.dptr, dba->nextkey.dsize); in DBA_NEXTKEY_FUNC()