Searched refs:value (Results 101 - 125 of 408) sorted by relevance

1234567891011>>

/libcore/dom/src/test/java/org/w3c/domts/level1/core/
H A Dhc_textsplittextfour.java36 * value used for this test is 30. The "getNodeValue()"
70 String value;
76 value = splitNode.getNodeValue();
77 assertEquals("textSplitTextFourAssert", "98551", value);
H A Dhc_textsplittextone.java72 String value;
79 value = secondPart.getNodeValue();
80 assertEquals("textSplitTextOneAssert", "Jones", value);
H A Dhc_textsplittextthree.java72 String value;
78 value = splitNode.getNodeValue();
79 assertEquals("textSplitTextThreeAssert", " Jones", value);
H A Dhc_textsplittexttwo.java71 String value;
77 value = textNode.getNodeValue();
78 assertEquals("textSplitTextTwoAssert", "Roger", value);
H A Dhc_textwithnomarkup.java71 String value;
76 value = nodeV.getNodeValue();
77 assertEquals("textWithNoMarkupAssert", "Roger\n Jones", value);
H A Dnamednodemapremovenameditemreturnnodevalue.java72 String value;
78 value = removedNode.getNodeValue();
79 assertEquals("namednodemapRemoveNamedItemReturnNodeValueAssert", "No", value);
H A Dnodedocumentfragmentnodevalue.java70 String value;
75 value = docFragment.getNodeValue();
76 assertNull("initiallyNull", value);
H A Dtextsplittextfour.java36 * value used for this test is 30. The "getNodeValue()"
71 String value;
77 value = splitNode.getNodeValue();
78 assertEquals("textSplitTextFourAssert", "98551", value);
H A Dtextsplittextone.java73 String value;
80 value = secondPart.getNodeValue();
81 assertEquals("textSplitTextOneAssert", "Jones", value);
H A Dtextsplittextthree.java73 String value;
79 value = splitNode.getNodeValue();
80 assertEquals("textSplitTextThreeAssert", " Jones", value);
H A Dtextsplittexttwo.java72 String value;
78 value = textNode.getNodeValue();
79 assertEquals("textSplitTextTwoAssert", "Roger", value);
H A Dtextwithnomarkup.java72 String value;
77 value = nodeV.getNodeValue();
78 assertEquals("textNodeValue", "Roger\n Jones", value);
H A Dhc_textparseintolistofelements.java69 String value;
90 value = child.getNodeValue();
92 if ((value == null)) {
95 value = grandChild.getNodeValue();
96 result.add(value);
98 result.add(value);
H A Dtextparseintolistofelements.java71 String value;
91 value = child.getNodeValue();
93 if ((value == null)) {
96 value = grandChild.getNodeValue();
97 result.add(value);
99 result.add(value);
/libcore/luni/src/main/java/java/util/prefs/
H A DPreferenceChangeEvent.java47 private final String value; field in class:PreferenceChangeEvent
58 * the new value of the changed preference, this value can be
65 value = v;
78 * Gets the new value of the changed preference or {@code null} if the
81 * @return the new value of the changed preference or {@code null} if the
85 return value;
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/
H A DTestUtils.java69 * @param value - the value to be set
71 public static void setSystemProperty(String key, String value) { argument
73 if (value == null) {
76 properties.setProperty(key, value);
/libcore/luni/src/main/java/org/apache/harmony/xml/parsers/
H A DSAXParserFactoryImpl.java87 public void setFeature(String name, boolean value) throws SAXNotRecognizedException { argument
96 if (value) {
105 public void setNamespaceAware(boolean value) { argument
107 setFeature(NAMESPACES, value);
114 public void setValidating(boolean value) { argument
116 setFeature(VALIDATION, value);
/libcore/luni/src/main/java/java/text/
H A DAttributedString.java46 Object value; field in class:AttributedString.Range
51 value = v;
155 if (!(range.value instanceof Annotation)) {
167 return !(range.value instanceof Annotation)
170 return !(range.value instanceof Annotation)
211 return inRange(range) ? range.value : null;
240 Object value = currentValue(entry.getValue());
241 if (value != null) {
242 result.put(entry.getKey(), value);
413 Object value
520 AttributedString(String value) argument
542 AttributedString(String value, Map<? extends AttributedCharacterIterator.Attribute, ?> attributes) argument
576 addAttribute(AttributedCharacterIterator.Attribute attribute, Object value) argument
612 addAttribute(AttributedCharacterIterator.Attribute attribute, Object value, int start, int end) argument
[all...]
H A DNumberFormat.java208 * @param value
212 public final String format(double value) { argument
213 return format(value, new StringBuffer(), new FieldPosition(0)).toString();
217 * Formats the specified double value as a string using the pattern of this
220 * If the {@code field} member of {@code position} contains a value
225 * @param value
228 * the target string buffer to append the formatted double value
235 public abstract StringBuffer format(double value, StringBuffer buffer, FieldPosition field); argument
240 * @param value
244 public final String format(long value) { argument
267 format(long value, StringBuffer buffer, FieldPosition field) argument
618 setGroupingUsed(boolean value) argument
630 setMaximumFractionDigits(int value) argument
645 setMaximumIntegerDigits(int value) argument
659 setMinimumFractionDigits(int value) argument
673 setMinimumIntegerDigits(int value) argument
690 setParseIntegerOnly(boolean value) argument
[all...]
/libcore/benchmarks/src/benchmarks/regression/
H A DStringCaseMappingBenchmark.java54 final String value; field in class:StringCaseMappingBenchmark.Inputs
55 private Inputs(String value) { this.value = value; } argument
77 s.value.toUpperCase(Locale.US);
85 s.value.toUpperCase(el_GR);
91 s.value.toUpperCase(Locale.US);
97 toUpperCaseAscii(s.value);
103 toUpperCaseAscii(s.value);
109 libcore.icu.ICU.toUpperCase(s.value, Local
[all...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
H A DSupport_Format.java90 Object value = iterator.getAttribute(attribute);
91 result.add(new FieldContainer(start, end, attribute, value));
93 // " + value );
95 // end +"," + attribute+ "," + value+ "));");
106 final Object value; field in class:Support_Format.FieldContainer
114 public FieldContainer(int start, int end, Attribute attribute, int value) { argument
115 this(start, end, attribute, new Integer(value));
119 public FieldContainer(int start, int end, Attribute attribute, Object value) { argument
123 this.value = value;
[all...]
/libcore/json/src/main/java/org/json/
H A DJSONObject.java29 * A modifiable set of name/value mappings. Names are unique, non-null strings.
54 * coerced, the sentinel value {@link JSONObject#NULL} is coerced to the
60 * <li>Use <code>get<i>Type</i>()</code> to retrieve a mandatory value. This
61 * fails with a {@code JSONException} if the requested name has no value
62 * or if the value cannot be coerced to the requested type.
63 * <li>Use <code>opt<i>Type</i>()</code> to retrieve an optional value. This
65 * value or if the value cannot be coerced to the requested type.
69 * ways: the standard Java {@code null} reference, and the sentinel value {@link
72 * entry whose value i
204 put(String name, boolean value) argument
217 put(String name, double value) argument
228 put(String name, int value) argument
239 put(String name, long value) argument
255 put(String name, Object value) argument
272 putOpt(String name, Object value) argument
299 accumulate(String name, Object value) argument
328 append(String name, Object value) argument
[all...]
/libcore/luni/src/main/java/libcore/icu/
H A DNativeDecimalFormat.java283 public char[] formatBigDecimal(BigDecimal value, FieldPosition field) { argument
285 char[] result = formatDigitList(this.address, value.toString(), fpi);
292 public char[] formatBigInteger(BigInteger value, FieldPosition field) { argument
294 char[] result = formatDigitList(this.address, value.toString(10), fpi);
301 public char[] formatLong(long value, FieldPosition field) { argument
303 char[] result = formatLong(this.address, value, fpi);
310 public char[] formatDouble(double value, FieldPosition field) { argument
312 char[] result = formatDouble(this.address, value, fpi);
473 public void setDecimalSeparatorAlwaysShown(boolean value) { argument
474 int i = value
483 setGroupingSize(int value) argument
487 setGroupingUsed(boolean value) argument
492 setMaximumFractionDigits(int value) argument
496 setMaximumIntegerDigits(int value) argument
500 setMinimumFractionDigits(int value) argument
504 setMinimumIntegerDigits(int value) argument
508 setMultiplier(int value) argument
512 setNegativePrefix(String value) argument
519 setNegativeSuffix(String value) argument
526 setPositivePrefix(String value) argument
533 setPositiveSuffix(String value) argument
540 setParseBigDecimal(boolean value) argument
544 setParseIntegerOnly(boolean value) argument
621 formatLong(long addr, long value, FieldPositionIterator iter) argument
622 formatDouble(long addr, double value, FieldPositionIterator iter) argument
623 formatDigitList(long addr, String value, FieldPositionIterator iter) argument
[all...]
/libcore/luni/src/main/java/java/net/
H A DHttpCookie.java30 * An opaque key-value value pair held by an HTTP client to permit a stateful
36 * practice. Each cookie contains one key-value pair and the following
267 String value = readAttributeValue(pre2965 ? ";" : ",;");
268 HttpCookie cookie = new HttpCookie(name, value);
318 private void setAttribute(HttpCookie cookie, String name, String value) { argument
320 cookie.comment = value;
322 cookie.commentURL = value;
326 cookie.domain = value;
330 Date date = HttpDate.parse(value);
449 private String value; field in class:HttpCookie
461 HttpCookie(String name, String value) argument
658 setValue(String value) argument
750 appendAttribute(StringBuilder builder, String name, String value) argument
[all...]
/libcore/luni/src/main/java/java/util/
H A DArrays.java159 * Performs a binary search for {@code value} in the ascending sorted array {@code array}.
164 * @param value the element to find.
168 public static int binarySearch(byte[] array, byte value) { argument
169 return binarySearch(array, 0, array.length, value);
173 * Performs a binary search for {@code value} in the ascending sorted array {@code array},
181 * @param value the element to find.
188 public static int binarySearch(byte[] array, int startIndex, int endIndex, byte value) { argument
197 if (midVal < value) {
199 } else if (midVal > value) {
202 return mid; // value foun
218 binarySearch(char[] array, char value) argument
238 binarySearch(char[] array, int startIndex, int endIndex, char value) argument
268 binarySearch(double[] array, double value) argument
288 binarySearch(double[] array, int startIndex, int endIndex, double value) argument
329 binarySearch(float[] array, float value) argument
349 binarySearch(float[] array, int startIndex, int endIndex, float value) argument
390 binarySearch(int[] array, int value) argument
410 binarySearch(int[] array, int startIndex, int endIndex, int value) argument
440 binarySearch(long[] array, long value) argument
460 binarySearch(long[] array, int startIndex, int endIndex, long value) argument
493 binarySearch(Object[] array, Object value) argument
516 binarySearch(Object[] array, int startIndex, int endIndex, Object value) argument
552 binarySearch(T[] array, T value, Comparator<? super T> comparator) argument
577 binarySearch(T[] array, int startIndex, int endIndex, T value, Comparator<? super T> comparator) argument
612 binarySearch(short[] array, short value) argument
632 binarySearch(short[] array, int startIndex, int endIndex, short value) argument
669 fill(byte[] array, byte value) argument
691 fill(byte[] array, int start, int end, byte value) argument
706 fill(short[] array, short value) argument
728 fill(short[] array, int start, int end, short value) argument
743 fill(char[] array, char value) argument
765 fill(char[] array, int start, int end, char value) argument
780 fill(int[] array, int value) argument
802 fill(int[] array, int start, int end, int value) argument
817 fill(long[] array, long value) argument
839 fill(long[] array, int start, int end, long value) argument
854 fill(float[] array, float value) argument
876 fill(float[] array, int start, int end, float value) argument
891 fill(double[] array, double value) argument
913 fill(double[] array, int start, int end, double value) argument
928 fill(boolean[] array, boolean value) argument
950 fill(boolean[] array, int start, int end, boolean value) argument
965 fill(Object[] array, Object value) argument
987 fill(Object[] array, int start, int end, Object value) argument
[all...]

Completed in 418 milliseconds

1234567891011>>