/bionic/libc/arch-mips/bionic/ |
H A D | cacheflush.cpp | 42 // int cacheflush (long start, long end, long flags) 48 int cacheflush(long start, long end, long /*flags*/) { argument 49 if (end < start) { 53 __libc_format_log(ANDROID_LOG_WARN, "libc", "cacheflush called with (start,len) instead of (start,end)"); 56 end += start; 61 __builtin___clear_cache(reinterpret_cast<char*>(start), reinterpret_cast<char*>(end));
|
/bionic/tests/ |
H A D | inttypes_test.cpp | 101 wchar_t* end = nullptr; local 102 EXPECT_EQ(123, wcstoimax(L" +123x", &end, 10)); 103 EXPECT_EQ(L'x', *end); 107 wchar_t* end = nullptr; local 108 EXPECT_EQ(123U, wcstoumax(L" +123x", &end, 10)); 109 EXPECT_EQ(L'x', *end);
|
H A D | sys_prctl_test.cpp | 53 uintptr_t end; local 54 ASSERT_EQ(2, sscanf(lines[i].c_str(), "%" SCNxPTR "-%" SCNxPTR " ", &start, &end)) 59 last_end = end;
|
H A D | setjmp_test.cpp | 91 size_t end = sizeof(sigset_t) * 8; local 92 for (size_t i = 1; i <= end; ++i) {
|
H A D | stdlib_test.cpp | 294 static void CheckStrToFloat(T fn(const char* s, char** end)) { argument
|
H A D | wchar_test.cpp | 365 // Check that valid has advanced to the end of the string. 682 static void CheckWcsToFloat(T fn(const wchar_t* s, wchar_t** end)) { argument
|
/bionic/libc/bionic/ |
H A D | arpa_inet.cpp | 41 char* end; local 43 parts[i] = strtoul(cp, &end, 0); 44 if (errno != 0 || end == cp || (*end != '.' && *end != '\0')) return 0; 45 if (*end == '\0') break; 46 cp = end + 1;
|
H A D | wcstod.cpp | 37 float_type wcstod(const wchar_t* str, wchar_t** end, float_type strtod_fn(const char*, char**)) { argument 79 if (end) { 81 // There was an error. We need to set the end pointer back to the original string, not the 83 *end = const_cast<wchar_t*>(original_str); 85 *end = const_cast<wchar_t*>(str) + actual_len; 93 float wcstof(const wchar_t* s, wchar_t** end) { argument 94 return wcstod<float>(s, end, strtof); 97 double wcstod(const wchar_t* s, wchar_t** end) { argument 98 return wcstod<double>(s, end, strtod); 101 long double wcstold(const wchar_t* s, wchar_t** end) { argument [all...] |
H A D | mntent.cpp | 79 char* const end = mnt->mnt_opts + strlen(mnt->mnt_opts); local 84 if (tokenEnd > end) break;
|
/bionic/libc/upstream-openbsd/lib/libc/stdlib/ |
H A D | lsearch.c | 62 const char *element, *end; local 64 end = (const char *)base + *nelp * width; 65 for (element = base; element < end; element += width) 82 memcpy((void *)end, key, width); 83 return((void *)end);
|
/bionic/libc/malloc_debug/ |
H A D | MapData.h | 41 MapEntry(uintptr_t start, uintptr_t end, uintptr_t offset, const char* name, size_t name_len) argument 42 : start(start), end(end), offset(offset), name(name, name_len) {} 44 MapEntry(uintptr_t pc) : start(pc), end(pc) {} 47 uintptr_t end; member in struct:MapEntry 58 return a->end <= b->start;
|
H A D | MapData.cpp | 45 uintptr_t end; local 50 &end, permissions, &offset, &name_pos) < 2) { 60 MapEntry* entry = new MapEntry(start, end, offset, name, name_len); 71 if (addr < entry->start || addr + sizeof(T) > entry->end) { 128 if (it == entries_.end()) { 152 if (it == entries_.end()) { 156 if (it == entries_.end()) {
|
H A D | Config.cpp | 144 char* end; local 145 long parsed_value = strtol(raw_value.c_str(), &end, 10); 151 if (end == raw_value.c_str()) { 155 if (static_cast<size_t>(end - raw_value.c_str()) != raw_value.size()) { 157 getprogname(), option_name.c_str(), end); 351 // Enable end guard. Value is the size of the guard.
|
/bionic/libc/kernel/uapi/linux/ |
H A D | dlm_plock.h | 50 __u64 end; member in struct:dlm_plock_info
|
H A D | fib_rules.h | 49 __u32 end; member in struct:fib_rule_uid_range
|
/bionic/libc/stdio/ |
H A D | parsefloat.c | 41 size_t parsefloat(FILE *fp, char *buf, char *end) { argument 61 for (p = buf; p < end; ) { 189 size_t wparsefloat(FILE *fp, wchar_t *buf, wchar_t *end) { argument 210 for (p = buf; p < end; ) {
|
/bionic/libc/upstream-openbsd/lib/libc/stdio/ |
H A D | open_memstream.c | 43 size_t i, end; local 45 end = (st->pos + l); 47 if (end >= st->size) { 51 if (sz < end + 1) 52 sz = end + 1;
|
H A D | open_wmemstream.c | 45 size_t nmc, len, end; local 47 end = (st->pos + l); 49 if (end >= st->size) { 53 if (sz < end + 1) 54 sz = end + 1;
|
/bionic/libc/versioner-dependencies/common/kernel_uapi/linux/ |
H A D | dlm_plock.h | 50 __u64 end; member in struct:dlm_plock_info
|
H A D | fib_rules.h | 49 __u32 end; member in struct:fib_rule_uid_range
|
/bionic/tests/libs/ |
H A D | bionic_tests_zipalign.cpp | 60 std::sort(entries->begin(), entries->end(), 127 char* end; local 128 unsigned long int alignment = strtoul(argv[1], &end, 10); 129 if ((alignment == ULONG_MAX && errno == ERANGE) || *end != '\0') {
|
/bionic/tools/versioner/src/ |
H A D | Arch.h | 74 ArchMapIterator<T> end() const { function in class:ArchMap
|
H A D | Driver.cpp | 160 std::vector<std::string> result(cc_args.begin(), cc_args.end()); 176 if (target_flag_it == cc1_flags.end()) { 205 if (arch_req_it == reqs.end()) { 216 auto end = std::chrono::high_resolution_clock::now(); local 219 auto diff = (end - start) / 1.0ms;
|
/bionic/linker/ |
H A D | linked_list.h | 219 iterator end() const { function in class:LinkedList 230 return end();
|
H A D | linker_cfi.cpp | 67 uint16_t* end() { function in class:ShadowWrite 84 void CFIShadowWriter::AddConstant(uintptr_t begin, uintptr_t end, uint16_t v) { argument 86 uint16_t* shadow_end = MemToShadow(end - 1) + 1; 89 std::fill(sw.begin(), sw.end(), v); 92 void CFIShadowWriter::AddUnchecked(uintptr_t begin, uintptr_t end) { argument 93 AddConstant(begin, end, kUncheckedShadow); 96 void CFIShadowWriter::AddInvalid(uintptr_t begin, uintptr_t end) { argument 97 AddConstant(begin, end, kInvalidShadow); 100 void CFIShadowWriter::Add(uintptr_t begin, uintptr_t end, uintptr_t cfi_check) { argument 108 uint16_t* shadow_end = MemToShadow(end [all...] |