Home
last modified time | relevance | path

Searched refs:Clone (Results 1 - 25 of 1385) sorted by relevance

12345678910>>...56

/third_party/rust/crates/syn/src/gen/
H A Dclone.rs8 impl Clone for Abi {
18 impl Clone for AngleBracketedGenericArguments {
30 impl Clone for Arm {
44 impl Clone for AssocConst {
56 impl Clone for AssocType {
71 impl Clone for AttrStyle {
78 impl Clone for Attribute {
90 impl Clone for BareFnArg {
101 impl Clone for BareVariadic {
116 impl Clone fo
[all...]
/third_party/skia/third_party/externals/tint/src/
H A Dclone_context.h51 virtual const Cloneable* Clone(CloneContext* ctx) const = 0;
89 /// not null. If `a` is null, then Clone() returns null.
91 /// Clone() may use a function registered with ReplaceAll() to create a
100 const T* Clone(const T* object) { in Clone() function in tint::CloneContext
102 TINT_ASSERT_PROGRAM_IDS_EQUAL_IF_VALID(Clone, src, object); in Clone()
106 TINT_ASSERT_PROGRAM_IDS_EQUAL_IF_VALID(Clone, dst, out); in Clone()
113 /// not null. If `a` is null, then Clone() returns null.
115 /// Unlike Clone(), this method does not invoke or use any transformations
130 TINT_ASSERT_PROGRAM_IDS_EQUAL_IF_VALID(Clone, src, a); in CloneWithoutTransform()
132 auto* c = a->Clone(thi in CloneWithoutTransform()
142 Source Clone(const Source& s) const { return s; } Clone() function in tint::CloneContext
160 std::vector<T> Clone(const std::vector<T>& v) { Clone() function in tint::CloneContext
178 std::vector<T*> Clone(const std::vector<T*>& v) { Clone() function in tint::CloneContext
193 void Clone(std::vector<T*>& to, const std::vector<T*>& from) { Clone() function in tint::CloneContext
[all...]
H A Dclone_context.cc37 from->Symbols().Foreach([&](Symbol s, const std::string&) { Clone(s); }); in CloneContext()
46 Symbol CloneContext::Clone(Symbol s) { in Clone() function in tint::CloneContext
58 void CloneContext::Clone() {
63 ast::FunctionList CloneContext::Clone(const ast::FunctionList& v) {
67 out.Add(Clone(el));
96 // Clone with T::Clone().
97 return object->Clone(this);
102 TINT_ICE(Clone, Diagnostics())
/third_party/rust/crates/bindgen/bindgen-tests/tests/expectations/tests/
H A Denum_explicit_type.rs9 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
15 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
21 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
27 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
32 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
37 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
42 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
48 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
57 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
H A Dsentry-defined-multiple-times.rs16 #[derive(Debug, Default, Copy, Clone)]
21 #[derive(Debug, Default, Copy, Clone)]
26 #[derive(Debug, Default, Copy, Clone)]
60 #[derive(Debug, Default, Copy, Clone)]
78 #[derive(Debug, Default, Copy, Clone)]
114 #[derive(Debug, Default, Copy, Clone)]
119 #[derive(Debug, Default, Copy, Clone)]
175 #[derive(Debug, Default, Copy, Clone)]
180 #[derive(Debug, Default, Copy, Clone)]
185 #[derive(Debug, Default, Copy, Clone)]
[all...]
H A Dcanonical-types.rs9 #[derive(Debug, Default, Copy, Clone)]
14 #[derive(Debug, Copy, Clone)]
29 #[derive(Debug, Default, Copy, Clone)]
34 #[derive(Debug, Default, Copy, Clone)]
39 #[derive(Debug, Copy, Clone)]
53 #[derive(Debug, Copy, Clone)]
67 #[derive(Debug, Copy, Clone)]
81 #[derive(Debug, Copy, Clone)]
122 #[derive(Debug, Copy, Clone)]
163 #[derive(Debug, Copy, Clone)]
[all...]
H A Dissue-1488-enum-new-type.rs12 #[derive(Debug, Copy, Clone)]
20 #[derive(Debug, Copy, Clone)]
23 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
29 #[derive(Debug, Copy, Clone)]
35 #[derive(Debug, Copy, Clone)]
/third_party/rust/crates/regex/regex-syntax/src/ast/
H A Dmod.rs22 #[derive(Clone, Debug, Eq, PartialEq)]
68 #[derive(Clone, Debug, Eq, PartialEq)]
322 #[derive(Clone, Copy, Eq, PartialEq)]
352 #[derive(Clone, Copy, Eq, PartialEq)]
440 #[derive(Clone, Debug, Eq, PartialEq)]
452 #[derive(Clone, Debug, Eq, PartialEq)]
468 #[derive(Clone, Debug, Eq, PartialEq)]
552 #[derive(Clone, Debug, Eq, PartialEq)]
576 #[derive(Clone, Debug, Eq, PartialEq)]
604 #[derive(Clone, Debu
[all...]
/third_party/skia/third_party/externals/tint/src/transform/
H A Dexternal_texture_transform.cc81 auto* exp = ctx.Clone(call_expr->target.name); in Run()
82 auto* externalTextureParam = ctx.Clone(call_expr->args[0]); in Run()
86 auto* coordsParam = ctx.Clone(call_expr->args[1]); in Run()
91 auto* samplerParam = ctx.Clone(call_expr->args[1]); in Run()
92 auto* coordsParam = ctx.Clone(call_expr->args[2]); in Run()
115 auto clonedSrc = ctx.Clone(var->source); in Run()
116 auto clonedSym = ctx.Clone(var->symbol); in Run()
117 auto* clonedConstructor = ctx.Clone(var->constructor); in Run()
118 auto clonedDecorations = ctx.Clone(var->decorations); in Run()
129 ctx.Clone(); in Run()
[all...]
H A Drobustness.cc100 auto* arr = ctx.Clone(expr->object); in Transform()
144 idx.expr = ctx.Clone(expr->index); in Transform()
197 // Clone arguments outside of create() call to have deterministic ordering in Transform()
198 auto src = ctx.Clone(expr->source); in Transform()
199 auto* obj = ctx.Clone(expr->object); in Transform()
247 auto* num_levels = b.Call("textureNumLevels", ctx.Clone(texture_arg)); in Transform()
250 auto* clamped = b.Call("clamp", ctx.Clone(arg), zero, max); in Transform()
259 ? b.Call("textureDimensions", ctx.Clone(texture_arg), level_arg()) in Transform()
260 : b.Call("textureDimensions", ctx.Clone(texture_arg)); in Transform()
264 auto* clamped_coords = b.Call("clamp", ctx.Clone(coords_ar in Transform()
[all...]
/third_party/rust/crates/linux-raw-sys/src/riscv32/
H A Dgeneral.rs4 #[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)]
119 impl<T> ::core::clone::Clone for __BindgenUnionField<T> {
2379 #[derive(Debug, Copy, Clone)]
2405 #[derive(Debug, Copy, Clone)]
2430 #[derive(Debug, Copy, Clone)]
2436 #[derive(Debug, Copy, Clone)]
2445 #[derive(Debug, Copy, Clone)]
2454 #[derive(Debug, Copy, Clone)]
2461 #[derive(Debug, Copy, Clone)]
2467 #[derive(Debug, Copy, Clone)]
[all...]
/third_party/rust/crates/linux-raw-sys/src/aarch64/
H A Dgeneral.rs4 #[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)]
119 impl<T> ::core::clone::Clone for __BindgenUnionField<T> {
2400 #[derive(Debug, Copy, Clone)]
2426 #[derive(Debug, Copy, Clone)]
2451 #[derive(Debug, Copy, Clone)]
2457 #[derive(Debug, Copy, Clone)]
2466 #[derive(Debug, Copy, Clone)]
2475 #[derive(Debug, Copy, Clone)]
2482 #[derive(Debug, Copy, Clone)]
2488 #[derive(Debug, Copy, Clone)]
[all...]
/third_party/rust/crates/linux-raw-sys/src/riscv64/
H A Dgeneral.rs4 #[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)]
119 impl<T> ::core::clone::Clone for __BindgenUnionField<T> {
2399 #[derive(Debug, Copy, Clone)]
2425 #[derive(Debug, Copy, Clone)]
2450 #[derive(Debug, Copy, Clone)]
2456 #[derive(Debug, Copy, Clone)]
2465 #[derive(Debug, Copy, Clone)]
2474 #[derive(Debug, Copy, Clone)]
2481 #[derive(Debug, Copy, Clone)]
2487 #[derive(Debug, Copy, Clone)]
[all...]
/third_party/rust/crates/clap/tests/derive/
H A Dvalue_enum.rs14 #[derive(clap::ValueEnum, PartialEq, Debug, Clone)] in basic()
43 #[derive(clap::ValueEnum, PartialEq, Debug, Clone)] in default_value()
83 #[derive(clap::ValueEnum, PartialEq, Debug, Clone)] in vec_for_default_values_t()
134 #[derive(clap::ValueEnum, PartialEq, Debug, Clone)] in vec_for_default_values_os_t()
185 #[derive(clap::ValueEnum, PartialEq, Debug, Clone)] in multi_word_is_renamed_kebab()
215 #[derive(clap::ValueEnum, PartialEq, Debug, Clone)] in variant_with_defined_casing()
238 #[derive(clap::ValueEnum, PartialEq, Debug, Clone)] in casing_is_propagated_from_parent()
261 #[derive(clap::ValueEnum, PartialEq, Debug, Clone)] in casing_propagation_is_overridden()
286 #[derive(clap::ValueEnum, PartialEq, Debug, Clone)] in ignore_case()
313 #[derive(clap::ValueEnum, PartialEq, Debug, Clone)] in ignore_case_set_to_false()
[all...]
H A Dhelp.rs5 #[derive(Debug, Clone, Parser)] in arg_help_heading_applied()
32 #[derive(Debug, Clone, Parser)] in app_help_heading_applied()
66 #[derive(Debug, Clone, Parser)] in app_help_heading_flattened()
81 #[derive(Debug, Clone, Args)] in app_help_heading_flattened()
88 #[derive(Debug, Clone, Args)] in app_help_heading_flattened()
95 #[derive(Debug, Clone, Subcommand)] in app_help_heading_flattened()
108 #[derive(Debug, Clone, Subcommand)] in app_help_heading_flattened()
114 #[derive(Debug, Clone, Subcommand)] in app_help_heading_flattened()
168 #[derive(Debug, Clone, Parser)] in flatten_field_with_help_heading()
175 #[derive(Debug, Clone, Arg in flatten_field_with_help_heading()
[all...]
/third_party/typescript/tests/baselines/reference/
H A DemitClassMergedWithConstNamespaceNotElided.js4 export namespace Clone {
13 export class Clone {
17 import {Clone} from "./enum";
19 Clone.clone("ok");
25 enum_1.Clone.clone("ok");
/third_party/rust/crates/clap/src/builder/
H A Dvalue_parser.rs558 impl Clone for ValueParser {
598 T: std::any::Any + Clone + Send + Sync + 'static,
652 /// #[derive(Clone)]
655 /// #[derive(Clone)]
685 pub trait TypedValueParser: Clone + Send + Sync + 'static {
687 type Value: Send + Sync + Clone;
759 T: Send + Sync + Clone, in possible_values()
760 F: Fn(Self::Value) -> T + Clone, in possible_values()
808 F: Fn(Self::Value) -> Result<T, E> + Clone + Send + Sync + 'static, in try_map()
809 T: Send + Sync + Clone, in try_map()
[all...]
/third_party/rust/crates/bindgen/bindgen-tests/tests/quickchecking/src/
H A Dfuzzers.rs7 #[derive(Debug, Clone)]
15 #[derive(Debug, Clone)]
23 #[derive(Debug, Clone)]
31 #[derive(Debug, Clone)]
40 #[derive(Debug, Clone)]
56 #[derive(Debug, Clone)]
68 #[derive(Debug, Clone)]
80 #[derive(Debug, Clone)]
96 #[derive(Debug, Clone)]
112 #[derive(Debug, Clone)]
[all...]
/third_party/skia/third_party/externals/tint/src/ast/
H A Dfunction.cc68 const Function* Function::Clone(CloneContext* ctx) const { in Clone() function in tint::ast::Function
69 // Clone arguments outside of create() call to have deterministic ordering in Clone()
70 auto src = ctx->Clone(source); in Clone()
71 auto sym = ctx->Clone(symbol); in Clone()
72 auto p = ctx->Clone(params); in Clone()
73 auto* ret = ctx->Clone(return_type); in Clone()
74 auto* b = ctx->Clone(body); in Clone()
75 auto decos = ctx->Clone(decorations); in Clone()
76 auto ret_decos = ctx->Clone(return_type_decorations); in Clone()
H A Dfor_loop_statement.cc47 const ForLoopStatement* ForLoopStatement::Clone(CloneContext* ctx) const { in Clone() function in tint::ast::ForLoopStatement
48 // Clone arguments outside of create() call to have deterministic ordering in Clone()
49 auto src = ctx->Clone(source); in Clone()
51 auto* init = ctx->Clone(initializer); in Clone()
52 auto* cond = ctx->Clone(condition); in Clone()
53 auto* cont = ctx->Clone(continuing); in Clone()
54 auto* b = ctx->Clone(body); in Clone()
H A Dworkgroup_decoration.cc39 const WorkgroupDecoration* WorkgroupDecoration::Clone(CloneContext* ctx) const { in Clone() function in tint::ast::WorkgroupDecoration
40 // Clone arguments outside of create() call to have deterministic ordering in Clone()
41 auto src = ctx->Clone(source); in Clone()
42 auto* x_ = ctx->Clone(x); in Clone()
43 auto* y_ = ctx->Clone(y); in Clone()
44 auto* z_ = ctx->Clone(z); in Clone()
H A Dvariable.cc65 const Variable* Variable::Clone(CloneContext* ctx) const { in Clone() function in tint::ast::Variable
66 auto src = ctx->Clone(source); in Clone()
67 auto sym = ctx->Clone(symbol); in Clone()
68 auto* ty = ctx->Clone(type); in Clone()
69 auto* ctor = ctx->Clone(constructor); in Clone()
70 auto decos = ctx->Clone(decorations); in Clone()
H A Dif_statement.cc47 const IfStatement* IfStatement::Clone(CloneContext* ctx) const { in Clone() function in tint::ast::IfStatement
48 // Clone arguments outside of create() call to have deterministic ordering in Clone()
49 auto src = ctx->Clone(source); in Clone()
50 auto* cond = ctx->Clone(condition); in Clone()
51 auto* b = ctx->Clone(body); in Clone()
52 auto el = ctx->Clone(else_statements); in Clone()
H A Dstruct.cc51 const Struct* Struct::Clone(CloneContext* ctx) const { in Clone() function in tint::ast::Struct
52 // Clone arguments outside of create() call to have deterministic ordering in Clone()
53 auto src = ctx->Clone(source); in Clone()
54 auto n = ctx->Clone(name); in Clone()
55 auto mem = ctx->Clone(members); in Clone()
56 auto decos = ctx->Clone(decorations); in Clone()
/third_party/rust/crates/rustix/src/
H A Dio_uring.rs115 #[derive(Debug, Clone, Copy, Eq, PartialEq, Hash)]
184 #[derive(Debug, Clone, Copy, Eq, PartialEq, Hash)]
317 #[derive(Debug, Clone, Copy, Eq, PartialEq, Hash)]
569 #[derive(Copy, Clone)]
616 #[derive(Copy, Clone)]
678 #[derive(Copy, Clone, Default)]
697 #[derive(Copy, Clone)]
705 #[derive(Copy, Clone)]
713 #[derive(Copy, Clone)]
740 #[derive(Copy, Clone)]
[all...]

Completed in 43 milliseconds

12345678910>>...56