/external/proguard/src/proguard/classfile/ |
Field.java | 26 * Representation of a field from a class. 30 public interface Field extends Member
|
/external/clang/test/CodeGenCXX/ |
vtable-pointer-initialization.cpp | 3 struct Field { 4 Field(); 5 ~Field(); 19 Field field; member in struct:A 39 Field field; member in struct:B
|
skip-vtable-pointer-initialization.cpp | 40 // and Field's destructor body is also trivial. 41 struct Field { 42 ~Field() { } 49 Field field; member in struct:Test3::A 62 // Check that we do initialize the vtable pointer in A::~A(), since Field's destructor body 67 struct Field { 68 ~Field() { f(); } 75 Field field; member in struct:Test4::A 99 Field field; member in struct:Test5::A 127 Field field; member in struct:Test6::A 153 Field field; member in struct:Test7::A 179 Field field; member in struct:Test8::A [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
Support_SimpleDateFormat.java | 23 import java.text.DateFormat.Field; 73 // test if field positions are set correctly for these fields occurring 75 t_FormatWithField(0, format, date, null, Field.ERA, 0, 2); 76 t_FormatWithField(1, format, date, null, Field.YEAR, 6, 10); 77 t_FormatWithField(2, format, date, null, Field.MONTH, 19, 20); 78 t_FormatWithField(3, format, date, null, Field.DAY_OF_MONTH, 38, 40); 79 t_FormatWithField(4, format, date, null, Field.HOUR_OF_DAY1, 48, 50); 80 t_FormatWithField(5, format, date, null, Field.HOUR_OF_DAY0, 58, 60); 81 t_FormatWithField(6, format, date, null, Field.HOUR1, 68, 69); 82 t_FormatWithField(7, format, date, null, Field.MINUTE, 77, 79) [all...] |
DataFormatFieldTest.java | 28 import java.text.DateFormat.Field; 37 MyField field = new MyField("day of month", Calendar.ERA); local 39 assertEquals("field has wrong name", "day of month", field.getName()); 40 assertEquals("field has wrong Calendar field number", Calendar.ERA, 41 field.getCalendarField()); 43 DateFormat.Field realField = DateFormat.Field 45 assertSame("Modified calendar field with the same field number" 70 MyField field = new MyField("a field", Calendar.DAY_OF_WEEK); local 86 MyField field = new MyField("day of month", Calendar.ERA); local 182 MyField field; local [all...] |
Support_MessageFormat.java | 23 import java.text.MessageFormat.Field; 60 // test with MessageFormat.Field.ARGUMENT 61 t_FormatWithField(1, format, objects, null, Field.ARGUMENT, 3, 15); 64 t_FormatWithField(2, format, objects, null, DateFormat.Field.AM_PM, 0, 67 NumberFormat.Field.FRACTION, 0, 0); 70 t_FormatWithField(4, format, objects, null, DateFormat.Field.ERA, 0, 0); 72 NumberFormat.Field.EXPONENT_SIGN, 0, 0); 91 v.add(new FieldContainer(3, 6, DateFormat.Field.MONTH)); 92 v.add(new FieldContainer(3, 6, Field.ARGUMENT, 4)); 93 v.add(new FieldContainer(6, 7, Field.ARGUMENT, 4)) [all...] |
Support_DecimalFormat.java | 45 t_FormatWithField(0, format, number, text, NumberFormat.Field.CURRENCY, 0, 1); 46 t_FormatWithField(1, format, number, text, NumberFormat.Field.INTEGER, 1, 11); 47 t_FormatWithField(2, format, number, text, NumberFormat.Field.GROUPING_SEPARATOR, 3, 4); 48 t_FormatWithField(3, format, number, text, NumberFormat.Field.DECIMAL_SEPARATOR, 11, 12); 49 t_FormatWithField(4, format, number, text, NumberFormat.Field.FRACTION, 12, 14); 52 t_FormatWithField(5, format, number, text, NumberFormat.Field.SIGN, 0, 0); 53 t_FormatWithField(6, format, number, text, NumberFormat.Field.EXPONENT, 0, 0); 54 t_FormatWithField(7, format, number, text, NumberFormat.Field.EXPONENT_SIGN, 0, 0); 55 t_FormatWithField(8, format, number, text, NumberFormat.Field.EXPONENT_SYMBOL, 0, 0); 56 t_FormatWithField(9, format, number, text, NumberFormat.Field.PERCENT, 0, 0) [all...] |
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/ |
DefaultFieldParser.java | 16 package org.apache.james.mime4j.field; 21 setFieldParser(Field.CONTENT_TRANSFER_ENCODING, new ContentTransferEncodingField.Parser()); 22 setFieldParser(Field.CONTENT_TYPE, new ContentTypeField.Parser()); 25 setFieldParser(Field.DATE, dateTimeParser); 26 setFieldParser(Field.RESENT_DATE, dateTimeParser); 29 setFieldParser(Field.FROM, mailboxListParser); 30 setFieldParser(Field.RESENT_FROM, mailboxListParser); 33 setFieldParser(Field.SENDER, mailboxParser); 34 setFieldParser(Field.RESENT_SENDER, mailboxParser); 37 setFieldParser(Field.TO, addressListParser) [all...] |
/libcore/luni/src/main/java/javax/xml/datatype/ |
DatatypeConstants.java | 122 * Designation that an "int" field is not set. 127 * <p>A constant that represents the years field.</p> 129 public static final Field YEARS = new Field("YEARS", 0); 132 * <p>A constant that represents the months field.</p> 134 public static final Field MONTHS = new Field("MONTHS", 1); 137 * <p>A constant that represents the days field.</p> 139 public static final Field DAYS = new Field("DAYS", 2) [all...] |
/libcore/support/src/test/java/tests/support/ |
Support_MessageFormat.java | 23 import java.text.MessageFormat.Field; 57 // test with MessageFormat.Field.ARGUMENT 58 t_FormatWithField(1, format, objects, null, Field.ARGUMENT, 3, 15); 61 t_FormatWithField(2, format, objects, null, DateFormat.Field.AM_PM, 0, 64 NumberFormat.Field.FRACTION, 0, 0); 67 t_FormatWithField(4, format, objects, null, DateFormat.Field.ERA, 0, 0); 69 NumberFormat.Field.EXPONENT_SIGN, 0, 0); 87 v.add(new FieldContainer(3, 6, Field.ARGUMENT, 4)); 88 v.add(new FieldContainer(3, 6, DateFormat.Field.MONTH)); 89 v.add(new FieldContainer(6, 7, Field.ARGUMENT, 4)) [all...] |
Support_DecimalFormat.java | 47 t_FormatWithField(0, format, number, text, NumberFormat.Field.CURRENCY, 49 t_FormatWithField(1, format, number, text, NumberFormat.Field.INTEGER, 52 NumberFormat.Field.GROUPING_SEPARATOR, 3, 4); 54 NumberFormat.Field.DECIMAL_SEPARATOR, 11, 12); 55 t_FormatWithField(4, format, number, text, NumberFormat.Field.FRACTION, 59 t_FormatWithField(5, format, number, text, NumberFormat.Field.SIGN, 0, 61 t_FormatWithField(6, format, number, text, NumberFormat.Field.EXPONENT, 64 NumberFormat.Field.EXPONENT_SIGN, 0, 0); 66 NumberFormat.Field.EXPONENT_SYMBOL, 0, 0); 67 t_FormatWithField(9, format, number, text, NumberFormat.Field.PERCENT [all...] |
/external/protobuf/src/google/protobuf/util/ |
type_resolver_util_test.cc | 57 using google::protobuf::Field; 70 const Field* FindField(const Type& type, const string& name) { 72 const Field& field = type.fields(i); local 73 if (field.name() == name) { 74 return &field; 84 bool HasField(const Type& type, Field::Cardinality cardinality, 85 Field::Kind kind, const string& name, int number) { 86 const Field* field = FindField(type, name) local 96 const Field* field = FindField(type, name); local 105 const Field* field = FindField(type, name); local 114 const Field* field = FindField(type, name); local [all...] |
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/util/ |
FieldUtil.java | 36 import org.jf.dexlib2.iface.Field; 42 public static Predicate<Field> FIELD_IS_STATIC = new Predicate<Field>() { 43 @Override public boolean apply(@Nullable Field input) { 48 public static Predicate<Field> FIELD_IS_INSTANCE = new Predicate<Field>() { 49 @Override public boolean apply(@Nullable Field input) { 54 public static boolean isStatic(@Nonnull Field field) { 55 return AccessFlags.STATIC.isSet(field.getAccessFlags()) [all...] |
/dalvik/dexgen/src/com/android/dexgen/rop/ |
FieldList.java | 42 * Get the {@code n}th field. 44 * @param n {@code n >= 0, n < size();} which field 45 * @return {@code non-null;} the field in question 47 public Field get(int n);
|
StdFieldList.java | 23 * an array of {@link Field} objects and can be made immutable. 36 public Field get(int n) { 37 return (Field) get0(n); 41 * Sets the field at the given index. 43 * @param n {@code >= 0, < size();} which field 44 * @param field {@code null-ok;} the field object 46 public void set(int n, Field field) { 47 set0(n, field); [all...] |
/external/apache-commons-math/src/main/java/org/apache/commons/math/ |
Field.java | 20 * Interface representing a <a href="http://mathworld.wolfram.com/Field.html">field</a>. 24 * @param <T> the type of the field elements 29 public interface Field<T> { 31 /** Get the additive identity of the field. 33 * The additive identity is the element e<sub>0</sub> of the field such that 34 * for all elements a of the field, the equalities a + e<sub>0</sub> = 37 * @return additive identity of the field 41 /** Get the multiplicative identity of the field. 43 * The multiplicative identity is the element e<sub>1</sub> of the field such tha [all...] |
/dalvik/dx/src/com/android/dx/cf/iface/ |
StdFieldList.java | 23 * an array of {@link Field} objects and can be made immutable. 36 public Field get(int n) { 37 return (Field) get0(n); 41 * Sets the field at the given index. 43 * @param n {@code >= 0, < size();} which field 44 * @param field {@code null-ok;} the field object 46 public void set(int n, Field field) { 47 set0(n, field); [all...] |
/external/mockito/src/main/java/org/mockito/internal/configuration/injection/filter/ |
MockCandidateFilter.java | 7 import java.lang.reflect.Field; 14 Field candidateFieldToBeInjected, 15 List<Field> allRemainingCandidateFields,
|
/libcore/ojluni/src/main/java/java/text/ |
DateFormat.java | 128 * <li>align any particular field, or find out where it is for selection 152 * and the instant of time. This field is used for both formatting and 155 * <p>Subclasses should initialize this field to a {@link Calendar} 171 * Useful constant for ERA field alignment. 176 * Useful constant for YEAR field alignment. 181 * Useful constant for MONTH field alignment. 186 * Useful constant for DATE field alignment. 191 * Useful constant for one-based HOUR_OF_DAY field alignment. 198 * Useful constant for zero-based HOUR_OF_DAY field alignment. 205 * Useful constant for MINUTE field alignment [all...] |
/dalvik/dx/src/com/android/dex/ |
ClassData.java | 20 private final Field[] staticFields; 21 private final Field[] instanceFields; 25 public ClassData(Field[] staticFields, Field[] instanceFields, 33 public Field[] getStaticFields() { 37 public Field[] getInstanceFields() { 49 public Field[] allFields() { 50 Field[] result = new Field[staticFields.length + instanceFields.length]; 63 public static class Field { [all...] |
/external/mockito/src/main/java/org/mockito/internal/util/reflection/ |
SuperTypesLastSorter.java | 8 import java.lang.reflect.Field; 28 public static List<Field> sortSuperTypesLast(Collection<? extends Field> unsortedFields) { 29 List<Field> fields = new ArrayList<Field>(unsortedFields); 36 Field f = fields.get(i); 59 private static final Comparator<Field> compareFieldsByName = new Comparator<Field>() { 61 public int compare(Field o1, Field o2) [all...] |
/tools/tradefederation/core/src/com/android/tradefed/config/ |
OptionCopier.java | 21 import java.lang.reflect.Field; 27 * A helper class that can copy {@link Option} field values with same names from one object to 41 Collection<Field> origFields = OptionSetter.getOptionFieldsForClass(origObject.getClass()); 42 Map<String, Field> destFieldMap = getFieldOptionMap(destObject); 43 for (Field origField : origFields) { 45 Field destField = destFieldMap.remove(option.name()); 67 * Build a map of {@link Option#name()} to {@link Field} for given {@link Object}. 72 private static Map<String, Field> getFieldOptionMap(Object destObject) { 73 Collection<Field> destFields = OptionSetter.getOptionFieldsForClass(destObject.getClass()); 74 Map<String, Field> fieldMap = new HashMap<String, Field>(destFields.size()) 77 fieldMap.put(o.name(), field); local [all...] |
/device/linaro/bootloader/edk2/QuarkSocPkg/QuarkSouthCluster/Usb/Ohci/Dxe/ |
OhciReg.c | 91 @param Field Field to set
101 IN UINT32 Field,
111 if (Field & RESET_SYSTEM_BUS) {
115 if (Field & RESET_HOST_CONTROLLER) {
119 if (Field & RESET_CLOCK_GENERATION) {
123 if (Field & RESET_SSE_GLOBAL) {
127 if (Field & RESET_PSPL) {
131 if (Field & RESET_PCPL) {
135 if (Field & RESET_SSEP1) { [all...] |
/device/linaro/bootloader/edk2/QuarkSocPkg/QuarkSouthCluster/Usb/Ohci/Pei/ |
OhciReg.c | 86 @param Field Field to set
96 IN UINT32 Field,
106 if (Field & RESET_SYSTEM_BUS) {
110 if (Field & RESET_HOST_CONTROLLER) {
114 if (Field & RESET_CLOCK_GENERATION) {
118 if (Field & RESET_SSE_GLOBAL) {
122 if (Field & RESET_PSPL) {
126 if (Field & RESET_PCPL) {
130 if (Field & RESET_SSEP1) { [all...] |
/external/mockito/src/test/java/org/mockito/internal/util/reflection/ |
SuperTypesLastSorterTest.java | 5 import java.lang.reflect.Field; 17 private static Comparator<Field> cmp = new Comparator<Field>() { 18 public int compare(Field o1, Field o2) { 23 List<Field> l = sortSuperTypesLast(Arrays.asList(o1, o2)); 51 assertThat(cmp.compare(field("objectA"), field("objectB"))).isEqualTo(-1); 52 assertThat(cmp.compare(field("objectB"), field("objectA"))).isEqualTo(1) 134 private Field field(String field) throws NoSuchFieldException { method in class:SuperTypesLastSorterTest [all...] |