Searched defs:end (Results 1 - 25 of 104) sorted by relevance

12345

/system/core/base/include/android-base/
H A Dparseint.h36 char* end; local
37 unsigned long long int result = strtoull(s, &end, base);
38 if (errno != 0 || s == end || *end != '\0') {
58 char* end; local
59 long long int result = strtoll(s, &end, base);
60 if (errno != 0 || s == end || *end != '\0') {
/system/core/libmemunreachable/
H A DProcessMappings.h24 uintptr_t end; member in struct:Mapping
H A DHeapWalker.cpp31 bool HeapWalker::Allocation(uintptr_t begin, uintptr_t end) { argument
32 if (end == begin) {
33 end = begin + 1;
35 Range range{begin, end};
39 valid_allocations_range_.end = std::max(valid_allocations_range_.end, end);
47 reinterpret_cast<void*>(end),
49 reinterpret_cast<void*>(overlap.end));
62 if (value >= valid_allocations_range_.begin && value < valid_allocations_range_.end) {
88 Root(uintptr_t begin, uintptr_t end) argument
[all...]
H A DHeapWalker.h28 // A range [begin, end)
31 uintptr_t end; member in struct:Range
33 size_t size() const { return end - begin; };
35 return this->begin == other.begin && this->end == other.end;
45 return a.end <= b.begin;
55 valid_allocations_range_.end = 0;
56 valid_allocations_range_.begin = ~valid_allocations_range_.end;
65 bool Allocation(uintptr_t begin, uintptr_t end);
66 void Root(uintptr_t begin, uintptr_t end);
[all...]
/system/core/toolbox/
H A Dr.c41 char* end = strchr(argv[1], '-'); local
42 if (end)
43 endaddr = strtoptr(end + 1, 0, 16);
49 fprintf(stderr, "end address <= start address\n");
H A Dnandread.c34 loff_t pos, opos, end, bpos; local
189 end = len ? (start + len) : mtdinfo.size;
190 for (pos = start, opos = 0; pos < end; pos += mtdinfo.writesize) {
/system/extras/memory_replay/
H A DNativeInfo.cpp42 uintptr_t start, end; local
46 &start, &end, &name_pos) == 2) {
49 total_va_bytes += end - start;
/system/keymaster/
H A Dauth_encrypted_key_blob.cpp43 const uint8_t* end = key_blob->key_material + key_blob->key_material_size; local
46 buf = nonce.Serialize(buf, end);
47 buf = encrypted_key_material.Serialize(buf, end);
48 buf = tag.Serialize(buf, end);
49 buf = hw_enforced.Serialize(buf, end);
50 buf = sw_enforced.Serialize(buf, end);
64 const uint8_t* end = tmp + key_blob.key_material_size; local
69 if (!copy_from_buf(buf_ptr, end, nonce->peek_write(), OCB_NONCE_LENGTH) ||
70 !encrypted_key_material->Deserialize(buf_ptr, end) ||
71 !copy_from_buf(buf_ptr, end, ta
92 const uint8_t* end = tmp + key_blob.key_material_size; local
[all...]
H A Docb_utils.cpp60 uint8_t* end = derivation_data->get() + *derivation_data_length; local
61 buf = hidden.Serialize(buf, end);
62 buf = hw_enforced.Serialize(buf, end);
63 buf = sw_enforced.Serialize(buf, end);
H A Dserializable.cpp27 uint8_t* append_to_buf(uint8_t* buf, const uint8_t* end, const void* data, size_t data_len) { argument
31 if (buf + data_len <= end) {
38 bool copy_from_buf(const uint8_t** buf_ptr, const uint8_t* end, void* dest, size_t size) { argument
42 if (end < *buf_ptr + size)
49 bool copy_size_and_data_from_buf(const uint8_t** buf_ptr, const uint8_t* end, size_t* size, argument
51 if (!copy_uint32_from_buf(buf_ptr, end, size))
57 if (*buf_ptr + *size > end)
67 return copy_from_buf(buf_ptr, end, dest->get(), *size);
142 uint8_t* Buffer::Serialize(uint8_t* buf, const uint8_t* end) const {
143 return append_size_and_data_to_buf(buf, end, peek_rea
146 Deserialize(const uint8_t** buf_ptr, const uint8_t* end) argument
[all...]
/system/core/libbacktrace/
H A DBacktraceMap.cpp39 for (BacktraceMap::const_iterator it = begin(); it != end(); ++it) {
40 if (addr >= it->start && addr < it->end) {
50 unsigned long int end; local
60 &start, &end, permissions, &name_pos) != 3) {
67 &start, &end, permissions, &name_pos) != 3) {
73 map->end = end;
90 ALOGV("Parsed map: start=%p, end=%p, flags=%x, name=%s",
91 reinterpret_cast<void*>(map->start), reinterpret_cast<void*>(map->end),
147 backtrace_map->maps_.insert(backtrace_map->maps_.begin(), maps.begin(), maps.end());
[all...]
H A DGetPss.cpp69 uintptr_t start, end; local
70 if (sscanf(line, "%" SCNxPTR "-%" SCNxPTR " ", &start, &end) != 2) {
74 for (size_t page = start/pagesize; page < end/pagesize; page++) {
H A DBacktraceOffline.h32 uint64_t end; member in struct:Space
69 stack_space_.end = stack.end;
H A Dbacktrace_offline_test.cpp106 stack_info.end = stack_addr + stack_size;
123 // exact end of each function, it is accurate enough for the tests.
128 uintptr_t end; member in struct:FunctionSymbol
144 symbols.begin(), symbols.end(),
147 symbols[i].end = symbols[i + 1].start;
151 if (addr >= symbol.start && addr < symbol.end) {
/system/extras/su/
H A Dsu.c36 char* end; local
38 uid_t tmpid = strtoul(tok, &end, 10);
39 if (errno != 0 || end == tok) error(1, errno, "invalid uid/gid '%s'", tok);
/system/netd/server/
H A DUidRanges.cpp28 auto iter = std::lower_bound(mRanges.begin(), mRanges.end(), Range(uid, uid));
29 return (iter != mRanges.end() && iter->first == uid) ||
52 // Unexpected end of string.
74 std::sort(mRanges.begin(), mRanges.end());
80 std::transform(ranges.begin(), ranges.end(), mRanges.begin(),
84 std::sort(mRanges.begin(), mRanges.end());
88 auto middle = mRanges.insert(mRanges.end(), other.mRanges.begin(), other.mRanges.end());
89 std::inplace_merge(mRanges.begin(), middle, mRanges.end());
93 auto end local
[all...]
/system/core/libcutils/
H A Dproperties.c69 char *end = NULL; local
77 result = strtoimax(buf, &end, /*base*/0);
86 } else if (end == buf) {
H A Dstrdup8to16.c192 const char *end = utf8Str + length; /* This line */ local
193 while (utf8Str < end) { /* and this line changed. */
/system/extras/libfec/
H A Dfec_process.cpp72 uint64_t end = start + count_per_thread; local
88 info[i].count = (size_t)(end - pos);
107 pos = end;
108 end += count_per_thread;
/system/extras/multinetwork/
H A Dcommon.cpp43 char *end = nullptr; local
45 nh = strtoull(arg, &end, 0);
46 if (end != nullptr && *end == '\0') {
/system/extras/tests/timetest/
H A Drtc_test.cpp80 static void rtc_rollover(int start, int end) { argument
121 for (roll.tm_year = start; roll.tm_year < end; ++roll.tm_year) {
/system/core/include/backtrace/
H A DBacktraceMap.h38 uintptr_t end = 0; member in struct:backtrace_map_t
82 iterator end() { return maps_.end(); } function in class:BacktraceMap
86 const_iterator end() const { return maps_.end(); } function in class:BacktraceMap
91 return map.end > 0;
/system/core/libutils/
H A DPropertyMap.cpp84 char* end; local
85 int value = strtol(stringValue.string(), & end, 10);
86 if (*end != '\0') {
101 char* end; local
102 float value = strtof(stringValue.string(), & end);
103 if (*end != '\0') {
198 ALOGE("%s: Expected end of line, got '%s'.",
H A DTokenizer.cpp117 const char* end = getEnd(); local
119 while (eol != end) {
133 const char* end = getEnd(); local
135 while (mCurrent != end) {
149 const char* end = getEnd(); local
150 while (mCurrent != end) {
163 const char* end = getEnd(); local
164 while (mCurrent != end) {
/system/extras/perfprofd/
H A Dperf_data_converter.cc11 RangeTarget(uint64 start, uint64 end, uint64 to) argument
12 : start(start), end(end), to(to) {}
17 } else if (end != r.end) {
18 return end < r.end;
24 uint64 end; member in struct:wireless_android_logging_awp::RangeTarget
66 uint64 end = event.branch_stack[i - 1].from.offset(); local
69 if (end < star
70 LOG(WARNING) << "Bogus LBR data: " << start << "->" << end; local
[all...]

Completed in 514 milliseconds

12345