Lines Matching defs:storage
285 if (store->storage != NULL)\
287 free(store->storage);\
288 store->storage = NULL;\
315 SORT_TYPE *storage;
323 SORT_TYPE *tempstore = (SORT_TYPE *)realloc(store->storage, new_size * sizeof(SORT_TYPE));
326 fprintf(stderr, "Error allocating temporary storage for tim sort: need %lu bytes", sizeof(SORT_TYPE) * new_size);
329 store->storage = tempstore;
339 SORT_TYPE *storage;
343 storage = store->storage;
348 memcpy(storage, &dst[curr], A * sizeof(SORT_TYPE));
356 if (SORT_CMP(storage[i], dst[j]) <= 0)
357 dst[k] = storage[i++];
363 dst[k] = storage[i++];
372 memcpy(storage, &dst[curr + A], B * sizeof(SORT_TYPE));
380 if (SORT_CMP(dst[j], storage[i]) > 0)
383 dst[k] = storage[i--];
386 dst[k] = storage[i--];
472 /* temporary storage for merges */
475 store->storage = NULL;