Home
last modified time | relevance | path

Searched refs:clone (Results 1 – 25 of 2438) sorted by relevance

12345678910>>...98

/third_party/rust/crates/syn/src/gen/
Dclone.rs9 fn clone(&self) -> Self { in clone() method
11 extern_token: self.extern_token.clone(), in clone()
12 name: self.name.clone(), in clone()
19 fn clone(&self) -> Self { in clone() method
21 colon2_token: self.colon2_token.clone(), in clone()
22 lt_token: self.lt_token.clone(), in clone()
23 args: self.args.clone(), in clone()
24 gt_token: self.gt_token.clone(), in clone()
31 fn clone(&self) -> Self { in clone() method
33 attrs: self.attrs.clone(), in clone()
[all …]
/third_party/typescript/tests/verify_3rd_libs/
Dclone_all_libs.bat3 git clone https://gitee.com/openharmony-sig/material-dialogs
4 git clone https://gitee.com/openharmony-sig/arangojs
5 git clone https://gitee.com/openharmony-sig/axios
6 git clone https://gitee.com/openharmony-sig/brotli
7 git clone https://gitee.com/openharmony-sig/crypto-js
8 git clone https://gitee.com/openharmony-sig/dataORM
9 git clone https://gitee.com/openharmony-sig/fileio-extra
10 git clone https://gitee.com/openharmony-sig/ijkplayer
11 git clone https://gitee.com/openharmony-sig/ImageViewZoom
12 git clone https://gitee.com/openharmony-sig/is-png
[all …]
/third_party/mesa3d/src/compiler/glsl/
Dir_clone.cpp31 ir_rvalue::clone(void *mem_ctx, struct hash_table *) const in clone() function in ir_rvalue
41 ir_variable::clone(void *mem_ctx, struct hash_table *ht) const in clone() function in ir_variable
63 var->constant_value = this->constant_value->clone(mem_ctx, ht); in clone()
67 this->constant_initializer->clone(mem_ctx, ht); in clone()
78 ir_swizzle::clone(void *mem_ctx, struct hash_table *ht) const in clone() function in ir_swizzle
80 return new(mem_ctx) ir_swizzle(this->val->clone(mem_ctx, ht), this->mask); in clone()
84 ir_return::clone(void *mem_ctx, struct hash_table *ht) const in clone() function in ir_return
89 new_value = this->value->clone(mem_ctx, ht); in clone()
95 ir_discard::clone(void *mem_ctx, struct hash_table *ht) const in clone() function in ir_discard
100 new_condition = this->condition->clone(mem_ctx, ht); in clone()
[all …]
/third_party/rust/crates/clap/tests/builder/
Daction.rs13 let matches = cmd.clone().try_get_matches_from(["test"]).unwrap(); in set()
19 .clone() in set()
27 .clone() in set()
33 .clone() in set()
46 let matches = cmd.clone().try_get_matches_from(["test"]).unwrap(); in append()
52 .clone() in append()
63 .clone() in append()
86 let matches = cmd.clone().try_get_matches_from(["test"]).unwrap(); in set_true()
92 .clone() in set_true()
100 .clone() in set_true()
[all …]
Dmultiple_occurrences.rs36 .clone() in multiple_occurrences_of_positional()
43 .clone() in multiple_occurrences_of_positional()
56 .clone() in multiple_occurrences_of_positional()
78 let m = cmd.clone().try_get_matches_from(args).unwrap(); in multiple_occurrences_of_flags_large_quantity()
102 let m = cmd.clone().try_get_matches_from(vec![""]); in multiple_occurrences_of_before_env()
107 let m = cmd.clone().try_get_matches_from(vec!["", "-v"]); in multiple_occurrences_of_before_env()
112 let m = cmd.clone().try_get_matches_from(vec!["", "-vv"]); in multiple_occurrences_of_before_env()
117 let m = cmd.clone().try_get_matches_from(vec!["", "-vvv"]); in multiple_occurrences_of_before_env()
134 let m = cmd.clone().try_get_matches_from(vec![""]); in multiple_occurrences_of_after_env()
139 let m = cmd.clone().try_get_matches_from(vec!["", "-v"]); in multiple_occurrences_of_after_env()
[all …]
/third_party/rust/crates/codespan/codespan-reporting/src/term/
Dconfig.rs159 let header = ColorSpec::new().set_bold(true).set_intense(true).clone(); in with_blue()
162 header_bug: header.clone().set_fg(Some(Color::Red)).clone(), in with_blue()
163 header_error: header.clone().set_fg(Some(Color::Red)).clone(), in with_blue()
164 header_warning: header.clone().set_fg(Some(Color::Yellow)).clone(), in with_blue()
165 header_note: header.clone().set_fg(Some(Color::Green)).clone(), in with_blue()
166 header_help: header.clone().set_fg(Some(Color::Cyan)).clone(), in with_blue()
169 primary_label_bug: ColorSpec::new().set_fg(Some(Color::Red)).clone(), in with_blue()
170 primary_label_error: ColorSpec::new().set_fg(Some(Color::Red)).clone(), in with_blue()
171 primary_label_warning: ColorSpec::new().set_fg(Some(Color::Yellow)).clone(), in with_blue()
172 primary_label_note: ColorSpec::new().set_fg(Some(Color::Green)).clone(), in with_blue()
[all …]
/third_party/typescript/tests/baselines/reference/user/
Dclone.log3 node_modules/clone/clone.js(167,16): error TS2403: Subsequent variable declarations must have the s…
4 node_modules/clone/clone.js(167,23): error TS2365: Operator '<' cannot be applied to types 'string'…
5 node_modules/clone/clone.js(167,43): error TS2356: An arithmetic operand must be of type 'any', 'nu…
6 node_modules/clone/clone.js(176,14): error TS2532: Object is possibly 'undefined'.
7 node_modules/clone/clone.js(186,16): error TS2403: Subsequent variable declarations must have the s…
8 node_modules/clone/clone.js(186,23): error TS2365: Operator '<' cannot be applied to types 'string'…
9 node_modules/clone/clone.js(186,52): error TS2356: An arithmetic operand must be of type 'any', 'nu…
/third_party/typescript/tests/baselines/reference/
DgenericCloneReturnTypes2.types32 public clone() {
33 >clone : () => MyList<T>
46 var b: MyList<any> = a.clone(); // ok
48 >a.clone() : MyList<string>
49 >a.clone : () => MyList<string>
51 >clone : () => MyList<string>
53 var c: MyList<string> = a.clone(); // bug was there was an error on this line
55 >a.clone() : MyList<string>
56 >a.clone : () => MyList<string>
58 >clone : () => MyList<string>
[all …]
DgenericCloneReturnTypes2.symbols32 public clone() {
33 >clone : Symbol(MyList.clone, Decl(genericCloneReturnTypes2.ts, 6, 5))
47 var b: MyList<any> = a.clone(); // ok
50 >a.clone : Symbol(MyList.clone, Decl(genericCloneReturnTypes2.ts, 6, 5))
52 >clone : Symbol(MyList.clone, Decl(genericCloneReturnTypes2.ts, 6, 5))
54 var c: MyList<string> = a.clone(); // bug was there was an error on this line
57 >a.clone : Symbol(MyList.clone, Decl(genericCloneReturnTypes2.ts, 6, 5))
59 >clone : Symbol(MyList.clone, Decl(genericCloneReturnTypes2.ts, 6, 5))
61 var d: MyList<number> = a.clone(); // error
64 >a.clone : Symbol(MyList.clone, Decl(genericCloneReturnTypes2.ts, 6, 5))
[all …]
DgenericCloneReturnTypes2.js9 public clone() {
14 var b: MyList<any> = a.clone(); // ok
15 var c: MyList<string> = a.clone(); // bug was there was an error on this line
16 var d: MyList<number> = a.clone(); // error
24 MyList.prototype.clone = function () {
30 var b = a.clone(); // ok
31 var c = a.clone(); // bug was there was an error on this line
32 var d = a.clone(); // error
DunknownTypeArgOnCall.symbols6 public clone<U>() {
7 >clone : Symbol(Foo.clone, Decl(unknownTypeArgOnCall.ts, 0, 14))
17 var r = f.clone<Uhhhh>()
19 >f.clone : Symbol(Foo.clone, Decl(unknownTypeArgOnCall.ts, 0, 14))
21 >clone : Symbol(Foo.clone, Decl(unknownTypeArgOnCall.ts, 0, 14))
DemitClassMergedWithConstNamespaceNotElided.symbols25 static clone(url: string): void;
26 >clone : Symbol(Clone.clone, Decl(enum.d.ts, 9, 20))
33 Clone.clone("ok");
34 >Clone.clone : Symbol(Clone.clone, Decl(enum.d.ts, 9, 20))
36 >clone : Symbol(Clone.clone, Decl(enum.d.ts, 9, 20))
DspreadTypeRemovesReadonly.symbols14 const clone = { ...data };
15 >clone : Symbol(clone, Decl(spreadTypeRemovesReadonly.ts, 5, 5))
18 clone.value = 'bar';
19 >clone.value : Symbol(value, Decl(spreadTypeRemovesReadonly.ts, 0, 24))
20 >clone : Symbol(clone, Decl(spreadTypeRemovesReadonly.ts, 5, 5))
/third_party/mesa3d/src/freedreno/ir3/
Dir3_lower_spill.c135 struct ir3_instruction *clone = ir3_instr_clone(spill); in split_spill() local
136 ir3_instr_move_before(clone, spill); in split_spill()
138 clone->srcs[1]->wrmask = MASK(components); in split_spill()
139 if (clone->srcs[1]->flags & IR3_REG_ARRAY) { in split_spill()
140 clone->srcs[1]->num = clone->srcs[1]->array.base + comp; in split_spill()
141 clone->srcs[1]->flags &= ~IR3_REG_ARRAY; in split_spill()
144 clone->srcs[2]->uim_val = components; in split_spill()
145 clone->cat6.dst_offset += comp * component_bytes(spill->srcs[1]); in split_spill()
169 struct ir3_instruction *clone = ir3_instr_clone(reload); in split_reload() local
170 ir3_instr_move_before(clone, reload); in split_reload()
[all …]
/third_party/node/deps/npm/node_modules/clone/
Dclone.js1 var clone = (function() { function
22 function clone(parent, circular, depth, prototype) { function
58 if (clone.__isArray(parent)) {
60 } else if (clone.__isRegExp(parent)) {
63 } else if (clone.__isDate(parent)) {
121 clone.clonePrototype = function clonePrototype(parent) {
135 clone.__objToStr = __objToStr;
140 clone.__isDate = __isDate;
145 clone.__isArray = __isArray;
150 clone.__isRegExp = __isRegExp;
[all …]
/third_party/lame/ACM/tinyxml/
Dtinyxml.cpp561 TiXmlElement* clone = new TiXmlElement( Value() ); in Clone() local
563 if ( !clone ) in Clone()
566 CopyToClone( clone ); in Clone()
574 clone->SetAttribute( attribute->Name(), attribute->Value() ); in Clone()
580 clone->LinkEndChild( node->Clone() ); in Clone()
582 return clone; in Clone()
670 TiXmlDocument* clone = new TiXmlDocument(); in Clone() local
671 if ( !clone ) in Clone()
674 CopyToClone( clone ); in Clone()
675 clone->error = error; in Clone()
[all …]
/third_party/ffmpeg/libavcodec/
Dasvenc.c220 AVFrame *clone = av_frame_alloc(); in encode_frame() local
223 if (!clone) in encode_frame()
225 clone->format = pict->format; in encode_frame()
226 clone->width = FFALIGN(pict->width, 16); in encode_frame()
227 clone->height = FFALIGN(pict->height, 16); in encode_frame()
228 ret = av_frame_get_buffer(clone, 0); in encode_frame()
230 av_frame_free(&clone); in encode_frame()
234 ret = av_frame_copy(clone, pict); in encode_frame()
236 av_frame_free(&clone); in encode_frame()
244 int w2 = AV_CEIL_RSHIFT(clone->width, !!i); in encode_frame()
[all …]
/third_party/ltp/runtest/
Dcontainers19 mqns_01_clone mqns_01 -m clone
22 mqns_02_clone mqns_02 -m clone
25 mqns_03_clone mqns_03 -m clone
27 mqns_04_clone mqns_04 -m clone
49 shmnstest_clone shmnstest -m clone
52 shmem_2nstest_clone shmem_2nstest -m clone
56 mesgq_nstest_clone mesgq_nstest -m clone
60 sem_nstest_clone sem_nstest -m clone
63 semtest_2ns_clone semtest_2ns -m clone
69 utsname03_clone utsname03 -m clone
[all …]
/third_party/skia/tests/
DHashTest.cpp77 SkTHashMap<int, double> clone = map; in DEF_TEST() local
84 found = clone.find(i); in DEF_TEST()
90 REPORTER_ASSERT(r, !clone.find(i)); in DEF_TEST()
94 REPORTER_ASSERT(r, clone.count() == N); in DEF_TEST()
103 found = clone.find(i); in DEF_TEST()
107 REPORTER_ASSERT(r, clone.count() == N); in DEF_TEST()
111 REPORTER_ASSERT(r, clone.count() == N); in DEF_TEST()
113 clone = map; in DEF_TEST()
114 REPORTER_ASSERT(r, clone.count() == 0); in DEF_TEST()
170 SkTHashSet<SkString> clone = set; in DEF_TEST() local
[all …]
/third_party/rust/crates/serde/serde_derive/src/
Dbound.rs20 ..param.clone() in without_defaults()
22 _ => param.clone(), in without_defaults()
25 ..generics.clone() in without_defaults()
33 let mut generics = generics.clone(); in with_where_predicates()
52 let mut generics = generics.clone(); in with_where_predicates_from_fields()
65 return generics.clone(); in with_where_predicates_from_variants()
74 let mut generics = generics.clone(); in with_where_predicates_from_variants()
135 self.relevant_type_params.insert(id.clone()); in with_bound()
246 .map(|param| param.ident.clone()) in with_bound()
277 .map(|param| param.ident.clone()) in with_bound()
[all …]
/third_party/protobuf/ruby/tests/
Drepeated_field_test.rb148 m.repeated_string += reference_arr.clone
175 m.repeated_string += reference_arr.clone
226 m.repeated_string += reference_arr.clone
242 m.repeated_string += reference_arr.clone
252 m.repeated_string += reference_arr.clone
264 m.repeated_string += reference_arr.clone
276 m.repeated_string += reference_arr.clone
287 m.repeated_string += reference_arr.clone
300 m.repeated_string += reference_arr.clone
310 m.repeated_string += reference_arr.clone
[all …]
/third_party/decimal.js/test/modules/
Dclone.js18 var D1 = Decimal.clone({ precision: 1 });
19 var D2 = Decimal.clone({ precision: 2 });
20 var D3 = Decimal.clone({ precision: 3 });
21 var D4 = Decimal.clone({ precision: 4 });
22 var D5 = Decimal.clone({ precision: 5 });
23 var D6 = Decimal.clone({ precision: 6 });
24 var D7 = Decimal.clone({ precision: 7 });
25 var D8 = Decimal.clone();
27 var D9 = Decimal.clone({ precision: 9 });
107 T.assertException(function () { Decimal.clone(null) }, "Decimal.clone(null)");
[all …]
/third_party/protobuf/ruby/compatibility_tests/v3.0.0/tests/
Drepeated_field_test.rb134 m.repeated_string += reference_arr.clone
161 m.repeated_string += reference_arr.clone
212 m.repeated_string += reference_arr.clone
229 m.repeated_string += reference_arr.clone
239 m.repeated_string += reference_arr.clone
251 m.repeated_string += reference_arr.clone
263 m.repeated_string += reference_arr.clone
274 m.repeated_string += reference_arr.clone
287 m.repeated_string += reference_arr.clone
297 m.repeated_string += reference_arr.clone
[all …]
/third_party/rust/crates/clap/clap_derive/src/
Ditem.rs56 let ident = input.ident.clone(); in from_args_struct()
73 let ident = input.ident.clone(); in from_subcommand_enum()
90 let ident = input.ident.clone(); in from_value_enum()
120 let name = variant.ident.clone(); in from_subcommand_variant()
121 let ident = variant.ident.clone(); in from_subcommand_variant()
174 let ident = variant.ident.clone(); in from_value_enum_variant()
178 Name::Derived(variant.ident.clone()), in from_value_enum_variant()
200 let name = field.ident.clone().unwrap(); in from_args_field()
201 let ident = field.ident.clone().unwrap(); in from_args_field()
208 Some(field.ty.clone()), in from_args_field()
[all …]
/third_party/python/Lib/lib2to3/fixes/
Dfix_filter.py65 trailers.append(t.clone())
68 xp = results.get("xp").clone()
73 new = ListComp(results.get("fp").clone(),
74 results.get("fp").clone(),
75 results.get("it").clone(), xp)
81 results["seq"].clone(),
89 args = results['args'].clone()

12345678910>>...98