Lines Matching refs:inc
112 INT inc = 1; in FDKsbrEnc_Shellsort_fract() local
115 inc = 3 * inc + 1; in FDKsbrEnc_Shellsort_fract()
116 while (inc <= n); in FDKsbrEnc_Shellsort_fract()
119 inc = inc / 3; in FDKsbrEnc_Shellsort_fract()
120 for (i = inc + 1; i <= n; i++) { in FDKsbrEnc_Shellsort_fract()
123 while (in[j - inc - 1] > v) { in FDKsbrEnc_Shellsort_fract()
124 in[j - 1] = in[j - inc - 1]; in FDKsbrEnc_Shellsort_fract()
125 j -= inc; in FDKsbrEnc_Shellsort_fract()
126 if (j <= inc) break; in FDKsbrEnc_Shellsort_fract()
130 } while (inc > 1); in FDKsbrEnc_Shellsort_fract()
136 INT inc = 1; in FDKsbrEnc_Shellsort_int() local
139 inc = 3 * inc + 1; in FDKsbrEnc_Shellsort_int()
140 while (inc <= n); in FDKsbrEnc_Shellsort_int()
143 inc = inc / 3; in FDKsbrEnc_Shellsort_int()
144 for (i = inc + 1; i <= n; i++) { in FDKsbrEnc_Shellsort_int()
147 while (in[j - inc - 1] > v) { in FDKsbrEnc_Shellsort_int()
148 in[j - 1] = in[j - inc - 1]; in FDKsbrEnc_Shellsort_int()
149 j -= inc; in FDKsbrEnc_Shellsort_int()
150 if (j <= inc) break; in FDKsbrEnc_Shellsort_int()
154 } while (inc > 1); in FDKsbrEnc_Shellsort_int()