HomeSort by relevance Sort by last modified time
    Searched full:reflect (Results 76 - 100 of 5891) sorted by null

1 2 34 5 6 7 8 91011>>

  /external/libgdx/gdx/src/com/badlogic/gdx/utils/reflect/
ArrayReflection.java 17 package com.badlogic.gdx.utils.reflect;
25 return java.lang.reflect.Array.newInstance(c, size);
30 return java.lang.reflect.Array.getLength(array);
35 return java.lang.reflect.Array.get(array, index);
40 java.lang.reflect.Array.set(array, index, value);
  /external/smali/dexlib2/src/main/java/org/jf/dexlib2/analysis/reflection/
ReflectionClassDef.java 48 import java.lang.reflect.Constructor;
49 import java.lang.reflect.Modifier;
107 Iterator<java.lang.reflect.Field> staticFields = Iterators.filter(
109 new Predicate<java.lang.reflect.Field>() {
110 @Override public boolean apply(@Nullable java.lang.reflect.Field input) {
116 new Function<java.lang.reflect.Field, Field>() {
117 @Nullable @Override public Field apply(@Nullable java.lang.reflect.Field input) {
129 Iterator<java.lang.reflect.Field> staticFields = Iterators.filter(
131 new Predicate<java.lang.reflect.Field>() {
132 @Override public boolean apply(@Nullable java.lang.reflect.Field input)
    [all...]
  /prebuilts/go/darwin-x86/src/encoding/binary/
binary.go 28 "reflect"
202 // Fallback to reflect-based decoding.
203 v := reflect.ValueOf(data)
206 case reflect.Ptr:
209 case reflect.Slice:
213 return errors.New("binary.Read: invalid type " + reflect.TypeOf(data).String())
308 // Fallback to reflect-based encoding.
309 v := reflect.Indirect(reflect.ValueOf(data))
312 return errors.New("binary.Write: invalid type " + reflect.TypeOf(data).String()
    [all...]
  /prebuilts/go/linux-x86/src/encoding/binary/
binary.go 28 "reflect"
202 // Fallback to reflect-based decoding.
203 v := reflect.ValueOf(data)
206 case reflect.Ptr:
209 case reflect.Slice:
213 return errors.New("binary.Read: invalid type " + reflect.TypeOf(data).String())
308 // Fallback to reflect-based encoding.
309 v := reflect.Indirect(reflect.ValueOf(data))
312 return errors.New("binary.Write: invalid type " + reflect.TypeOf(data).String()
    [all...]
  /build/blueprint/
unpack.go 19 "reflect"
42 propertiesValue := reflect.ValueOf(properties)
43 if propertiesValue.Kind() != reflect.Ptr {
48 if propertiesValue.Kind() != reflect.Struct {
122 func unpackStructValue(namePrefix string, structValue reflect.Value,
146 case reflect.Bool, reflect.String, reflect.Struct:
148 case reflect.Slice:
150 if elemType.Kind() != reflect.String
    [all...]
  /external/junit/src/org/junit/internal/runners/
SuiteMethod.java 3 import java.lang.reflect.InvocationTargetException;
4 import java.lang.reflect.Method;
5 import java.lang.reflect.Modifier;
  /external/mockito/src/org/mockito/internal/util/reflection/
GenericMaster.java 7 import java.lang.reflect.Field;
8 import java.lang.reflect.ParameterizedType;
9 import java.lang.reflect.Type;
  /prebuilts/go/darwin-x86/test/fixedbugs/
gcc65755.go 11 import "reflect"
19 return reflect.TypeOf(s{}).Field(0).Name
28 return reflect.TypeOf(s{}).Field(0).Name
bug177.go 9 import "reflect"
15 typ := reflect.TypeOf(S2{})
issue10332.go 13 "reflect"
21 pkgpath := reflect.ValueOf(foo{}).Type().Field(0).PkgPath
  /prebuilts/go/linux-x86/test/fixedbugs/
gcc65755.go 11 import "reflect"
19 return reflect.TypeOf(s{}).Field(0).Name
28 return reflect.TypeOf(s{}).Field(0).Name
  /art/test/044-proxy/src/
NativeProxy.java 18 import java.lang.reflect.InvocationHandler;
19 import java.lang.reflect.InvocationTargetException;
20 import java.lang.reflect.Constructor;
21 import java.lang.reflect.Field;
22 import java.lang.reflect.Method;
23 import java.lang.reflect.Proxy;
  /external/v8/test/mjsunit/harmony/
proxies-cross-realm-exception.js 5 // Flags: --harmony-proxies --harmony-reflect --allow-natives-syntax
12 Realm.eval(realm, "3; Reflect.getPrototypeOf(Realm.global(0))"));
17 Realm.eval(realm, "1; Reflect.getPrototypeOf(Realm.global(0))"));
32 Realm.eval(realm, "2; Reflect.getPrototypeOf(Realm.global(0))"));
41 Realm.eval(realm, "4; Reflect.getPrototypeOf(Realm.global(0))"));
52 Realm.eval(realm, "5; Reflect.getPrototypeOf(Realm.global(0))"));
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/
GenericArrayTypeTest.java 17 package org.apache.harmony.tests.java.lang.reflect;
19 import java.lang.reflect.Field;
20 import java.lang.reflect.GenericArrayType;
21 import java.lang.reflect.ParameterizedType;
22 import java.lang.reflect.Type;
23 import java.lang.reflect.TypeVariable;
  /prebuilts/go/darwin-x86/src/crypto/tls/
handshake_messages_test.go 9 "reflect"
39 ty := reflect.ValueOf(iface).Type()
110 func (*clientHelloMsg) Generate(rand *rand.Rand, size int) reflect.Value {
149 return reflect.ValueOf(m)
152 func (*serverHelloMsg) Generate(rand *rand.Rand, size int) reflect.Value {
186 return reflect.ValueOf(m)
189 func (*certificateMsg) Generate(rand *rand.Rand, size int) reflect.Value {
196 return reflect.ValueOf(m)
199 func (*certificateRequestMsg) Generate(rand *rand.Rand, size int) reflect.Value {
207 return reflect.ValueOf(m
    [all...]
  /prebuilts/go/linux-x86/src/crypto/tls/
handshake_messages_test.go 9 "reflect"
39 ty := reflect.ValueOf(iface).Type()
110 func (*clientHelloMsg) Generate(rand *rand.Rand, size int) reflect.Value {
149 return reflect.ValueOf(m)
152 func (*serverHelloMsg) Generate(rand *rand.Rand, size int) reflect.Value {
186 return reflect.ValueOf(m)
189 func (*certificateMsg) Generate(rand *rand.Rand, size int) reflect.Value {
196 return reflect.ValueOf(m)
199 func (*certificateRequestMsg) Generate(rand *rand.Rand, size int) reflect.Value {
207 return reflect.ValueOf(m
    [all...]
  /prebuilts/go/darwin-x86/src/encoding/xml/
read.go 12 "reflect"
29 // Because Unmarshal uses the reflect package, it can only assign
129 val := reflect.ValueOf(v)
130 if val.Kind() != reflect.Ptr {
174 t := reflect.TypeOf(val)
228 func (p *Decoder) unmarshalAttr(val reflect.Value, attr Attr) error {
229 if val.Kind() == reflect.Ptr {
231 val.Set(reflect.New(val.Type().Elem()))
266 unmarshalerType = reflect.TypeOf((*Unmarshaler)(nil)).Elem()
267 unmarshalerAttrType = reflect.TypeOf((*UnmarshalerAttr)(nil)).Elem(
    [all...]
  /prebuilts/go/linux-x86/src/encoding/xml/
read.go 12 "reflect"
29 // Because Unmarshal uses the reflect package, it can only assign
129 val := reflect.ValueOf(v)
130 if val.Kind() != reflect.Ptr {
174 t := reflect.TypeOf(val)
228 func (p *Decoder) unmarshalAttr(val reflect.Value, attr Attr) error {
229 if val.Kind() == reflect.Ptr {
231 val.Set(reflect.New(val.Type().Elem()))
266 unmarshalerType = reflect.TypeOf((*Unmarshaler)(nil)).Elem()
267 unmarshalerAttrType = reflect.TypeOf((*UnmarshalerAttr)(nil)).Elem(
    [all...]
  /external/javassist/sample/reflect/
VerboseMetaobj.java 1 package sample.reflect;
3 import javassist.tools.reflect.*;
  /external/testng/src/test/java/test/annotationtransformer/
AnnotationTransformerInvocationCountTest.java 7 import java.lang.reflect.Constructor;
8 import java.lang.reflect.Method;
DataProviderTransformer.java 9 import java.lang.reflect.Constructor;
10 import java.lang.reflect.Method;
FactoryTransformer.java 9 import java.lang.reflect.Constructor;
10 import java.lang.reflect.Method;
  /prebuilts/go/darwin-x86/src/cmd/vet/testdata/
unsafeptr.go 8 "reflect"
26 // certain uses of reflect are okay
27 var v reflect.Value
30 var s1 *reflect.StringHeader
32 var s2 *reflect.SliceHeader
34 var s3 reflect.StringHeader
36 var s4 reflect.SliceHeader
39 // but only in reflect