Home
last modified time | relevance | path

Searched refs:start (Results 1 – 25 of 71) sorted by relevance

123

/bionic/libc/arch-mips/bionic/
Dcacheflush.cpp48 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/
DMapData.h40 …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()
DMapData.cpp45 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()
DConfig.cpp342 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/
Dnfnetlink_compat.h44 #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/
Dmktemp.c47 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/
Dnsap_addr.c101 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/
Dmtd-abi.h23 __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/
Dengine.c130 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 …]
Dregcomp.c144 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/
Dgrp_pwd.cpp206 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 …]
Dmalloc_heapprofd.cpp183 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()
Dgrp_pwd_file.cpp210 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/
Dgenerate-NOTICE.py56 start = i
58 while start > 0:
59 if "/*" in lines[start - 1]:
61 start -= 1
93 for line in lines[start:end]:
/bionic/tests/
Dmalloc_iterate_test.cpp97 [&](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()
Dsys_prctl_test.cpp52 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()
Ddlext_test.cpp309 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/
Dfib_rules.h42 __u32 start; member
46 __u16 start; member
Dblkpg.h36 long long start; member
Ddlm_plock.h43 __u64 start; member
/bionic/tools/versioner/src/
DDeclarationDatabase.h113 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/
Dsetup.h37 __u32 start; member
55 __u32 start; member
60 __u32 start; member
/bionic/benchmarks/
Dstdio_benchmark.cpp229 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/
Dsfnt_info.h82 int start, end; member
116 int start, end; member
/bionic/libc/kernel/uapi/drm/
Dsavage_drm.h126 unsigned short start; member
134 unsigned short start; member

123