Home
last modified time | relevance | path

Searched refs:get_id (Results 1 – 25 of 131) sorted by relevance

123456

/third_party/rust/crates/clap/src/builder/
Ddebug_asserts.rs33 .map(|x| x.get_id()) in assert_app()
67 arg.get_id() in assert_app()
71 short_flags.push(Flag::Arg(format!("-{}", s), arg.get_id().as_str())); in assert_app()
77 arg.get_id().as_str(), in assert_app()
82 …ent {}: long {:?} must not start with a `-`, that will be handled by the parser", arg.get_id(), l); in assert_app()
83 long_flags.push(Flag::Arg(format!("--{}", l), arg.get_id().as_str())); in assert_app()
89 arg.get_id().as_str(), in assert_app()
94 if let Some((first, second)) = cmd.two_args_of(|x| x.get_id() == arg.get_id()) { in assert_app()
98 arg.get_id(), in assert_app()
111 first.get_id(), in assert_app()
[all …]
/third_party/rust/crates/clap/tests/
Dmacros.rs5 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(), "foo"); in short_and_long()
[all …]
/third_party/rust/crates/clap/src/parser/
Dvalidator.rs37 let should_err = if let Some(v) = matcher.args.get(o.get_id()) { in validate()
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 …]
Dparser.rs296 ParseResult::Opt(arg.get_id().clone()) in get_matches_with()
400 if matcher.pending_arg_id() != Some(arg.get_id()) || !arg.is_multiple_values_set() { in get_matches_with()
410 arg.get_id(), in get_matches_with()
422 parse_state = ParseState::Pos(arg.get_id().clone()); in get_matches_with()
649 current_positional.get_id() in is_new_arg()
652 if self.cmd[current_positional.get_id()].is_allow_hyphen_values_set() in is_new_arg()
653 || (self.cmd[current_positional.get_id()].is_allow_negative_numbers_set() in is_new_arg()
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()
1002 arg.get_id(), in parse_opt_value()
[all …]
Darg_matcher.rs28 let args = _cmd.get_arguments().map(|a| a.get_id().clone()); in new()
29 let groups = _cmd.get_groups().map(|g| g.get_id().clone()); in new()
137 let id = arg.get_id().clone(); in start_custom_arg()
189 .and_then(|p| (p.id == *o.get_id()).then_some(p.raw_vals.len())) in needs_more_vals()
193 o.get_id(), in needs_more_vals()
/third_party/rust/crates/clap/tests/derive/
Dhelp.rs19 .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() == "should_be_in_sub_c") in app_help_heading_flattened()
[all …]
/third_party/libabigail/src/
Dabg-corpus-priv.h249 get_id(const function_decl& fn) in get_id() function
250 {return fn.get_id();} in get_id()
258 get_id(const var_decl& var) in get_id() function
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(*var); in add_var_to_exported()
/third_party/skia/third_party/externals/dawn/src/tests/unittests/
DPerThreadProcTests.cpp69 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/
Dscheduler_test.cpp116 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/rust/crates/clap/src/
Dmacros.rs212 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/cef/include/capi/
Dcef_media_router_capi.h186 cef_string_userfree_t(CEF_CALLBACK* get_id)(struct _cef_media_route_t* self);
252 cef_string_userfree_t(CEF_CALLBACK* get_id)(struct _cef_media_sink_t* self);
332 cef_string_userfree_t(CEF_CALLBACK* get_id)(struct _cef_media_source_t* self);
/third_party/python/Lib/test/
Dtest_symtable.py71 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/cef/libcef_dll/ctocpp/
Dmedia_source_ctocpp.cc24 if (CEF_MEMBER_MISSING(_struct, get_id)) in GetId()
30 cef_string_userfree_t _retval = _struct->get_id(_struct); in GetId()
Dmedia_route_ctocpp.cc26 if (CEF_MEMBER_MISSING(_struct, get_id)) in GetId()
32 cef_string_userfree_t _retval = _struct->get_id(_struct); in GetId()
Dmedia_sink_ctocpp.cc26 if (CEF_MEMBER_MISSING(_struct, get_id)) in GetId()
32 cef_string_userfree_t _retval = _struct->get_id(_struct); in GetId()
Ddownload_item_ctocpp.cc202 if (CEF_MEMBER_MISSING(_struct, get_id)) in GetId()
208 uint32 _retval = _struct->get_id(_struct); in GetId()
/third_party/rust/crates/clap/src/output/
Dusage.rs157 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()) { in get_args()
269 if required_groups_members.contains(pos.get_id()) { in get_args()
399 if required_groups_members.contains(arg.get_id()) { in get_required_usage_from()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
DDebugAnnotator11.cpp70 return mUserDefinedAnnotation != nullptr && std::this_thread::get_id() == mAnnotationThread; in loggingEnabledForThisThread()
84 mAnnotationThread = std::this_thread::get_id(); in initialize()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DParallel.cpp72 std::thread::id CurrentThreadId = std::this_thread::get_id(); in ~ThreadPoolExecutor()
74 if (T.get_id() == CurrentThreadId) in ~ThreadPoolExecutor()
/third_party/skia/third_party/externals/dawn/src/tests/perf_tests/
DDawnPerfTestPlatform.cpp82 mTraceEventBuffers[std::this_thread::get_id()] = std::move(buffer); in GetLocalTraceEventBuffer()
116 HashCombine(&hash, std::this_thread::get_id()); in AddTraceEvent()
/third_party/libexif/libexif/
Dexif-mnote-data.c119 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/src/shells/
Dzsh.rs445 debug!("write_opts_of:iter: o={}", o.get_id());
545 debug!("write_flags_of:iter: f={}", f.get_id());
626 debug!("write_positionals_of:iter: arg={}", arg.get_id());
647 name = arg.get_id(),
/third_party/gn/src/gn/
Dtrace.cc132 item_ = std::make_unique<TraceItem>(t, name, std::this_thread::get_id()); in ScopedTrace()
140 std::this_thread::get_id()); in ScopedTrace()
264 out << "{\"pid\":0,\"tid\":\"" << tidmap[std::this_thread::get_id()] << "\""; in SaveTraces()
Dimport_manager.cc81 ss << std::this_thread::get_id() << file.value(); in DoImport()
130 std::this_thread::get_id()); in DoImport()
/third_party/cef/libcef_dll/ctocpp/views/
Ddisplay_ctocpp.cc119 if (CEF_MEMBER_MISSING(_struct, get_id)) in GetID()
125 int64 _retval = _struct->get_id(_struct); in GetID()

123456