Lines Matching refs:return_val
45 datum return_val; /* The return value. */
51 return_val.dptr = NULL;
52 return_val.dsize = 0;
64 return_val.dsize = dbf->bucket->h_table[elem_loc].data_size;
65 if (return_val.dsize == 0)
66 return_val.dptr = (char *) malloc (1);
68 return_val.dptr = (char *) malloc (return_val.dsize);
69 if (return_val.dptr == NULL) _gdbm_fatal (dbf, "malloc error");
70 bcopy (find_data, return_val.dptr, return_val.dsize);
74 if (return_val.dptr == NULL) gdbm_errno = GDBM_ITEM_NOT_FOUND;
75 return return_val;