/system/core/base/include/android-base/ |
H A D | parseint.h | 36 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 D | ProcessMappings.h | 24 uintptr_t end; member in struct:Mapping
|
H A D | HeapWalker.cpp | 31 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 D | HeapWalker.h | 28 // 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 D | r.c | 41 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 D | nandread.c | 34 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 D | NativeInfo.cpp | 42 uintptr_t start, end; local 46 &start, &end, &name_pos) == 2) { 49 total_va_bytes += end - start;
|
/system/keymaster/ |
H A D | auth_encrypted_key_blob.cpp | 43 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 D | ocb_utils.cpp | 60 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 D | serializable.cpp | 27 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 D | BacktraceMap.cpp | 39 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 D | GetPss.cpp | 69 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 D | BacktraceOffline.h | 32 uint64_t end; member in struct:Space 69 stack_space_.end = stack.end;
|
H A D | backtrace_offline_test.cpp | 106 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 D | su.c | 36 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 D | UidRanges.cpp | 28 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 D | properties.c | 69 char *end = NULL; local 77 result = strtoimax(buf, &end, /*base*/0); 86 } else if (end == buf) {
|
H A D | strdup8to16.c | 192 const char *end = utf8Str + length; /* This line */ local 193 while (utf8Str < end) { /* and this line changed. */
|
/system/extras/libfec/ |
H A D | fec_process.cpp | 72 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 D | common.cpp | 43 char *end = nullptr; local 45 nh = strtoull(arg, &end, 0); 46 if (end != nullptr && *end == '\0') {
|
/system/extras/tests/timetest/ |
H A D | rtc_test.cpp | 80 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 D | BacktraceMap.h | 38 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 D | PropertyMap.cpp | 84 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 D | Tokenizer.cpp | 117 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 D | perf_data_converter.cc | 11 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...] |