Searched defs:value (Results 1 - 25 of 254) sorted by path

1234567891011

/libcore/dalvik/src/main/java/dalvik/annotation/
H A DAndroidOnly.java37 String value(); method in interface:AndroidOnly
H A DBrokenTest.java36 String value(); method in interface:BrokenTest
H A DKnownFailure.java38 String value(); method in interface:KnownFailure
H A DSideEffect.java38 String value(); method in interface:SideEffect
H A DTestTargetClass.java40 Class<?> value(); method in interface:TestTargetClass
H A DTestTargets.java38 TestTargetNew[] value(); method in interface:TestTargets
/libcore/dom/src/test/java/org/w3c/domts/
H A DDocumentBuilderSetting.java28 * 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 DDocumentBuilderSettingStrategy.java39 boolean value) throws DOMTestIncompatibleException;
45 public void applySetting(DocumentBuilderFactory factory, boolean value)
47 factory.setCoalescing(value);
59 public void applySetting(DocumentBuilderFactory factory, boolean value)
61 factory.setExpandEntityReferences(value);
72 public void applySetting(DocumentBuilderFactory factory, boolean value)
74 factory.setIgnoringElementContentWhitespace(value);
84 public void applySetting(DocumentBuilderFactory factory, boolean value)
86 if (value) {
100 public void applySetting(DocumentBuilderFactory factory, boolean value) throw
37 applySetting( DocumentBuilderFactory factory, boolean value) argument
[all...]
H A DLSDocumentBuilderFactory.java83 * @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/json/src/main/java/org/json/
H A DJSON.java21 * Returns the input if it is a JSON-permissible value; throws otherwise.
25 throw new JSONException("Forbidden numeric value: " + d);
30 static Boolean toBoolean(Object value) { argument
31 if (value instanceof Boolean) {
32 return (Boolean) value;
33 } else if (value instanceof String) {
34 String stringValue = (String) value;
44 static Double toDouble(Object value) { argument
45 if (value instanceof Double) {
46 return (Double) value;
58 toInteger(Object value) argument
72 toLong(Object value) argument
86 toString(Object value) argument
[all...]
H A DJSONArray.java37 * ways: the standard Java {@code null} reference, and the sentinel value {@link
114 * Appends {@code value} to the end of this array.
118 public JSONArray put(boolean value) { argument
119 values.add(value);
124 * Appends {@code value} to the end of this array.
126 * @param value a finite value. May not be {@link Double#isNaN() NaNs} or
130 public JSONArray put(double value) throws JSONException { argument
131 values.add(JSON.checkDouble(value));
136 * Appends {@code value} t
140 put(int value) argument
150 put(long value) argument
165 put(Object value) argument
177 put(int index, boolean value) argument
190 put(int index, double value) argument
201 put(int index, int value) argument
212 put(int index, long value) argument
227 put(int index, Object value) argument
[all...]
H A DJSONObject.java27 * A modifiable set of name/value mappings. Names are unique, non-null strings.
52 * coerced, the sentinel value {@link JSONObject#NULL} is coerced to the
58 * <li>Use <code>get<i>Type</i>()</code> to retrieve a mandatory value. This
59 * fails with a {@code JSONException} if the requested name has no value
60 * or if the value cannot be coerced to the requested type.
61 * <li>Use <code>opt<i>Type</i>()</code> to retrieve an optional value. This
63 * value or if the value cannot be coerced to the requested type.
67 * ways: the standard Java {@code null} reference, and the sentinel value {@link
70 * entry whose value i
202 put(String name, boolean value) argument
215 put(String name, double value) argument
226 put(String name, int value) argument
237 put(String name, long value) argument
253 put(String name, Object value) argument
270 putOpt(String name, Object value) argument
289 accumulate(String name, Object value) argument
[all...]
H A DJSONStringer.java40 * <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/awt/font/
H A DNumericShaper.java115 * range constant value. Also script ranges, context names and digits low
230 * value decreased by 0x0030 for easy obtaing unicode value of the
232 * context dependent unicode digit value equals to
233 * digitsLowRanges[script index] + european digit char unicode value.
289 * character's unicode value is 1 - the character is strong.
494 private static IllegalArgumentException rangeException(int value) { argument
495 throw new IllegalArgumentException("Illegal range argument value: " + value);
621 * packed into an int value usin
[all...]
/libcore/luni/src/main/java/java/io/
H A DEmulatedFields.java32 // A slot is a field plus its value
38 // Actual value this emulated field holds
41 // If this field has a default value (true) or something has been
55 * Returns the value held by this emulated field.
57 * @return the field value
87 * field descriptor (ObjectStreamField) plus the actual value it holds.
105 * a value explicitly assigned and that it still holds a default value for
107 * assigned a value explicitly.
111 * @return {@code true} if {@code name} still holds its default value,
385 put(String name, byte value) argument
403 put(String name, char value) argument
421 put(String name, double value) argument
439 put(String name, float value) argument
457 put(String name, int value) argument
475 put(String name, long value) argument
493 put(String name, Object value) argument
515 put(String name, short value) argument
533 put(String name, boolean value) argument
[all...]
H A DEmulatedFieldsForDumping.java60 * Find and set the byte value of a given field named <code>name</code> in
65 * @param value
66 * New value for the field.
69 public void put(String name, byte value) { argument
70 emulatedFields.put(name, value);
74 * Find and set the char value of a given field named <code>name</code> in
79 * @param value
80 * New value for the field.
83 public void put(String name, char value) { argument
84 emulatedFields.put(name, value);
97 put(String name, double value) argument
111 put(String name, float value) argument
125 put(String name, int value) argument
139 put(String name, long value) argument
153 put(String name, Object value) argument
167 put(String name, short value) argument
181 put(String name, boolean value) argument
[all...]
H A DObjectOutput.java75 * byte of the integer {@code value} is written to the stream. Blocks until
78 * @param value
83 public void write(int value) throws IOException; argument
H A DObjectOutputStream.java127 * Puts the value of the boolean field identified by {@code name} to the
132 * @param value
133 * the value that is put to the persistent field.
135 public abstract void put(String name, boolean value); argument
138 * Puts the value of the character field identified by {@code name} to
143 * @param value
144 * the value that is put to the persistent field.
146 public abstract void put(String name, char value); argument
149 * Puts the value of the byte field identified by {@code name} to the
154 * @param value
157 put(String name, byte value) argument
168 put(String name, short value) argument
179 put(String name, int value) argument
190 put(String name, long value) argument
201 put(String name, float value) argument
212 put(String name, double value) argument
223 put(String name, Object value) argument
659 write(int value) argument
672 writeBoolean(boolean value) argument
685 writeByte(int value) argument
700 writeBytes(String value) argument
713 writeChar(int value) argument
727 writeChars(String value) argument
823 writeDouble(double value) argument
1002 writeFloat(float value) argument
1094 writeInt(int value) argument
1107 writeLong(long value) argument
1803 writeShort(int value) argument
1828 writeUTF(String value) argument
[all...]
H A DSerializationHandleMap.java31 /* Actual number of key-value pairs. */
54 int value = oldValues[i];
57 values[index] = value;
95 public int put(Object key, int value) { argument
97 int _value = value;
107 // insert the key and assign the value to -1 initially
112 // insert value to where it needs to go, return the old value
135 // store the value for this key
163 // clear both the key and the value
[all...]
/libcore/luni/src/main/java/java/lang/
H A DAbstractStringBuilder.java37 private char[] value; field in class:AbstractStringBuilder
47 return value;
55 return value;
70 value = val;
75 value = new char[INITIAL_CAPACITY];
82 value = new char[capacity];
88 value = new char[count + INITIAL_CAPACITY];
89 string._getChars(0, count, value, 0);
93 int newCount = ((value.length >> 1) + value
[all...]
H A DBoolean.java32 * The boolean value of the receiver.
34 private final boolean value; field in class:Boolean
47 * The {@code Boolean} object that represents the primitive value
53 * The {@code Boolean} object that represents the primitive value
59 * Constructs a new {@code Boolean} with its boolean value specified by
62 * Boolean representing the primitive value {@code true}, otherwise it will
63 * be a Boolean representing the primitive value {@code false}.
66 * the string representing a boolean value.
74 * value.
76 * @param value
79 Boolean(boolean value) argument
200 toString(boolean value) argument
[all...]
H A DByte.java31 * 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
248 toString(byte value) argument
[all...]
H A DCaseMapper.java35 * this class should be changed so that you instantiate it with the String and its value,
43 * if nothing changes. We need 'value', 'offset', and 'count' because they're not otherwise
46 public static String toLowerCase(Locale locale, String s, char[] value, int offset, int count) { argument
56 char ch = value[i];
61 } else if (ch == GREEK_CAPITAL_SIGMA && isFinalSigma(value, offset, count, i)) {
69 System.arraycopy(value, offset, newValue, 0, newCount);
83 private static boolean isFinalSigma(char[] value, int offset, int count, int index) { argument
89 char previous = value[index - 1];
96 char next = value[index + 1];
142 public static String toUpperCase(Locale locale, String s, char[] value, in argument
[all...]
H A DCharacter.java41 * supplementary character are made up of a <i>high surrogate</i> with a value
42 * range of 0xD800 to 0xDBFF and a <i>low surrogate</i> with a value range of
45 * On the Java platform a {@code char} value represents either a single BMP code
103 private final char value; field in class:Character
106 * The minimum {@code Character} value.
111 * The maximum {@code Character} value.
429 * The minimum value of a high surrogate or leading surrogate unit in UTF-16
437 * The maximum value of a high surrogate or leading surrogate unit in UTF-16
445 * The minimum value of a low surrogate or trailing surrogate unit in UTF-16
453 * The maximum value o
1576 Character(char value) argument
3239 toString(char value) argument
[all...]
H A DDouble.java40 * The value which the receiver represents.
42 private final double value; field in class:Double
45 * Constant for the maximum {@code double} value, (2 - 2<sup>-52</sup>) *
51 * Constant for the minimum {@code double} value, 2<sup>-1074</sup>.
58 * Constant for the Not-a-Number (NaN) value of the {@code double} type.
63 * Constant for the positive infinity value of the {@code double} type.
68 * Constant for the negative infinity value of the {@code double} type.
73 * Constant for the smallest positive normal value of the {@code double} type.
80 * Maximum base-2 exponent that a finite value of the {@code double} type may have.
88 * Minimum base-2 exponent that a normal value o
122 Double(double value) argument
174 doubleToLongBits(double value) argument
182 doubleToRawLongBits(double value) argument
[all...]

Completed in 322 milliseconds

1234567891011