Searched refs:value (Results 201 - 225 of 368) sorted by relevance

1234567891011>>

/libcore/luni/src/main/java/org/w3c/dom/
H A DElement.java22 * <code>Attr</code> object by name or an attribute value by name. In XML,
23 * where an attribute value may contain entity references, an
25 * fairly complex sub-tree representing the attribute value. On the other
27 * directly access an attribute value can safely be used as a convenience.
39 * <code>tagName</code> has the value
48 * Retrieves an attribute value by name.
50 * @return The <code>Attr</code> value as a string, or the empty string
51 * if that attribute does not have a specified or default value.
57 * in the element, its value is changed to be that of the value
77 setAttribute(String name, String value) argument
225 setAttributeNS(String namespaceURI, String qualifiedName, String value) argument
[all...]
/libcore/luni/src/main/java/org/xml/sax/ext/
H A DDefaultHandler2.java78 String type, String mode, String value)
91 public void internalEntityDecl (String name, String value) argument
77 attributeDecl(String eName, String aName, String type, String mode, String value) argument
/libcore/luni/src/main/native/
H A Dlibcore_icu_NativePluralRules.cpp41 static jint NativePluralRules_quantityForIntImpl(JNIEnv*, jclass, jint address, jint value) { argument
42 UnicodeString keyword = toPluralRules(address)->select(value);
H A Dlibcore_icu_NativeDecimalFormat.cpp140 ScopedStringChars value(env, javaValue);
141 if (value.get() == NULL) {
146 unum_setSymbol(toUNumberFormat(addr), symbol, value.get(), value.size(), &status);
150 static void NativeDecimalFormat_setAttribute(JNIEnv*, jclass, jint addr, jint javaAttr, jint value) { argument
152 unum_setAttribute(toUNumberFormat(addr), attr, value); local
161 ScopedStringChars value(env, javaValue);
162 if (value.get() == NULL) {
167 unum_setTextAttribute(toUNumberFormat(addr), attr, value.get(), value
255 NativeDecimalFormat_formatLong(JNIEnv* env, jclass, jint addr, jlong value, jobject fpIter) argument
259 NativeDecimalFormat_formatDouble(JNIEnv* env, jclass, jint addr, jdouble value, jobject fpIter) argument
263 NativeDecimalFormat_formatDigitList(JNIEnv* env, jclass, jint addr, jstring value, jobject fpIter) argument
272 newBigDecimal(JNIEnv* env, const char* value, jsize len) argument
[all...]
/libcore/luni/src/test/java/libcore/java/sql/
H A DOldDriverPropertyInfoTest.java40 assertEquals(aDriverPropertyInfo.value,validValue);
46 assertNull(aDriverPropertyInfo.value);
/libcore/luni/src/test/java/tests/api/java/util/
H A DConcurrentModTest.java257 public boolean add(Double value) {
282 public boolean add(Integer value) {
283 if (value == forbiddenValue) {
332 public void add(int index, Double value) {
356 public void add(int index, Integer value) {
357 if (value == forbiddenValue) {
437 public void add(int index, Double value) {
461 public void add(int index, Integer value) {
462 if (value == forbiddenValue) {
595 public Double set(int index, Double value) {
[all...]
/libcore/luni/src/main/java/java/util/
H A DEnumMap.java109 public VT setValue(VT value) { argument
111 return enumMap.put((KT) enumMap.keys[ordinal], value);
141 EnumMapIterator(MapEntry.Type<E, KT, VT> value, EnumMap<KT, VT> em) { argument
143 type = value;
261 return entry.value;
295 EnumMapEntryIterator(MapEntry.Type<E, KT, VT> value, EnumMap<KT, VT> em) { argument
296 super(value, em);
331 VT value = enumMap.get(enumKey);
332 if (value == null) {
335 isEqual = value
510 containsValue(Object value) argument
631 put(K key, V value) argument
774 putImpl(K key, V value) argument
[all...]
H A DIdentityHashMap.java27 * instead of equality by value. Basically, keys and values are compared for
49 * The internal data structure to hold key value pairs This array holds keys
54 /* Actual number of key-value pairs. */
64 * default threshold value that an IdentityHashMap created using the default
80 * differentiate a literal 'null' key value pair from an empty spot in the
105 return (key == entry.getKey()) && (value == entry.getValue());
113 ^ System.identityHashCode(value);
118 return key + "=" + value;
143 IdentityHashMapIterator(MapEntry.Type<E, KT, VT> value, argument
146 type = value;
309 massageValue(Object value) argument
355 containsValue(Object value) argument
459 put(K key, V value) argument
[all...]
H A DGregorianCalendar.java345 * @param value
352 public void add(int field, int value) { argument
353 if (value == 0) {
363 if (value >= 0) {
368 if (value <= 0) {
380 int month = fields[MONTH] + value;
382 value = (month - 11) / 12;
385 value = month / 12;
389 set(YEAR, fields[YEAR] + value);
402 time += value;
1079 mod(int value, int mod) argument
1110 roll(int field, int value) argument
[all...]
/libcore/luni/src/main/java/java/util/logging/
H A DFileHandler.java47 * initialization; if a property is not defined or has an invalid value, a
48 * default value is used.
91 * value will be added to the end of the filename in question immediately to the
143 * their default value.
277 char[] value = pattern.toCharArray();
280 switch (value[next]) {
282 sb.append(value, cur, next - cur - 1).append(gen);
286 sb.append(value, cur, next - cur - 1).append(uniqueID);
294 sb.append(value, cur, next - cur - 1).append(tempPath);
300 sb.append(value, cu
[all...]
/libcore/luni/src/main/java/org/xml/sax/helpers/
H A DParserAdapter.java169 * @param value The requested feature value.
173 * can't be assigned that value.
176 public void setFeature (String name, boolean value)
181 namespaces = value;
187 prefixes = value;
193 uris = value;
207 * @return The current feature value.
209 * value can't be assigned or retrieved.
235 * @param value Th
174 setFeature(String name, boolean value) argument
240 setProperty(String name, Object value) argument
[all...]
/libcore/luni/src/main/java/java/util/prefs/
H A DAbstractPreferences.java101 * backing store. This field's default value is false, and it is checked
263 * Puts the given key-value pair into this node. Caller of this method
269 * @param value
270 * the given preference value.
272 protected abstract void putSpi(String name, String value); argument
275 * Gets the preference value mapped to the given key. The caller of this
279 * null} return value.
283 * @return the preference value mapped to the given key.
642 public void put(String key, String value) { argument
645 } else if (value
659 putBoolean(String key, boolean value) argument
664 putByteArray(String key, byte[] value) argument
669 putDouble(String key, double value) argument
674 putFloat(String key, float value) argument
679 putInt(String key, int value) argument
684 putLong(String key, long value) argument
[all...]
/libcore/luni/src/main/java/java/lang/
H A DProcessManager.java90 if (WIFEXITED(status.value)) {
91 exitValue = WEXITSTATUS(status.value);
92 } else if (WIFSIGNALED(status.value)) {
93 exitValue = WTERMSIG(status.value);
94 } else if (WIFSTOPPED(status.value)) {
95 exitValue = WSTOPSIG(status.value);
97 throw new AssertionError("unexpected status from waitpid: " + status.value);
118 * @param exitValue value the process returned upon exit
243 /** The process's exit value. */
H A DSystem.java194 * Returns the value of the environment variable with the given name {@code
199 * @return the value of the specified environment variable or {@code null}
210 String value = Libcore.os.getenv(name);
211 return (value != null) ? value : defaultValue;
217 * @return the value of the specified environment variable
335 * Returns an array of "key=value" strings containing information not otherwise
342 * assignment in the form "key=value".
348 String value = assignment.substring(split + 1);
349 p.put(key, value);
438 setProperty(String prop, String value) argument
676 containsValue(Object value) argument
[all...]
H A DEnum.java83 * constant has an ordinal value of zero.
85 * @return the ordinal value of this enum constant.
142 * @return a negative value if the ordinal value of this enum constant is
143 * less than the ordinal value of {@code o}; 0 if the ordinal
145 * value if the ordinal value of this enum constant is greater than
146 * the ordinal value of {@code o}.
173 * value.
175 * the name of the constant value t
[all...]
H A DFindBugsSuppressWarnings.java45 String[] value(); method in interface:FindBugsSuppressWarnings
/libcore/luni/src/test/java/libcore/java/net/
H A DSocketTest.java145 public Object value;
169 public void setOption(int option, Object value) throws SocketException {
171 this.value = value;
187 assertEquals(Boolean.FALSE, (Boolean) impl.value);
193 assertEquals(Boolean.FALSE, (Boolean) impl.value);
195 assertEquals(Boolean.FALSE, (Boolean) impl.value);
199 assertEquals(Integer.valueOf(0), (Integer) impl.value);
201 assertEquals(Integer.valueOf(1), (Integer) impl.value);
/libcore/luni/src/test/java/tests/org/w3c/dom/
H A DImportNode.java50 * Create a child Text node with value "importedText" for the attribute node
53 * whose name matches "elem:attr1" and a child node whose value equals
142 String value;
153 value = aNode.getNodeValue();
154 assertEquals("nodeValue", "this is CDATASection data", value);
164 String value;
175 value = aNode.getNodeValue();
176 assertEquals("nodeValue", "this is a comment", value);
234 String value;
247 value
[all...]
/libcore/luni/src/main/java/java/util/concurrent/
H A DConcurrentSkipListMap.java126 * space by defining marker nodes not to have key/value fields, it
133 * nullness of value fields to indicate deletion, in a style
134 * similar to typical lazy-deletion schemes. If a node's value is
139 * must return the last non-null value held in the field. (Note:
140 * Null, rather than some special marker, is used for value fields
144 * even when deleted. Using any other marker value here would be
154 * 1. CAS n's value field from non-null to null.
177 * thread noticed during a traversal a node with null value and
202 * is that under contention, the effective "p" value may be lower
203 * than its nominal value
366 volatile Object value; field in class:ConcurrentSkipListMap.Node
372 Node(K key, Object value, Node<K,V> next) argument
817 doPut(K kkey, V value, boolean onlyIfAbsent) argument
1016 doRemove(Object okey, Object value) argument
1614 put(K key, V value) argument
1646 containsValue(Object value) argument
1850 putIfAbsent(K key, V value) argument
1863 remove(Object key, Object value) argument
1905 replace(K key, V value) argument
2712 put(K key, V value) argument
2737 containsValue(Object value) argument
2761 putIfAbsent(K key, V value) argument
2766 remove(Object key, Object value) argument
2776 replace(K key, V value) argument
[all...]
/libcore/dom/src/test/java/org/w3c/domts/level1/core/
H A Dhc_elementreplaceattributewithself.java67 String value;
/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/jar/
H A DAttributes.java34 * The {@code Attributes} as name/value pairs. Maps the attribute names (as
42 * The name part of the name/value pairs constituting an attribute as
71 * The {@code Sealed} manifest attribute which may have the value
77 * The {@code Implementation-Title} attribute whose value is a string
211 * Removes all key/value pairs from this {@code Attributes}.
229 * Determines whether this {@code Attributes} contains the specified value.
231 * @param value
232 * the value to search for.
233 * @return {@code true} if the value is found, {@code false} otherwise.
235 public boolean containsValue(Object value) { argument
294 put(Object key, Object 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.java32 public static native void setAttribute(int 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...]

Completed in 701 milliseconds

1234567891011>>