Lines Matching refs:storage
285 if (store->storage != NULL)\
287 free(store->storage);\
288 store->storage = NULL;\
315 SORT_TYPE *storage; member
323 SORT_TYPE *tempstore = (SORT_TYPE *)realloc(store->storage, new_size * sizeof(SORT_TYPE)); in TIM_SORT_RESIZE()
329 store->storage = tempstore; in TIM_SORT_RESIZE()
339 SORT_TYPE *storage; in TIM_SORT_MERGE() local
343 storage = store->storage; in TIM_SORT_MERGE()
348 memcpy(storage, &dst[curr], A * sizeof(SORT_TYPE)); in TIM_SORT_MERGE()
356 if (SORT_CMP(storage[i], dst[j]) <= 0) in TIM_SORT_MERGE()
357 dst[k] = storage[i++]; in TIM_SORT_MERGE()
363 dst[k] = storage[i++]; in TIM_SORT_MERGE()
372 memcpy(storage, &dst[curr + A], B * sizeof(SORT_TYPE)); in TIM_SORT_MERGE()
380 if (SORT_CMP(dst[j], storage[i]) > 0) in TIM_SORT_MERGE()
383 dst[k] = storage[i--]; in TIM_SORT_MERGE()
386 dst[k] = storage[i--]; in TIM_SORT_MERGE()
475 store->storage = NULL; in TIM_SORT()