Home
last modified time | relevance | path

Searched refs:TypePath (Results 1 – 25 of 29) sorted by relevance

12

/external/turbine/java/com/google/turbine/bytecode/
DClassFile.java496 private final TypePath path;
500 TargetType targetType, Target target, TypePath path, AnnotationInfo anno) { in TypeAnnotationInfo()
528 public TypePath path() { in path()
683 public static class TypePath { class in ClassFile.TypeAnnotationInfo
686 public static TypePath root() { in root()
687 return new TypePath(null, null); in root()
691 public TypePath array() { in array()
692 return new TypePath(TypePath.Kind.ARRAY, this); in array()
696 public TypePath nested() { in nested()
697 return new TypePath(TypePath.Kind.NESTED, this); in nested()
[all …]
DAnnotationWriter.java35 import com.google.turbine.bytecode.ClassFile.TypeAnnotationInfo.TypePath;
149 private void writePath(TypePath path) { in writePath()
150 ImmutableList<TypePath> flat = path.flatten(); in writePath()
152 for (TypePath curr : flat) { in writePath()
/external/rust/crates/syn/tests/
Dtest_path.rs7 use syn::{parse_quote, Expr, Type, TypePath};
57 let mut ty: TypePath = parse_quote!(<Self as A>::Q); in print_incomplete_qpath()
72 let mut ty: TypePath = parse_quote!(<Self>::A::B); in print_incomplete_qpath()
87 let mut ty: TypePath = parse_quote!(Self::A::B); in print_incomplete_qpath()
/external/desugar/java/com/google/devtools/build/android/desugar/scan/
DPrefixReferenceScanner.java29 import org.objectweb.asm.TypePath;
91 int typeRef, TypePath typePath, String desc, boolean visible) { in visitTypeAnnotation()
247 int typeRef, TypePath typePath, String desc, boolean visible) { in visitTypeAnnotation()
317 int typeRef, TypePath typePath, String desc, boolean visible) { in visitInsnAnnotation()
331 int typeRef, TypePath typePath, String desc, boolean visible) { in visitTryCatchAnnotation()
345 TypePath typePath, in visitLocalVariableAnnotation()
370 int typeRef, TypePath typePath, String desc, boolean visible) { in visitTypeAnnotation()
/external/rust/crates/serde_derive/src/internals/
Dreceiver.rs8 Path, PathArguments, QSelf, ReturnType, Type, TypeParamBound, TypePath, WherePredicate,
22 struct ReplaceReceiver<'a>(&'a TypePath);
25 fn self_ty(&self, span: Span) -> TypePath { in self_ty() argument
91 fn visit_type_path_mut(&mut self, ty: &mut TypePath) { in visit_type_path_mut() argument
157 fn visit_type_path_mut_impl(&mut self, ty: &mut TypePath) { in visit_type_path_mut_impl() argument
/external/llvm-project/clang/utils/TableGen/
DClangOpcodesEmitter.cpp63 llvm::SmallVector<Record *, 2> TypePath; in Enumerate() local
67 Rec = [&TypePath, Types, &Rec, &F](size_t I, const Twine &ID) { in Enumerate()
69 F(TypePath, ID); in Enumerate()
75 TypePath.push_back(Type); in Enumerate()
77 TypePath.pop_back(); in Enumerate()
/external/rust/crates/structopt-derive/src/
Dty.rs7 PathSegment, Type, TypePath,
49 Type::Path(TypePath { in only_last_segment()
/external/rust/crates/pin-project-internal/src/
Dutils.rs13 TypeParamBound, TypePath, Variant, Visibility, WherePredicate,
181 pub(crate) struct ReplaceReceiver<'a>(pub(crate) &'a TypePath);
184 fn self_ty(&self, span: Span) -> TypePath { in self_ty() argument
306 fn visit_type_path_mut(&mut self, ty: &mut TypePath) { in visit_type_path_mut() argument
Dpinned_drop.rs6 TypePath, TypeReference,
108 if let Type::Path(TypePath { qself: None, path }) = ty { Some(path) } else { None } in validate_sig()
/external/rust/crates/serde_derive/src/
Dbound.rs112 associated_type_usage: Vec<&'ast syn::TypePath>, in with_bound()
279 .map(|id| syn::TypePath { in with_bound()
371 syn::Type::Path(syn::TypePath { in type_of_item()
387 syn::GenericArgument::Type(syn::Type::Path(syn::TypePath { in type_of_item()
/external/turbine/javatests/com/google/turbine/lower/
DLowerTest.java74 import org.objectweb.asm.TypePath;
346 TypePath[] path = new TypePath[1]; in typePath()
356 int typeRef, TypePath typePath, String desc, boolean visible) { in typePath()
365 assertThat(path[0].getStep(0)).isEqualTo(TypePath.ARRAY_ELEMENT); in typePath()
367 assertThat(path[0].getStep(1)).isEqualTo(TypePath.ARRAY_ELEMENT); in typePath()
/external/rust/crates/syn/src/
Dty.rs45 Path(TypePath),
203 pub struct TypePath {
377 return Ok(Type::Path(TypePath { in ambig_ty()
475 Type::Path(TypePath { qself: None, path }) => { in ambig_ty()
556 let ty: TypePath = input.parse()?; in ambig_ty()
823 impl Parse for TypePath { implementation
833 Ok(TypePath { qself, path }) in parse()
1022 Type::Path(TypePath { in parse_bare_fn_arg()
1150 impl ToTokens for TypePath { implementation
Dlib.rs417 TypeMacro, TypeNever, TypeParen, TypePath, TypePtr, TypeReference, TypeSlice, TypeTraitObject,
/external/rust/crates/async-trait/src/
Dreceiver.rs6 TypePath,
68 fn visit_type_path_mut(&mut self, ty: &mut TypePath) { in visit_type_path_mut() argument
Dexpand.rs12 TypePath, WhereClause,
414 fn visit_type_path_mut(&mut self, ty: &mut TypePath) { in contains_associated_type_impl_trait() argument
/external/turbine/java/com/google/turbine/lower/
DLower.java56 import com.google.turbine.bytecode.ClassFile.TypeAnnotationInfo.TypePath;
671 TypePath.root(), in typeParameterAnnotations()
701 .lowerTypeAnnotations(type, TypePath.root()); in lowerTypeAnnotations()
722 private void lowerTypeAnnotations(Type type, TypePath path) { in lowerTypeAnnotations()
747 private void lowerTypeAnnotations(ImmutableList<AnnoInfo> annos, TypePath path) { in lowerTypeAnnotations()
757 private void lowerWildTyTypeAnnotations(WildTy type, TypePath path) { in lowerWildTyTypeAnnotations()
770 private void lowerArrayTypeAnnotations(Type type, TypePath path) { in lowerArrayTypeAnnotations()
785 private void lowerClassTypeTypeAnnotations(ClassTy type, TypePath path) { in lowerClassTypeTypeAnnotations()
/external/auto/value/src/test/java/com/google/auto/value/extension/memoized/
DMemoizedTest.java460 interface TypePath<InputT, ResultT> {} interface in MemoizedTest
474 TypePath<InputT, String> toServiceName() { in toServiceName()
475 return new TypePath<InputT, String>() {}; in toServiceName()
/external/desugar/java/com/google/devtools/build/android/desugar/
DJava7Compatibility.java29 import org.objectweb.asm.TypePath;
235 int typeRef, TypePath typePath, String desc, boolean visible) { in visitTypeAnnotation()
DInterfaceDesugaring.java30 import org.objectweb.asm.TypePath;
523 int typeRef, TypePath typePath, String desc, boolean visible) { in visitTypeAnnotation()
/external/rust/cxx/syntax/
Dparse.rs20 TraitBoundModifier, Type as RustType, TypeArray, TypeBareFn, TypeParamBound, TypePath, TypePtr,
1107 fn parse_type_path(ty: &TypePath) -> Result<Type> { in parse_type_path()
/external/rust/crates/syn/src/gen/
Dfold.rs692 fn fold_type_path(&mut self, i: TypePath) -> TypePath { in fold_type_path() argument
2979 pub fn fold_type_path<F>(f: &mut F, node: TypePath) -> TypePath in fold_type_path()
2983 TypePath { in fold_type_path()
Dclone.rs2015 impl Clone for TypePath { implementation
2017 TypePath { in clone()
Deq.rs2051 impl Eq for TypePath {} implementation
2054 impl PartialEq for TypePath { implementation
Dvisit_mut.rs692 fn visit_type_path_mut(&mut self, i: &mut TypePath) { in visit_type_path_mut() argument
3521 pub fn visit_type_path_mut<V>(v: &mut V, node: &mut TypePath) in visit_type_path_mut()
Dvisit.rs688 fn visit_type_path(&mut self, i: &'ast TypePath) { in visit_type_path() argument
3515 pub fn visit_type_path<'ast, V>(v: &mut V, node: &'ast TypePath) in visit_type_path()

12