Lines Matching defs:scratch
32 * Pointer to scratch space. Because we can't access the xfile data directly,
531 /* Return the scratch space within the sortinfo structure. */
547 void *scratch = xfarray_sortinfo_isort_scratch(si);
555 error = xfile_obj_load(si->array->xfile, scratch, len, lo_pos);
560 sort(scratch, hi - lo + 1, si->array->obj_size, si->cmp_fn, NULL);
563 return xfile_obj_store(si->array->xfile, scratch, len, lo_pos);
938 void *scratch = xfarray_scratch(array);
1002 error = xfarray_sort_load_cached(si, hi, scratch);
1005 while (xfarray_sort_cmp(si, scratch, pivot) >= 0 &&
1009 scratch);
1022 error = xfarray_sort_store(si, lo++, scratch);
1031 error = xfarray_sort_load_cached(si, lo, scratch);
1034 while (xfarray_sort_cmp(si, scratch, pivot) <= 0 &&
1038 scratch);
1051 error = xfarray_sort_store(si, hi--, scratch);