Lines Matching refs:return_val
45 get_next_key (dbf, elem_loc, return_val)
48 datum *return_val;
80 /* Found the next key, read it into return_val. */
82 return_val->dsize = dbf->bucket->h_table[elem_loc].key_size;
83 if (return_val->dsize == 0)
84 return_val->dptr = (char *) malloc (1);
86 return_val->dptr = (char *) malloc (return_val->dsize);
87 if (return_val->dptr == NULL) _gdbm_fatal (dbf, "malloc error");
88 bcopy (find_data, return_val->dptr, return_val->dsize);
99 datum return_val; /* To return the first key. */
102 return_val.dptr = NULL;
111 get_next_key (dbf, -1, &return_val);
113 return return_val;
124 datum return_val; /* The return value. */
133 return_val.dptr = NULL;
136 if (key.dptr == NULL) return return_val;
140 if (elem_loc == -1) return return_val;
143 get_next_key (dbf, elem_loc, &return_val);
145 return return_val;