Searched refs:value (Results 226 - 250 of 408) sorted by relevance

1234567891011>>

/libcore/luni/src/main/java/java/lang/
H A DFindBugsSuppressWarnings.java45 String[] value(); method in interface:FindBugsSuppressWarnings
/libcore/luni/src/main/java/java/sql/
H A DSQLXML.java73 void setString(String value) throws SQLException; argument
/libcore/luni/src/main/java/java/util/
H A DGregorianCalendar.java354 * @param value
361 public void add(int field, int value) { argument
362 if (value == 0) {
372 if (value >= 0) {
377 if (value <= 0) {
389 int month = fields[MONTH] + value;
391 value = (month - 11) / 12;
394 value = month / 12;
398 set(YEAR, fields[YEAR] + value);
411 time += value;
1113 mod(int value, int mod) argument
1144 roll(int field, int value) argument
[all...]
H A DProperties.java153 * @return the named property value, or {@code null} if it can't be found.
173 * the default value.
174 * @return the named property value.
263 * the value, and the value. The key goes up to the first whitespace, "=" or
264 * ":" that is not escaped. The space between the key and the value contains
266 * whitespace before and after that character. The value starts with the
267 * first character after the space between the key and the value.</li>
402 // if key length == 0 or value length == 0
431 String value
510 setProperty(String name, String value) argument
[all...]
/libcore/luni/src/main/java/javax/net/ssl/
H A DSSLSession.java162 * the name of the bound value.
163 * @return the value bound to the specified name, or {@code null} if the
207 * @param value
210 * if either {@code name} or {@code value} is {@code null}.
212 public void putValue(String name, Object value); argument
/libcore/luni/src/main/java/libcore/icu/
H A DNativeCollation.java37 public static native void setAttribute(long address, int type, int value); argument
/libcore/luni/src/test/java/libcore/xml/
H A DNormalizeTest.java300 private void assertUnsupported(String name, Object value) { argument
301 String message = "This implementation's setParameter() supports an unexpected value: "
302 + name + "=" + value;
303 assertFalse(message, domConfiguration.canSetParameter(name, value));
305 domConfiguration.setParameter(name, value);
311 domConfiguration.setParameter(name.toUpperCase(), value);
316 assertFalse(value.equals(domConfiguration.getParameter(name)));
319 private void assertSupported(String name, Object value) { argument
321 + " with its setParameter() for " + name + "=" + value;
323 domConfiguration.setParameter(name, value);
[all...]
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/
H A DMySignature2.java75 protected void engineSetParameter(String param, Object value) argument
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/xml/parsers/
H A DDocumentBuilderFactoryTest.java296 // Set default value of Datatype factory,
862 String value = node.getNodeValue();
864 if (value != null) {
865 value = value.replaceAll(" ", "");
866 value = value.replaceAll("\n", "");
871 cdataElements.add(value);
872 // System.out.println(indent + "CDATA_SECTION_NODE " + value);
875 commentElements.add(value);
968 setAttribute(String name, Object value) argument
971 setFeature(String name, boolean value) argument
[all...]
/libcore/luni/src/main/java/javax/xml/parsers/
H A DDocumentBuilderFactory.java101 * 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...]
/libcore/luni/src/main/java/org/apache/harmony/xml/parsers/
H A DSAXParserImpl.java105 public void setProperty(String name, Object value) argument
107 reader.setProperty(name, value);
H A DDocumentBuilderImpl.java369 public void setIgnoreComments(boolean value) { argument
370 ignoreComments = value;
373 public void setCoalescing(boolean value) { argument
374 coalescing = value;
380 public void setIgnoreElementContentWhitespace(boolean value) { argument
381 ignoreElementContentWhitespace = value;
387 public void setNamespaceAware(boolean value) { argument
388 namespaceAware = value;
417 private String resolveCharacterReference(String value, int base) { argument
419 int ch = Integer.parseInt(value, bas
[all...]
/libcore/luni/src/main/java/org/xml/sax/helpers/
H A DAttributeListImpl.java136 * @param value The attribute value (must not be null).
140 public void addAttribute(String name, String type, String value) {
143 values.add(value);
241 * Get the value of an attribute (by position).
244 * @return The attribute value as a string, or null if
271 * Get the value of an attribute (by name).
274 * @return the named attribute's value or null, if the attribute does not
139 addAttribute(String name, String type, String value) argument
H A DAttributesImpl.java172 * Return an attribute's value by index.
175 * @return The attribute's value or null if the index is out of bounds.
275 * Look up an attribute's value by Namespace-qualified name.
280 * @return The attribute's value, or null if there is no
297 * Look up an attribute's value by qualified (prefixed) name.
300 * @return The attribute's value, or null if there is no
380 * @param value The attribute value.
383 String type, String value)
390 data[length*5+4] = value;
379 addAttribute(String uri, String localName, String qName, String type, String value) argument
413 setAttribute(int index, String uri, String localName, String qName, String type, String value) argument
544 setValue(int index, String value) argument
[all...]
/libcore/xml/src/main/java/org/xmlpull/v1/
H A DXmlSerializer.java54 * Return the current value of the feature with given name.
58 * @return The value of named feature.
65 * Set the value of a property.
77 Object value)
81 * Look up the value of a property.
87 * @return The value of named property.
127 * to quote attribute value).
219 XmlSerializer attribute (String namespace, String name, String value) argument
268 // XmlSerializer attribute (String prefix, String namespace, String name, String value)
76 setProperty(String name, Object value) argument
/libcore/luni/src/main/java/java/net/
H A DSocket.java429 Object value = impl.getOption(SocketOptions.SO_LINGER);
430 if (value instanceof Integer) {
431 return (Integer) value;
621 * been called will return the value {@code EOF}.
837 * the timeout value in milliseconds or {@code 0} for an infinite
841 * timeout value is negative.
958 * Sets this socket's {@link SocketOptions#IP_TOS} value for every packet sent by this socket.
960 public void setTrafficClass(int value) throws SocketException { argument
962 if (value < 0 || value > 25
985 sendUrgentData(int value) argument
[all...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/prefs/
H A DPreferencesTest.java344 public void put(String key, String value) { argument
349 public void putBoolean(String key, boolean value) { argument
354 public void putByteArray(String key, byte[] value) { argument
359 public void putDouble(String key, double value) { argument
364 public void putFloat(String key, float value) { argument
369 public void putInt(String key, int value) { argument
374 public void putLong(String key, long value) { argument
H A DMockAbstractPreferences.java157 protected void putSpi(String name, String value) { argument
162 if (name == null || value == null) {
165 attr.put(name, value);
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
H A DSortedMapTestBase.java70 int value = rnd.nextInt(N);
71 assertEquals(ref.containsValue(value), map.containsValue(value));
114 int value = rnd.nextInt(N);
115 assertEquals(ref.put(key, value), map.put(key, value));
126 int value = rnd.nextInt(N);
127 assertEquals(ref.put(key, value), map.put(key, value));
H A DIdentityHashMapTest.java142 map.put("key", "value");
147 "value", values.iterator().next());
190 assertTrue("Returned false for valid value", hm
221 assertEquals("Get returned incorecct value for existing key", "HELLO", hm.get("T")
302 assertEquals("Failed to install key/value pair",
319 Object value = "Some value";
320 map.put(null, value);
321 assertSame("Assert 0: Failure getting null key", value, map.get(null));
323 // Test null as a value
[all...]
H A DCalendarTest.java597 // RI also doesn't change the value of DATE
601 // RI also doesn't change the value of HOUR
754 public void add(int field, int value) { argument
799 String value = null;
803 value = symbols.getAmPmStrings()[0];
805 locale), value);
807 locale), value);
809 value = symbols.getAmPmStrings()[1];
811 locale), value);
813 locale), value);
[all...]
H A DEnumMapTest.java50 private V value; field in class:EnumMapTest.MockEntry
52 public MockEntry(K key, V value) { argument
54 this.value = value;
60 ^ (value == null ? 0 : value.hashCode());
68 return value;
72 V oldValue = value;
73 value = object;
108 assertEquals("Get returned incorrect value fo
[all...]
/libcore/luni/src/main/java/libcore/io/
H A DOs.java129 public void setenv(String name, String value, boolean overwrite) throws ErrnoException; argument
133 public void setsockoptByte(FileDescriptor fd, int level, int option, int value) throws ErrnoException; argument
134 public void setsockoptIfreq(FileDescriptor fd, int level, int option, String value) throws ErrnoException; argument
135 public void setsockoptInt(FileDescriptor fd, int level, int option, int value) throws ErrnoException; argument
136 public void setsockoptIpMreqn(FileDescriptor fd, int level, int option, int value) throws ErrnoException; argument
137 public void setsockoptGroupReq(FileDescriptor fd, int level, int option, StructGroupReq value) throws ErrnoException; argument
138 public void setsockoptGroupSourceReq(FileDescriptor fd, int level, int option, StructGroupSourceReq value) throws ErrnoException; argument
139 public void setsockoptLinger(FileDescriptor fd, int level, int option, StructLinger value) throws ErrnoException; argument
140 public void setsockoptTimeval(FileDescriptor fd, int level, int option, StructTimeval value) throws ErrnoException; argument
/libcore/luni/src/test/java/libcore/java/net/
H A DSocketTest.java176 public Object value;
200 public void setOption(int option, Object value) throws SocketException {
202 this.value = value;
218 assertEquals(Boolean.FALSE, (Boolean) impl.value);
224 assertEquals(Boolean.FALSE, (Boolean) impl.value);
226 assertEquals(Boolean.FALSE, (Boolean) impl.value);
230 assertEquals(Integer.valueOf(0), (Integer) impl.value);
232 assertEquals(Integer.valueOf(1), (Integer) impl.value);
/libcore/luni/src/main/java/libcore/reflect/
H A DAnnotationFactory.java89 * @param elements name-value pairs representing elements of the annotation
206 // undefined value is incomparable (transcendent)
220 if (!el.value.equals(otherValue)) {
224 } else if (el.value != AnnotationMember.NO_VALUE) {
288 // this must be element value request
299 Object value = element.validateValue();
300 if (value == null) {
303 return value;

Completed in 588 milliseconds

1234567891011>>