Lines Matching refs:temp
178 void* temp = nullptr; in sort() local
185 if (!temp) { in sort()
189 temp = malloc(mItemSize); in sort()
190 if (!temp) return NO_MEMORY; in sort()
194 _do_destroy(temp, 1); in sort()
197 _do_copy(temp, item, 1); in sort()
210 } while (j>=0 && (cmp(curr, temp, state) > 0)); in sort()
213 _do_copy(next, temp, 1); in sort()
218 if (temp) { in sort()
219 _do_destroy(temp, 1); in sort()
220 free(temp); in sort()