Home
last modified time | relevance | path

Searched refs:pi (Results 1 – 14 of 14) sorted by relevance

/system/extras/simpleperf/
Dcommand.h55 bool GetUintOption(const std::vector<std::string>& args, size_t* pi, T* value, uint64_t min = 0,
57 if (!NextArgumentOrError(args, pi)) {
61 if (!android::base::ParseUint(args[*pi], &tmp_value, max, allow_suffixes) || tmp_value < min) {
62 LOG(ERROR) << "Invalid argument for option " << args[*pi - 1] << ": " << args[*pi];
69 bool GetDoubleOption(const std::vector<std::string>& args, size_t* pi, double* value,
73 bool NextArgumentOrError(const std::vector<std::string>& args, size_t* pi);
Dcommand.cpp31 bool Command::NextArgumentOrError(const std::vector<std::string>& args, size_t* pi) { in NextArgumentOrError() argument
32 if (*pi + 1 == args.size()) { in NextArgumentOrError()
33 LOG(ERROR) << "No argument following " << args[*pi] << " option. Try `simpleperf help " << name_ in NextArgumentOrError()
37 ++*pi; in NextArgumentOrError()
41 bool Command::GetDoubleOption(const std::vector<std::string>& args, size_t* pi, double* value, in GetDoubleOption() argument
43 if (!NextArgumentOrError(args, pi)) { in GetDoubleOption()
46 if (!android::base::ParseDouble(args[*pi].c_str(), value, min, max)) { in GetDoubleOption()
47 LOG(ERROR) << "Invalid argument for option " << args[*pi - 1] << ": " << args[*pi]; in GetDoubleOption()
/system/core/base/
Dproperties.cpp83 const prop_info* pi = __system_property_find(key.c_str()); in GetProperty() local
84 if (pi == nullptr) return default_value; in GetProperty()
86 __system_property_read_callback(pi, in GetProperty()
155 const prop_info* pi; in WaitForPropertyCreation() local
157 while ((pi = __system_property_find(key.c_str())) == nullptr) { in WaitForPropertyCreation()
164 return pi; in WaitForPropertyCreation()
170 const prop_info* pi = WaitForPropertyCreation(key, relative_timeout, start_time); in WaitForProperty() local
171 if (pi == nullptr) return false; in WaitForProperty()
179 __system_property_read_callback(pi, WaitForPropertyCallback, &data); in WaitForProperty()
185 if (!__system_property_wait(pi, data.last_read_serial, &unused, &ts)) return false; in WaitForProperty()
/system/extras/toolchain-extras/
Dprofile-extras.cpp53 const struct prop_info *pi = __system_property_find(kCoveragePropName); in property_watch_loop() local
54 if (!pi) in property_watch_loop()
58 __system_property_read(pi, nullptr, value); in property_watch_loop()
/system/core/fastboot/
Dfs.cpp41 PROCESS_INFORMATION pi; in exec_cmd() local
46 ZeroMemory(&pi, sizeof(pi)); in exec_cmd()
65 &pi) // Pointer to PROCESS_INFORMATION structure in exec_cmd()
72 WaitForSingleObject(pi.hProcess, INFINITE); in exec_cmd()
74 GetExitCodeProcess(pi.hProcess, &exit_code); in exec_cmd()
76 CloseHandle(pi.hProcess); in exec_cmd()
77 CloseHandle(pi.hThread); in exec_cmd()
/system/extras/checkpoint_gc/
Dcheckpoint_gc.sh41 log -pi -t checkpoint_gc Turning on GC for ${NAME}
50 …log -pi -t checkpoint_gc dirty segments:${DIRTY_SEGMENTS} \(threshold:${DIRTY_SEGMENTS_THRESHOLD}\)
66 log -pi -t checkpoint_gc Turning off GC for ${NAME}
/system/libvintf/include/vintf/
DVndk.h33 VndkVersionRange(size_t s, size_t v, size_t pi, size_t pa) in VndkVersionRange()
34 : sdk(s), vndk(v), patchMin(pi), patchMax(pa) {} in VndkVersionRange()
/system/core/libcutils/
Dproperties.cpp137 static void property_list_callback(const prop_info* pi, void* data) { in property_list_callback() argument
138 __system_property_read_callback(pi, trampoline, data); in property_list_callback()
/system/core/toolbox/
Dgetprop.cpp41 [](const prop_info* pi, void* cookie) { in PrintAllProperties() argument
43 pi, in PrintAllProperties()
/system/libufdt/sysdeps/
Dlibufdt_sysdeps_vendor.c65 TYPE *pi = (TYPE *)(parmi); \
68 TYPE t = *pi; \
69 *pi++ = *pj; \
/system/core/init/
Dpersistent_properties.cpp127 [](const prop_info* pi, void* cookie) { in LoadPersistentPropertiesFromMemory() argument
129 pi, in LoadPersistentPropertiesFromMemory()
Dproperty_service.cpp164 prop_info* pi = (prop_info*) __system_property_find(name.c_str()); in PropertySet() local
165 if (pi != nullptr) { in PropertySet()
172 __system_property_update(pi, value.c_str(), valuelen); in PropertySet()
/system/chre/external/kiss_fft/
Dkiss_fft.c358 const double pi=3.141592653589793238462643383279502884197169399375105820974944; in kiss_fft_alloc() local
359 double phase = -2*pi*i / nfft; in kiss_fft_alloc()
/system/core/logcat/
Devent.logtags43 314 pi