/libcore/luni/src/test/java/libcore/java/util/function/ |
D | DoublePredicateTest.java | 27 double arg = 5.0d; in testAnd() local 37 x -> { alwaysTrueInvoked.set(true); assertEquals(x, arg); return true; }; in testAnd() 39 x -> { alwaysTrue2Invoked.set(true); assertEquals(x, arg); return true; }; in testAnd() 41 x -> { alwaysFalseInvoked.set(true); assertEquals(x, arg); return false; }; in testAnd() 43 x -> { alwaysFalse2Invoked.set(true); assertEquals(x, arg); return false; }; in testAnd() 47 assertTrue(alwaysTrue.and(alwaysTrue2).test(arg)); in testAnd() 52 assertFalse(alwaysTrue.and(alwaysFalse).test(arg)); in testAnd() 57 assertFalse(alwaysFalse.and(alwaysFalse2).test(arg)); in testAnd() 62 assertFalse(alwaysFalse.and(alwaysTrue).test(arg)); in testAnd() 75 double arg = 5.0d; in testNegate() local [all …]
|
D | IntPredicateTest.java | 27 int arg = 5; in testAnd() local 37 x -> { alwaysTrueInvoked.set(true); assertEquals(x, arg); return true; }; in testAnd() 39 x -> { alwaysTrue2Invoked.set(true); assertEquals(x, arg); return true; }; in testAnd() 41 x -> { alwaysFalseInvoked.set(true); assertEquals(x, arg); return false; }; in testAnd() 43 x -> { alwaysFalse2Invoked.set(true); assertEquals(x, arg); return false; }; in testAnd() 47 assertTrue(alwaysTrue.and(alwaysTrue2).test(arg)); in testAnd() 52 assertFalse(alwaysTrue.and(alwaysFalse).test(arg)); in testAnd() 57 assertFalse(alwaysFalse.and(alwaysFalse2).test(arg)); in testAnd() 62 assertFalse(alwaysFalse.and(alwaysTrue).test(arg)); in testAnd() 75 int arg = 5; in testNegate() local [all …]
|
D | PredicateTest.java | 27 Object arg = new Object(); in testAnd() local 37 x -> { alwaysTrueInvoked.set(true); assertSame(x, arg); return true; }; in testAnd() 39 x -> { alwaysTrue2Invoked.set(true); assertSame(x, arg); return true; }; in testAnd() 41 x -> { alwaysFalseInvoked.set(true); assertSame(x, arg); return false; }; in testAnd() 43 x -> { alwaysFalse2Invoked.set(true); assertSame(x, arg); return false; }; in testAnd() 47 assertTrue(alwaysTrue.and(alwaysTrue2).test(arg)); in testAnd() 52 assertFalse(alwaysTrue.and(alwaysFalse).test(arg)); in testAnd() 57 assertFalse(alwaysFalse.and(alwaysFalse2).test(arg)); in testAnd() 62 assertFalse(alwaysFalse.and(alwaysTrue).test(arg)); in testAnd() 67 Object arg = new Object(); in testAnd_null() local [all …]
|
D | UnaryOperatorTest.java | 26 Object arg = new Object(); in testIdentity() local 27 assertSame(arg, UnaryOperator.identity().apply(arg)); in testIdentity()
|
D | LongPredicateTest.java | 69 long arg = 5L; in testNegate() local 70 LongPredicate alwaysTrue = x -> { assertEquals(x, arg); return true; }; in testNegate() 71 assertFalse(alwaysTrue.negate().test(arg)); in testNegate() 73 LongPredicate alwaysFalse = x -> { assertEquals(x, arg); return false; }; in testNegate() 74 assertTrue(alwaysFalse.negate().test(arg)); in testNegate()
|
/libcore/ojluni/src/main/java/java/util/ |
D | IllegalFormatConversionException.java | 43 private Class<?> arg; field in IllegalFormatConversionException 55 public IllegalFormatConversionException(char c, Class<?> arg) { in IllegalFormatConversionException() argument 56 if (arg == null) in IllegalFormatConversionException() 59 this.arg = arg; in IllegalFormatConversionException() 77 return arg; in getArgumentClass() 82 return String.format("%c != %s", c, arg.getName()); in getMessage()
|
D | Formatter.java | 2674 void print(Object arg, Locale l) throws IOException; in print() argument 2682 public void print(Object arg, Locale l) in print() argument 2830 public void print(Object arg, Locale l) throws IOException { in print() argument 2832 printDateTime(arg, l); in print() 2839 printInteger(arg, l); in print() 2845 printFloat(arg, l); in print() 2849 printCharacter(arg); in print() 2852 printBoolean(arg); in print() 2855 printString(arg, l); in print() 2858 printHashCode(arg); in print() [all …]
|
D | Observable.java | 132 public void notifyObservers(Object arg) { in notifyObservers() argument 163 ((Observer)arrLocal[i]).update(this, arg); in notifyObservers()
|
/libcore/luni/src/test/java/tests/org/w3c/dom/ |
D | SetNamedItemNS.java | 81 Node arg; in testSetNamedItemNS1() local 89 arg = anotherMap.getNamedItemNS("http://www.netzero.com", "domestic"); in testSetNamedItemNS1() 96 map.setNamedItemNS(arg); in testSetNamedItemNS1() 108 Node arg; in testSetNamedItemNS2() local 115 arg = anotherDoc.createAttributeNS(namespaceURI, qualifiedName); in testSetNamedItemNS2() 116 arg.setNodeValue("Maybe"); in testSetNamedItemNS2() 124 attributes.setNamedItemNS(arg); in testSetNamedItemNS2() 135 Node arg; in testSetNamedItemNS3() local 143 arg = doc.createAttributeNS(namespaceURI, qualifiedName); in testSetNamedItemNS3() 144 arg.setNodeValue("newValue"); in testSetNamedItemNS3() [all …]
|
/libcore/ojluni/src/main/java/java/util/concurrent/locks/ |
D | AbstractQueuedLongSynchronizer.java | 423 final boolean acquireQueued(final Node node, long arg) { in acquireQueued() argument 428 if (p == head && tryAcquire(arg)) { in acquireQueued() 447 private void doAcquireInterruptibly(long arg) in doAcquireInterruptibly() argument 453 if (p == head && tryAcquire(arg)) { in doAcquireInterruptibly() 475 private boolean doAcquireNanos(long arg, long nanosTimeout) in doAcquireNanos() argument 484 if (p == head && tryAcquire(arg)) { in doAcquireNanos() 510 private void doAcquireShared(long arg) { in doAcquireShared() argument 517 long r = tryAcquireShared(arg); in doAcquireShared() 540 private void doAcquireSharedInterruptibly(long arg) in doAcquireSharedInterruptibly() argument 547 long r = tryAcquireShared(arg); in doAcquireSharedInterruptibly() [all …]
|
D | AbstractQueuedSynchronizer.java | 891 final boolean acquireQueued(final Node node, int arg) { in acquireQueued() argument 896 if (p == head && tryAcquire(arg)) { in acquireQueued() 915 private void doAcquireInterruptibly(int arg) in doAcquireInterruptibly() argument 921 if (p == head && tryAcquire(arg)) { in doAcquireInterruptibly() 943 private boolean doAcquireNanos(int arg, long nanosTimeout) in doAcquireNanos() argument 952 if (p == head && tryAcquire(arg)) { in doAcquireNanos() 978 private void doAcquireShared(int arg) { in doAcquireShared() argument 985 int r = tryAcquireShared(arg); in doAcquireShared() 1008 private void doAcquireSharedInterruptibly(int arg) in doAcquireSharedInterruptibly() argument 1015 int r = tryAcquireShared(arg); in doAcquireSharedInterruptibly() [all …]
|
/libcore/luni/src/main/java/org/apache/harmony/xml/dom/ |
D | CharacterDataImpl.java | 42 public void appendData(String arg) throws DOMException { in appendData() argument 43 buffer.append(arg); in appendData() 70 public void insertData(int offset, String arg) throws DOMException { in insertData() argument 72 buffer.insert(offset, arg); in insertData() 78 public void replaceData(int offset, int count, String arg) in replaceData() argument 81 buffer.replace(offset, offset + count, arg); in replaceData()
|
/libcore/luni/src/main/native/ |
D | cbigint.cpp | 229 uint64_t arg; in simpleAppendDecimalDigitHighPrecision() local 235 arg = LOW_IN_U64 (arg1[index]); in simpleAppendDecimalDigitHighPrecision() 236 digit = HIGH_IN_U64 (digit) + TIMES_TEN (arg); in simpleAppendDecimalDigitHighPrecision() 239 arg = HIGH_IN_U64 (arg1[index]); in simpleAppendDecimalDigitHighPrecision() 240 digit = HIGH_IN_U64 (digit) + TIMES_TEN (arg); in simpleAppendDecimalDigitHighPrecision() 370 highestSetBitHighPrecision (uint64_t * arg, int32_t length) in highestSetBitHighPrecision() argument 376 highBit = highestSetBit (arg + length); in highestSetBitHighPrecision() 385 lowestSetBitHighPrecision (uint64_t * arg, int32_t length) in lowestSetBitHighPrecision() argument 391 lowBit = lowestSetBit (arg + index); in lowestSetBitHighPrecision() 427 toDoubleHighPrecision (uint64_t * arg, int32_t length) in toDoubleHighPrecision() argument [all …]
|
/libcore/dom/src/test/java/org/w3c/domts/level2/core/ |
D | setNamedItemNS03.java | 72 Node arg; in runTest() local 80 arg = doc.createAttributeNS(namespaceURI, qualifiedName); in runTest() 81 arg.setNodeValue("newValue"); in runTest() 85 setNode = attributes.setNamedItemNS(arg); in runTest()
|
D | setNamedItemNS05.java | 72 Node arg; in runTest() local 79 arg = doc.createAttributeNS(namespaceURI, qualifiedName); in runTest() 80 arg.setNodeValue("newValue"); in runTest() 84 retnode = attributes.setNamedItemNS(arg); in runTest()
|
D | setNamedItemNS02.java | 76 Node arg; in runTest() local 83 arg = anotherDoc.createAttributeNS(namespaceURI, qualifiedName); in runTest() 84 arg.setNodeValue("Maybe"); in runTest() 92 setNode = attributes.setNamedItemNS(arg); in runTest()
|
D | setNamedItemNS01.java | 81 Node arg; in runTest() local 89 arg = anotherMap.getNamedItemNS("http://www.netzero.com", "domestic"); in runTest() 96 setNode = map.setNamedItemNS(arg); in runTest()
|
D | setNamedItemNS04.java | 87 Node arg; in runTest() local 105 arg = attributes.getNamedItemNS(namespaceURI, localName); in runTest() 110 setNode = attributes.setNamedItemNS(arg); in runTest()
|
/libcore/luni/src/main/java/org/w3c/dom/ |
D | CharacterData.java | 93 public void appendData(String arg) in appendData() argument 107 String arg) in insertData() argument 150 String arg) in replaceData() argument
|
D | NamedNodeMap.java | 65 public Node setNamedItem(Node arg) in setNamedItem() argument 153 public Node setNamedItemNS(Node arg) in setNamedItemNS() argument
|
/libcore/ojluni/src/main/native/ |
D | Net.c | 258 int arg = 0; in Java_sun_nio_ch_Net_socket0() local 259 if (setsockopt(fd, IPPROTO_IPV6, IPV6_V6ONLY, (char*)&arg, in Java_sun_nio_ch_Net_socket0() 271 int arg = 1; in Java_sun_nio_ch_Net_socket0() local 272 if (setsockopt(fd, SOL_SOCKET, SO_REUSEADDR, (char*)&arg, in Java_sun_nio_ch_Net_socket0() 273 sizeof(arg)) < 0) { in Java_sun_nio_ch_Net_socket0() 284 int arg = 0; in Java_sun_nio_ch_Net_socket0() local 286 if ((setsockopt(fd, level, IP_MULTICAST_ALL, (char*)&arg, sizeof(arg)) < 0) && in Java_sun_nio_ch_Net_socket0() 300 int arg = 1; in Java_sun_nio_ch_Net_socket0() local 301 if (setsockopt(fd, IPPROTO_IPV6, IPV6_MULTICAST_HOPS, &arg, in Java_sun_nio_ch_Net_socket0() 302 sizeof(arg)) < 0) { in Java_sun_nio_ch_Net_socket0() [all …]
|
D | net_util_md.c | 1037 NET_SetSockOpt(int fd, int level, int opt, const void *arg, in NET_SetSockOpt() argument 1090 arg, len) < 0) { in NET_SetSockOpt() 1096 iptos = (int *)arg; in NET_SetSockOpt() 1114 ret = setsockopt(fd, level, opt, arg, len); in NET_SetSockOpt() 1152 bufsize = (int *)arg; in NET_SetSockOpt() 1168 int *bufsize = (int *)arg; in NET_SetSockOpt() 1205 bufsize = (int *)arg; in NET_SetSockOpt() 1233 setsockopt(fd, level, SO_REUSEPORT, arg, len); in NET_SetSockOpt() 1239 return setsockopt(fd, level, opt, arg, len); in NET_SetSockOpt() 1289 int arg, len; in NET_Bind() local [all …]
|
/libcore/ojluni/src/main/java/sun/misc/ |
D | MessageUtils.java | 42 public static String subst(String patt, String arg) { in subst() argument 43 String args[] = { arg }; in subst() 81 public static String substProp(String propName, String arg) { in substProp() argument 82 return subst(System.getProperty(propName), arg); in substProp()
|
/libcore/ojluni/src/main/java/java/lang/ |
D | ProcessImpl.java | 80 for (byte[] arg : args) { in start() 81 System.arraycopy(arg, 0, argBlock, i, arg.length); in start() 82 i += arg.length + 1; in start()
|
/libcore/ojluni/src/main/java/java/text/ |
D | MessageFormat.java | 1262 String arg = null; in subformat() local 1265 arg = "null"; in subformat() 1269 arg = formats[i].format(obj); in subformat() 1270 if (arg.indexOf('{') >= 0) { in subformat() 1271 subFormatter = new MessageFormat(arg, locale); in subformat() 1273 arg = null; in subformat() 1284 arg = (String) obj; in subformat() 1287 arg = obj.toString(); in subformat() 1288 if (arg == null) arg = "null"; in subformat() 1316 arg = null; in subformat() [all …]
|