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

1234567891011>>

/libcore/luni/src/main/java/java/nio/
H A DMemoryBlock.java169 public final void pokeByte(int offset, byte value) { argument
170 Memory.pokeByte(address + offset, value);
233 public final void pokeShort(int offset, short value, ByteOrder order) { argument
234 Memory.pokeShort(address + offset, value, order.needsSwap);
241 public final void pokeInt(int offset, int value, ByteOrder order) { argument
242 Memory.pokeInt(address + offset, value, order.needsSwap);
249 public final void pokeLong(int offset, long value, ByteOrder order) { argument
250 Memory.pokeLong(address + offset, value, order.needsSwap);
/libcore/luni/src/main/java/java/util/regex/
H A DMatcher.java428 public Matcher useAnchoringBounds(boolean value) { argument
430 anchoringBounds = value;
431 useAnchoringBoundsImpl(address, value);
454 public Matcher useTransparentBounds(boolean value) { argument
456 transparentBounds = value;
457 useTransparentBoundsImpl(address, value);
626 private static native void useAnchoringBoundsImpl(long addr, boolean value); argument
627 private static native void useTransparentBoundsImpl(long addr, boolean value); argument
/libcore/luni/src/main/java/javax/xml/transform/
H A DTransformerFactory.java189 * @param title The value of the title attribute to match. May be null.
190 * @param charset The value of the charset attribute to match. May be null.
237 * It is possible for an <code>TransformerFactory</code> to expose a feature value but be unable to change its state.
258 * @param value Is feature state <code>true</code> or <code>false</code>.
264 public abstract void setFeature(String name, boolean value) argument
268 * Look up the value of a feature.
275 * It is possible for an <code>TransformerFactory</code> to expose a feature value but be unable to change its state.
294 * @param value The value of the attribute.
296 public abstract void setAttribute(String name, Object value); argument
[all...]
/libcore/luni/src/main/java/org/apache/harmony/security/asn1/
H A DASN1Integer.java92 * Converts decoded ASN.1 Integer to int value.
93 * If the object represents an integer value
97 * @return decoded int value.
107 * @return decoded BigInteger value.
114 * Converts primitive int value to a form most suitable for encoding.
116 * @param value primitive value to be encoded
119 public static Object fromIntValue(int value) { argument
120 return BigInteger.valueOf(value).toByteArray();
H A DBitString.java26 * Represents ASN.1 bit string value
81 public void setBit(int bit, boolean value) { argument
84 if (value) {
/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.cpp58 static jint NativePluralRules_quantityForIntImpl(JNIEnv*, jclass, jlong address, jint value) { argument
59 UnicodeString keyword = toPluralRules(address)->select(value);
H A Dlibcore_icu_NativeDecimalFormat.cpp144 ScopedStringChars value(env, javaValue);
145 if (value.get() == NULL) {
150 unum_setSymbol(toUNumberFormat(addr), symbol, value.get(), value.size(), &status);
154 static void NativeDecimalFormat_setAttribute(JNIEnv*, jclass, jlong addr, jint javaAttr, jint value) { argument
156 unum_setAttribute(toUNumberFormat(addr), attr, value); local
165 ScopedStringChars value(env, javaValue);
166 if (value.get() == NULL) {
171 unum_setTextAttribute(toUNumberFormat(addr), attr, value.get(), value
258 format(JNIEnv* env, jlong addr, jobject javaFieldPositionIterator, T value) argument
271 NativeDecimalFormat_formatLong(JNIEnv* env, jclass, jlong addr, jlong value, jobject javaFieldPositionIterator) argument
275 NativeDecimalFormat_formatDouble(JNIEnv* env, jclass, jlong addr, jdouble value, jobject javaFieldPositionIterator) argument
279 NativeDecimalFormat_formatDigitList(JNIEnv* env, jclass, jlong addr, jstring value, jobject javaFieldPositionIterator) argument
288 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/harmony-tests/src/test/java/org/apache/harmony/tests/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/jsr166-tests/src/test/java/jsr166/
H A DConcurrentHashMapTest.java35 private final int value; field in class:ConcurrentHashMapTest.BI
36 BI(int value) { this.value = value; } argument
38 return Integer.compare(value, other.value);
41 return (x instanceof BI) && ((BI)x).value == value;
45 static class CI extends BI { CI(int value) { super(value); } } argument
46 DI(int value) argument
49 private final String value; field in class:ConcurrentHashMapTest.BS
50 BS(String value) argument
[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;
308 massageValue(Object value) argument
354 containsValue(Object value) argument
458 put(K key, V 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/libcore/io/
H A DForwardingOs.java136 public void setenv(String name, String value, boolean overwrite) throws ErrnoException { os.setenv(name, value, overwrite); } argument
140 public void setsockoptByte(FileDescriptor fd, int level, int option, int value) throws ErrnoException { os.setsockoptByte(fd, level, option, value); } argument
141 public void setsockoptIfreq(FileDescriptor fd, int level, int option, String value) throws ErrnoException { os.setsockoptIfreq(fd, level, option, value); } argument
142 public void setsockoptInt(FileDescriptor fd, int level, int option, int value) throws ErrnoException { os.setsockoptInt(fd, level, option, value); } argument
143 public void setsockoptIpMreqn(FileDescriptor fd, int level, int option, int value) throws ErrnoException { os.setsockoptIpMreqn(fd, level, option, value); } argument
144 setsockoptGroupReq(FileDescriptor fd, int level, int option, StructGroupReq value) argument
145 setsockoptGroupSourceReq(FileDescriptor fd, int level, int option, StructGroupSourceReq value) argument
146 setsockoptLinger(FileDescriptor fd, int level, int option, StructLinger value) argument
147 setsockoptTimeval(FileDescriptor fd, int level, int option, StructTimeval value) argument
[all...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
H A DHttpCookieTest.java39 String value = "value";
40 constructHttpCookie("", value);
42 constructHttpCookie("harmony,", value);
43 constructHttpCookie("harmony;", value);
44 constructHttpCookie("$harmony", value);
45 constructHttpCookie("n\tame", value);
46 constructHttpCookie("n\rame", value);
47 constructHttpCookie("n\r\name", value);
48 constructHttpCookie("Comment", value);
84 constructHttpCookie(String name, String value) argument
948 checkValidValue(String header, String 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. */
/libcore/libart/src/main/java/java/lang/
H A DEnum.java85 * constant has an ordinal value of zero.
87 * @return the ordinal value of this enum constant.
144 * @return a negative value if the ordinal value of this enum constant is
145 * less than the ordinal value of {@code o}; 0 if the ordinal
147 * value if the ordinal value of this enum constant is greater than
148 * the ordinal value of {@code o}.
175 * value.
177 * the name of the constant value t
[all...]
/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.java127 * space by defining marker nodes not to have key/value fields, it
134 * nullness of value fields to indicate deletion, in a style
135 * similar to typical lazy-deletion schemes. If a node's value is
140 * must return the last non-null value held in the field. (Note:
141 * Null, rather than some special marker, is used for value fields
145 * even when deleted. Using any other marker value here would be
155 * 1. CAS n's value field from non-null to null.
178 * thread noticed during a traversal a node with null value and
203 * is that under contention, the effective "p" value may be lower
204 * than its nominal value
367 volatile Object value; field in class:ConcurrentSkipListMap.Node
373 Node(K key, Object value, Node<K,V> next) argument
818 doPut(K kkey, V value, boolean onlyIfAbsent) argument
1017 doRemove(Object okey, Object value) argument
1613 put(K key, V value) argument
1645 containsValue(Object value) argument
1849 putIfAbsent(K key, V value) argument
1862 remove(Object key, Object value) argument
1904 replace(K key, V value) argument
2711 put(K key, V value) argument
2736 containsValue(Object value) argument
2760 putIfAbsent(K key, V value) argument
2765 remove(Object key, Object value) argument
2775 replace(K key, V value) argument
[all...]
/libcore/benchmarks/src/benchmarks/regression/
H A DReflectionBenchmark.java174 public void setField(int value) { argument
175 f = value;
178 public static void setStaticField(int value) { argument
179 sf = value;
/libcore/dom/src/test/java/org/w3c/domts/level1/core/
H A Dhc_elementreplaceattributewithself.java67 String value;

Completed in 651 milliseconds

1234567891011>>