Lines Matching refs:ptr
38 void mvswap(uint32_t* ptr, int32_t zzp1, int32_t zzp2, int32_t zzn) in mvswap() argument
41 mswap(ptr[zzp1], ptr[zzp2]); in mvswap()
474 uint32_t *const ptr = state->ptr; in mainSimpleSort() local
498 v = ptr[i]; in mainSimpleSort()
500 while (mainGtU(state, ptr[j-h]+d, v+d)) { in mainSimpleSort()
501 ptr[j] = ptr[j-h]; in mainSimpleSort()
505 ptr[j] = v; in mainSimpleSort()
512 v = ptr[i]; in mainSimpleSort()
514 while (mainGtU(state, ptr[j-h]+d, v+d)) { in mainSimpleSort()
515 ptr[j] = ptr[j-h]; in mainSimpleSort()
519 ptr[j] = v; in mainSimpleSort()
523 v = ptr[i]; in mainSimpleSort()
525 while (mainGtU(state, ptr[j-h]+d, v+d)) { in mainSimpleSort()
526 ptr[j] = ptr[j-h]; in mainSimpleSort()
530 ptr[j] = v; in mainSimpleSort()
615 uint32_t *const ptr = state->ptr; in mainQSort3() local
633 med = (int32_t) mmed3(block[ptr[lo ] + d], in mainQSort3()
634 block[ptr[hi ] + d], in mainQSort3()
635 block[ptr[(lo+hi) >> 1] + d]); in mainQSort3()
644 n = ((int32_t)block[ptr[unLo]+d]) - med; in mainQSort3()
646 mswap(ptr[unLo], ptr[ltLo]); in mainQSort3()
657 n = ((int32_t)block[ptr[unHi]+d]) - med; in mainQSort3()
659 mswap(ptr[unHi], ptr[gtHi]); in mainQSort3()
669 mswap(ptr[unLo], ptr[unHi]); in mainQSort3()
681 n = mmin(ltLo-lo, unLo-ltLo); mvswap(ptr, lo, unLo-n, n); in mainQSort3()
682 m = mmin(hi-gtHi, gtHi-unHi); mvswap(ptr, unLo, hi-m+1, m); in mainQSort3()
745 uint32_t *const ptr = state->ptr; in mainSort() local
802 ptr[j] = i; in mainSort()
806 ptr[j] = i-1; in mainSort()
810 ptr[j] = i-2; in mainSort()
814 ptr[j] = i-3; in mainSort()
821 ptr[j] = i; in mainSort()
914 k = ptr[j] - 1; in mainSort()
919 ptr[copyStart[c1]++] = k; in mainSort()
924 k = ptr[j]-1; in mainSort()
929 ptr[copyEnd[c1]--] = k; in mainSort()
995 unsigned a2update = ptr[bbStart + j]; /* uint32[] */ in mainSort()
1066 if (state->ptr[i] == 0) { in BZ2_blockSort()