/third_party/rust/crates/clap/src/builder/ |
H A D | debug_asserts.rs | 33 .map(|x| x.get_id()) 67 arg.get_id() 71 short_flags.push(Flag::Arg(format!("-{s}"), arg.get_id().as_str())); 75 short_flags.push(Flag::Arg(format!("-{short_alias}"), arg.get_id().as_str())); 79 assert!(!l.starts_with('-'), "Argument {}: long {:?} must not start with a `-`, that will be handled by the parser", arg.get_id(), l); 80 long_flags.push(Flag::Arg(format!("--{l}"), arg.get_id().as_str())); 84 long_flags.push(Flag::Arg(format!("--{long_alias}"), arg.get_id().as_str())); 88 if let Some((first, second)) = cmd.two_args_of(|x| x.get_id() == arg.get_id()) { 92 arg.get_id(), [all...] |
/third_party/rust/crates/clap/tests/ |
H A D | macros.rs | 5 assert_eq!(arg.get_id(), "foo"); in name_explicit() 14 assert_eq!(arg.get_id(), "bar"); in name_from_long() 23 assert_eq!(arg.get_id(), "NUM"); in name_from_value() 44 assert_eq!(arg.get_id(), "foo"); in short() 52 assert_eq!(arg.get_id(), "foo"); in short() 60 assert_eq!(arg.get_id(), "foo"); in short() 68 assert_eq!(arg.get_id(), "foo"); in short() 82 assert_eq!(arg.get_id(), "foo"); in short_and_long() 91 assert_eq!(arg.get_id(), "foo"); in short_and_long() 100 assert_eq!(arg.get_id(), "fo in short_and_long() [all...] |
/third_party/rust/crates/clap/src/parser/ |
H A D | validator.rs | 37 let should_err = if let Some(v) = matcher.args.get(o.get_id()) { 233 for req in self.cmd.unroll_arg_requires(is_relevant, arg.get_id()) { in gather_requires() 277 arg.get_id() in validate_required() 279 missing_required.push(arg.get_id().clone()); in validate_required() 294 group.get_id() in validate_required() 296 missing_required.push(group.get_id().clone()); in validate_required() 305 .filter(|a| !matcher.check_explicit(a.get_id(), &ArgPredicate::IsPresent)) in validate_required() 313 a.get_id() in validate_required() 325 a.get_id() in validate_required() 335 a.get_id() in validate_required() [all...] |
H A D | parser.rs | 296 ParseResult::Opt(arg.get_id().clone()) 400 if matcher.pending_arg_id() != Some(arg.get_id()) || !arg.is_multiple_values_set() { 410 arg.get_id(), 422 parse_state = ParseState::Pos(arg.get_id().clone()); 649 current_positional.get_id() in is_new_arg() 652 if self.cmd[current_positional.get_id()].is_allow_hyphen_values_set() 653 || (self.cmd[current_positional.get_id()].is_allow_negative_numbers_set() 800 !(a.is_hide_set() || required.contains(a.get_id())) in parse_long_arg() 805 used.push(arg.get_id().clone()); in parse_long_arg() 1001 arg.get_id(), in parse_opt_value() [all...] |
H A D | arg_matcher.rs | 28 let args = _cmd.get_arguments().map(|a| a.get_id().clone()); 29 let groups = _cmd.get_groups().map(|g| g.get_id().clone()); 137 let id = arg.get_id().clone(); 189 .and_then(|p| (p.id == *o.get_id()).then_some(p.raw_vals.len())) 193 o.get_id(),
|
/third_party/rust/crates/clap/tests/derive/ |
H A D | help.rs | 19 .find(|a| a.get_id() == "should_be_in_section_a") in arg_help_heading_applied() 25 .find(|a| a.get_id() == "no_section") in arg_help_heading_applied() 47 .find(|a| a.get_id() == "should_be_in_section_a") in app_help_heading_applied() 53 .find(|a| a.get_id() == "should_be_in_default_section") in app_help_heading_applied() 124 .find(|a| a.get_id() == "should_be_in_section_a") in app_help_heading_flattened() 130 .find(|a| a.get_id() == "should_be_in_section_b") in app_help_heading_flattened() 136 .find(|a| a.get_id() == "should_be_in_default_section") in app_help_heading_flattened() 144 .find(|a| a.get_id() == "should_be_in_sub_a") in app_help_heading_flattened() 152 .find(|a| a.get_id() == "should_be_in_sub_b") in app_help_heading_flattened() 161 .find(|a| a.get_id() in app_help_heading_flattened() [all...] |
/third_party/skia/third_party/externals/dawn/src/tests/unittests/ |
H A D | PerThreadProcTests.cpp | 69 EXPECT_EQ(std::this_thread::get_id(), threadIdA); in TEST_F() 90 EXPECT_EQ(std::this_thread::get_id(), threadIdB); in TEST_F() 107 threadIdA = threadA.get_id(); in TEST_F() 108 threadIdB = threadB.get_id(); in TEST_F()
|
/third_party/skia/third_party/externals/swiftshader/third_party/marl/src/ |
H A D | scheduler_test.cpp | 116 auto threadID = std::this_thread::get_id(); in TEST_P() 118 ASSERT_EQ(threadID, std::this_thread::get_id()); in TEST_P() 143 auto threadID = std::this_thread::get_id(); in TEST_P() 145 ASSERT_EQ(threadID, std::this_thread::get_id()); in TEST_P() 175 threads.emplace(std::this_thread::get_id()); in TEST_F() 181 ASSERT_EQ(threads.count(std::this_thread::get_id()), 0U); in TEST_F()
|
/third_party/libabigail/src/ |
H A D | abg-corpus-priv.h | 249 get_id(const function_decl& fn) in get_id() function in abigail::ir::corpus::exported_decls_builder::priv 250 {return fn.get_id();} in get_id() 258 get_id(const var_decl& var) in get_id() function in abigail::ir::corpus::exported_decls_builder::priv 259 {return var.get_id();} in get_id() 292 string fn_id = fn->get_id(); in fn_id_is_in_id_fns_map() 310 const string fn_id = fn->get_id(); in fn_is_in_fns() 314 if ((*i)->get_id() == fn_id in fn_is_in_fns() 346 string fn_id = fn->get_id(); in add_fn_to_id_fns_map() 397 const string& var_id = get_id(*var); in add_var_to_map() 421 const string& id = get_id(*va in add_var_to_exported() [all...] |
/third_party/rust/crates/clap/src/ |
H A D | macros.rs | 212 if arg.get_id() == "" { 235 if arg.get_id() == "" { 301 if arg.get_id() == "" { 328 if arg.get_id() == "" { 357 if arg.get_id() == "" { 386 if arg.get_id() == "" { 539 debug_assert_ne!(arg.get_id(), "", "Without a value or long flag, the `name:` prefix is required");
|
/third_party/rust/crates/clap/src/output/ |
H A D | usage.rs | 157 debug!("Usage::needs_options_tag:iter: f={}", f.get_id()); in needs_options_tag() 173 for grp_s in self.cmd.groups_for_arg(f.get_id()) { in needs_options_tag() 246 if required_groups_members.contains(arg.get_id()) { 269 if required_groups_members.contains(pos.get_id()) { 399 if required_groups_members.contains(arg.get_id()) {
|
/third_party/python/Lib/test/ |
H A D | test_symtable.py | 71 self.assertGreater(self.top.get_id(), 0) 72 self.assertGreater(self.Mine.get_id(), 0) 73 self.assertGreater(self.a_method.get_id(), 0) 74 self.assertGreater(self.spam.get_id(), 0) 75 self.assertGreater(self.internal.get_id(), 0)
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/ |
H A D | DebugAnnotator11.cpp | 70 return mUserDefinedAnnotation != nullptr && std::this_thread::get_id() == mAnnotationThread; in loggingEnabledForThisThread() 84 mAnnotationThread = std::this_thread::get_id(); in initialize()
|
/kernel/linux/linux-5.10/drivers/usb/renesas_usbhs/ |
H A D | rcar3.c | 101 .get_id = usbhs_get_id_as_gadget, 113 .get_id = usbhs_get_id_as_gadget,
|
/kernel/linux/linux-6.6/drivers/usb/renesas_usbhs/ |
H A D | rcar3.c | 101 .get_id = usbhs_get_id_as_gadget, 113 .get_id = usbhs_get_id_as_gadget,
|
/kernel/linux/linux-6.6/tools/testing/selftests/user_events/ |
H A D | perf_test.c | 38 static int get_id(void) in get_id() function 154 id = get_id(); in TEST_F() 218 id = get_id(); in TEST_F()
|
/drivers/hdf_core/framework/tools/hdf_dev_eco_tool/command_line/ |
H A D | operate_group_passwd.py | 32 self.temp_id = self.get_id()
48 def get_id(self):
member in OperateGroupPasswd
|
/kernel/linux/linux-5.10/drivers/input/joystick/iforce/ |
H A D | iforce.h | 79 int (*get_id)(struct iforce *iforce, u8 id, member 118 return iforce->xport_ops->get_id(iforce, id, in iforce_get_id_packet()
|
/kernel/linux/linux-6.6/drivers/input/joystick/iforce/ |
H A D | iforce.h | 79 int (*get_id)(struct iforce *iforce, u8 id, member 118 return iforce->xport_ops->get_id(iforce, id, in iforce_get_id_packet()
|
/third_party/skia/third_party/externals/dawn/src/tests/perf_tests/ |
H A D | DawnPerfTestPlatform.cpp | 82 mTraceEventBuffers[std::this_thread::get_id()] = std::move(buffer); in GetLocalTraceEventBuffer() 116 HashCombine(&hash, std::this_thread::get_id()); in AddTraceEvent()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
H A D | Parallel.cpp | 72 std::thread::id CurrentThreadId = std::this_thread::get_id(); 74 if (T.get_id() == CurrentThreadId)
|
/third_party/gn/src/gn/ |
H A D | import_manager.cc | 81 ss << std::this_thread::get_id() << file.value(); in DoImport() 130 std::this_thread::get_id()); in DoImport()
|
/third_party/libexif/libexif/ |
H A D | exif-mnote-data.c | 119 if (!d || !d->methods.get_id) return 0; in exif_mnote_data_get_id() 120 return d->methods.get_id (d, n); in exif_mnote_data_get_id()
|
/third_party/rust/crates/clap/clap_complete/tests/ |
H A D | general.rs | 8 .find(|arg| arg.get_id() == "input") in infer_value_hint_for_path_buf()
|
/kernel/linux/linux-5.10/drivers/misc/ |
H A D | pti.c | 215 * get_id()- Allocate a master and channel ID. 233 static struct pti_masterchannel *get_id(u8 *id_array, in get_id() function 306 mc = get_id(drv_data->ia_app, MAX_APP_IDS, in pti_request_masterchannel() 311 mc = get_id(drv_data->ia_os, MAX_OS_IDS, in pti_request_masterchannel() 316 mc = get_id(drv_data->ia_modem, MAX_MODEM_IDS, in pti_request_masterchannel()
|