/libcore/luni/src/test/java/tests/org/w3c/dom/ |
H A D | DOMImplementationHasFeature.java | 58 boolean state; 61 state = domImpl.hasFeature("core", "2.0"); 62 assertTrue("domimplementationFeaturecoreAssert", state); 67 boolean state; 70 state = domImpl.hasFeature("xml", "2.0"); 71 assertTrue("domimplementationFeaturexmlVersion2Assert", state);
|
/libcore/luni/src/main/java/java/nio/charset/ |
H A D | CharsetEncoder.java | 43 * returned to indicate the current state. The caller should fill the input buffer, flush 70 * encoding. If a subclass maintains internal state, it should also override the 91 private String state = RESET; field in class:CharsetEncoder 162 * <p>Note that this method may change the internal state of this encoder, so 176 * <p>Note that this method may change the internal state of this encoder, so 190 if (state == FLUSHED) { 193 if (state != RESET) { 257 while (state != FLUSHED) { 359 if (state != RESET && state ! [all...] |
H A D | CharsetDecoder.java | 75 * decoding. If a subclass maintains an internal state, it should override the 97 private String state = RESET; field in class:CharsetDecoder 185 while (state != FLUSHED) { 297 if (state != RESET && state != ONGOING && !(endOfInput && state == END_OF_INPUT)) { 301 state = endOfInput ? END_OF_INPUT : ONGOING; 426 if (state != FLUSHED && state != END_OF_INPUT) { 431 state [all...] |
/libcore/dom/src/test/java/org/w3c/domts/level1/core/ |
H A D | attrnotspecifiedvalue.java | 77 boolean state; 83 state = streetAttr.getSpecified(); 84 assertFalse("streetNotSpecified", state);
|
H A D | attrspecifiedvalueremove.java | 81 boolean state; 89 state = streetAttr.getSpecified(); 90 assertFalse("attrSpecifiedValueRemoveAssert", state);
|
H A D | domimplementationfeaturenull.java | 67 boolean state; 72 state = domImpl.hasFeature("XML", nullVersion); 73 assertTrue("hasXMLnull", state);
|
/libcore/dom/src/test/java/org/w3c/domts/level2/core/ |
H A D | elementhasattribute02.java | 73 boolean state; 79 state = element.hasAttribute("defaultAttr"); 80 assertTrue("elementhasattribute02", state);
|
H A D | elementhasattributens01.java | 75 boolean state; 80 state = element.hasAttributeNS("http://www.w3.org/2000/xmlns/", "xmlns"); 81 assertTrue("elementhasattributens01", state);
|
H A D | elementhasattributens02.java | 76 boolean state; 83 state = element.hasAttributeNS("http://www.w3.org/DOM", "domestic"); 84 assertTrue("hasDomesticAttr", state);
|
H A D | elementhasattributens03.java | 78 boolean state; 88 state = element.hasAttributeNS(nullNS, "domestic"); 89 assertTrue("elementhasattributens03", state);
|
H A D | elementremoveattributens01.java | 74 boolean state; 82 state = element.hasAttributeNS("http://www.w3.org/DOM/Test/createAttributeNS", "attr"); 83 assertFalse("elementremoveattributens01", state);
|
H A D | hasAttribute02.java | 74 boolean state; 78 state = testNode.hasAttribute("street"); 79 assertTrue("throw_True", state);
|
H A D | hasAttribute04.java | 74 boolean state; 78 state = testNode.hasAttribute("dmstc:domestic"); 79 assertTrue("hasDomesticAttr", state);
|
H A D | hasAttributeNS04.java | 78 boolean state; 83 state = testNode.hasAttributeNS(namespaceURI, localName); 84 assertTrue("hasAttribute", state);
|
H A D | hasAttributeNS05.java | 77 boolean state; 81 state = testNode.hasAttributeNS(namespaceURI, localName); 82 assertTrue("hasAttribute", state);
|
/libcore/luni/src/main/java/org/apache/harmony/security/provider/crypto/ |
H A D | SHA1PRNG_SecureRandomImpl.java | 96 // UNDEFINED - three states of engine; initially its state is "UNDEFINED" 97 // SET_SEED call to "engineSetSeed" sets up "SET_SEED" state, 98 // NEXT_BYTES call to "engineNextByte" sets up "NEXT_BYTES" state 144 // contains int value corresponding to engine's current state 145 private transient int state; field in class:SHA1PRNG_SecureRandomImpl 182 state = UNDEFINED; 220 if (state == NEXT_BYTES) { // first setSeed after NextBytes; restoring hash 224 state = SET_SEED; 297 if (state == UNDEFINED) { 299 // no seed supplied by user, hence it is generated thus randomizing internal state [all...] |
/libcore/luni/src/test/java/libcore/java/lang/ |
H A D | OldThreadStateTest.java | 54 boolean isContain(Thread.State state) { argument 56 if(ts.equals(state)) return true;
|
H A D | OldThreadTest.java | 306 Thread.State state = Thread.currentThread().getState(); 307 assertNotNull(state); 308 assertEquals(Thread.State.RUNNABLE, state);
|
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/ |
H A D | MySignature1.java | 115 return state;
|
/libcore/xml/src/main/java/org/xmlpull/v1/ |
H A D | XmlPullParserFactory.java | 85 * @param state if true feature will be set; if false will be ignored 88 public void setFeature(String name, boolean state) throws XmlPullParserException { argument 89 features.put(name, state);
|
H A D | XmlPullParser.java | 34 * <p>The current event state of the parser 38 * state. 42 * state and is identical to the value returned from following calls to 221 * Also, when the state was reached by calling next(), the text value will 421 boolean state) throws XmlPullParserException; 464 * reset parser state, 473 * This call resets the parser state and sets the event type 589 * depending on current state of the parser. 645 * Returns a short text describing the current parser state, including 420 setFeature(String name, boolean state) argument
|
H A D | XmlSerializer.java | 49 boolean state) 48 setFeature(String name, boolean state) argument
|
/libcore/luni/src/main/java/javax/xml/parsers/ |
H A D | DocumentBuilderFactory.java | 306 * It is possible for an <code>DocumentBuilderFactory</code> to expose a feature value but be unable to change its state. 327 * @param value Is feature state <code>true</code> or <code>false</code>. 337 * <p>Get the state of the named feature.</p> 344 * It is possible for an <code>DocumentBuilderFactory</code> to expose a feature value but be unable to change its state. 452 * <p>Set state of XInclude processing.</p> 460 * @param state Set XInclude processing to <code>true</code> or 470 public void setXIncludeAware(final boolean state) { argument 481 * <p>Get state of XInclude processing.</p> 483 * @return current state of XInclude processing
|
H A D | SAXParserFactory.java | 328 * <p>Set state of XInclude processing.</p> 336 * @param state Set XInclude processing to <code>true</code> or 346 public void setXIncludeAware(final boolean state) { argument 357 * <p>Get state of XInclude processing.</p> 359 * @return current state of XInclude processing
|
/libcore/luni/src/main/java/java/util/ |
H A D | BitSet.java | 305 * Sets the bit at index {@code index} to {@code state}. 309 public void set(int index, boolean state) { argument 310 if (state) { 318 * Sets the range of bits {@code [fromIndex, toIndex)} to {@code state}. 324 public void set(int fromIndex, int toIndex, boolean state) { argument 325 if (state) {
|