Lines Matching defs:offsets
41 printf("Adding %ld offsets from 0 to %Ld...\n", kLoops, kSize);
43 off_t offsets[kLoops];
48 } while (offset_in_array(offsets, i, offset) >= B_OK);
50 offsets[i] = offset;
51 map.Set(offsets[i], i + 1);
54 printf("Testing all offsets in the map...\n");
58 int32 index = offset_in_array(offsets, kLoops, offset);
76 map.Remove(offsets[kLoops - 1]);
78 if (map.Get(offsets[kLoops - 1], address) == B_OK)
79 fprintf(stderr, " Removing offset %Ld failed (got address %lx)!\n", offsets[kLoops - 1], address);
81 // remove offsets in the middle
86 printf("Remove all offsets from %Ld to %Ld (and add bounds check offsets)...\n", start, end);
90 if (offset_in_array(offsets, kLoops, start - 1 + i) < B_OK) {
98 if (offset_in_array(offsets, kLoops, end - 1 + i) < B_OK) {
106 printf("Testing all offsets in the map...\n");
110 int32 index = offset_in_array(offsets, kLoops - 1, offset);