Home
last modified time | relevance | path

Searched refs:strings (Results 1 - 8 of 8) sorted by relevance

/base/hiviewdfx/hiappevent/frameworks/native/ndk/src/
H A Dndk_app_event_watcher.cpp77 std::vector<std::string> strings(strNumPieceEvent * events.size()); in OnEvents()
82 strings[strIndex] = event->GetDomain(); in OnEvents()
83 appEventInfo.domain = strings[strIndex++].c_str(); in OnEvents()
84 strings[strIndex] = event->GetName(); in OnEvents()
85 appEventInfo.name = strings[strIndex++].c_str(); in OnEvents()
86 strings[strIndex] = event->GetParamStr(); in OnEvents()
87 appEventInfo.params = strings[strIndex++].c_str(); in OnEvents()
/base/usb/usb_manager/services/native/src/
H A Dusb_right_manager.cpp577 void UsbRightManager::StringVectorSortAndUniq(std::vector<std::string> &strings) in StringVectorSortAndUniq() argument
579 sort(strings.begin(), strings.end()); in StringVectorSortAndUniq()
580 auto last = unique(strings.begin(), strings.end()); in StringVectorSortAndUniq()
581 strings.erase(last, strings.end()); in StringVectorSortAndUniq()
585 const std::vector<std::string> &strings, const std::string &value, int32_t &index) in StringVectorFound()
587 size_t len = strings.size(); in StringVectorFound()
589 if (value == strings in StringVectorFound()
584 StringVectorFound( const std::vector<std::string> &strings, const std::string &value, int32_t &index) StringVectorFound() argument
[all...]
/base/usb/usb_manager/services/native/include/
H A Dusb_right_manager.h91 void StringVectorSortAndUniq(std::vector<std::string> &strings);
92 static bool StringVectorFound(const std::vector<std::string> &strings, const std::string &value, int32_t &index);
/base/hiviewdfx/hiview/plugins/eventlogger/log_catcher/
H A Dpeer_binder_catcher.cpp206 std::vector<std::string> strings; in BinderInfoParser()
207 StringUtil::SplitStr(str, ":", strings); in BinderInfoParser()
208 if (index < strings.size()) { in BinderInfoParser()
209 return strings[index]; in BinderInfoParser()
/base/hiviewdfx/hicollie/frameworks/native/
H A Dxcollie_utils.cpp252 std::vector<std::string> strings; in ParsePeerBinderPid()
253 SplitStr(str, ":", strings); in ParsePeerBinderPid()
254 if (index < strings.size()) { in ParsePeerBinderPid()
255 return strings[index]; in ParsePeerBinderPid()
/base/msdp/device_status/rust/subsystem/device_profile/sys/src/
H A Dadapter.rs166 /// Please note that the pointer `strings` is a raw pointer that needs to be handled carefully to avoid memory
169 fn from_interface(strings: *mut CIStringVector) -> Option<&'static mut Self> in from_interface()
171 let strings_ptr = strings as *mut Self; in from_interface()
181 /// Please note that the pointer `strings` is a raw pointer that needs to be handled carefully to avoid memory
184 extern "C" fn clone(strings: *mut CIStringVector) -> *mut CIStringVector in clone()
186 if let Some(strings_mut) = StringVector::from_interface(strings) { in clone()
206 /// Please note that the pointer `strings` is a raw pointer that needs to be handled carefully to avoid memory
209 extern "C" fn destruct(strings: *mut CIStringVector) in destruct()
211 if let Some(strings_mut) = StringVector::from_interface(strings) { in destruct()
222 /// Please note that the pointer `strings` i
[all...]
/base/usb/usb_manager/test/native/service_unittest/src/
H A Dusb_dfx_test.cpp20 #include <strings.h>
/base/hiviewdfx/faultloggerd/interfaces/innerkits/dump_catcher/
H A Ddfx_dump_catcher.cpp29 #include <strings.h>

Completed in 6 milliseconds