Lines Matching refs:rval
82 kern_return_t rval = KERN_FAILURE;
99 rval = kxld_array_init(&dict->buckets, sizeof(DictEntry), num_buckets);
100 require_noerr(rval, finish);
108 rval = KERN_SUCCESS;
111 return rval;
167 kern_return_t rval = KERN_FAILURE;
174 rval = get_locate_index(dict, key, &idx);
175 if (rval) return NULL;
193 kern_return_t rval = KERN_FAILURE;
213 rval = KERN_SUCCESS;
216 return rval;
224 kern_return_t rval = KERN_FAILURE;
237 rval = resize_dict(dict);
238 require_noerr(rval, finish);
244 rval = get_insert_index(dict, key, &idx);
245 require_noerr(rval, finish);
258 rval = KERN_SUCCESS;
261 return rval;
271 kern_return_t rval = KERN_FAILURE;
280 rval = kxld_array_init(&dict->resize_buckets, sizeof(DictEntry), nbuckets);
281 require_noerr(rval, finish);
296 rval = kxld_dict_insert(dict, entry->key, entry->value);
297 require_noerr(rval, finish);
304 rval = KERN_SUCCESS;
307 return rval;
316 kern_return_t rval = KERN_FAILURE;
328 require_action(base != idx, finish, rval=KERN_FAILURE);
333 rval = KERN_SUCCESS;
336 return rval;
344 kern_return_t rval = KERN_FAILURE;
352 rval = get_locate_index(dict, key, &idx);
353 if (rval) {