Home
last modified time | relevance | path

Searched refs:Arg (Results 1 - 25 of 489) sorted by relevance

12345678910>>...20

/third_party/skia/third_party/externals/abseil-cpp/absl/strings/
H A Dsubstitute.h92 // Arg
95 // `absl::SubstituteAndAppend()`. `Arg` handles implicit conversion of various
96 // types to a string. (`Arg` is very similar to the `AlphaNum` class in
100 class Arg { class
105 Arg(const char* value) // NOLINT(runtime/explicit) in Arg() function in absl::substitute_internal::Arg
108 Arg( // NOLINT
112 Arg(absl::string_view value) // NOLINT(runtime/explicit) in Arg() function in absl::substitute_internal::Arg
122 Arg(char value) // NOLINT(runtime/explicit) in Arg() function in absl::substitute_internal::Arg
126 Arg(short value) // NOLINT(*) in Arg() function in absl::substitute_internal::Arg
129 Arg(unsigne in Arg() function in absl::substitute_internal::Arg
132 Arg(int value) // NOLINT(runtime/explicit) Arg() function in absl::substitute_internal::Arg
135 Arg(unsigned int value) // NOLINT(runtime/explicit) Arg() function in absl::substitute_internal::Arg
138 Arg(long value) // NOLINT(*) Arg() function in absl::substitute_internal::Arg
141 Arg(unsigned long value) // NOLINT(*) Arg() function in absl::substitute_internal::Arg
144 Arg(long long value) // NOLINT(*) Arg() function in absl::substitute_internal::Arg
147 Arg(unsigned long long value) // NOLINT(*) Arg() function in absl::substitute_internal::Arg
150 Arg(float value) // NOLINT(runtime/explicit) Arg() function in absl::substitute_internal::Arg
153 Arg(double value) // NOLINT(runtime/explicit) Arg() function in absl::substitute_internal::Arg
156 Arg(bool value) // NOLINT(runtime/explicit) Arg() function in absl::substitute_internal::Arg
170 Arg(T value) // NOLINT(google-explicit-constructor) Arg() function in absl::substitute_internal::Arg
[all...]
/third_party/json/include/nlohmann/detail/
H A Dstring_concat.hpp56 template<typename StringType, typename Arg>
57 using string_can_append = decltype(std::declval<StringType&>().append(std::declval < Arg && > ()));
59 template<typename StringType, typename Arg>
60 using detect_string_can_append = is_detected<string_can_append, StringType, Arg>;
62 template<typename StringType, typename Arg>
63 using string_can_append_op = decltype(std::declval<StringType&>() += std::declval < Arg && > ());
65 template<typename StringType, typename Arg>
66 using detect_string_can_append_op = is_detected<string_can_append_op, StringType, Arg>;
68 template<typename StringType, typename Arg>
69 using string_can_append_iter = decltype(std::declval<StringType&>().append(std::declval<const Arg
[all...]
/third_party/rust/crates/clap/tests/builder/
H A Drequire.rs2 use clap::{arg, error::ErrorKind, Arg, ArgAction, ArgGroup, Command};
63 .arg(Arg::new("flag").index(1).required(true)) in positional_required()
73 .arg(Arg::new("flag").index(1).required(true)) in positional_required_2()
97 .arg(Arg::new("flag").required(true).requires("opt")) in positional_required_with_requires()
98 .arg(Arg::new("opt")) in positional_required_with_requires()
99 .arg(Arg::new("bar")); in positional_required_with_requires()
117 .arg(Arg::new("flag").required(true).requires_if("val", "opt")) in positional_required_with_requires_if_no_value()
118 .arg(Arg::new("opt")) in positional_required_with_requires_if_no_value()
119 .arg(Arg::new("bar")); in positional_required_with_requires_if_no_value()
138 .arg(Arg in positional_required_with_requires_if_value()
[all...]
H A Dderive_order.rs5 use clap::{Arg, ArgAction, Command};
25 Arg::new("flag_b") in no_derive_order()
29 Arg::new("option_b") in no_derive_order()
33 Arg::new("flag_a") in no_derive_order()
37 Arg::new("option_a") in no_derive_order()
61 Arg::new("flag_b") in derive_order()
65 Arg::new("option_b") in derive_order()
69 Arg::new("flag_a") in derive_order()
73 Arg::new("option_a") in derive_order()
100 Arg in derive_order_next_order()
[all...]
H A Dmultiple_values.rs1 use clap::{error::ErrorKind, Arg, ArgAction, Command};
7 Arg::new("option") in option_long()
35 Arg::new("option") in option_short()
61 Arg::new("option") in option_mixed()
90 Arg::new("option") in option_exact_exact()
117 Arg::new("option") in option_exact_exact_not_mult()
141 Arg::new("option") in option_exact_exact_mult()
168 Arg::new("option") in option_exact_less()
184 Arg::new("option") in option_exact_more()
202 Arg in option_min_exact()
[all...]
H A Dhelp.rs3 use clap::{arg, builder::PossibleValue, error::ErrorKind, Arg, ArgAction, ArgGroup, Command};
107 .arg(Arg::new("FIRST").help("First").num_args(1..).required(true)) in req_last_arg_usage()
109 Arg::new("SECOND") in req_last_arg_usage()
138 Arg::new("verbose") in args_with_last_usage()
145 Arg::new("timeout") in args_with_last_usage()
152 Arg::new("frequency") in args_with_last_usage()
159 Arg::new("binary path") in args_with_last_usage()
164 Arg::new("pass through args") in args_with_last_usage()
370 Arg::new("all") in wrapped_help()
377 Arg in wrapped_help()
[all...]
H A Dindices.rs1 use clap::{Arg, ArgAction, Command};
8 Arg::new("exclude") in indices_mult_opts()
15 Arg::new("include") in indices_mult_opts()
35 Arg::new("exclude") in index_mult_opts()
42 Arg::new("include") in index_mult_opts()
58 .arg(Arg::new("exclude").short('e').action(ArgAction::SetTrue)) in index_flag()
59 .arg(Arg::new("include").short('i').action(ArgAction::SetTrue)) in index_flag()
71 .arg(Arg::new("exclude").short('e').action(ArgAction::SetTrue)) in index_flags()
72 .arg(Arg::new("include").short('i').action(ArgAction::SetTrue)) in index_flags()
84 .arg(Arg in indices_mult_flags()
[all...]
H A Dunique_args.rs5 use clap::{Arg, Command}; in unique_arg_names()
8 .args([Arg::new("arg1").short('a'), Arg::new("arg1").short('b')]) in unique_arg_names()
16 use clap::{Arg, Command}; in unique_arg_shorts()
19 .args([Arg::new("arg1").short('a'), Arg::new("arg2").short('a')]) in unique_arg_shorts()
27 use clap::{Arg, Command}; in unique_arg_longs()
30 .args([Arg::new("arg1").long("long"), Arg::new("arg2").long("long")]) in unique_arg_longs()
/third_party/mesa3d/src/freedreno/vulkan/
H A Dtu_tracepoints.py22 from u_trace import TracepointArg as Arg namespace
61 tp_struct=[Arg(type='uint16_t', name='width', var='fb->width', c_format='%u'),
62 Arg(type='uint16_t', name='height', var='fb->height', c_format='%u'),
63 Arg(type='uint8_t', name='MRTs', var='fb->attachment_count', c_format='%u'),
64 # Arg(type='uint8_t', name='samples', var='fb->samples', c_format='%u'),
65 Arg(type='uint16_t', name='numberOfBins', var='tiling->tile_count.width * tiling->tile_count.height', c_format='%u'),
66 Arg(type='uint16_t', name='binWidth', var='tiling->tile0.width', c_format='%u'),
67 Arg(type='uint16_t', name='binHeight', var='tiling->tile0.height', c_format='%u')])
74 args=[Arg(type='enum VkFormat', var='format', c_format='%s', to_prim_type='vk_format_description({})->short_name'),
75 Arg(typ
[all...]
/third_party/mesa3d/src/intel/ds/
H A Dintel_tracepoints.py34 from u_trace import TracepointArg as Arg namespace
53 tp_args=[Arg(type='uint8_t', var='name', c_format='%hhu'),],
57 tp_args=[Arg(type='uint8_t', var='level', c_format='%hhu'),],
61 tp_args=[Arg(type='uint16_t', var='width', c_format='%hu'),
62 Arg(type='uint16_t', var='height', c_format='%hu'),
63 Arg(type='uint8_t', var='att_count', c_format='%hhu'),
64 Arg(type='uint8_t', var='msaa', c_format='%hhu'),])
67 tp_args=[Arg(type='uint16_t', var='width', c_format='%hu'),
68 Arg(type='uint16_t', var='height', c_format='%hu'),
69 Arg(typ
[all...]
/third_party/rust/crates/clap/clap_bench/benches/
H A D06_rustup.rs5 use clap::{Arg, ArgAction, ArgGroup, Command};
30 Arg::new("verbose") in build_cli()
46 .arg(Arg::new("toolchain").required(true)), in build_cli()
52 .arg(Arg::new("toolchain").required(true)) in build_cli()
54 Arg::new("no-self-update") in build_cli()
65 .arg(Arg::new("toolchain").required(true)), in build_cli()
75 .arg(Arg::new("toolchain").required(true)), in build_cli()
80 .arg(Arg::new("toolchain").required(true)), in build_cli()
85 .arg(Arg::new("toolchain").required(true)) in build_cli()
86 .arg(Arg in build_cli()
[all...]
H A D04_new_help.rs2 use clap::{arg, Arg, ArgAction};
40 Arg::new("debug") in app_example3()
46 Arg::new("config") in app_example3()
51 Arg::new("input") in app_example3()
71 Arg::new("debug") in app_example4()
78 Arg::new("config") in app_example4()
84 Arg::new("input") in app_example4()
93 Arg::new("awesome") in app_example5()
104 Arg::new("input") in app_example6()
110 .arg(Arg in app_example6()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Option/
H A DArgList.cpp16 #include "llvm/Option/Arg.h"
33 void ArgList::append(Arg *A) { in append()
49 for (Arg *const &A : filtered(Id)) { in eraseArg()
51 Arg **ArgsBegin = Args.data(); in eraseArg()
74 if (Arg *A = getLastArg(Pos, Neg)) in hasFlag()
81 if (Arg *A = getLastArg(Pos, PosAlias, Neg)) in hasFlag()
87 if (Arg *A = getLastArg(Id)) in getLastArgValue()
101 for (const Arg *Arg : *this) { in AddAllArgsExcept()
104 if (Arg in AddAllArgsExcept()
[all...]
H A DArg.cpp1 //===- Arg.cpp - Argument Implementations ---------------------------------===//
11 #include "llvm/Option/Arg.h"
21 Arg::Arg(const Option Opt, StringRef S, unsigned Index, const Arg *BaseArg) in Arg() function in Arg
25 Arg::Arg(const Option Opt, StringRef S, unsigned Index, const char *Value0, in Arg() function in Arg
26 const Arg *BaseArg) in Arg()
32 Arg::Arg(cons function in Arg
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Option/
H A DArg.h1 //===- Arg.h - Parsed Argument Classes --------------------------*- C++ -*-===//
10 /// Defines the llvm::Arg class for parsed arguments.
32 /// The Arg class encodes just enough information to be able to
34 class Arg { class
41 const Arg *BaseArg;
64 std::unique_ptr<Arg> Alias;
67 Arg(const Option Opt, StringRef Spelling, unsigned Index,
68 const Arg *BaseArg = nullptr);
69 Arg(const Option Opt, StringRef Spelling, unsigned Index,
70 const char *Value0, const Arg *BaseAr
[all...]
/third_party/mesa3d/src/gallium/auxiliary/util/
H A Du_tracepoints.py40 from u_trace import TracepointArg as Arg namespace
53 tp_struct=[Arg(type='uint16_t', name='width', var='psurf->width', c_format='%u'),
54 Arg(type='uint16_t', name='height', var='psurf->height', c_format='%u'),
55 Arg(type='uint8_t', name='nr_samples', var='psurf->nr_samples', c_format='%u'),
56 Arg(type='const char *', name='format', var='util_format_short_name(psurf->format)', c_format='%s')],
67 tp_struct=[Arg(type='uint16_t', name='width', var='pfb->width', c_format='%u'),
68 Arg(type='uint16_t', name='height', var='pfb->height', c_format='%u'),
69 Arg(type='uint8_t', name='layers', var='pfb->layers', c_format='%u'),
70 Arg(type='uint8_t', name='samples', var='pfb->samples', c_format='%u'),
71 Arg(typ
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/
H A DNVPTXLowerArgs.cpp116 void handleByValParam(Argument *Arg);
154 void NVPTXLowerArgs::handleByValParam(Argument *Arg) { in handleByValParam() argument
155 Function *Func = Arg->getParent(); in handleByValParam()
157 PointerType *PType = dyn_cast<PointerType>(Arg->getType()); in handleByValParam()
163 AllocaInst *AllocA = new AllocaInst(StructType, AS, Arg->getName(), FirstInst); in handleByValParam()
167 AllocA->setAlignment(MaybeAlign(Func->getParamAlignment(Arg->getArgNo()))); in handleByValParam()
168 Arg->replaceAllUsesWith(AllocA); in handleByValParam()
171 Arg, PointerType::get(StructType, ADDRESS_SPACE_PARAM), Arg->getName(), in handleByValParam()
174 new LoadInst(StructType, ArgInParam, Arg in handleByValParam()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
H A DAliasAnalysisEvaluator.h45 AAEvaluator(AAEvaluator &&Arg) in AAEvaluator() argument
46 : FunctionCount(Arg.FunctionCount), NoAliasCount(Arg.NoAliasCount), in AAEvaluator()
47 MayAliasCount(Arg.MayAliasCount), in AAEvaluator()
48 PartialAliasCount(Arg.PartialAliasCount), in AAEvaluator()
49 MustAliasCount(Arg.MustAliasCount), NoModRefCount(Arg.NoModRefCount), in AAEvaluator()
50 ModCount(Arg.ModCount), RefCount(Arg.RefCount), in AAEvaluator()
51 ModRefCount(Arg in AAEvaluator()
[all...]
/third_party/rust/crates/clap/clap_complete/examples/
H A Dcompletion.rs15 use clap::{value_parser, Arg, Command, ValueHint};
23 Arg::new("unknown") in build_cli()
27 .arg(Arg::new("other").long("other").value_hint(ValueHint::Other)) in build_cli()
29 Arg::new("path") in build_cli()
35 Arg::new("file") in build_cli()
41 Arg::new("dir") in build_cli()
47 Arg::new("exe") in build_cli()
53 Arg::new("cmd_name") in build_cli()
58 Arg::new("cmd") in build_cli()
64 Arg in build_cli()
[all...]
/third_party/skia/third_party/externals/abseil-cpp/absl/synchronization/
H A Dblocking_counter_benchmark.cc35 ->Arg(2)
36 ->Arg(4)
37 ->Arg(16)
38 ->Arg(64)
39 ->Arg(256);
75 ->Arg(2)
76 ->Arg(4)
77 ->Arg(8)
78 ->Arg(16)
79 ->Arg(3
[all...]
/third_party/rust/crates/clap/clap_mangen/tests/
H A Dcommon.rs6 clap::Arg::new("config") in basic_command()
12 clap::Arg::new("v") in basic_command()
19 clap::Arg::new("debug") in basic_command()
32 clap::Arg::new("file") in basic_command()
37 clap::Arg::new("config") in basic_command()
45 .arg(clap::Arg::new("choice").value_parser(["first", "second"])) in basic_command()
48 clap::Arg::new("case") in basic_command()
62 clap::Arg::new("config") in basic_command()
75 clap::Arg::new("single-quotes") in basic_command()
81 clap::Arg in basic_command()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
H A DAMDGPUHSAMetadataStreamer.cpp302 for (auto &Arg : Func.args()) in emitKernelArgs()
303 emitKernelArg(Arg); in emitKernelArgs()
308 void MetadataStreamerV2::emitKernelArg(const Argument &Arg) { in emitKernelArg() argument
309 auto Func = Arg.getParent(); in emitKernelArg()
310 auto ArgNo = Arg.getArgNo(); in emitKernelArg()
317 else if (Arg.hasName()) in emitKernelArg()
318 Name = Arg.getName(); in emitKernelArg()
331 if (Arg.getType()->isPointerTy() && Arg.onlyReadsMemory() && in emitKernelArg()
332 Arg in emitKernelArg()
368 auto &Arg = HSAMetadata.mKernels.back().mArgs.back(); emitKernelArg() local
729 emitKernelArg(const Argument &Arg, unsigned &Offset, msgpack::ArrayDocNode Args) emitKernelArg() argument
792 auto Arg = Args.getDocument()->getMapNode(); emitKernelArg() local
[all...]
/third_party/rust/crates/rustix/src/fs/
H A Dmount.rs15 pub fn mount<Source: path::Arg, Target: path::Arg, Fs: path::Arg, Data: path::Arg>( in mount()
46 pub fn remount<Target: path::Arg, Data: path::Arg>( in remount()
71 pub fn bind_mount<Source: path::Arg, Target: path::Arg>( in bind_mount()
95 pub fn recursive_bind_mount<Source: path::Arg, Target: path::Arg>( in recursive_bind_mount()
[all...]
/third_party/rust/crates/rustix/tests/path/
H A Darg.rs3 use rustix::path::Arg;
17 assert_eq!("hello".to_owned(), Arg::to_string_lossy(&t)); in test_arg()
22 assert_eq!("hello", Arg::as_str(&t).unwrap()); in test_arg()
23 assert_eq!("hello".to_owned(), Arg::to_string_lossy(&t)); in test_arg()
29 assert_eq!("hello".to_owned(), Arg::to_string_lossy(&t)); in test_arg()
35 assert_eq!("hello".to_owned(), Arg::to_string_lossy(&t)); in test_arg()
41 assert_eq!("hello".to_owned(), Arg::to_string_lossy(&t)); in test_arg()
47 assert_eq!("hello".to_owned(), Arg::to_string_lossy(&t)); in test_arg()
53 assert_eq!("hello".to_owned(), Arg::to_string_lossy(&t)); in test_arg()
59 assert_eq!("hello".to_owned(), Arg in test_arg()
[all...]
/third_party/rust/crates/cxx/gen/cmd/src/
H A Dapp.rs10 use clap::{Arg, Command};
122 fn arg_input() -> Arg { in arg_input()
123 Arg::new(INPUT) in arg_input()
129 fn arg_cfg() -> Arg { in arg_cfg()
134 Arg::new(CFG) in arg_cfg()
156 fn arg_cxx_impl_annotations() -> Arg { in arg_cxx_impl_annotations()
163 Arg::new(CXX_IMPL_ANNOTATIONS) in arg_cxx_impl_annotations()
171 fn arg_header() -> Arg { in arg_header()
175 Arg::new(HEADER).long(HEADER).num_args(0).help(HELP) in arg_header()
178 fn arg_help() -> Arg { in arg_help()
[all...]

Completed in 9 milliseconds

12345678910>>...20