Searched defs:state (Results 1 - 19 of 19) sorted by relevance

/libcore/luni/src/main/native/
H A Djava_io_Console.cpp28 termios state; local
29 if (TEMP_FAILURE_RETRY(tcgetattr(STDIN_FILENO, &state)) == -1) {
34 state.c_lflag = previousState;
36 previousState = state.c_lflag;
37 state.c_lflag &= ~(ECHO | ECHOE | ECHOK | ECHONL);
39 if (TEMP_FAILURE_RETRY(tcsetattr(STDIN_FILENO, TCSAFLUSH, &state)) == -1){
/libcore/luni/src/test/java/libcore/java/lang/
H A DOldThreadStateTest.java54 boolean isContain(Thread.State state) { argument
56 if(ts.equals(state)) return true;
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/
H A DMyGuard.java29 public MyGuard(boolean state) { argument
30 enabled = state;
/libcore/luni/src/main/java/javax/xml/parsers/
H A DSAXParserFactory.java328 * <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
H A DDocumentBuilderFactory.java306 * 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
/libcore/xml/src/main/java/org/xmlpull/v1/
H A DXmlPullParserFactory.java85 * @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 DXmlSerializer.java49 boolean state)
48 setFeature(String name, boolean state) argument
H A DXmlPullParser.java34 * <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
/libcore/luni/src/main/java/java/nio/charset/
H A DCharsetDecoder.java75 * 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...]
H A DCharsetEncoder.java43 * 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...]
/libcore/luni/src/main/java/java/security/
H A DSignature.java69 * Represents the current state of this {@code Signature}. The three
73 protected int state = UNINITIALIZED; field in class:Signature
219 state = VERIFY;
266 state = VERIFY;
281 state = SIGN;
299 state = SIGN;
305 * This {@code Signature} instance is reset to the state of its last
315 if (state != SIGN) {
325 * This {@code Signature} instance is reset to the state of its last
349 if (state !
503 stateToString(int state) argument
[all...]
/libcore/luni/src/main/java/java/util/
H A DBitSet.java305 * 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) {
/libcore/luni/src/main/java/java/util/concurrent/
H A DFutureTask.java40 * on a "state" field updated via CAS to track completion, along
48 * The run state of this task, initially NEW. The run state
49 * transitions to a terminal state only in methods set,
50 * setException, and cancel. During completion, state may take on
57 * Possible state transitions:
63 private volatile int state; field in class:FutureTask
75 private Object outcome; // non-volatile, protected by state reads/writes
84 * @param s completed state value
107 this.state
[all...]
H A DPhaser.java68 * state of the phaser. If necessary, you can perform any
78 * state, that may be checked using method {@link #isTerminated}. Upon
111 * only by registered parties, the current state of a phaser may be
119 * returns snapshots of these state queries in a form convenient for
241 * Primary state representation, holding four bit-fields:
249 * distinguished by the otherwise illegal state of having zero
254 * state decoding and encoding simple, and keeping race windows
257 * All state updates are performed via CAS except initial
267 private volatile long state; field in class:Phaser
349 * @param adjust value to subtract from state;
[all...]
/libcore/luni/src/main/java/org/apache/harmony/security/provider/crypto/
H A DSHA1PRNG_SecureRandomImpl.java96 // 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/main/java/java/util/concurrent/locks/
H A DAbstractQueuedLongSynchronizer.java16 * which synchronization state is maintained as a {@code long}.
19 * that all state-related parameters and results are defined
23 * 64 bits of state.
40 name and changing ints related with sync state to longs. Please
46 * with initial synchronization state of zero.
157 * Nodes never leave this state. In particular,
280 * The synchronization state.
282 private volatile long state; field in class:AbstractQueuedLongSynchronizer
285 * Returns the current value of synchronization state.
287 * @return current state valu
[all...]
H A DAbstractQueuedSynchronizer.java23 * single atomic {@code int} value to represent state. Subclasses
24 * must define the protected methods that change this state, and which
25 * define what that state means in terms of this object being acquired
28 * other state fields, but only the atomically updated {@code int}
61 * this object, and {@link #acquire}, given this saved state value,
62 * eventually restores this object to its previous acquired state. No
75 * integer maintaining state, so deserialized objects have empty
78 * initial state upon deserialization.
84 * the synchronization state using {@link #getState}, {@link
160 * synchronizers that can rely on {@code int} state, acquir
512 private volatile int state; field in class:AbstractQueuedSynchronizer
[all...]
/libcore/support/src/test/java/tests/resources/
H A Djunit4-4.3.1.jarMETA-INF/ META-INF/MANIFEST.MF junit/ junit/extensions/ junit/framework/ junit/runner/ junit/textui/ org/ ...
/libcore/benchmarks/libs/
H A Dcaliper.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/caliper/ com/google/caliper/AllocationMeasurer ...

Completed in 552 milliseconds