Lines Matching +defs:from +defs:end
10 // run-time libraries and implements linux-specific functions from
124 if ((uptr)&rl < segment.end)
126 prev_end = segment.end;
128 CHECK((uptr)&rl >= segment.start && (uptr)&rl < segment.end);
130 // Get stacksize from rlimit, but clip it so that it does not overlap
133 if (stacksize > segment.end - prev_end)
134 stacksize = segment.end - prev_end;
140 *stack_top = segment.end;
141 *stack_bottom = segment.end - stacksize;
217 /* sizeof(struct pthread) values from various glibc versions. */
268 return 1856; // from glibc 2.36
272 // The sizeof (struct pthread) is the same from GLIBC 2.17 to 2.22.
277 return 1776; // from glibc.ppc64le 2.20-8.fc21
300 return 1856; // from glibc 2.36
304 // The sizeof (struct pthread) is the same from GLIBC 2.17 to 2.22.
309 return 1776; // from glibc.ppc64le 2.20-8.fc21
320 // sizeof(struct pthread) from glibc.
389 uptr begin, end, align;
489 while (l != 0 && ranges[l].begin < ranges[l - 1].end + ranges[l].align)
492 while (r != len && ranges[r].begin < ranges[r - 1].end + ranges[r].align)
495 *size = ranges[r - 1].end - ranges[l].begin;
918 // glibc crashes when using clock_gettime from a preinit_array function as the
990 void UnmapFromTo(uptr from, uptr to) {
991 if (to == from)
993 CHECK(to >= from);
994 uptr res = internal_munmap(reinterpret_cast<void *>(from), to - from);
997 SanitizerToolName, to - from, to - from, (void *)from);