Home
last modified time | relevance | path

Searched refs:option (Results 1 - 25 of 56) sorted by relevance

123

/developtools/hiperf/demo/cpp/
H A Dhiperf_example_cmd.cpp142 USED_FUNCTION void LoopFunction(milliseconds timeOutMS, const Option &option) in LoopFunction() argument
148 if (option.sleepms > 0) { in LoopFunction()
151 std::this_thread::sleep_for(std::chrono::milliseconds(option.sleepms)); in LoopFunction()
154 if (option.mmap) { in LoopFunction()
157 if (option.iowait) { in LoopFunction()
160 if (option.branch) { in LoopFunction()
174 if (!option.nonew) { in LoopFunction()
181 if (!option.nofunc) { in LoopFunction()
188 inline void Loop(milliseconds timeOutMS, const Option &option) in Loop() argument
191 LoopFunction(timeOutMS, option); in Loop()
195 CallStack10(int currentStack, const Option &option) CallStack10() argument
202 CallStack9(int currentStack, const Option &option) CallStack9() argument
214 CallStack8(int currentStack, const Option &option) CallStack8() argument
226 CallStack7(int currentStack, const Option &option) CallStack7() argument
238 CallStack6(int currentStack, const Option &option) CallStack6() argument
250 CallStack5(int currentStack, const Option &option) CallStack5() argument
262 CallStack4(int currentStack, const Option &option) CallStack4() argument
274 CallStack3(int currentStack, const Option &option) CallStack3() argument
286 CallStack2(int currentStack, const Option &option) CallStack2() argument
298 CallStack1(int currentStack, const Option &option) CallStack1() argument
310 CallStack0(int currentStack, const Option &option) CallStack0() argument
322 ExampleThread(const Option &option) ExampleThread() argument
331 RunSampleThread(const Option &option) RunSampleThread() argument
407 MatchArgs(std::vector<std::string> &args, const std::string &option) MatchArgs() argument
415 GetBoolFromArg(std::vector<std::string> &args, const std::string &option, bool &value) GetBoolFromArg() argument
432 Option option; main() local
[all...]
/developtools/profiler/device/plugins/native_daemon/native_memory_profiler_sa/src/
H A Dnative_memory_profiler_sa_proxy.cpp35 MessageOption option; in Start() local
39 data, reply, option); in Start()
62 MessageOption option; in DumpData() local
66 data, reply, option); in DumpData()
83 MessageOption option; in Stop() local
87 data, reply, option); in Stop()
104 MessageOption option; in Stop() local
108 data, reply, option); in Stop()
/developtools/hiperf/interfaces/kits/js/napi/
H A Dhiperf_client_napi.cpp142 const std::string option = GetJsStringFromOption(env, info); in SetOutputFilename() local
143 g_hiperfRecordOption->SetOutputFilename(option); in SetOutputFilename()
188 std::string option = GetJsStringFromOption(env, info); in SetSelectCpus() local
189 g_hiperfRecordOption->SetSelectCpus(StringSplitToInt(option)); in SetSelectCpus()
200 uint32_t option = GetUintFromOption(env, info); in SetTimeStopSec() local
201 g_hiperfRecordOption->SetTimeStopSec(option); in SetTimeStopSec()
212 uint32_t option = GetUintFromOption(env, info); in SetFrequency() local
213 g_hiperfRecordOption->SetFrequency(option); in SetFrequency()
224 uint32_t option = GetUintFromOption(env, info); in SetPeriod() local
225 g_hiperfRecordOption->SetPeriod(option); in SetPeriod()
236 std::string option = GetJsStringFromOption(env, info); SetSelectEvents() local
247 std::string option = GetJsStringFromOption(env, info); SetSelectGroups() local
269 std::string option = GetJsStringFromOption(env, info); SetSelectPids() local
280 uint32_t option = GetUintFromOption(env, info); SetCallStackSamplingConfigs() local
292 std::string option = GetJsStringFromOption(env, info); SetSelectTids() local
316 uint32_t option = GetUintFromOption(env, info); SetCpuPercent() local
340 std::string option = GetJsStringFromOption(env, info); SetCallGraph() local
388 std::string option = GetJsStringFromOption(env, info); SetSymbolDir() local
400 std::string option = GetJsStringFromOption(env, info); SetDataLimit() local
412 std::string option = GetJsStringFromOption(env, info); SetAppPackage() local
424 std::string option = GetJsStringFromOption(env, info); SetClockId() local
436 std::string option = GetJsStringFromOption(env, info); SetVecBranchSampleTypes() local
448 uint32_t option = GetUintFromOption(env, info); SetMmapPages() local
486 const HiperfClient::RecordOption *option = g_hiperfRecordOption.get(); StartWithOption() local
[all...]
/developtools/hdc/hdc_rust/src/transfer/
H A Duart_wrapper.rs131 option: u8,
140 write!(f, "OutputData: session_id:{}, response:{}, option:{:#?}, package_index:{}, status:{:#?}, retry_count:{}, data size:{}", in fmt()
141 self.session_id, self.response, self.option, self.package_index, self.status, self.retry_count, self.data.len()) in fmt()
446 option: u8,
453 option,
464 fn is_response(option: u8) -> bool { in is_response()
465 let ret = (option & UartOption::Ack as u8) | (option & UartOption::Nak as u8); in is_response()
471 let option = head.option;
[all...]
H A Duart.rs174 pub fn build_header(session_id: u32, option: u16, length: usize, package_index: u32) -> Vec<u8> { in build_header()
178 option, in build_header()
189 option: u16, in build_header_obj()
196 option, in build_header_obj()
/developtools/hiperf/interfaces/innerkits/native/src/
H A Dhiperf_client.cpp501 bool Client::Start(const RecordOption &option) in Start() argument
504 if (!option.GetOutputFileName().empty()) { in Start()
505 outputFileName_ = option.GetOutputFileName(); in Start()
507 if (option.IsTimeSpecified()) { in Start()
508 return RunHiperfCmdSync(option); in Start()
510 return Start(option.GetOptionVecString()); in Start()
541 int option; in ParentWait() local
543 option = WUNTRACED | WCONTINUED; in ParentWait()
545 option = WUNTRACED; in ParentWait()
547 wpid = waitpid(pid, &childStatus, option); in ParentWait()
598 RunHiperfCmdSync(const RecordOption &option) RunHiperfCmdSync() argument
627 PrePare(const RecordOption &option) PrePare() argument
[all...]
/developtools/hapsigner/hapsigntool_cpp_test/fuzztest/generate_ca/generateca016_fuzzer/
H A Dgenerateca016_fuzzer.cpp34 Options option; in DoSomethingInterestingWithMyAPI() local
35 bool ret = CmdUtil::String2Bool(&option, "s"); in DoSomethingInterestingWithMyAPI()
/developtools/hdc/src/common/
H A Dusb.cpp65 vector<uint8_t> HdcUSBBase::BuildPacketHeader(uint32_t sessionId, uint8_t option, uint32_t dataSize) in BuildPacketHeader() argument
73 head.option = option; in BuildPacketHeader()
128 if (usbPayloadHeader->option & USB_OPTION_HEADER) { in IsUsbPacketHeader()
171 if (header->option & USB_OPTION_HEADER) { in CheckPacketOption()
H A Duart.h50 uint16_t option; // UartProtocolOption member
71 oss << " option:" << unsigned(option); in ToDebugString()
86 option(optionIn),
94 return flag[0] == r.flag[0] and flag[1] == r.flag[1] and option == r.option and in operator ==()
99 return (option & PKG_OPTION_ACK) or (option & PKG_OPTION_NAK); in IsResponsePackage()
205 UartProtocolOption option);
/developtools/hdc/hdcd_user_permit/src/
H A Dconnection.cpp33 MessageOption option; in OnAbilityConnectDone() local
63 int32_t ret = remoteObject->SendRequest(IAbilityConnection::ON_ABILITY_CONNECT_DONE, data, reply, option); in OnAbilityConnectDone()
/developtools/integration_verification/cases/smoke/basic/screenshot32/new_script/
H A Dconftest.py18 sn = request.config.option.sn
27 device.report_path = os.path.realpath(os.path.dirname(request.config.option.htmlpath))
/developtools/packing_tool/ohos_packing_tool/frameworks/src/
H A Dshell_command.cpp64 int32_t option = getopt_long(argc_, argv_, Constants::SHORT_OPTIONS, Constants::LONG_OPTIONS, nullptr); in ParseParam() local
68 if (option < 0) { in ParseParam()
71 } else if (option == '?') { in ParseParam()
/developtools/hdc/hdc_rust/src/serializer/
H A Dserialize.rs363 option: self.option, in serialize()
382 self.option = pack.option; in parse()
394 option: self.option, in serialize()
416 self.option = pack.option; in parse()
H A Dnative_struct.rs49 pub option: u16,
61 pub option: u8,
H A Dpack_struct.rs91 pub option: libc::c_ushort,
104 pub option: libc::c_uchar,
/developtools/hapsigner/hapsigntool_cpp/api/include/
H A Dsign_tool_service_impl.h43 bool GenerateAppCert(Options* option)override;
53 bool VerifyHapSigner(Options* option)override;
/developtools/packing_tool/packing_tool/frameworks/src/
H A Dshell_command.cpp70 int32_t option = getopt_long(argc_, argv_, Constants::SHORT_OPTIONS, Constants::LONG_OPTIONS, nullptr); in ParseParam() local
74 if (option < 0) { in ParseParam()
76 } else if (option == '?') { in ParseParam()
/developtools/hiperf/interfaces/innerkits/native/include/
H A Dhiperf_client.h237 bool Start(const RecordOption &option);
241 bool RunHiperfCmdSync(const RecordOption &option);
245 bool PrePare(const RecordOption &option);
/developtools/hiperf/test/unittest/common/native/
H A Dreport_test.cpp472 ReportOption option; in HWTEST_F() local
474 "pid", ReportItem::ComparePid, ReportItem::GetPid, "%*d", option.displayPids_, in HWTEST_F()
477 "comm", ReportItem::CompareComm, ReportItem::GetComm, "%-*s", option.displayComms_, in HWTEST_F()
483 option.displayPids_ = {"1"}; in HWTEST_F()
487 option.displayPids_.clear(); in HWTEST_F()
489 option.displayComms_ = {"a", "ab"}; in HWTEST_F()
493 option.displayComms_.clear(); in HWTEST_F()
495 option.displayComms_ = {"a", "ab", "abc"}; in HWTEST_F()
499 option.displayComms_.clear(); in HWTEST_F()
501 option in HWTEST_F()
[all...]
/developtools/hdc/hdc_rust/src/cffi/
H A Dusb_types.h22 uint8_t option; member
/developtools/profiler/device/plugins/native_hook/include/
H A Dhook_client.h44 EXPORT_API int ohos_malloc_hook_prctl(int option, unsigned long, unsigned long, unsigned long, unsigned long);
/developtools/hapsigner/hapsigntool_cpp/cmd/src/
H A Dcmd_util.cpp27 bool CmdUtil::String2Bool(Options* options, const std::string& option) in String2Bool() argument
29 std::string val = options->GetString(option); in String2Bool()
31 (*options)[option] = true; in String2Bool()
33 (*options)[option] = false; in String2Bool()
36 val + "is not valid value for " + "-" + option); in String2Bool()
/developtools/hiperf/src/
H A Dhiperf_libreport.cpp58 for (std::string &option : options) { in Report()
59 args.emplace_back(option); in Report()
/developtools/smartperf_host/trace_streamer/src/table/ftrace/
H A Dcpu_measure_filter_table.cpp132 void CpuMeasureFilterTable::Cursor::FilterSorted(int32_t columns, unsigned char option, sqlite3_value *argv) in FilterSorted() argument
145 switch (option) { in FilterSorted()
163 } // end of switch (option) in FilterSorted()
/developtools/hapsigner/hapsigntool_cpp/api/src/
H A Dsign_tool_service_impl.cpp662 bool SignToolServiceImpl::VerifyHapSigner(Options* option) in VerifyHapSigner() argument
664 std::string inForm = option->GetString(ParamConstants::PARAM_IN_FORM); in VerifyHapSigner()
667 int32_t ret = hapVerify.Verify(option->GetString(Options::IN_FILE), option); in VerifyHapSigner()
676 if (!verifyElf.Verify(option)) { in VerifyHapSigner()
684 if (!verifyBin.Verify(option)) { in VerifyHapSigner()

Completed in 14 milliseconds

123