/libcore/support/src/test/java/tests/support/ |
H A D | Support_Format.java | 93 Object value = iterator.getAttribute(attribute); 94 result.add(new FieldContainer(start, end, attribute, value)); 96 // " + value ); 98 // end +"," + attribute+ "," + value+ "));"); 110 Object value; field in class:Support_Format.FieldContainer 119 public FieldContainer(int start, int end, Attribute attribute, int value) { argument 120 this(start, end, attribute, new Integer(value)); 125 Object value) { 129 this.value = value; 124 FieldContainer(int start, int end, Attribute attribute, Object value) argument [all...] |
/libcore/support/src/test/java/tests/util/ |
H A D | CallVerificationStack.java | 128 * the value to push 138 * the value to push 148 * the value to push 158 * the value to push 168 * the value to push 178 * the value to push 188 * the value to push 208 * @return the value 212 Boolean value = (Boolean) wrapper.getValue(); 213 return value 288 private Object value; field in class:CallVerificationStack.BaseTypeWrapper [all...] |
/libcore/support/src/test/java/tests/resources/Package/ |
H A D | hyts_package.jar | ... annotation.Annotation {
public abstract java.lang.String value () }
a/b/package-info.class package-info |
/libcore/benchmarks/src/benchmarks/regression/ |
H A D | HostnameVerifierBenchmark.java | 159 public void putValue(String name, Object value) { argument
|
H A D | ReflectionBenchmark.java | 201 public void setField(int value) { argument 202 f = value; 205 public static void setStaticField(int value) { argument 206 sf = value;
|
/libcore/dom/src/test/java/org/w3c/domts/ |
H A D | DocumentBuilderSetting.java | 28 * property value. 30 private final boolean value; field in class:DocumentBuilderSetting 33 * strategy used to set or get property value. 203 * @param value property value 208 boolean value, 214 this.value = value; 236 * Determines current value of setting. 241 return strategy.hasSetting(factory) == value; 206 DocumentBuilderSetting( String property, boolean value, DocumentBuilderSettingStrategy strategy) argument [all...] |
H A D | LSDocumentBuilderFactory.java | 83 * @param fixedValue fixed value 91 * does not match fixed value. 101 * Gets fixed value for setting 122 * @param inverse if true, DOMConfiguration value is the inverse 123 * of the setting value 133 Object value) throws 141 setParameterMethod.invoke(domConfig, new Object[] {parameter, value}); 177 * Get value of setting 222 * Get setting value 130 setParameter(DocumentBuilderSetting setting, Object parser, String parameter, Object value) argument
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
H A D | Inet6AddressTest.java | 824 int value = ((bytes[start + 3] & byteMask)) 828 return value; 844 void intToBytes(int value, byte bytes[], int start) { argument 847 bytes[start + 3] = (byte) (value & byteMask); 848 bytes[start + 2] = (byte) ((value >> 8) & byteMask); 849 bytes[start + 1] = (byte) ((value >> 16) & byteMask); 850 bytes[start] = (byte) ((value >> 24) & byteMask);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
H A D | AbstractMapTest.java | 64 public Object put(Object key, Object value) { argument 104 Object value = new Object(); 107 map1.put("key", value); 108 assertSame("HashMap(0)", map1.remove("key"), value); 111 map4.put(key, value); 112 assertSame("IdentityHashMap", map4.remove(key), value); 115 map5.put(key, value); 116 assertSame("LinkedHashMap", map5.remove(key), value); 124 map6.put(key, value); 125 assertSame("TreeMap", map6.remove(key), value); [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/ |
H A D | SSLSessionBindingEventTest.java | 226 public void putValue(String name, Object value) { argument
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/xml/parsers/ |
H A D | SAXParserFactoryTest.java | 401 public void setFeature(String name, boolean value) throws argument
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/xml/sax/support/ |
H A D | MockReader.java | 111 public void setFeature(String name, boolean value) { argument 112 if (value) { 119 public void setProperty(String name, Object value) throws SAXNotRecognizedException, argument 121 if (value == null) { 124 properties.put(name, value);
|
/libcore/json/src/main/java/org/json/ |
H A D | JSONStringer.java | 40 * <li>Values are inserted with either literal {@link #value(Object) value} 54 * <p>Each stringer may be used to encode a single top level value. Instances of 80 * A array with at least one value requires a comma and newline before 93 * be a value. 98 * An object with at least one name/value pair requires a comma and 203 * Returns the value on the top of the stack. 213 * Replace the value on the top of the stack with the given value. 220 * Encodes {@code value} 227 value(Object value) argument 263 value(boolean value) argument 279 value(double value) argument 293 value(long value) argument 302 string(String value) argument [all...] |
/libcore/luni/src/main/java/java/lang/ |
H A D | Byte.java | 31 * The value which the receiver represents. 33 private final byte value; field in class:Byte 36 * The maximum {@code Byte} value, 2<sup>7</sup>-1. 41 * The minimum {@code Byte} value, -2<sup>7</sup>. 46 * The number of bits needed to represent a {@code Byte} value in two's 63 * Constructs a new {@code Byte} with the specified primitive byte value. 65 * @param value 66 * the primitive byte value to store in the new instance. 68 public Byte(byte value) { argument 69 this.value 247 toString(byte value) argument [all...] |
H A D | Short.java | 32 * The value which the receiver represents. 34 private final short value; field in class:Short 37 * Constant for the maximum {@code short} value, 2<sup>15</sup>-1. 42 * Constant for the minimum {@code short} value, -2<sup>15</sup>. 68 * the string representation of a short value. 70 * if {@code string} cannot be parsed as a short value. 78 * Constructs a new {@code Short} with the specified primitive short value. 80 * @param value 81 * the primitive short value to store in the new instance. 83 public Short(short value) { argument 243 toString(short value) argument [all...] |
H A D | ThreadLocal.java | 25 * has its own value. All threads share the same {@code ThreadLocal} object, 26 * but each sees a different value when accessing it, and changes made by one 43 * Returns the value of this variable for the current thread. If an entry 45 * create an entry, populating the value with the result of 48 * @return the current value of the variable for the calling thread. 69 * Provides the initial value of this variable for the current thread. 72 * @return the initial value of the variable. 79 * Sets the value of this variable for the current thread. If set to 80 * {@code null}, the value will be set to null and the underlying entry will 83 * @param value th 85 set(T value) argument 365 add(ThreadLocal<?> key, Object value) argument 380 put(ThreadLocal<?> key, Object value) argument [all...] |
/libcore/luni/src/main/java/java/lang/reflect/ |
H A D | Array.java | 383 * Sets the element of the array at the specified index to the value. 384 * Equivalent to {@code array[index] = value}. If the array 385 * component is a primitive type, the value is automatically unboxed. 389 * if {@code array} is not an array or the value cannot be 394 public static void set(Object array, int index, Object value) throws IllegalArgumentException, ArrayIndexOutOfBoundsException { argument 400 if (value != null && !array.getClass().getComponentType().isInstance(value)) { 403 ((Object[]) array)[index] = value; 405 if (value == null) { 408 if (value instanceo 438 setBoolean(Object array, int index, boolean value) argument 456 setByte(Object array, int index, byte value) argument 484 setChar(Object array, int index, char value) argument 510 setDouble(Object array, int index, double value) argument 528 setFloat(Object array, int index, float value) argument 548 setInt(Object array, int index, int value) argument 572 setLong(Object array, int index, long value) argument 594 setShort(Object array, int index, short value) argument [all...] |
/libcore/luni/src/main/java/java/security/ |
H A D | Security.java | 98 * Returns value for the specified algorithm with the specified name. 104 * @return value of the property. 236 * filter}. A {@code null} value signifies that none of the 269 * for example: "MessageDigest.SHA" The value associated with the key must 274 * the value of the filter map entry. 280 * filter}. A {@code null} value signifies that none of the 346 * Returns the value of the security property named by the argument. 350 * @return the value of the security property. 364 * Sets the value of the specified security property. 366 public static void setProperty(String key, String value) { argument [all...] |
/libcore/luni/src/main/java/java/text/ |
H A D | ChoiceFormat.java | 27 * Returns a fixed string based on a numeric value. The class can be used in 67 * <li><number>"#"</number> specifies an inclusive limit value;</li> 68 * <li><number>"<"</number> specifies an exclusive limit value.</li> 83 * value {@code d}, then the element {@code i} in {@code formats} is 147 Number value = format.parse(template, position); 165 next = value.doubleValue(); 168 next = nextDouble(value.doubleValue()); 227 * double value fits to the specified string buffer. 229 * @param value 232 * the target string buffer to append the formatted value t 238 format(double value, StringBuffer buffer, FieldPosition field) argument 262 format(long value, StringBuffer buffer, FieldPosition field) argument 308 nextDouble(double value) argument 317 nextDouble(double value, boolean increment) argument 370 previousDouble(double value) argument [all...] |
H A D | Collator.java | 55 * This strength should be used sparingly, as only code point value differences 123 * Constant used to specify the decomposition rule. This value for 163 * strength value as this collator. 187 * @return a negative value if {@code object1} is less than {@code object2}, 188 * 0 if they are equal, and a positive value if {@code object1} is 204 * @return a negative value if {@code string1} is less than {@code string2}, 205 * 0 if they are equal and a positive value if {@code string1} is 256 * with the current decomposition rule and strength value. 295 * Returns the strength value for this collator. 297 * @return the strength value, eithe 318 setDecomposition(int value) argument 331 setStrength(int value) argument 358 strength_Java_ICU(int value) argument 372 strength_ICU_Java(int value) argument [all...] |
/libcore/luni/src/main/java/java/util/ |
H A D | AbstractMap.java | 43 * An immutable key-value mapping. Despite the name, this class is non-final 53 private final V value; field in class:AbstractMap.SimpleImmutableEntry 57 value = theValue; 61 * Constructs an instance with the key and value of {@code copyFrom}. 65 value = copyFrom.getValue(); 73 return value; 92 && (value == null ? entry.getValue() == null : value 100 ^ (value == null ? 0 : value 118 private V value; field in class:AbstractMap.SimpleEntry 213 containsValue(Object value) argument 369 put(K key, V value) argument [all...] |
/libcore/luni/src/main/java/java/util/concurrent/atomic/ |
H A D | AtomicInteger.java | 12 * An {@code int} value that may be updated atomically. See the 34 (AtomicInteger.class.getDeclaredField("value")); 38 private volatile int value; field in class:AtomicInteger 41 * Creates a new AtomicInteger with the given initial value. 43 * @param initialValue the initial value 46 value = initialValue; 50 * Creates a new AtomicInteger with initial value {@code 0}. 56 * Gets the current value. 58 * @return the current value 61 return value; [all...] |
H A D | AtomicLong.java | 12 * A {@code long} value that may be updated atomically. See the 48 (AtomicLong.class.getDeclaredField("value")); 52 private volatile long value; field in class:AtomicLong 55 * Creates a new AtomicLong with the given initial value. 57 * @param initialValue the initial value 60 value = initialValue; 64 * Creates a new AtomicLong with initial value {@code 0}. 70 * Gets the current value. 72 * @return the current value 75 return value; [all...] |
/libcore/luni/src/main/java/java/util/logging/ |
H A D | Level.java | 33 * set of predefined logging levels, each associated with an integer value. 155 * The integer value indicating the level. 159 private final int value; field in class:Level 176 * level value. 181 * an integer value indicating the level. 191 * value and resource bundle name. 196 * an integer value indicating the level. 207 this.value = level; 241 * Gets the integer value indicating this level. 243 * @return this level's integer value [all...] |
/libcore/luni/src/main/java/javax/xml/parsers/ |
H A D | DocumentBuilderFactory.java | 101 * provide support for XML namespaces. By default the value of this is set 114 * validate documents as they are parsed. By default the value of this 150 * the value of this is set to <code>false</code>. 163 * expand entity reference nodes. By default the value of this is set to 176 * ignore comments. By default the value of this is set to <code>false 179 * @param ignoreComments <code>boolean</code> value to ignore comments during processing 189 * adjacent (if any) text node. By default the value of this is set to 280 * @param value The value of the attribute. 284 public abstract void setAttribute(String name, Object value) argument 333 setFeature(String name, boolean value) argument [all...] |