/libcore/benchmarks/src/benchmarks/ |
ReferenceGetBenchmark.java | 33 Field intrinsicDisabledField = Reference.class.getDeclaredField("disableIntrinsic");
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/ |
CompatUtils.java | 23 import java.lang.reflect.Field; 55 public static Field getField(final Class<?> targetClass, final String name) { 108 final Field field) { 109 if (field == null) { 113 return field.get(receiver); 120 public static void setFieldValue(final Object receiver, final Field field, final Object value) { 121 if (field == null) { 125 field.set(receiver, value) [all...] |
/frameworks/support/v4/jellybean/android/support/v4/app/ |
NotificationCompatJellybean.java | 29 import java.lang.reflect.Field; 53 private static Field sExtrasField; 58 private static Field sActionsField; 59 private static Field sActionIconField; 60 private static Field sActionTitleField; 61 private static Field sActionIntentField; 209 * Jellybean notifications, but the field was private until KitKat. 218 Field extrasField = Notification.class.getDeclaredField("extras"); 220 Log.e(TAG, "Notification.extras field is not of type Bundle");
|
/external/clang/lib/CodeGen/ |
CGClass.cpp | 541 FieldDecl *Field = MemberInit->getAnyMember(); 542 QualType FieldType = Field->getType(); 549 // If we are initializing an anonymous union field, drill down to 550 // the field. 556 LHS = CGF.EmitLValueForFieldInitialization(LHS, Field); 578 LValue Src = CGF.EmitLValueForFieldInitialization(ThisRHSLV, Field); 590 CGF.EmitInitializerForField(Field, LHS, MemberInit->getInit(), ArrayIndexes); 593 void CodeGenFunction::EmitInitializerForField(FieldDecl *Field, 596 QualType FieldType = Field->getType(); 600 EmitExprAsInit(Init, Field, LHS, false) 1399 const FieldDecl *field; member in class:__anon1522::DestroyField [all...] |
/frameworks/base/core/java/android/view/ |
ViewDebug.java | 43 import java.lang.reflect.Field; 84 @Target({ ElementType.FIELD, ElementType.METHOD }) 88 * When resolveId is true, and if the annotated field/method return value 269 @Target({ ElementType.FIELD, ElementType.METHOD }) 312 private static HashMap<Class<?>, Field[]> mCapturedViewFieldsForClasses = null; 326 private static HashMap<Class<?>, Field[]> sFieldsForClasses; 1014 final Field field = declaredFields.get(i); local 1240 final Field field = fields[i]; local 1454 final Field field = fields[i]; local 1553 final Field field = fields[i]; local [all...] |
/frameworks/compile/slang/ |
slang_rs_export_type.h | 506 class Field { 509 // Field name 511 // Link to the struct that contain this field 517 Field(const RSExportType *T, 533 typedef std::list<const Field*>::const_iterator const_field_iterator; 543 std::list<const Field*> mFields; 576 inline const std::list<const Field*>& getFields() const { return mFields; } 590 for (std::list<const Field*>::iterator I = mFields.begin(),
|
/external/clang/lib/Sema/ |
SemaInit.cpp | 283 RecordDecl::field_iterator Field, 320 void FillInEmptyInitForField(unsigned Init, FieldDecl *Field, 326 Expr *InitExpr, FieldDecl *Field, 435 << /*field*/1 << Entity.getDecl(); 455 void InitListChecker::FillInEmptyInitForField(unsigned Init, FieldDecl *Field, 462 = InitializedEntity::InitializeMember(Field, &ParentEntity); 468 if (Field->hasInClassInitializer()) { 469 Expr *DIE = CXXDefaultInitExpr::Create(SemaRef.Context, Loc, Field); 479 if (Field->getType()->isReferenceType()) { 485 << Field->getType( [all...] |
/external/chromium_org/third_party/icu/source/tools/toolutil/ |
udbgutil.cpp | 32 7. Define the field names, in order. 33 " static const Field names_UShoeSize[] = { 47 10. Find the function _udbg_enumFields and add the field macro: 55 struct Field { 67 * Define another field name. Used in an array of Field s 70 * @see Field 84 static const Field names_UCalendarDateFields[] = 113 static const Field names_UCalendarMonths[] = 134 static const Field names_UDateFormatStyle[] [all...] |
/external/icu/icu4c/source/tools/toolutil/ |
udbgutil.cpp | 32 7. Define the field names, in order. 33 " static const Field names_UShoeSize[] = { 47 10. Find the function _udbg_enumFields and add the field macro: 55 struct Field { 67 * Define another field name. Used in an array of Field s 70 * @see Field 84 static const Field names_UCalendarDateFields[] = 113 static const Field names_UCalendarMonths[] = 134 static const Field names_UDateFormatStyle[] [all...] |
/external/chromium_org/content/renderer/input/ |
input_handler_proxy_unittest.cc | 630 testing::Field(&WebActiveWheelFlingParameters::delta, 632 testing::Field(&WebActiveWheelFlingParameters::point, 634 testing::Field(&WebActiveWheelFlingParameters::globalPoint, 636 testing::Field(&WebActiveWheelFlingParameters::modifiers, 638 testing::Field(&WebActiveWheelFlingParameters::startTime, 640 testing::Field(&WebActiveWheelFlingParameters::cumulativeScroll, 641 testing::Field(&WebSize::width, testing::Gt(0)))))); 734 testing::Field(&WebActiveWheelFlingParameters::delta, 736 testing::Field(&WebActiveWheelFlingParameters::point, 738 testing::Field(&WebActiveWheelFlingParameters::globalPoint [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/helpers/ |
SensorFeaturesDeactivator.java | 26 import java.lang.reflect.Field; 133 // static field is not hidden anymore 135 Field dozeEnabledField;
|
/external/chromium_org/third_party/skia/src/sfnt/ |
SkOTTable_glyf.h | 83 struct Field { 93 } field; member in union:SkOTTableGlyphData::Simple::Flags 112 struct Field { 133 } field; member in union:SkOTTableGlyphData::Composite::Component::Flags
|
/external/clang/test/Layout/ |
ms-x86-pack-and-align.cpp | 390 __declspec(align(256)) int Field; 396 // CHECK-NEXT: 256 | int Field 402 // CHECK-X64-NEXT: 256 | int Field 410 __declspec(align(256)) int Field; 417 // CHECK-NEXT: 256 | int Field 425 // CHECK-X64-NEXT: 256 | int Field
|
/external/dexmaker/src/mockito/java/com/google/dexmaker/mockito/ |
DexmakerMockMaker.java | 20 import java.lang.reflect.Field; 61 Field handlerField = proxyClass.getDeclaredField("$__handler");
|
/external/junit/src/org/junit/runners/model/ |
TestClass.java | 7 import java.lang.reflect.Field; 44 for (Field eachField : eachClass.getDeclaredFields()) 150 "How did getFields return a field we couldn't access?", e);
|
/external/protobuf/java/src/main/java/com/google/protobuf/nano/ |
MessageNanoPrinter.java | 34 import java.lang.reflect.Field; 77 * Function that will print the given message/field into the StringBuffer. 94 // the field is unset. 108 for (Field field : clazz.getFields()) { 109 int modifiers = field.getModifiers(); 110 String fieldName = field.getName(); 116 Class<?> fieldType = field.getType(); 117 Object value = field.get(object); 144 // non-proto-field name collisions (hashCode() and getSerializedSize() [all...] |
/external/skia/src/sfnt/ |
SkOTTable_glyf.h | 83 struct Field { 93 } field; member in union:SkOTTableGlyphData::Simple::Flags 112 struct Field { 133 } field; member in union:SkOTTableGlyphData::Composite::Component::Flags
|
/frameworks/base/core/java/android/hardware/camera2/marshal/impl/ |
MarshalQueryableParcelable.java | 25 import java.lang.reflect.Field; 55 Field creatorField; 59 // Impossible. All Parcelable implementations must have a 'CREATOR' static field 69 // Impossible: This is a static field, so null must be ok
|
/frameworks/base/tools/aidl/ |
AST.cpp | 56 Field::Field() 63 Field::Field(int m, Variable* v) 70 Field::~Field() 75 Field::GatherTypes(set<Type*>* types) const 81 Field::Write(FILE* to)
|
/libcore/benchmarks/src/benchmarks/regression/ |
AnnotatedElementBenchmark.java | 23 import java.lang.reflect.Field; 29 private Field field; field in class:AnnotatedElementBenchmark 34 field = Type.class.getField("field"); 49 field.getAnnotations(); 73 field.getAnnotation(Marker.class); 91 field.isAnnotationPresent(Marker.class); 153 @Marker public String field; field in class:AnnotatedElementBenchmark.Type
|
ReflectionBenchmark.java | 77 Field f = klass.getDeclaredField("f"); 86 Field f = klass.getDeclaredField("f"); 161 // The field here (and in timeGetStaticField) were chosen to be 162 // ~75% down the bottom of the alphabetically sorted field list. 164 // a class whose field names are created algorithmically.
|
/libcore/luni/src/test/java/libcore/java/util/zip/ |
DeflaterOutputStreamTest.java | 27 import java.lang.reflect.Field; 112 Field f = def.getClass().getDeclaredField("flushParm");
|
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/ |
ContentTypeField.java | 20 package org.apache.james.mime4j.field; 32 import org.apache.james.mime4j.field.contenttype.parser.ContentTypeParser; 33 import org.apache.james.mime4j.field.contenttype.parser.ParseException; 34 import org.apache.james.mime4j.field.contenttype.parser.TokenMgrError; 37 * Represents a <code>Content-Type</code> field. 44 public class ContentTypeField extends Field { 84 * the field value, if any; otherwise, null. 91 * Gets the MIME type defined in this Content-Type field. 101 * Content-Type field or derives a MIME type from the parent 173 * given field. Returns the default <code>us-ascii</code> if not set or i [all...] |
/external/clang/lib/AST/ |
DeclCXX.cpp | 205 // Record if this base is the first non-literal field or base. 631 if (FieldDecl *Field = dyn_cast<FieldDecl>(D)) { 633 // A declaration for a bit-field that omits the identifier declares an 634 // unnamed bit-field. Unnamed bit-fields are not members and cannot be 636 if (Field->isUnnamedBitfield()) 664 if (Field->isMutable()) 670 if (isUnion() && !Field->isAnonymousStructOrUnion()) 686 QualType T = Context.getBaseElementType(Field->getType()); 695 if (!Field->hasInClassInitializer()) 704 // Record if this field is the first non-literal or volatile field or base [all...] |
/art/test/201-built-in-exception-detail-messages/src/ |
Main.java | 18 import java.lang.reflect.Field; 308 // Read field. 314 assertEquals("Attempt to read from field 'int A.i' on a null object reference", ex.getMessage()); 317 // Write field. 323 assertEquals("Attempt to write to field 'int A.i' on a null object reference", ex.getMessage()); 355 // Can't assign Integer to a String field. 357 Field field = A.class.getField("b"); local 358 field.set(new A(), 5); 361 assertEquals("field A.b has type java.lang.String, got java.lang.Integer", expected.getMessage()) 366 Field field = A.class.getField("i"); local 375 Field field = A.class.getField("i"); local [all...] |