Lines Matching defs:block_size
292 int path_length, int ghist_length, int block_size,
498 int block_size, int start_pos, int end_pos)
504 // am is the next multiple of block_size after a
505 int am = (((a/block_size)*block_size)+block_size);
506 // bm is the previous multiple of block_size before b
507 int bm = (b/block_size)*block_size;
509 // the 0th bit of ghist_words[a/block_size] is the most recent bit.
515 x += ghist_words[a / block_size] >> (a-am);
517 for (int i=am; i<bm; i+=block_size) {
518 x += ghist_words[i / block_size];
522 unsigned int y = ghist_words[bm / block_size] & ((1<<(b - bm))-1);
523 x += y << (block_size - (b - bm));