Lines Matching +defs:from +defs:begin
10 // run-time libraries and implements linux-specific functions from
130 // Get stacksize from rlimit, but clip it so that it does not overlap
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;
391 bool operator<(const TlsBlock &rhs) const { return begin < rhs.begin; }
442 uptr begin;
444 begin = (uptr)info->dlpi_tls_data;
450 begin = (uptr)__builtin_thread_pointer() + TlsGetOffset(tls_modid, 0);
453 begin = (uptr)__tls_get_addr(mod_and_off);
459 TlsBlock{begin, begin + info->dlpi_phdr[i].p_memsz,
471 Sort(ranges.begin(), len);
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)
494 *addr = ranges[l].begin;
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);