/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() 208 *rel_pc = pc - entry->start + entry->offset + prev_entry->load_bias; in find() 213 *rel_pc = pc - entry->start + entry->offset + entry->load_bias; in find()
|
D | Config.cpp | 425 const char* start = cur; in GetOption() local 428 *option = std::string(start, cur - start); in GetOption() 439 start = cur; in GetOption() 442 if (cur != start) { in GetOption() 443 *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/bionic/ |
D | grp_pwd.cpp | 152 id_t start; member 175 if (ranges[0].start > ranges[0].end) return false; in verify_user_ranges_ascending() 178 if (ranges[i].start > ranges[i].end) return false; in verify_user_ranges_ascending() 179 if (ranges[i - 1].end > ranges[i].start) return false; in verify_user_ranges_ascending() 218 if (appid < ranges[0].start && platform_id_secondary_user_allowed(appid)) { in is_valid_app_id() 229 if (appid >= ranges[i].start && appid <= ranges[i].end) { in is_valid_app_id() 250 if (current_id < ranges[0].start) { in get_next_app_id() 251 return ranges[0].start; in get_next_app_id() 259 if (incremented_id > ranges[i - 1].end && incremented_id < ranges[i].start) { in get_next_app_id() 260 return ranges[i].start; in get_next_app_id() [all …]
|
D | malloc_heapprofd.cpp | 187 char* start = static_cast<char*>(memrchr(cmdline, '/', first_arg - cmdline)); in GetHeapprofdProgramProperty() local 188 if (start == first_arg) { in GetHeapprofdProgramProperty() 192 } else if (start == nullptr) { in GetHeapprofdProgramProperty() 193 start = cmdline; in GetHeapprofdProgramProperty() 196 start++; in GetHeapprofdProgramProperty() 199 size_t name_size = static_cast<size_t>(first_arg - start); in GetHeapprofdProgramProperty() 205 memcpy(data + kHeapprofdProgramPropertyPrefixSize, start, name_size + 1); in GetHeapprofdProgramProperty()
|
D | grp_pwd_file.cpp | 211 bool MmapFile::GetFile(const char** start, const char** end) { in GetFile() argument 214 *start = start_; in GetFile() 228 *start = start_; in GetFile() 261 const char* start; in Find() local 263 if (!GetFile(&start, &end)) { in Find() 267 const char* line_beginning = start; in Find()
|
/bionic/libc/upstream-netbsd/lib/libc/regex/ |
D | engine.c | 114 static const char *dissect(struct match *m, const char *start, const char *stop, sopno startst, sop… 115 static const char *backref(struct match *m, const char *start, const char *stop, sopno startst, sop… 116 static const char *walk(struct match *m, const char *start, const char *stop, sopno startst, sopno … 117 static states step(struct re_guts *g, sopno start, sopno stop, states bef, wint_t ch, states aft, i… 136 static void at(struct match *m, const char *title, const char *start, const char *stop, sopno start… 162 stepback(const char *start, const char *cur, int nchar) in stepback() argument 176 if ((ret - mbc) < start) in stepback() 191 return (cur - nchar) > start ? cur - nchar : NULL; in stepback() 213 const char *start; in matcher() local 233 start = string + (size_t)pmatch[0].rm_so; in matcher() [all …]
|
D | regcomp.c | 93 sopno start; member 164 static void repeat(struct parse *p, sopno start, int from, int to); 172 static sopno dupl(struct parse *p, sopno start, sopno finish); 726 INSERT(OCH_, bc->start); /* offset is wrong */ in p_branch_ins_offset() 727 bc->fwd = bc->start; in p_branch_ins_offset() 728 bc->back = bc->start; in p_branch_ins_offset() 847 bc.start = HERE(); in p_re() 858 (void) REQUIRE(p->gnuext || HERE() != bc.start, REG_EMPTY); in p_re() 860 if (p->gnuext && HERE() == bc.start && !p_branch_empty(p, &bc)) in p_re() 1181 wint_t start, finish; local [all …]
|
/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 61 __u64 start; member 112 __u32 start; member
|
/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/tests/ |
D | malloc_iterate_test.cpp | 99 auto callback = [&](uint64_t start, uint64_t end, uint16_t, uint64_t, ino_t, const char* name, in VerifyPtrs() 103 malloc_iterate(start, end - start, SavePointers, test_data); in VerifyPtrs() 197 auto callback = [&](uint64_t start, uint64_t end, uint16_t, uint64_t, ino_t, const char* name, in TEST() 202 malloc_iterate(start, end - start, SavePointers, &test_data); in TEST() 213 start, end, total); 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 | 324 void* start = mmap(nullptr, kLibSize, PROT_NONE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in TEST_F() local 325 ASSERT_TRUE(start != MAP_FAILED); in TEST_F() 328 extinfo.reserved_addr = start; in TEST_F() 334 EXPECT_GE(reinterpret_cast<void*>(f), start); in TEST_F() 336 reinterpret_cast<char*>(start) + kLibSize); in TEST_F() 343 void* new_start = mmap(start, PAGE_SIZE, PROT_NONE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in TEST_F() 344 ASSERT_NE(start, new_start) << "dlclose unmapped reserved space"; in TEST_F() 348 void* start = mmap(nullptr, PAGE_SIZE, PROT_NONE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in TEST_F() local 349 ASSERT_TRUE(start != MAP_FAILED); in TEST_F() 352 extinfo.reserved_addr = start; in TEST_F() [all …]
|
/bionic/libc/tools/ |
D | generate_notice.py | 86 start = i 88 while start > 0: 89 if "/*" in lines[start - 1]: 91 start -= 1 113 for line in lines[start:end]:
|
/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); 151 location.start.line, location.start.column);
|
D | Preprocessor.cpp | 242 static FileLocation findNextSemicolon(const std::deque<std::string>& lines, FileLocation start) { in findNextSemicolon() argument 243 unsigned current_line = start.line; in findNextSemicolon() 244 unsigned current_column = start.column; in findNextSemicolon() 261 errx(1, "failed to find semicolon starting from %u:%u", start.line, start.column); in findNextSemicolon() 286 FileLocation end_location = next->first.start; in mergeGuards() 399 file_lines[loc.start.line - 1].insert(loc.start.column - 1, prologue); in rewriteFile()
|
D | DeclarationDatabase.cpp | 206 .start = { in VisitDeclaratorDecl() 224 location.filename.c_str(), location.start.line, location.start.column); in VisitDeclaratorDecl() 401 ss << loc.filename << ":" << loc.start.line << ":" << loc.start.column; in to_string()
|
/bionic/libc/kernel/uapi/linux/ |
D | f2fs.h | 60 __u64 start; member 64 __u64 start; member 78 __u64 start; member
|
D | virtio_iommu.h | 30 __le64 start; member 34 __le32 start; member 117 __le64 start; member
|
D | vduse.h | 42 __u64 start; member 102 __u64 start; member 125 __u64 start; member
|
D | fib_rules.h | 42 __u32 start; member 46 __u16 start; member
|
/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 | 228 uintptr_t start; in BM_stdio_scanf_maps() local 235 &start, &end, permissions, &offset, &name_pos) != 4) abort(); in BM_stdio_scanf_maps() 241 static int ParseMap(const char* line, const char* /*fmt*/, uintptr_t* start, uintptr_t* end, in ParseMap() argument 247 *start = strtoul(old_str, &str, 16); in ParseMap() 296 uintptr_t start; in BM_stdio_scanf_maps_baseline() local 303 &start, &end, permissions, &offset, &name_pos) != 4) abort(); in BM_stdio_scanf_maps_baseline()
|