/openjdk7/jdk/src/share/classes/javax/swing/text/ |
H A D | InternationalFormatter.java | 819 * Returns true if <code>field</code> is non-null. 823 boolean canIncrement(Object field, int cursorPosition) { argument 824 return (field != null); 835 AttributedCharacterIterator.Attribute field = 840 while (iterator.getAttribute(field) == null && 843 int limit = iterator.getRunLimit(field); 858 * Returns the field that will be adjusted by adjustValue. 875 AttributedCharacterIterator.Attribute field = 880 while (iterator.getAttribute(field) == null && 883 iterator.setIndex(iterator.getRunLimit(field)); 902 adjustValue(Object value, Map attributes, Object field, int direction) argument [all...] |
H A D | NumberFormatter.java | 39 * <code>DecimalFormat</code>) in any field but the exponent 40 * field will attempt to change the sign of the number to 44 * <code>DecimalFormat</code>) in the exponent field will 301 * as making the character between the integer field and the next 302 * field navigatable. 357 * Will change the sign of the integer or exponent field if 365 NumberFormat.Field field = getFieldFrom(offset, -1); 369 if (field == null || 370 (field != NumberFormat.Field.EXPONENT && 371 field ! [all...] |
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/model/nav/ |
H A D | ReflectionNavigator.java | 279 public Class getDeclaringClassForField(Field field) { argument 280 return field.getDeclaringClass(); 287 public Type getFieldType(Field field) { argument 288 if (field.getType().isArray()) { 289 Class c = field.getType().getComponentType(); 294 return fix(field.getGenericType()); 297 public String getFieldName(Field field) { argument 298 return field.getName(); 474 public Location getFieldLocation(final Field field) { argument 479 return field 503 isStaticField(Field field) argument 511 isPublicField(Field field) argument [all...] |
/openjdk7/hotspot/src/cpu/zero/vm/ |
H A D | frame_zero.cpp | 191 // Divide the buffer between the field and the value 280 const char *field = istate->name_of_field_at_address((address) addr); local 281 if (field) { 282 if (is_valid && !strcmp(field, "_method")) { 285 else if (is_valid && !strcmp(field, "_bcp") && istate->bcp()) { 291 field[strlen(field) - 1] == ')' ? "(": "", field);
|
/openjdk7/jdk/test/java/beans/XMLEncoder/ |
H A D | BeanValidator.java | 120 for (Field field : getFields(type)) { 121 int mod = field.getModifiers(); 123 log("validate field", field.getName()); 124 validate(object1, object2, field); 156 private void validate(Object object1, Object object2, Field field) { argument 158 object1 = field.get(object1); 159 object2 = field.get(object2);
|
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/utilities/soql/ |
H A D | sa.js | 86 // in natural object.field syntax. 962 // reads static field value 963 function readVMStaticField(field) { 964 var type = field.type; 966 return field.value; 968 return field.address; 970 return field.oopHandle; 972 return field.staticFieldAddress; 976 // reads given instance field of VM object at 'addr' 977 function readVMInstanceField(field, add [all...] |
H A D | JSJavaFactoryImpl.java | 70 public JSJavaField newJSJavaField(Field field) { argument 71 if (field == null) return null; 72 return new JSJavaField(field, this);
|
/openjdk7/jdk/src/share/classes/java/text/ |
H A D | SimpleDateFormat.java | 417 // - 1 for version from JDK 1.1.4, which includes a new field 939 * @param pos the formatting position. On input: an alignment field, 940 * if desired. On output: the offsets of the alignment field. 954 // Convert input date to time field list 1024 // Map index into pattern character string to Calendar field number 1040 // Map index into pattern character string to DateFormat field number 1079 int field = PATTERN_INDEX_TO_CALENDAR_FIELD[patternCharIndex]; 1081 if (field == CalendarBuilder.WEEK_YEAR) { 1087 field = PATTERN_INDEX_TO_CALENDAR_FIELD[patternCharIndex]; 1088 value = calendar.get(field); 1502 matchString(String text, int start, int field, String[] data, CalendarBuilder calb) argument 1539 matchString(String text, int start, int field, Map<String,Integer> data, CalendarBuilder calb) argument [all...] |
/openjdk7/jaxp/src/com/sun/org/apache/bcel/internal/generic/ |
H A D | FieldGen.java | 67 * Template class for building up a field. The only extraordinary thing 68 * one can do is to add a constant value attribute to a field (which must of 78 * Declare a field. If it is static (isStatic() == true) and has a 83 * @param type field type 84 * @param name field name 95 * Instantiate from existing field. 97 * @param field Field object 98 * @param cp constant pool (must contain the same entries as the field's constant pool) 100 public FieldGen(Field field, ConstantPoolGen cp) { argument 101 this(field [all...] |
/openjdk7/jaxp/src/com/sun/org/apache/bcel/internal/util/ |
H A D | BCELifier.java | 136 _out.println(" FieldGen field;"); 187 public void visitField(Field field) { argument 188 _out.println("\n field = new FieldGen(" + 189 printFlags(field.getAccessFlags()) + 190 ", " + printType(field.getSignature()) + ", \"" + 191 field.getName() + "\", _cp);"); 193 ConstantValue cv = field.getConstantValue(); 197 _out.println(" field.setInitValue(" + value + ")"); 200 _out.println(" _cg.addField(field.getField());");
|
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/jaxp/datatype/ |
H A D | DurationImpl.java | 45 * minutes, and seconds) plus a sign (+/-) field.</p> 48 * (which represents that the field is not set), 49 * and the seconds field has a non-negative decimal or null. 226 * <p>Constructs a new Duration object by specifying each field individually.</p> 228 * <p>All the parameters are optional as long as at least one field is present. 315 * <p>Constructs a new Duration object by specifying each field 322 * the corresponding field.</p> 354 // field may not be set 393 // now find out how much each field has changed 436 * The parsing is done field b 1087 isSet(DatatypeConstants.Field field) argument 1152 getField(DatatypeConstants.Field field) argument 1301 getInt(DatatypeConstants.Field field) argument [all...] |
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/ui/tree/ |
H A D | CTypeTreeNodeAdapter.java | 68 final private Field field; field in class:CTypeTreeNodeAdapter.CTypeFieldIdentifier 73 field = f; 77 return field; 81 return field.getType().getName() + " " + holder.getName() + "::" + field.getName();
|
/openjdk7/jdk/src/share/classes/java/util/concurrent/atomic/ |
H A D | AtomicIntegerFieldUpdater.java | 51 * Because this class cannot ensure that all uses of the field 58 * @param <T> The type of the object holding the updatable field 62 * Creates and returns an updater for objects with the given field. 66 * @param tclass the class of the objects holding the field 67 * @param fieldName the name of the field to be updated 69 * @throws IllegalArgumentException if the field is not a 72 * exception if the class does not hold field or is the wrong type 86 * Atomically sets the field of the given object managed by this updater 90 * necessarily with respect to other changes in the field. 92 * @param obj An object whose field t [all...] |
H A D | AtomicReferenceFieldUpdater.java | 68 * Because this class cannot ensure that all uses of the field 75 * @param <T> The type of the object holding the updatable field 76 * @param <V> The type of the field 81 * Creates and returns an updater for objects with the given field. 85 * @param tclass the class of the objects holding the field. 86 * @param vclass the class of the field 87 * @param fieldName the name of the field to be updated. 89 * @throws IllegalArgumentException if the field is not a volatile reference type. 91 * exception if the class does not hold field or is the wrong type. 108 * Atomically sets the field o [all...] |
/openjdk7/langtools/src/share/classes/com/sun/tools/javah/ |
H A D | LLNI.java | 149 for (VariableElement field: fields) { 151 if (!field.getModifiers().contains(Modifier.STATIC)) { 152 TypeMirror t = types.erasure(field.asType()); 214 " /* Fake field; don't access (see oobj.h) */"); 238 /* Returns "true" iff added a field. */ 239 private boolean doField(FieldDefsRes res, VariableElement field, argument 242 String fieldDef = addStructMember(field, cname, padWord); 267 for (VariableElement field: fields) { 268 TypeKind tk = field.asType().getKind(); 270 if (twoWords && doField(res, field, cnam 353 addStaticStructMember(VariableElement field, String cname) argument 618 cRcvrDecl(Element field, String cname) argument 626 llniFieldName(VariableElement field) argument [all...] |
/openjdk7/jdk/src/share/classes/sun/security/ec/ |
H A D | NamedCurve.java | 79 // Return EC parameters for the specified field size. If there are known 123 ECField field; 125 field = new ECFieldFp(p); 127 field = new ECFieldF2m(p.bitLength() - 1, p); 132 EllipticCurve curve = new EllipticCurve(field, bi(a), bi(b)); 147 int len = field.getFieldSize(); 149 // add entry if none present for this field size or if
|
/openjdk7/jdk/src/share/classes/sun/tools/tree/ |
H A D | Statement.java | 111 if (!ctx.field.getType().getReturnType().isType(TC_VOID)) { 124 env.error(ctx.field.getWhere(), "return.required.at.end", ctx.field); 247 ClassDefinition def = ctx.field.getClassDefinition(); 256 switch(ctx.field.getType().getReturnType().getTypeCode()) {
|
/openjdk7/jdk/src/share/demo/jfc/Metalworks/ |
H A D | MetalworksDocumentFrame.java | 108 p.add(toField, "field"); 114 p.add(subField, "field"); 120 p.add(ccField, "field"); 156 JComponent field = (JComponent) fieldIter.next(); 157 int height = Math.max(label.getPreferredSize().height, field. 160 field.setBounds(insets.left + labelWidth + xGap, 184 Component field = fieldIter.next(); 185 int height = Math.max(label.getPreferredSize().height, field.
|
/openjdk7/jdk/src/share/classes/com/sun/tools/hat/internal/server/ |
H A D | QueryHandler.java | 180 protected void printField(JavaField field) { argument 181 print(field.getName() + " (" + field.getSignature() + ")");
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/codemodel/internal/ |
H A D | JDefinedClass.java | 50 * See {@link #method(int, JType, String)} and {@link #field(int, JType, String)}. 367 * Adds a field to the list of field members of this JDefinedClass. 370 * Modifiers for this field 373 * JType of this field 376 * Name of this field 378 * @return Newly generated field 380 public JFieldVar field(int mods, JType type, String name) { method in class:JDefinedClass 381 return field(mods, type, name, null); 384 public JFieldVar field(in method in class:JDefinedClass 402 public JFieldVar field( method in class:JDefinedClass 479 public JFieldVar field( method in class:JDefinedClass 503 removeField(JFieldVar field) argument [all...] |
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/modeler/annotation/ |
H A D | TypeModeler.java | 145 for (FieldDeclaration field : type.getFields()){ 146 if (field.getSimpleName().equals("value")) { 147 member = field;
|
/openjdk7/langtools/src/share/classes/com/sun/tools/doclets/internal/toolkit/util/ |
H A D | VisibleMemberMap.java | 36 * the type of member you are interested in (nested class, field, constructor 134 * Returns the property field documentation belonging to the given member. 136 * @return the property field documentation, null if there is none. 547 final FieldDoc field = fieldForProperty(allFields, propertyMethod); 549 addToPropertiesMap(setter, getter, propertyMethod, field); 562 FieldDoc field) { 563 if ((field == null) 564 || (field.getRawCommentText() == null) 565 || field.getRawCommentText().length() == 0) { 569 addToPropertiesMap(getter, field); 559 addToPropertiesMap(MethodDoc setter, MethodDoc getter, MethodDoc propertyMethod, FieldDoc field) argument [all...] |
/openjdk7/jdk/src/share/native/sun/management/ |
H A D | Flag.c | 58 jvalue field; local 59 field = JNU_GetStaticFieldByName(env, 64 return (*env)->NewGlobalRef(env, field.l);
|
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/jdi/ |
H A D | ObjectReferenceImpl.java | 95 sun.jvm.hotspot.jdi.FieldImpl field = 98 // Make sure the field is valid 99 ((ReferenceTypeImpl)referenceType()).validateFieldAccess(field); 102 // here; make sure the field belongs to this 104 if (field.isStatic()) { 105 staticFields.add(field); 107 instanceFields.add(field); 111 // Look up static field(s) first to mimic the JDI implementation 119 // Then get instance field(s) 129 public void setValue(Field field, Valu argument [all...] |
/openjdk7/jdk/src/share/classes/java/lang/invoke/ |
H A D | MethodHandles.java | 177 * Both {@code MT} and the field type {@code FT} are documented as a parameter named {@code type}. 184 * stands for a null reference if the accessed method or field is static, 241 * <li>NoSuchFieldException — if a field is requested but does not exist 256 * In addition, if the desired member is a non-static field or method 728 * Produces a method handle giving read access to a non-static field. 729 * The type of the method handle will have a return type of the field's 732 * the field. 735 * @param name the field's name 736 * @param type the field's type 737 * @return a method handle which can load values from the field 1288 getDirectField(byte refKind, Class<?> refc, MemberName field) argument [all...] |