/dalvik/libcore/text/src/test/java/org/apache/harmony/text/tests/java/text/ |
NumberFormatFieldTest.java | 33 @TestTargetClass(NumberFormat.Field.class) 36 * @tests java.text.NumberFormat$Field#Field(java.lang.String) 41 method = "Field", 47 MyNumberFormat field = new MyNumberFormat(name); local 48 assertEquals("field has wrong name", name, field.getName()); 50 field = new MyNumberFormat(null); 51 assertEquals("field has wrong name", null, field.getName()) 77 MyNumberFormat field; local [all...] |
/external/webkit/WebCore/bridge/jni/v8/ |
JavaNPObjectV8.cpp | 151 JavaField* field = instance->getClass()->fieldNamed(name); local 155 if (!field) 163 // FIXME: Note here that field->type() refers to the Java class name and NOT the 164 // JNI signature i.e. "int" as opposed to "I". This means that the field lookup 167 field->getJNIType(), 168 field->name().UTF8String(), 169 field->type()); 171 convertJValueToNPVariant(value, field->getJNIType(), field->type(), result);
|
/packages/apps/Gallery3D/src/com/cooliris/picasa/ |
EntrySchema.java | 20 import java.lang.reflect.Field; 93 Field field = column.field; local 96 field.set(object, cursor.getString(columnIndex)); 99 field.setBoolean(object, cursor.getShort(columnIndex) == 1); 102 field.setShort(object, cursor.getShort(columnIndex)); 105 field.setInt(object, cursor.getInt(columnIndex)); 108 field.setLong(object, cursor.getLong(columnIndex)); 111 field.setFloat(object, cursor.getFloat(columnIndex)) 134 Field field = column.field; local 369 Field field = fields[i]; local 415 public final Field field; field in class:EntrySchema.ColumnInfo [all...] |
/dalvik/dx/src/com/android/dx/dex/file/ |
FieldIdsSection.java | 28 * Field refs list section of a {@code .dex} file. 32 * {@code non-null;} map from field constants to {@link 95 * @param field {@code non-null;} the reference to intern 98 public FieldIdItem intern(CstFieldRef field) { 99 if (field == null) { 100 throw new NullPointerException("field == null"); 105 FieldIdItem result = fieldIds.get(field); 108 result = new FieldIdItem(field); 109 fieldIds.put(field, result);
|
ClassDataItem.java | 118 * Adds a static field. 120 * @param field {@code non-null;} the field to add 121 * @param value {@code null-ok;} initial value for the field, if any 123 public void addStaticField(EncodedField field, Constant value) { 124 if (field == null) { 125 throw new NullPointerException("field == null"); 133 staticFields.add(field); 134 staticValues.put(field, value); 138 * Adds an instance field 292 EncodedField field = staticFields.get(size - 1); local 313 EncodedField field = staticFields.get(i); local [all...] |
/dalvik/libcore/security/src/test/java/tests/security/permissions/ |
JavaLangReflectAccessibleObjectTest.java | 11 import java.lang.reflect.Field; 39 private int field; field in class:JavaLangReflectAccessibleObjectTest.TestClass 64 Field field = TestClass.class.getDeclaredField("field"); local 65 field.setAccessible(true); 94 Field field = TestClass.class.getDeclaredField("field"); local 95 field.setAccessible(TestClass.class.getDeclaredFields(), true) [all...] |
/external/icu4c/i18n/ |
chnsecal.h | 38 * <p>This class defines one addition field beyond those defined by 39 * <code>Calendar</code>: The <code>IS_LEAP_MONTH</code> field takes the 53 * <code>EXTENDED_YEAR</code> field contains the sequential year count. 54 * The <code>ERA</code> field contains the cycle number, and the 55 * <code>YEAR</code> field contains the year of the cycle, a value between 64 * <p>Because <code>ChineseCalendar</code> defines an additional field and 65 * redefines the way the <code>ERA</code> field is used, it requires a new 141 virtual int32_t handleGetLimit(UCalendarDateFields field, ELimitType limitType) const; 151 virtual void add(UCalendarDateFields field, int32_t amount, UErrorCode &status); 152 virtual void add(EDateFields field, int32_t amount, UErrorCode &status) [all...] |
hebrwcal.h | 234 * of time to the given time field, based on the calendar's rules. For more 237 * @param field The time field. 238 * @param amount The amount of date or time to be added to the field. 240 * previously set in the time field is invalid, this will be set to 243 virtual void add(UCalendarDateFields field, int32_t amount, UErrorCode& status); 247 virtual void add(EDateFields field, int32_t amount, UErrorCode& status); 251 * (Overrides Calendar) Rolls up or down by the given amount in the specified field. 254 * @param field The time field [all...] |
calendar.cpp | 90 * @param f field enum 91 * @return static string to the field name 1018 Calendar::get(UCalendarDateFields field, UErrorCode& status) const 1020 // field values are only computed when actually requested; for more on when computation 1024 return U_SUCCESS(status) ? fFields[field] : 0; 1030 Calendar::set(UCalendarDateFields field, int32_t value) 1036 fFields[field] = value; 1037 fStamp[field] = fNextStamp++; 1038 fIsSet[field] = TRUE; // Remove later [all...] |
japancal.h | 48 * for these eras, suitable for use in the <code>UCAL_ERA</code> field, are provided 112 * Return the maximum value that this field could have, given the current date. 115 virtual int32_t getActualMaximum(UCalendarDateFields field, UErrorCode& status) const; 186 * Calculate the limit for a specified type of limit and field 189 virtual int32_t handleGetLimit(UCalendarDateFields field, ELimitType limitType) const;
|
/cts/tests/SignatureTest/tests/src/android/tests/sigtest/tests/ |
JDiffClassDescriptionTest.java | 191 JDiffClassDescription.JDiffField field = new JDiffClassDescription.JDiffField("FINAL_FIELD", "java.lang.String", Modifier.PUBLIC | Modifier.FINAL); local 192 clz.addField(field); 194 assertEquals(field.toSignatureString(), "public final java.lang.String FINAL_FIELD"); 198 JDiffClassDescription.JDiffField field = new JDiffClassDescription.JDiffField("STATIC_FIELD", "java.lang.String", Modifier.PUBLIC | Modifier.STATIC); local 199 clz.addField(field); 201 assertEquals(field.toSignatureString(), "public static java.lang.String STATIC_FIELD"); 205 JDiffClassDescription.JDiffField field = new JDiffClassDescription.JDiffField("VOLATILE_FIELD", "java.lang.String", Modifier.PUBLIC | Modifier.VOLATILE); local 206 clz.addField(field); 208 assertEquals(field.toSignatureString(), "public volatile java.lang.String VOLATILE_FIELD"); 212 JDiffClassDescription.JDiffField field = new JDiffClassDescription.JDiffField("TRANSIENT_FIELD", "java.lang.String", Modifier.PUBLIC | Mo (…) local 219 JDiffClassDescription.JDiffField field = new JDiffClassDescription.JDiffField("PACAKGE_FIELD", "java.lang.String", 0); local 226 JDiffClassDescription.JDiffField field = new JDiffClassDescription.JDiffField("PRIVATE_FIELD", "java.lang.String", Modifier.PRIVATE); local 233 JDiffClassDescription.JDiffField field = new JDiffClassDescription.JDiffField("PROTECTED_FIELD", "java.lang.String", Modifier.PROTECTED); local 243 JDiffClassDescription.JDiffField field = new JDiffClassDescription.JDiffField("innerClassData", "java.lang.String", Modifier.PRIVATE); local 252 JDiffClassDescription.JDiffField field = new JDiffClassDescription.JDiffField("innerInnerClassData", "java.lang.String", Modifier.PRIVATE); local [all...] |
/external/icu4c/i18n/unicode/ |
gregocal.h | 55 * <p>Values calculated for the <code>WEEK_OF_YEAR</code> field range from 1 to 234 * @param year The value used to set the YEAR time field in the calendar. 235 * @param month The value used to set the MONTH time field in the calendar. Month 237 * @param date The value used to set the DATE time field in the calendar. 248 * @param year The value used to set the YEAR time field in the calendar. 249 * @param month The value used to set the MONTH time field in the calendar. Month 251 * @param date The value used to set the DATE time field in the calendar. 252 * @param hour The value used to set the HOUR_OF_DAY time field in the calendar. 253 * @param minute The value used to set the MINUTE time field in the calendar. 264 * @param year The value used to set the YEAR time field in the calendar [all...] |
dtptngen.h | 46 * That would be useful for getting the UI order of field elements.</i> 141 * Note that single-field patterns (like "MMM") are automatically added, and 160 * An AppendItem format is a pattern used to append a field if there is no 173 * @param field such as UDATPG_ERA_FIELD. 177 void setAppendItemFormat(UDateTimePatternField field, const UnicodeString& value); 183 * @param field such as UDATPG_ERA_FIELD. 184 * @return append pattern for field 187 const UnicodeString& getAppendItemFormat(UDateTimePatternField field) const; 190 * Sets the names of field, eg "era" in English for ERA. These are only 196 * @param field such as UDATPG_ERA_FIELD [all...] |
/cts/tools/signature-tools/src/signature/model/util/ |
ModelUtil.java | 75 for (IField field : clazz.getFields()) { 76 if (fieldName.equals(field.getName())) { 77 return field; 85 for (IAnnotationField field : annotation.getAnnotationFields()) { 86 if (fieldName.equals(field.getName())) { 87 return field;
|
/external/icu4c/tools/ctestfw/ |
dbgutil.cpp | 23 static const UnicodeString& _fieldString(UDebugEnumType type, int32_t field, UnicodeString& fillin) { 24 const char *str = udbg_enumName(type, field); 75 T_CTEST_API const UnicodeString& T_CTEST_EXPORT2 udbg_enumString(UDebugEnumType type, int32_t field) { 86 //fprintf(stderr, "enumString [%d,%d]: typecount %d, fieldcount %d\n", type,field,UDBG_ENUM_COUNT,count); 88 if(field<0 || field > count) { 90 } else { return strs[type][field];
|
/external/proguard/src/proguard/classfile/attribute/visitor/ |
AttributeVisitor.java | 47 public void visitDeprecatedAttribute( Clazz clazz, Field field, DeprecatedAttribute deprecatedAttribute); 51 public void visitSyntheticAttribute( Clazz clazz, Field field, SyntheticAttribute syntheticAttribute); 55 public void visitSignatureAttribute( Clazz clazz, Field field, SignatureAttribute signatureAttribute); 60 public void visitConstantValueAttribute( Clazz clazz, Field field, ConstantValueAttribute constantValueAttribute); 78 public void visitRuntimeVisibleAnnotationsAttribute( Clazz clazz, Field field, RuntimeVisibleAnnotationsAttribute runtimeVisibleAnnotationsAttribute) [all...] |
/frameworks/base/core/java/android/test/ |
AndroidTestCase.java | 25 import java.lang.reflect.Field; 155 final Field[] fields = getClass().getDeclaredFields(); 156 for (Field field : fields) { 157 final Class<?> fieldClass = field.getDeclaringClass(); 158 if (testCaseClass.isAssignableFrom(fieldClass) && !field.getType().isPrimitive()) { 160 field.setAccessible(true); 161 field.set(this, null); 163 android.util.Log.d("TestCase", "Error: Could not nullify field!"); 166 if (field.get(this) != null) [all...] |
/dalvik/libcore/luni/src/main/java/java/util/ |
GregorianCalendar.java | 64 * Values calculated for the {@code WEEK_OF_YEAR} field range from 1 to 84 * Values calculated for the {@code WEEK_OF_MONTH} field range from 0 or 349 * Adds the specified amount to a {@code Calendar} field. 351 * @param field 352 * the {@code Calendar} field to modify. 354 * the amount to add to the field. 357 * if the specified field is DST_OFFSET or ZONE_OFFSET. 360 public void add(int field, int value) { 364 if (field < 0 || field >= ZONE_OFFSET) [all...] |
/external/dbus/dbus/ |
dbus-marshal-header.c | 65 /** Offset to first field in header */ 70 unsigned char code; /**< the field code */ 87 /** Macro to look up the correct type for a field */ 88 #define EXPECTED_TYPE_OF_FIELD(field) (_dbus_header_field_types[field].type) 145 * Caches one field 148 * @param field_code the field 149 * @param variant_reader the reader for the variant in the field 160 _dbus_verbose ("cached value_pos %d for field %d\n", 221 * Checks for a field, updating the cache if required [all...] |
/external/icu4c/test/intltest/ |
normconf.h | 47 * there are five columns, corresponding to field[0]..field[4]. 55 * @param field the 5 columns 59 UBool checkConformance(const UnicodeString* field, 82 int32_t field);
|
/external/proguard/src/proguard/classfile/attribute/ |
SignatureAttribute.java | 37 * An extra field pointing to the Clazz objects referenced in the 38 * signature string. This field is filled out by the <code>{@link 91 public void accept(Clazz clazz, Field field, AttributeVisitor attributeVisitor) 93 attributeVisitor.visitSignatureAttribute(clazz, field, this);
|
/external/proguard/src/proguard/classfile/attribute/annotation/ |
AnnotationsAttribute.java | 75 * Applies the given visitor to all field annotations. 77 public void annotationsAccept(Clazz clazz, Field field, AnnotationVisitor annotationVisitor) 83 annotationVisitor.visitAnnotation(clazz, field, annotations[index]);
|
/external/proguard/src/proguard/classfile/editor/ |
ClassEditor.java | 118 * Adds the given field. 120 public void addField(Field field) 123 Field[] fields = targetClass.fields; 125 // Make sure there is enough space for the new field. 137 System.out.println(targetClass.getName()+": adding field ["+field.getName(targetClass)+" "+field.getDescriptor(targetClass)+"]"); 140 // Add the field. 141 fields[targetClass.u2fieldsCount++] = field; [all...] |
/external/stlport/src/ |
monetary.cpp | 27 pos_format.field[0] = (char) money_base::symbol; 28 pos_format.field[1] = (char) money_base::sign; 29 pos_format.field[2] = (char) money_base::none; 30 pos_format.field[3] = (char) money_base::value; 32 neg_format.field[0] = (char) money_base::symbol; 33 neg_format.field[1] = (char) money_base::sign; 34 neg_format.field[2] = (char) money_base::none; 35 neg_format.field[3] = (char) money_base::value;
|
/prebuilt/linux-x86/toolchain/arm-eabi-4.4.0/lib/gcc/arm-eabi/4.4.0/plugin/include/ |
tree-dump.h | 82 #define dump_child(field, child) \ 83 queue_and_dump_index (di, field, child, DUMP_NONE)
|