Searched refs:end (Results 1 - 25 of 94) sorted by relevance

1234

/bionic/libc/arch-mips/bionic/
H A Dcacheflush.cpp42 // int cacheflush (long start, long end, long flags)
48 int cacheflush(long start, long end, long /*flags*/) { argument
49 if (end < start) {
54 "cacheflush called with (start,len) instead of (start,end)");
57 end += start;
62 __builtin___clear_cache(reinterpret_cast<char*>(start), reinterpret_cast<char*>(end));
/bionic/libc/bionic/
H A Dwcstod.cpp37 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 Darpa_inet.cpp41 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 Dgrp_pwd.cpp206 char* end; local
211 end = const_cast<char*>(name+3);
215 userid = strtoul(name+1, &end, 10);
221 if (end[0] != '_' || end[1] == 0) {
227 if (end[1] == 'a' && isdigit(end[2])) {
229 // end will point to \0 if the strtoul below succeeds.
230 appid = strtoul(end+2, &end, 1
494 ssize_t end = android_id_count; local
619 ssize_t end = android_id_count; local
[all...]
H A Dndk_cruft.cpp151 const unsigned char* end = p + n; local
156 while (p < end && isspace(*p)) {
160 if (p < end) {
169 if (p+2 < end && p[0] == '0' && (p[1] == 'x' || p[1] == 'X')) {
172 } else if (p+1 < end && p[0] == '0') {
179 if (p+2 < end && p[0] == '0' && (p[1] == 'x' || p[1] == 'X')) {
184 while (p < end && (d = digitval(*p)) >= 0 && d < base) {
H A Dmntent.cpp79 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 Dlsearch.c62 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/linker/
H A Dlinker_cfi.h53 void AddConstant(uintptr_t begin, uintptr_t end, uint16_t v);
56 void AddUnchecked(uintptr_t begin, uintptr_t end);
59 void AddInvalid(uintptr_t begin, uintptr_t end);
62 void Add(uintptr_t begin, uintptr_t end, uintptr_t cfi_check);
H A Dlinker_cfi.cpp67 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...]
/bionic/libc/malloc_debug/
H A DMapData.h41 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 DMapData.cpp45 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 DFreeTrackData.cpp55 if (back_iter != backtraces_.end()) {
86 if (back_iter != backtraces_.end()) {
123 if (back_iter == backtraces_.end()) {
/bionic/libc/kernel/uapi/linux/
H A Ddlm_plock.h44 __u64 end; member in struct:dlm_plock_info
/bionic/libc/versioner-dependencies/common/kernel_uapi/linux/
H A Ddlm_plock.h44 __u64 end; member in struct:dlm_plock_info
/bionic/tools/versioner/dependencies/common/kernel_uapi/linux/
H A Ddlm_plock.h44 __u64 end; member in struct:dlm_plock_info
/bionic/libc/tools/
H A Dgenerate-NOTICE.py83 end = i
86 while end > 0:
87 if lines[end - 1] != " *" and lines[end - 1] != " * ====================================================":
89 end -= 1
93 for line in lines[start:end]:
/bionic/tests/
H A Dinttypes_test.cpp101 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 Dsys_prctl_test.cpp53 uintptr_t end; local
54 ASSERT_EQ(2, sscanf(lines[i].c_str(), "%" SCNxPTR "-%" SCNxPTR " ", &start, &end))
59 last_end = end;
/bionic/libc/dns/resolv/
H A Dres_cache.c175 * - end : the address of the buffer's limit, i.e. of the first byte
178 * IMPORTANT: it is assumed that end > buffer_address, i.e.
184 * - the returned value will never be strictly greater than 'end'
186 * - a return value equal to 'end' means that truncation occured
187 * (in which case, end[-1] will be set to 0)
193 * only check for truncation at the end of the sequence, as in:
195 * char buff[1000], *p = buff, *end = p + sizeof(buff);
197 * p = _bprint_c(p, end, '"');
198 * p = _bprint_s(p, end, my_string);
199 * p = _bprint_c(p, end, '"');
210 _bprint_c( char* p, char* end, int c ) argument
225 _bprint_b( char* p, char* end, const char* buf, int len ) argument
248 _bprint_s( char* p, char* end, const char* str ) argument
255 _bprint( char* p, char* end, const char* format, ... ) argument
283 _bprint_hex( char* p, char* end, unsigned value, int numDigits ) argument
296 _bprint_hexdump( char* p, char* end, const uint8_t* data, int datalen ) argument
339 char* p = buff, *end = p + sizeof(buff); local
452 const uint8_t* end; member in struct:__anon39
522 const uint8_t* end = packet->end; local
650 const uint8_t* end = packet->end; local
687 _dnsPacket_bprintQR(DnsPacket* packet, char* p, char* end) argument
764 const uint8_t* end = packet->end; local
778 const uint8_t* end = packet->end; local
1431 char temp[256], *p=temp, *end=p+sizeof(temp); local
1442 char temp[512], *p=temp, *end=p+sizeof(temp); local
[all...]
/bionic/tools/relocation_packer/src/
H A Dpacker.cc40 packed->insert(packed->end(), sleb128_packed.begin(), sleb128_packed.end());
/bionic/libc/upstream-openbsd/lib/libc/stdio/
H A Dopen_memstream.c43 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 Dopen_wmemstream.c45 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/tests/libs/
H A Dbionic_tests_zipalign.cpp60 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/libc/kernel/uapi/sound/
H A Dsfnt_info.h82 int start, end; member in struct:soundfont_voice_info
116 int start, end; member in struct:soundfont_sample_info
/bionic/libc/versioner-dependencies/common/kernel_uapi/sound/
H A Dsfnt_info.h82 int start, end; member in struct:soundfont_voice_info
116 int start, end; member in struct:soundfont_sample_info

Completed in 830 milliseconds

1234