Lines Matching refs:offsets
20 // Some random offsets, mostly at 'suspicious' bit boundaries.
21 static int offsets[] = {0, 1, 2, 3, 4, 30, 31, 32,
27 for (int i = 0; i < arraysize(offsets); i++) {
28 builder.AddPosition(offsets[i], offsets[i], true);
38 for (int i = 0; i < arraysize(offsets); i++) {
39 builder.AddPosition(offsets[i], offsets[i], true);
40 builder.AddPosition(offsets[i], offsets[i] + 1, true);
50 for (int i = 0; i < arraysize(offsets); i++) {
51 builder.AddPosition(offsets[i], offsets[i], false);
61 for (int i = 0; i < arraysize(offsets); i++) {
62 code_offset += offsets[i];
63 source_position += offsets[i];
71 // Also test negative offsets for source positions:
72 for (int i = 0; i < arraysize(offsets); i++) {
73 code_offset += offsets[i];
74 source_position -= offsets[i];