Lines Matching defs:sub2
65 int sub2 = (ikey & 7) + 16;
66 if (key_[sub2] == ikey) {
67 value_[sub2] += idelta;
77 } else if (key_[sub2] == 0) {
78 alloc = sub2;
83 if (value_[sub2] < value_[alloc]) {alloc = sub2;}
113 for (int sub2 = sub + 1; sub2 < kMaxSize_; ++sub2) {
114 if (key_[sub2] == 0) {value_[sub2] = -1;}
115 if (value_[sub] < value_[sub2]) {
118 key_[sub] = key_[sub2];
119 key_[sub2] = tmpk;
121 value_[sub] = value_[sub2];
122 value_[sub2] = tmpv;
185 int sub2 = (ikey & 7) + 16;
186 if (key_[sub2] == ikey) {
187 value_[sub2] += ibytes;
188 score_[sub2] += score;
189 reliability_[sub2] += ireliability * ibytes;
199 } else if (key_[sub2] == 0) {
200 alloc = sub2;
205 if (value_[sub2] < value_[alloc]) {alloc = sub2;}
235 int sub2 = (ikey & 7) + 16;
236 if (key_[sub2] == ikey) {
237 return sub2;
266 for (int sub2 = sub + 1; sub2 < kMaxSize_; ++sub2) {
267 if (key_[sub2] == 0) {value_[sub2] = -1;}
268 if (value_[sub] < value_[sub2]) {
271 key_[sub] = key_[sub2];
272 key_[sub2] = tmpk;
275 value_[sub] = value_[sub2];
276 value_[sub2] = tmpv;
279 score_[sub] = score_[sub2];
280 score_[sub2] = tmps;
283 reliability_[sub] = reliability_[sub2];
284 reliability_[sub2] = tmpr;