Searched defs:bool (Results 1 - 24 of 24) sorted by relevance

/dalvik/libcore/xml/src/main/java/org/apache/xpath/operations/
H A DAnd.java50 if (expr1.bool())
54 return expr2.bool() ? XBoolean.S_TRUE : XBoolean.S_FALSE;
69 public boolean bool(XPathContext xctxt) method in class:And
72 return (m_left.bool(xctxt) && m_right.bool(xctxt));
H A DBool.java50 return right.bool() ? XBoolean.S_TRUE : XBoolean.S_FALSE;
62 public boolean bool(XPathContext xctxt) method in class:Bool
65 return m_right.bool(xctxt);
H A DOr.java50 if (!expr1.bool())
54 return expr2.bool() ? XBoolean.S_TRUE : XBoolean.S_FALSE;
69 public boolean bool(XPathContext xctxt) method in class:Or
72 return (m_left.bool(xctxt) || m_right.bool(xctxt));
H A DEquals.java62 public boolean bool(XPathContext xctxt) method in class:Equals
/dalvik/libcore/luni/src/test/java/tests/api/java/lang/ref/
H A DPhantomReferenceTest.java34 static Boolean bool; field in class:PhantomReferenceTest
37 bool = null;
51 bool = new Boolean(false);
52 PhantomReference pr = new PhantomReference(bool, rq);
138 bool = new Boolean(true);
140 PhantomReference pr = new PhantomReference(bool, rq);
147 // need a reference to bool so the jit does not optimize it away
148 assertTrue("should always pass", bool.booleanValue());
152 new PhantomReference(bool, null);
H A DSoftReferenceTest.java33 static Boolean bool; field in class:SoftReferenceTest
37 bool = null;
52 bool = new Boolean(true);
54 SoftReference sr = new SoftReference(bool, rq);
63 new SoftReference(bool, null);
80 bool = new Boolean(true);
82 SoftReference sr = new SoftReference(bool);
100 bool = new Boolean(false);
101 SoftReference sr = new SoftReference(bool);
102 assertTrue("Same object not returned.", bool
[all...]
H A DWeakReferenceTest.java30 static Boolean bool; field in class:WeakReferenceTest
33 bool = null;
48 bool = new Boolean(true);
51 WeakReference wr = new WeakReference(bool, rq);
57 // need a reference to bool so the jit does not optimize it away
58 assertTrue("should always pass", bool.booleanValue());
62 new WeakReference(bool, null);
79 bool = new Boolean(true);
81 WeakReference wr = new WeakReference(bool);
89 // need a reference to bool s
[all...]
/dalvik/libcore/xml/src/main/java/org/apache/xpath/objects/
H A DXNull.java80 public boolean bool() method in class:XNull
H A DXBoolean.java112 public boolean bool() method in class:XBoolean
160 return m_val == obj2.bool();
H A DXNumber.java116 public boolean bool() method in class:XNumber
405 return obj2.bool() == bool();
H A DXRTreeFrag.java166 public boolean bool() method in class:XRTreeFrag
270 return bool() == obj2.bool();
H A DXNodeSet.java187 public boolean bool() method in class:XNodeSet
551 double num1 = bool() ? 1.0 : 0.0;
H A DXString.java147 public boolean bool() method in class:XString
306 return obj2.bool() == bool();
H A DXObject.java263 public boolean bool() throws javax.xml.transform.TransformerException method in class:XObject
280 return bool();
507 result = new Boolean(bool());
/dalvik/vm/
H A DCommon.h106 typedef enum { false=0, true=!false } bool; typedef in typeref:enum:__anon31
/dalvik/libcore/luni/src/main/java/java/io/
H A DPrintStream.java510 * @param bool
514 public void print(boolean bool) { argument
515 print(String.valueOf(bool));
637 * @param bool
641 public void println(boolean bool) { argument
642 println(String.valueOf(bool));
H A DPrintWriter.java491 * @param bool
495 public void print(boolean bool) { argument
496 print(String.valueOf(bool));
629 * @param bool
633 public void println(boolean bool) { argument
634 println(String.valueOf(bool));
/dalvik/libcore/luni/src/test/java/tests/api/java/lang/reflect/
H A DInvocationTargetExceptionTest.java44 public void parmTest(int x, short y, String s, boolean bool, Object o, argument
53 boolean bool, Object o, long l, byte b, char c, double d,
52 printTest(int x, short y, String s, boolean bool, Object o, long l, byte b, char c, double d, float f) argument
H A DMethodTest.java47 public void parmTest(int x, short y, String s, boolean bool, Object o, argument
56 boolean bool, Object o, long l, byte b, char c, double d,
55 printTest(int x, short y, String s, boolean bool, Object o, long l, byte b, char c, double d, float f) argument
/dalvik/libcore/xml/src/main/java/org/apache/xpath/
H A DExpression.java183 public boolean bool(XPathContext xctxt) method in class:Expression
186 return execute(xctxt).bool();
H A DXPath.java401 public boolean bool( method in class:XPath
412 return m_mainExp.bool(xctxt);
/dalvik/libcore/xml/src/main/java/org/apache/xpath/compiler/
H A DCompiler.java158 expr = bool(opPos); break;
475 protected Expression bool(int opPos) throws TransformerException method in class:Compiler
/dalvik/libcore/xml/src/main/java/org/apache/xml/serializer/
H A DToHTMLStream.java533 * @param bool True if URLs should be specially escaped with the %xx form.
535 public void setSpecialEscapeURLs(boolean bool) argument
537 m_specialEscapeURLs = bool;
543 * @param bool True if the META tag should be omitted.
545 public void setOmitMetaTag(boolean bool) argument
547 m_omitMetaTag = bool;
/dalvik/libcore/xml/src/main/java/org/apache/xpath/axes/
H A DLocPathIterator.java317 public boolean bool(XPathContext xctxt) method in class:LocPathIterator

Completed in 308 milliseconds