Home
last modified time | relevance | path

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

/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/libbase/
Dproperties.cpp112 const prop_info* pi = __system_property_find(key.c_str()); in GetProperty() local
113 if (pi == nullptr) return default_value; in GetProperty()
115 __system_property_read_callback(pi, in GetProperty()
184 const prop_info* pi; in WaitForPropertyCreation() local
186 while ((pi = __system_property_find(key.c_str())) == nullptr) { in WaitForPropertyCreation()
193 return pi; in WaitForPropertyCreation()
199 const prop_info* pi = WaitForPropertyCreation(key, relative_timeout, start_time); in WaitForProperty() local
200 if (pi == nullptr) return false; in WaitForProperty()
208 __system_property_read_callback(pi, WaitForPropertyCallback, &data); in WaitForProperty()
214 if (!__system_property_wait(pi, data.last_read_serial, &unused, &ts)) return false; in WaitForProperty()
/system/extras/simpleperf/
Dcommand.cpp34 bool Command::NextArgumentOrError(const std::vector<std::string>& args, size_t* pi) { in NextArgumentOrError() argument
35 if (*pi + 1 == args.size()) { in NextArgumentOrError()
36 LOG(ERROR) << "No argument following " << args[*pi] << " option. Try `simpleperf help " << name_ in NextArgumentOrError()
40 ++*pi; in NextArgumentOrError()
127 bool Command::GetDoubleOption(const std::vector<std::string>& args, size_t* pi, double* value, in GetDoubleOption() argument
129 if (!NextArgumentOrError(args, pi)) { in GetDoubleOption()
132 if (!android::base::ParseDouble(args[*pi].c_str(), value, min, max)) { in GetDoubleOption()
133 LOG(ERROR) << "Invalid argument for option " << args[*pi - 1] << ": " << args[*pi]; in GetDoubleOption()
Dcommand.h171 bool GetUintOption(const std::vector<std::string>& args, size_t* pi, T* value, uint64_t min = 0,
173 if (!NextArgumentOrError(args, pi)) {
177 if (!android::base::ParseUint(args[*pi], &tmp_value, max, allow_suffixes) || tmp_value < min) {
178 LOG(ERROR) << "Invalid argument for option " << args[*pi - 1] << ": " << args[*pi];
185 bool GetDoubleOption(const std::vector<std::string>& args, size_t* pi, double* value,
189 bool NextArgumentOrError(const std::vector<std::string>& args, size_t* pi);
/system/extras/checkpoint_gc/
Dcheckpoint_gc.sh42 log -pi -t checkpoint_gc Turning on GC for ${NAME}
51 …log -pi -t checkpoint_gc dirty segments:${DIRTY_SEGMENTS} \(threshold:${DIRTY_SEGMENTS_THRESHOLD}\)
67 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.cpp109 static void property_list_callback(const prop_info* pi, void* data) { in property_list_callback() argument
110 __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.cpp128 [](const prop_info* pi, void* cookie) { in LoadPersistentPropertiesFromMemory() argument
130 pi, in LoadPersistentPropertiesFromMemory()
Dproperty_service.cpp180 prop_info* pi = (prop_info*) __system_property_find(name.c_str()); in PropertySet() local
181 if (pi != nullptr) { in PropertySet()
188 __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