/bionic/libc/arch-mips/bionic/ |
D | cacheflush.cpp | 48 int cacheflush(long start, long end, long /*flags*/) { in cacheflush() argument 49 if (end < start) { in cacheflush() 57 end += start; in cacheflush() 62 __builtin___clear_cache(reinterpret_cast<char*>(start), reinterpret_cast<char*>(end)); in cacheflush()
|
/bionic/libc/malloc_debug/ |
D | MapData.h | 40 …MapEntry(uintptr_t start, uintptr_t end, uintptr_t offset, const char* name, size_t name_len, int … in MapEntry() 41 : start(start), end(end), offset(offset), name(name, name_len), flags(flags) {} in MapEntry() 43 explicit MapEntry(uintptr_t pc) : start(pc), end(pc) {} in MapEntry() 45 uintptr_t start; member 58 bool operator()(const MapEntry* a, const MapEntry* b) const { return a->end <= b->start; } in operator()
|
D | MapData.cpp | 45 uintptr_t start; in parse_line() local 51 if (sscanf(line, "%" PRIxPTR "-%" PRIxPTR " %4s %" PRIxPTR " %*x:%*x %*d %n", &start, &end, in parse_line() 70 MapEntry* entry = new MapEntry(start, end, offset, name, name_len, flags); in parse_line() 82 if (!(entry->flags & PROT_READ) || addr < entry->start || addr + sizeof(T) > entry->end) { in get_val() 94 uintptr_t addr = entry->start; in valid_elf() 105 uintptr_t addr = entry->start; in read_loadbias() 205 *rel_pc = pc - entry->start + entry->offset + prev_entry->load_bias; in find() 210 *rel_pc = pc - entry->start + entry->load_bias; in find()
|
D | Config.cpp | 342 const char* start = cur; in GetOption() local 345 *option = std::string(start, cur - start); in GetOption() 356 start = cur; in GetOption() 359 if (cur != start) { in GetOption() 360 *value = std::string(start, cur - start); in GetOption()
|
/bionic/libc/kernel/uapi/linux/netfilter/ |
D | nfnetlink_compat.h | 44 #define NFA_NEST_END(skb,start) \ argument 45 ({ (start)->nfa_len = skb_tail_pointer(skb) - (unsigned char *) (start); (skb)->len; }) 46 #define NFA_NEST_CANCEL(skb,start) \ argument 47 ({ if(start) skb_trim(skb, (unsigned char *) (start) - (skb)->data); - 1; })
|
/bionic/libc/upstream-openbsd/lib/libc/stdio/ |
D | mktemp.c | 47 char *start, *cp, *ep; in mktemp_internal() local 61 for (start = ep; start > path && start[-1] == 'X'; start--) in mktemp_internal() 63 if (ep - start < MIN_X) { in mktemp_internal() 76 cp = start; in mktemp_internal()
|
/bionic/libc/upstream-netbsd/lib/libc/inet/ |
D | nsap_addr.c | 101 char *start; in inet_nsap_ntoa() local 106 start = ascii; in inet_nsap_ntoa() 109 start = tmpbuf; in inet_nsap_ntoa() 127 return (start); in inet_nsap_ntoa()
|
/bionic/libc/kernel/uapi/mtd/ |
D | mtd-abi.h | 23 __u32 start; member 27 __u64 start; member 31 __u32 start; member 36 __u64 start; member 47 __u64 start; member 96 __u32 start; member
|
/bionic/libc/upstream-netbsd/lib/libc/regex/ |
D | engine.c | 130 static const char *dissect(struct match *m, const char *start, const char *stop, sopno startst, sop… 131 static const char *backref(struct match *m, const char *start, const char *stop, sopno startst, sop… 132 static const char *fast(struct match *m, const char *start, const char *stop, sopno startst, sopno … 133 static const char *slow(struct match *m, const char *start, const char *stop, sopno startst, sopno … 134 static states step(struct re_guts *g, sopno start, sopno stop, states bef, int ch, states aft); 148 static void at(struct match *m, char *title, char *start, char *stop, sopno startst, sopno stopst); 190 const char *start; in matcher() local 203 start = string + (size_t)pmatch[0].rm_so; in matcher() 206 start = string; in matcher() 207 stop = start + strlen(start); in matcher() [all …]
|
D | regcomp.c | 144 static void repeat(struct parse *p, sopno start, int from, int to, size_t reclimit); 162 static sopno dupl(struct parse *p, sopno start, sopno finish); 578 sopno start; in p_bre() local 589 start = HERE(); in p_bre() 607 REQUIRE(HERE() != start, REG_EMPTY); /* require nonempty */ in p_bre() 848 char start, finish; in p_b_term() local 890 start = p_b_symbol(p); in p_b_term() 899 finish = start; in p_b_term() 901 REQUIRE(start <= finish, REG_ERANGE); in p_b_term() 902 for (i = start; i <= finish; i++) in p_b_term() [all …]
|
/bionic/libc/bionic/ |
D | grp_pwd.cpp | 206 uid_t start; member 221 if (user_ranges[0].start > user_ranges[0].end) return false; in verify_user_ranges_ascending() 224 if (user_ranges[i].start > user_ranges[i].end) return false; in verify_user_ranges_ascending() 225 if (user_ranges[i - 1].end > user_ranges[i].start) return false; in verify_user_ranges_ascending() 243 if (appid < user_ranges[0].start) { in is_valid_app_id() 249 if (appid >= user_ranges[i].start && appid <= user_ranges[i].end) { in is_valid_app_id() 261 if (current_id < user_ranges[0].start) { in get_next_app_id() 262 return user_ranges[0].start; in get_next_app_id() 270 if (incremented_id > user_ranges[i - 1].end && incremented_id < user_ranges[i].start) { in get_next_app_id() 271 return user_ranges[i].start; in get_next_app_id() [all …]
|
D | malloc_heapprofd.cpp | 183 char* start = static_cast<char*>(memrchr(cmdline, '/', first_arg - cmdline)); in GetHeapprofdProgramProperty() local 184 if (start == first_arg) { in GetHeapprofdProgramProperty() 188 } else if (start == nullptr) { in GetHeapprofdProgramProperty() 189 start = cmdline; in GetHeapprofdProgramProperty() 192 start++; in GetHeapprofdProgramProperty() 195 size_t name_size = static_cast<size_t>(first_arg - start); in GetHeapprofdProgramProperty() 201 memcpy(data + kHeapprofdProgramPropertyPrefixSize, start, name_size + 1); in GetHeapprofdProgramProperty()
|
D | grp_pwd_file.cpp | 210 bool MmapFile::GetFile(const char** start, const char** end) { in GetFile() argument 213 *start = start_; in GetFile() 227 *start = start_; in GetFile() 263 const char* start; in Find() local 265 if (!GetFile(&start, &end)) { in Find() 269 const char* line_beginning = start; in Find()
|
/bionic/libc/tools/ |
D | generate-NOTICE.py | 56 start = i 58 while start > 0: 59 if "/*" in lines[start - 1]: 61 start -= 1 93 for line in lines[start:end]:
|
/bionic/tests/ |
D | malloc_iterate_test.cpp | 97 [&](uint64_t start, uint64_t end, uint16_t, uint64_t, ino_t, const char* name) { in VerifyPtrs() argument 100 malloc_iterate(start, end - start, SavePointers, test_data); in VerifyPtrs() 186 [&](uint64_t start, uint64_t end, uint16_t, uint64_t, ino_t, const char* name) { in TEST() argument 189 malloc_iterate(start, end - start, SavePointers, &test_data); in TEST()
|
D | sys_prctl_test.cpp | 52 uintptr_t start; in TEST() local 54 ASSERT_EQ(2, sscanf(lines[i].c_str(), "%" SCNxPTR "-%" SCNxPTR " ", &start, &end)) in TEST() 57 ASSERT_GE(start, last_end) in TEST()
|
D | dlext_test.cpp | 309 void* start = mmap(nullptr, kLibSize, PROT_NONE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in TEST_F() local 310 ASSERT_TRUE(start != MAP_FAILED); in TEST_F() 313 extinfo.reserved_addr = start; in TEST_F() 319 EXPECT_GE(reinterpret_cast<void*>(f), start); in TEST_F() 321 reinterpret_cast<char*>(start) + kLibSize); in TEST_F() 328 void* new_start = mmap(start, PAGE_SIZE, PROT_NONE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in TEST_F() 329 ASSERT_NE(start, new_start) << "dlclose unmapped reserved space"; in TEST_F() 333 void* start = mmap(nullptr, PAGE_SIZE, PROT_NONE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in TEST_F() local 334 ASSERT_TRUE(start != MAP_FAILED); in TEST_F() 337 extinfo.reserved_addr = start; in TEST_F() [all …]
|
/bionic/libc/kernel/uapi/linux/ |
D | fib_rules.h | 42 __u32 start; member 46 __u16 start; member
|
D | blkpg.h | 36 long long start; member
|
D | dlm_plock.h | 43 __u64 start; member
|
/bionic/tools/versioner/src/ |
D | DeclarationDatabase.h | 113 FileLocation start; member 117 return std::tie(filename, start, end) < std::tie(rhs.filename, rhs.start, rhs.end); 147 location.start.line, location.start.column);
|
/bionic/libc/kernel/uapi/asm-arm/asm/ |
D | setup.h | 37 __u32 start; member 55 __u32 start; member 60 __u32 start; member
|
/bionic/benchmarks/ |
D | stdio_benchmark.cpp | 229 uintptr_t start; in BM_stdio_scanf_maps() local 236 &start, &end, permissions, &offset, &name_pos) != 4) abort(); in BM_stdio_scanf_maps() 242 static int ParseMap(const char* line, const char* /*fmt*/, uintptr_t* start, uintptr_t* end, in ParseMap() argument 248 *start = strtoul(old_str, &str, 16); in ParseMap() 297 uintptr_t start; in BM_stdio_scanf_maps_baseline() local 304 &start, &end, permissions, &offset, &name_pos) != 4) abort(); in BM_stdio_scanf_maps_baseline()
|
/bionic/libc/kernel/uapi/sound/ |
D | sfnt_info.h | 82 int start, end; member 116 int start, end; member
|
/bionic/libc/kernel/uapi/drm/ |
D | savage_drm.h | 126 unsigned short start; member 134 unsigned short start; member
|