Home
last modified time | relevance | path

Searched refs:targs (Results 1 – 20 of 20) sorted by relevance

/external/python/cpython2/Lib/
Datexit.py22 func, targs, kargs = _exithandlers.pop()
24 func(*targs, **kargs)
37 def register(func, *targs, **kargs): argument
46 _exithandlers.append((func, targs, kargs))
/external/turbine/java/com/google/turbine/types/
DCanonicalize.java150 if (s.targs().isEmpty() && !info.typeParameters().isEmpty()) { in isRaw()
183 ImmutableList.Builder<Type> targs = ImmutableList.builder(); in uninstantiated() local
185 targs.add(Type.TyVar.create(p, ImmutableList.of())); in uninstantiated()
187 return ClassTy.SimpleClassTy.create(owner, targs.build(), ImmutableList.of()); in uninstantiated()
243 if (simpleType.targs().isEmpty()) { in addInstantiation()
251 Verify.verify(symbols.size() == simpleType.targs().size()); in addInstantiation()
252 Iterator<Type> typeArguments = simpleType.targs().iterator(); in addInstantiation()
330 for (Type arg : simple.targs()) { in instantiateClassTy()
354 args.add(SimpleClassTy.create(s.sym(), canonicalize(s.targs(), base), s.annos())); in canonicalizeClassTy()
360 private ImmutableList<Type> canonicalize(ImmutableList<Type> targs, ClassSymbol base) { in canonicalize() argument
[all …]
DErasure.java87 if (c.targs().isEmpty()) { in eraseClassTy()
/external/javassist/src/main/javassist/bytecode/
DSignatureAttribute.java678 TypeArgument[] targs, ClassType parent) { in make() argument
680 return new ClassType(s, b, e, targs); in make()
681 return new NestedClassType(s, b, e, targs, parent); in make()
684 ClassType(String signature, int begin, int end, TypeArgument[] targs) { in ClassType() argument
686 arguments = targs; in ClassType()
810 TypeArgument[] targs, ClassType p) { in NestedClassType() argument
811 super(s, b, e, targs); in NestedClassType()
1116 TypeArgument[] targs; in parseClassType2() local
1118 targs = parseTypeArgs(sig, c); in parseClassType2()
1122 targs = null; in parseClassType2()
[all …]
/external/turbine/java/com/google/turbine/type/
DType.java157 if (!c.targs().isEmpty()) { in toString()
159 Joiner.on(',').appendTo(sb, c.targs()); in toString()
172 ClassSymbol sym, ImmutableList<Type> targs, ImmutableList<AnnoInfo> annos) { in create() argument
173 return new AutoValue_Type_ClassTy_SimpleClassTy(sym, targs, annos); in create()
180 public abstract ImmutableList<Type> targs(); in targs() method in Type.ClassTy.SimpleClassTy
219 if (!simple.targs().isEmpty() || !simple.annos().isEmpty()) { in hasTargs()
/external/linux-kselftest/tools/testing/selftests/bpf/
Dtest_tc_tunnel.sh202 targs="encap fou encap-sport auto encap-dport $udpport"
214 targs="encap fou encap-sport auto encap-dport $dport"
219 targs=""
235 ${tmode} remote "${link_addr1}" local "${link_addr2}" $targs
/external/turbine/javatests/com/google/turbine/binder/bytecode/
DBytecodeBoundClassTest.java67 assertThat(getLast(((ClassTy) rawInterfaces.interfaceTypes().get(0)).classes()).targs()) in interfaceTypes()
73 assertThat(getLast(((ClassTy) genericInterfaces.interfaceTypes().get(0)).classes()).targs()) in interfaceTypes()
78 .targs() in interfaceTypes()
142 assertThat(Iterables.getLast(((ClassTy) f.type()).classes()).targs()).hasSize(1); in fieldTypes()
/external/autotest/server/site_tests/servo_Verification/
Dservo_Verification.py143 tname, targs = test
150 host=host, **targs)
/external/rust/crates/futures-util/src/
Dlib.rs290 …($(#[$attr:meta])* $name:ident<$($arg:ident),*>($t:ty) : $ftrait:ident $([$($targs:tt)*])* $({$($i…
301 delegate_all!(@trait $ftrait $([$($targs)*])* $name<$($arg),*>($t) $(where $($bound)*)*);
303 …targs:tt)*])* + $strait:ident $([$($stargs:tt)*])* $(+ $trait:ident $([$($targs:tt)*])*)* $({$($it…
304 …attr])* $name<$($arg),*>($t) : $strait $([$($stargs)*])* $(+ $trait $([$($targs)*])*)* $({$($item)…
/external/turbine/java/com/google/turbine/lower/
DLowerSignature.java92 while (curr.targs().isEmpty() && it.hasNext()) { in classTySig()
108 for (Type targ : part.targs()) { in tyArgSigs()
247 if (!s.targs().isEmpty()) { in needsSig()
DLower.java789 for (Type a : simple.targs()) { in lowerClassTypeTypeAnnotations()
/external/turbine/java/com/google/turbine/processing/
DTurbineTypes.java303 if (!it.next().targs().isEmpty()) { in hasTyArgs()
311 return a.sym().equals(b.sym()) && isSameTypes(a.targs(), b.targs()); in isSameSimpleClassType()
531 Iterator<Type> ax = a.targs().iterator(); in tyArgsContains()
532 Iterator<Type> bx = b.targs().iterator(); in tyArgsContains()
615 for (Type arg : simple.targs()) { in substClassTy()
652 if (s.targs().isEmpty() && !info.typeParameters().isEmpty()) { in getMapping()
656 Iterator<Type> bx = s.targs().iterator(); in getMapping()
DTurbineTypeMirror.java233 return factory.asTypeMirrors(getLast(type.classes()).targs());
/external/antlr/runtime/Ruby/lib/antlr3/
Dtoken.rb363 token_class.new( *args ) do |*targs|
364 yield( *targs )
/external/turbine/javatests/com/google/turbine/binder/
DClassPathBinderTest.java112 assertThat(getLast(listInterface.classes()).targs()).hasSize(1); in interfaces()
/external/turbine/java/com/google/turbine/binder/
DDisambiguateTypeAnnotations.java225 SimpleClassTy.create(base.sym(), base.targs(), appendAnnotations(base.annos(), extra)); in addAnnotationsToType()
DTypeBinder.java608 private ImmutableList<Type> bindTyArgs(CompoundScope scope, ImmutableList<Tree.Type> targs) { in bindTyArgs() argument
610 for (Tree.Type ty : targs) { in bindTyArgs()
DConstBinder.java358 c.sym(), bindTypes(c.targs()), constEvaluator.evaluateAnnotations(c.annos()))); in bindClassType()
/external/clang/lib/AST/
DExpr.cpp1406 DeclarationNameInfo nameinfo, const TemplateArgumentListInfo *targs, in Create() argument
1413 bool HasTemplateKWAndArgsInfo = targs || TemplateKWLoc.isValid(); in Create()
1418 targs ? targs->size() : 0); in Create()
1443 E->HasTemplateKWAndArgsInfo = (targs || TemplateKWLoc.isValid()); in Create()
1445 if (targs) { in Create()
1450 TemplateKWLoc, *targs, E->getTrailingObjects<TemplateArgumentLoc>(), in Create()
/external/clang/include/clang/AST/
DExpr.h2401 const TemplateArgumentListInfo *targs, QualType ty,