/system/extras/simpleperf/ |
H A D | tracing.cpp | 298 size_t pos = value.find_first_of('['); local 299 if (pos == std::string::npos) { 303 field.name = value.substr(0, pos); 305 static_cast<size_t>(strtoull(&value[pos + 1], nullptr, 10)); 333 size_t pos = s.find_first_of("name:"); local 334 if (pos != std::string::npos) { 335 format.name = android::base::Trim(s.substr(pos + strlen("name:"))); 339 size_t pos = s.find_first_of("ID:"); local 340 if (pos != std::string::npos) { 342 strtoull(s.substr(pos 346 size_t pos = s.find_first_of("field:"); local 405 size_t pos = type->name.find(':'); local [all...] |
H A D | dso.cpp | 179 size_t pos = path.find_last_of("/\\"); local 180 if (pos != std::string::npos) { 181 file_name_ = path.substr(pos + 1);
|
H A D | event_attr.cpp | 173 uint64_t pos = sizeof(perf_event_header); local 177 pos += 8; 179 *event_id_pos_in_sample_records = pos; 210 uint64_t pos = 8; local 214 pos += 8; 216 *event_id_reverse_pos_in_non_sample_records = pos;
|
H A D | read_apk.cpp | 180 size_t pos = path.find("!/"); local 181 if (pos == std::string::npos) { 184 return std::make_tuple(true, path.substr(0, pos), path.substr(pos + 2));
|
H A D | read_elf_test.cpp | 81 auto pos = symbols.find("GlobalVar"); local 82 ASSERT_NE(pos, symbols.end()); 83 ASSERT_FALSE(pos->second.is_func); 87 auto pos = symbols.find("GlobalFunc"); local 88 ASSERT_NE(pos, symbols.end()); 89 ASSERT_TRUE(pos->second.is_func); 90 ASSERT_TRUE(pos->second.is_in_text_section);
|
H A D | cmd_report_test.cpp | 325 size_t pos = 0; local 326 ASSERT_NE(pos = content.find("cpu-cycles", pos), std::string::npos); 327 ASSERT_NE(pos = content.find("Samples:", pos), std::string::npos); 328 ASSERT_NE(pos = content.find("cpu-clock", pos), std::string::npos); 329 ASSERT_NE(pos = content.find("Samples:", pos), std::string::npos);
|
H A D | cmd_stat_test.cpp | 119 size_t pos = s.find("instructions:u"); local 120 ASSERT_NE(s.npos, pos); 121 pos = s.find("instructions:k", pos); 122 ASSERT_NE(s.npos, pos); 123 pos += strlen("instructions:k"); 125 ASSERT_NE(s.npos, s.find("instructions", pos)); 142 size_t pos = 0; local 144 while((pos = s.find(subs, pos)) ! [all...] |
/system/extras/tests/iptables/qtaguid/ |
H A D | socketTag.cpp | 159 std::size_t pos = std::string::npos; local 162 pos = ctrl_data.find(buff); 163 if (pos != std::string::npos) { 180 return pos != std::string::npos;
|
/system/extras/verity/fec/ |
H A D | image.h | 58 uint64_t pos; member in struct:image
|
/system/extras/simpleperf/demo/SimpleperfExampleWithNative/gradle/wrapper/ |
H A D | gradle-wrapper.jar | META-INF/ META-INF/MANIFEST.MF org/ org/gradle/ org/gradle/wrapper/ org/gradle/wrapper/Download ... |
/system/extras/perfprofd/tests/ |
H A D | perfprofd_test.cc | 153 size_t pos = 0; local 154 while (pos < str.size()) { 155 size_t found = str.find(from, pos); 157 ret += str.substr(pos); 160 ret += str.substr(pos, found - pos) + to; 161 pos = found + from.size();
|
/system/extras/power_profile/camera_avg/gradle/wrapper/ |
H A D | gradle-wrapper.jar | META-INF/ META-INF/MANIFEST.MF org/ org/gradle/ org/gradle/wrapper/ org/gradle/wrapper/Download ... |
/system/extras/power_profile/camera_flashlight/gradle/wrapper/ |
H A D | gradle-wrapper.jar | META-INF/ META-INF/MANIFEST.MF org/ org/gradle/ org/gradle/wrapper/ org/gradle/wrapper/Download ... |
/system/extras/power_profile/gps_on/gradle/wrapper/ |
H A D | gradle-wrapper.jar | META-INF/ META-INF/MANIFEST.MF org/ org/gradle/ org/gradle/wrapper/ org/gradle/wrapper/Download ... |
/system/extras/preopt2cachename/ |
H A D | preopt2cachename.cpp | 92 std::string::size_type pos = file_location.find_last_of("."); local 93 if (pos == std::string::npos) { 98 std::string extension(file_location.substr(pos));
|
/system/extras/simpleperf/demo/SimpleperfExampleOfKotlin/gradle/wrapper/ |
H A D | gradle-wrapper.jar | META-INF/ META-INF/MANIFEST.MF org/ org/gradle/ org/gradle/wrapper/ org/gradle/wrapper/Download ... |
/system/extras/simpleperf/demo/SimpleperfExamplePureJava/gradle/wrapper/ |
H A D | gradle-wrapper.jar | META-INF/ META-INF/MANIFEST.MF org/ org/gradle/ org/gradle/wrapper/ org/gradle/wrapper/Download ... |
/system/extras/libfec/ |
H A D | fec_private.h | 107 uint64_t pos; member in struct:fec_handle
|
H A D | fec_process.cpp | 73 uint64_t pos = offset; local 89 info[i].buf = &buf[pos - offset]; 90 info[i].count = (size_t)(end - pos); 91 info[i].offset = pos; 109 pos = end;
|
/system/extras/f2fs_utils/ |
H A D | f2fs_sparseblock.c | 488 int run_on_used_blocks(u64 startblock, struct f2fs_info *info, int (*func)(u64 pos, void *data), void *data) { argument 558 int copy_used(u64 pos, void *data) argument 562 int pdone = (pos * 100) / d->info->total_blocks; 570 if(read_structure_blk(d->infd, (unsigned long long)pos, d->buf, 1)) { 576 ret = lseek64(d->outfd, pos * F2FS_BLKSIZE, SEEK_SET);
|
/system/core/include/utils/ |
H A D | SortedVector.h | 139 inline iterator erase(iterator pos) { argument 140 ssize_t index = removeItemsAt(pos-array());
|
H A D | Vector.h | 210 inline iterator erase(iterator pos) { argument 211 ssize_t index = removeItemsAt(static_cast<size_t>(pos-array()));
|
/system/core/liblog/ |
H A D | log_event_list.c | 34 unsigned pos; /* Read/write position into buffer */ member in struct:__anon1691 36 unsigned list[ANDROID_MAX_LIST_NEST_DEPTH + 1]; /* pos for list counter */ 59 if ((context->pos + needed) > MAX_EVENT_PAYLOAD) { 63 context->storage[context->pos + 0] = EVENT_TYPE_LIST; 64 context->list[0] = context->pos + 1; 65 context->pos += needed; 113 if ((context->pos + needed) > MAX_EVENT_PAYLOAD) { 126 context->storage[context->pos + 0] = EVENT_TYPE_LIST; 127 context->storage[context->pos + 1] = 0; 128 context->list[context->list_nest_depth] = context->pos 392 unsigned pos; local [all...] |
/system/core/liblog/tests/ |
H A D | liblog_test.cpp | 3186 static bool isZero(const std::string& content, std::string::size_type pos, argument 3188 std::string::size_type offset = content.find(needle, pos); 3196 static bool isNotZero(const std::string& content, std::string::size_type pos, argument 3198 std::string::size_type offset = content.find(needle, pos); 3217 std::string::size_type pos = 0; local 3218 while ((pos = content.find(event_log_tags, pos)) != std::string::npos) { 3219 pos += strlen(event_log_tags); 3223 isNotZero(content, pos, "Shared_Clean:") || 3226 ((content.substr(pos [all...] |
/system/core/libsparse/ |
H A D | output_file.c | 725 off64_t pos; local 730 pos = lseek64(fd, offset, SEEK_SET); 731 if (pos < 0) {
|