Home
last modified time | relevance | path

Searched refs:cfg (Results 1 - 25 of 42) sorted by relevance

12

/developtools/hdc/hdc_rust/src/host/
H A Dtty_utility.rs17 #[cfg(target_os = "windows")]
20 #[cfg(target_os = "windows")]
25 #[cfg(target_os = "windows")]
27 #[cfg(target_os = "windows")]
29 #[cfg(target_os = "windows")]
31 #[cfg(target_os = "windows")]
33 #[cfg(target_os = "windows")]
36 #[cfg(target_os = "windows")]
39 #[cfg(target_os = "windows")]
49 #[cfg(target_o
[all...]
H A Dserver.rs17 #[cfg(target_os = "windows")]
19 #[cfg(target_os = "windows")]
35 #[cfg(feature = "host")]
39 #[cfg(target_os = "windows")]
116 if cfg!(target_os = "windows") {
160 #[cfg(target_os = "windows")]
190 #[cfg(not(target_os = "windows"))]
221 if cfg!(target_os = "windows") {
H A Dtranslate.rs94 if cfg!(HDC_SUPPORT_UART) { in verbose()
H A Dclient.rs30 #[cfg(not(target_os = "windows"))]
33 #[cfg(featrue = "host")]
35 #[cfg(not(target_os = "windows"))]
40 #[cfg(target_os = "windows")]
43 #[cfg(target_os = "windows")]
210 #[cfg(target_os = "windows")]
255 #[cfg(not(target_os = "windows"))]
543 #[cfg(not(target_os = "windows"))]
572 #[cfg(not(target_os = "windows"))]
H A Dauth.rs31 #[cfg(feature = "host")]
237 let output = if cfg!(target_os = "windows") { in get_home_dir()
254 let output = if cfg!(target_os = "windows") { in get_hostname()
H A Dmain.rs38 #[cfg(feature = "host")]
/developtools/profiler/hiebpf/test/unittest/
H A Dbpf_controller_test.cpp61 BPFConfig cfg; in HWTEST_F() local
62 cfg.selectEventGroups_.insert(HiebpfEventGroup::FS_GROUP_ALL); in HWTEST_F()
63 cfg.selectEventGroups_.insert(HiebpfEventGroup::MEM_GROUP_ALL); in HWTEST_F()
64 cfg.selectEventGroups_.insert(HiebpfEventGroup::BIO_GROUP_ALL); in HWTEST_F()
65 cfg.LIBBPFLogLevel_ = LIBBPF_NONE; in HWTEST_F()
66 cfg.BPFLogLevel_ = BPF_LOG_NONE; in HWTEST_F()
68 cfg.traceDuration_ = duration; in HWTEST_F()
69 std::unique_ptr<BPFController> pCtx = BPFController::MakeUnique(cfg); in HWTEST_F()
/developtools/hdc/hdc_rust/src/daemon/
H A Dmain.rs26 #[cfg(feature = "emulator")]
77 #[cfg(not(feature = "emulator"))] in main()
83 #[cfg(not(feature = "emulator"))] in main()
89 #[cfg(not(feature = "emulator"))] in main()
95 #[cfg(feature = "emulator")] in main()
97 #[cfg(feature = "emulator")] in main()
107 #[cfg(not(feature = "emulator"))] in main()
109 #[cfg(not(feature = "emulator"))] in main()
111 #[cfg(feature = "emulator")] in main()
/developtools/integration_verification/tools/fotff/utils/
H A Dpprof.go12 var cfg struct { var
16 ParseFromConfigFile("pprof", &cfg)
17 if enable, _ := strconv.ParseBool(cfg.Enable); !enable {
20 server := &http.Server{Addr: net.JoinHostPort("localhost", cfg.Port)}
/developtools/packing_tool/adapter/ohos/
H A DResourcesParser.java281 ConfigIndex cfg = new ConfigIndex(); in loadBaseConfig()
284 cfg.tag = new String(tag, StandardCharsets.UTF_8); in loadBaseConfig()
285 cfg.offset = bufBuf.getInt(); in loadBaseConfig()
286 cfg.keyCount = bufBuf.getInt(); in loadBaseConfig()
287 cfg.params = new KeyParam[cfg.keyCount]; in loadBaseConfig()
288 for (int j = 0; j < cfg.keyCount; j++) { in loadBaseConfig()
289 cfg.params[j] = new KeyParam(); in loadBaseConfig()
290 cfg.params[j].keyType = bufBuf.getInt(); in loadBaseConfig()
291 cfg in loadBaseConfig()
[all...]
/developtools/hdc/hdc_rust/src/daemon_lib/
H A Dmod.rs27 #[cfg(feature = "emulator")]
38 #[cfg(feature = "emulator")]
41 #[cfg(not(feature = "emulator"))]
43 #[cfg(not(feature = "emulator"))]
45 #[cfg(not(feature = "emulator"))]
51 #[cfg(not(feature = "emulator"))]
53 #[cfg(not(feature = "emulator"))]
57 #[cfg(not(feature = "emulator"))]
61 #[cfg(not(feature = "emulator"))]
93 #[cfg(featur
[all...]
/developtools/hdc/hdc_rust/src/transfer/
H A Dusb.rs30 #[cfg(not(target_os = "windows"))]
33 #[cfg(not(feature = "host"))]
57 #[cfg(not(target_os = "windows"))]
59 #[cfg(not(target_os = "windows"))]
67 #[cfg(not(target_os = "windows"))]
101 #[cfg(not(feature = "host"))] in usb_init()
114 #[cfg(not(target_os = "windows"))]
133 #[cfg(not(target_os = "windows"))]
156 #[cfg(target_os = "windows")]
179 #[cfg(no
[all...]
H A Duart.rs31 #[cfg(not(target_os = "windows"))]
35 #[cfg(feature = "host")]
44 #[cfg(not(target_os = "windows"))]
46 #[cfg(not(target_os = "windows"))]
55 #[cfg(not(target_os = "windows"))]
83 #[cfg(not(target_os = "windows"))] in uart_close()
87 #[cfg(target_os = "windows")] in uart_close()
H A Dbuffer.rs22 #[cfg(feature = "emulator")]
24 #[cfg(feature = "host")]
32 #[cfg(not(feature = "host"))]
42 #[cfg(feature = "host")]
349 #[cfg(not(feature = "host"))]
358 #[cfg(feature = "emulator")]
362 #[cfg(feature = "host")]
H A Dbase.rs18 #[cfg(feature = "host")]
/developtools/hdc/hdc_rust/src/common/
H A Dsendmsg.rs17 #[cfg(not(target_os = "windows"))]
20 #[cfg(not(target_os = "windows"))]
25 #[cfg(not(target_os = "windows"))]
H A Dforward.rs17 #[cfg(feature = "host")]
20 #[cfg(not(feature = "host"))]
22 #[cfg(not(target_os = "windows"))]
25 #[cfg(not(target_os = "windows"))]
27 #[cfg(not(target_os = "windows"))]
34 #[cfg(not(feature = "host"))]
36 #[cfg(not(target_os = "windows"))]
48 #[cfg(not(feature = "host"))]
61 #[cfg(feature = "host")]
71 #[cfg(featur
[all...]
H A Dbase.rs20 #[cfg(not(feature = "host"))]
88 if cfg!(target_os = "windows") { in get_path_sep()
100 if cfg!(target_os = "windows") { in is_absolute_path()
236 #[cfg(not(feature = "host"))]
247 #[cfg(not(feature = "host"))]
H A Dhdctransfer.rs21 #[cfg(not(target_os = "windows"))]
23 #[cfg(not(target_os = "windows"))]
36 #[cfg(not(feature = "host"))]
38 #[cfg(feature = "host")]
124 #[cfg(not(target_os = "windows"))]
130 #[cfg(not(target_os = "windows"))]
154 #[cfg(not(target_os = "windows"))] in create_dir_all_with_permission()
157 #[cfg(not(target_os = "windows"))] in create_dir_all_with_permission()
163 #[cfg(target_os = "windows")] in create_dir_all_with_permission()
240 #[cfg(no in check_local_path()
[all...]
H A Dunittest.rs18 /// #[cfg(test)]
160 /// #[cfg(test)]
195 /// if cfg!(target_os = "windows") {
204 /// if cfg!(target_os = "linux") {
227 #[cfg(test)]
H A Djdwp.rs28 #[cfg(feature = "host")]
/developtools/hdc/hdc_rust/src/
H A Dcommon.rs22 #[cfg(not(feature = "host"))]
26 #[cfg(not(target_os = "windows"))]
H A Dlib.rs21 #[cfg(not(feature = "host"))]
23 #[cfg(feature = "host")]
H A Dutils.rs25 #[cfg(feature = "host")]
52 let arg_sign = if cfg!(target_os = "windows") { in execute_cmd()
58 let programe = if cfg!(target_os = "windows") { in execute_cmd()
90 #[cfg(not(feature = "host"))]
92 #[cfg(not(feature = "host"))]
95 #[cfg(not(feature = "host"))]
102 #[cfg(not(feature = "host"))]
108 #[cfg(not(feature = "host"))]
117 #[cfg(feature = "host")]
125 #[cfg(no
[all...]
/developtools/integration_verification/tools/startup_guard/config_parser_mgr/
H A Dconfig_parser_mgr.py23 from .cfg.config_parser import startup_config_collect

Completed in 11 milliseconds

12