Lines Matching refs:inc
95 INT inc = 1; in FDKsbrEnc_Shellsort_fract() local
98 inc = 3 * inc + 1; in FDKsbrEnc_Shellsort_fract()
99 while (inc <= n); in FDKsbrEnc_Shellsort_fract()
102 inc = inc / 3; in FDKsbrEnc_Shellsort_fract()
103 for (i = inc + 1; i <= n; i++) { in FDKsbrEnc_Shellsort_fract()
106 while (in[j-inc-1] > v) { in FDKsbrEnc_Shellsort_fract()
107 in[j-1] = in[j-inc-1]; in FDKsbrEnc_Shellsort_fract()
108 j -= inc; in FDKsbrEnc_Shellsort_fract()
109 if (j <= inc) in FDKsbrEnc_Shellsort_fract()
114 } while (inc > 1); in FDKsbrEnc_Shellsort_fract()
123 INT inc = 1; in FDKsbrEnc_Shellsort_int() local
126 inc = 3 * inc + 1; in FDKsbrEnc_Shellsort_int()
127 while (inc <= n); in FDKsbrEnc_Shellsort_int()
130 inc = inc / 3; in FDKsbrEnc_Shellsort_int()
131 for (i = inc + 1; i <= n; i++) { in FDKsbrEnc_Shellsort_int()
134 while (in[j-inc-1] > v) { in FDKsbrEnc_Shellsort_int()
135 in[j-1] = in[j-inc-1]; in FDKsbrEnc_Shellsort_int()
136 j -= inc; in FDKsbrEnc_Shellsort_int()
137 if (j <= inc) in FDKsbrEnc_Shellsort_int()
142 } while (inc > 1); in FDKsbrEnc_Shellsort_int()