Searched refs:pi (Results 1 – 7 of 7) sorted by relevance
/system/core/metricsd/ |
D | persistent_integer_test.cc | 42 std::unique_ptr<PersistentInteger> pi( in TEST_F() local 46 EXPECT_EQ(0, pi->Get()); in TEST_F() 47 EXPECT_EQ(kBackingFileName, pi->Name()); // boring in TEST_F() 50 pi->Set(2); in TEST_F() 51 pi->Add(3); in TEST_F() 52 EXPECT_EQ(5, pi->Get()); in TEST_F() 55 pi.reset(new PersistentInteger(kBackingFileName, temp_dir_.path())); in TEST_F() 56 EXPECT_EQ(5, pi->Get()); in TEST_F() 59 EXPECT_EQ(5, pi->GetAndClear()); in TEST_F() 60 EXPECT_EQ(pi->Get(), 0); in TEST_F() [all …]
|
/system/extras/simpleperf/ |
D | command.cpp | 26 bool Command::NextArgumentOrError(const std::vector<std::string>& args, size_t* pi) { in NextArgumentOrError() argument 27 if (*pi + 1 == args.size()) { in NextArgumentOrError() 28 LOG(ERROR) << "No argument following " << args[*pi] << " option. Try `simpleperf help " << name_ in NextArgumentOrError() 32 ++*pi; in NextArgumentOrError()
|
D | command.h | 52 bool NextArgumentOrError(const std::vector<std::string>& args, size_t* pi);
|
/system/extras/librank/ |
D | librank.c | 216 struct process_info *pi; in main() local 341 pi = get_process(pids[i]); in main() 360 mi = get_mapping(li, pi); in main() 405 pi = mi->proc; in main() 415 pi->cmdline, in main() 416 pi->pid); in main()
|
/system/core/libcutils/ |
D | properties.c | 140 static void property_list_callback(const prop_info *pi, void *cookie) in property_list_callback() argument 146 __system_property_read(pi, name, value); in property_list_callback()
|
/system/core/init/ |
D | property_service.cpp | 188 prop_info* pi = (prop_info*) __system_property_find(name); in property_set_impl() local 190 if(pi != 0) { in property_set_impl() 194 __system_property_update(pi, value, valuelen); in property_set_impl()
|
/system/core/logcat/ |
D | event.logtags | 40 314 pi
|