/cts/tests/tests/text/src/android/text/method/cts/ |
MetaKeyKeyListenerTest.java | 144 long state = MetaKeyKeyListener.adjustMetaAfterKeypress(MetaKeyKeyListener.META_SHIFT_ON); local 145 assertEquals(MetaKeyKeyListener.META_SHIFT_ON, state); 147 state = MetaKeyKeyListener.adjustMetaAfterKeypress(MetaKeyKeyListener.META_ALT_ON); 148 assertEquals(MetaKeyKeyListener.META_ALT_ON, state); 150 state = MetaKeyKeyListener.adjustMetaAfterKeypress(MetaKeyKeyListener.META_SYM_ON); 151 assertEquals(MetaKeyKeyListener.META_SYM_ON, state); 153 state = MetaKeyKeyListener.adjustMetaAfterKeypress(0); 154 assertEquals(0, state); 310 long state = MetaKeyKeyListener.resetLockedMeta(MetaKeyKeyListener.META_CAP_LOCKED); local 311 assertEquals(0, state); 399 long state = metaKeyKeyListener.clearMetaKeyState(MetaKeyKeyListener.META_CAP_LOCKED, local 432 long state = MetaKeyKeyListener.handleKeyDown(MetaKeyKeyListener.META_CAP_LOCKED, local 445 long state = MetaKeyKeyListener.handleKeyUp(MetaKeyKeyListener.META_CAP_LOCKED, local [all...] |
/external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/ |
SQLExceptionTest.java | 84 assertEquals(i + " Final state mismatch", aSQLException 86 assertEquals(i + " Final state mismatch", aSQLException 88 assertEquals(i + " Final state mismatch", aSQLException 90 assertEquals(i + " Final state mismatch", aSQLException 133 assertEquals(i + " Final state mismatch", aSQLException 135 assertEquals(i + " Final state mismatch", aSQLException 137 assertEquals(i + " Final state mismatch", aSQLException 139 assertEquals(i + " Final state mismatch", aSQLException 180 assertEquals(i + " Final state mismatch", aSQLException 182 assertEquals(i + " Final state mismatch", aSQLExceptio [all...] |
/external/bison/src/ |
LR0.c | 1 /* Generate the nondeterministic finite state machine for Bison. 24 /* See comments in state.h for the data structures that represent it. 42 #include "state.h" 48 state *state; member in struct:state_list 56 | A state was just discovered from another state. Queue it for | 60 static state * 64 state *s = state_new (sym, core_size, core); 67 fprintf (stderr, "state_list_append (state = %d, symbol = %d (%s))\n" [all...] |
/external/bouncycastle/src/main/java/org/bouncycastle/crypto/generators/ |
PKCS5S2ParametersGenerator.java | 39 byte[] state = new byte[hMac.getMacSize()]; 51 hMac.doFinal(state, 0); 53 System.arraycopy(state, 0, out, outOff, state.length); 63 hMac.update(state, 0, state.length); 64 hMac.doFinal(state, 0); 66 for (int j = 0; j != state.length; j++) 68 out[outOff + j] ^= state[j];
|
/external/chromium/chrome/browser/ui/gtk/ |
gtk_chrome_button.cc | 99 // rendering AND we're in either the prelight or active state so that we 102 // Set the state of button->depressed so we paint pressed even if the 103 // actual state of the button is something else. 138 GtkStateType state) { 142 priv->paint_state = state; 164 gdouble state) { 166 if (state >= 0.0 && state <= 1.0) 167 priv->hover_state = state;
|
/external/chromium/net/tools/dump_cache/ |
url_utilities.cc | 75 UnescapeState state = NORMAL; local 79 switch (state) { 83 state = ESCAPE1; 92 state = ESCAPE2; 97 state = NORMAL; 106 state = NORMAL; 112 state = NORMAL; 118 if (state == ESCAPE1 || state == ESCAPE2) {
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
BuiltinFunctionChecker.cpp | 34 const ProgramState *state = C.getState(); local 36 SVal L = state->getSVal(Callee); 51 SVal X = state->getSVal(*(CE->arg_begin())); 52 C.generateNode(state->BindExpr(CE, X)); 67 cast<DefinedOrUnknownSVal>(state->getSVal(*(CE->arg_begin()))); 72 svalBuilder.evalEQ(state, Extent, Size); 73 state = state->assume(extentMatchesSizeArg, true); 75 C.generateNode(state->BindExpr(CE, loc::MemRegionVal(R)));
|
/external/iproute2/ip/ |
ipneigh.c | 35 int state; member in struct:__anon6683 51 fprintf(stderr, " ip neigh {show|flush} [ to PREFIX ] [ dev DEV ] [ nud STATE ]\n"); 55 int nud_state_a2n(unsigned *state, char *arg) 58 *state = NUD_PERMANENT; 60 *state = NUD_REACHABLE; 62 *state = NUD_NOARP; 64 *state = NUD_NONE; 66 *state = NUD_STALE; 68 *state = NUD_INCOMPLETE; 70 *state = NUD_DELAY 124 unsigned state; local 343 unsigned state; local [all...] |
/external/qemu/android/ |
async-console.c | 20 * State diagram, ommitting the ERROR state 46 /* A helper function to prepare the line reader and switch to a new state */ 50 acc->state = newState; 60 acc->state = STATE_INITIAL; 73 switch (acc->state) 80 acc->state = STATE_CONNECTING; 131 acc->state = STATE_COMPLETE; 144 acc->state = STATE_ERROR;
|
/external/srtp/crypto/include/ |
auth.h | 59 (void *state, const uint8_t *key, int key_len); 64 (void *state, uint8_t *buffer, int octets_to_auth, 68 (void *state, uint8_t *buffer, int octets_to_auth); 70 typedef err_status_t (*auth_start_func)(void *state); 78 (((a)->type)->init((a)->state, (key), ((a)->key_len))) 81 (((a)->type)->compute((a)->state, (buf), (len), (a)->out_len, (res))) 84 (((a)->type)->update((a)->state, (buf), (len))) 86 #define auth_start(a)(((a)->type)->start((a)->state)) 136 void *state; member in struct:auth_t
|
/external/v8/src/ |
v8threads.cc | 81 // get the saved state for this thread and restore it. 148 // not archived at all. If that is the case we put the state storage we 161 // Make sure that the preemption thread cannot modify the thread state while 177 ThreadState* state = per_thread->thread_state(); local 178 char* from = state->data(); 189 if (state->terminate_on_restore()) { 191 state->set_terminate_on_restore(false); 193 state->set_id(ThreadId::Invalid()); 194 state->Unlink(); 195 state->LinkInto(ThreadState::FREE_LIST) 303 ThreadState* state = GetFreeThreadState(); local 315 ThreadState* state = lazily_archived_thread_state_; local [all...] |
/external/v8/test/mjsunit/ |
debug-stepin-call-function-stub.js | 33 var state = 0; variable 45 if (state == 0) { 48 state = 2; 49 } else if (state == 2) { 53 state = 3; 86 state = 0; 94 assertEquals(3, state); 102 state = 0; 110 assertEquals(3, state);
|
/external/webkit/Source/JavaScriptCore/qt/api/ |
qscriptsyntaxcheckresult.cpp | 38 \enum QScriptSyntaxCheckResult::State 40 This enum specifies the state of a syntax check. 79 Returns the state of this QScriptSyntaxCheckResult. 81 QScriptSyntaxCheckResult::State QScriptSyntaxCheckResult::state() const function in class:QScriptSyntaxCheckResult 83 return d_ptr->state(); 90 \sa state(), errorMessage() 101 \sa state(), errorLineNumber() 112 \sa state(), errorLineNumber()
|
/external/webkit/Source/WebCore/html/ |
CheckboxInputType.cpp | 75 OwnPtr<ClickHandlingState> state = adoptPtr(new ClickHandlingState); local 77 state->checked = element()->checked(); 78 state->indeterminate = element()->indeterminate(); 80 if (state->indeterminate) 83 element()->setChecked(!state->checked, true); 85 return state.release(); 88 void CheckboxInputType::didDispatchClick(Event* event, const ClickHandlingState& state) 91 element()->setIndeterminate(state.indeterminate); 92 element()->setChecked(state.checked);
|
/external/webkit/Source/WebKit/chromium/public/win/ |
WebThemeEngine.h | 45 // The part and state parameters correspond to values defined by the 52 WebCanvas*, int part, int state, int classicState, 56 WebCanvas*, int part, int state, int classicState, 60 WebCanvas*, int state, int classicState, 64 WebCanvas*, int part, int state, int classicState, 68 WebCanvas*, int part, int state, int classicState, 72 WebCanvas*, int part, int state, int classicState, 76 WebCanvas*, int part, int state, int classicState, 80 WebCanvas*, int part, int state, int classicState,
|
/external/webkit/Tools/Scripts/webkitpy/tool/commands/ |
stepsequence.py | 43 def handle_checkout_needs_update(cls, tool, state, options, error): 62 def _run(self, tool, options, state): 64 step(tool, options).run(state) 66 def run_and_handle_errors(self, tool, options, state=None): 67 if not state: 68 state = {} 70 self._run(tool, options, state) 75 command.handle_checkout_needs_update(tool, state, options, e) 82 command.handle_script_error(tool, state, e)
|
/frameworks/base/core/java/android/net/ |
NetworkInfo.java | 31 * Coarse-grained network state. This is probably what most applications should 36 * <tr><td><b>Detailed state</b></td><td><b>Coarse-grained state</b></td></tr> 48 public enum State { 53 * The fine-grained state of a network connection. This level of detail 55 * {@link android.net.NetworkInfo.State State} instead. 87 private static final EnumMap<DetailedState, State> stateMap = 88 new EnumMap<DetailedState, State>(DetailedState.class); 91 stateMap.put(DetailedState.IDLE, State.DISCONNECTED) [all...] |
/libcore/luni/src/test/java/tests/org/w3c/dom/ |
ElementHasAttributeNS.java | 77 boolean state; 82 state = element 84 assertTrue("elementhasattributens01", state); 89 boolean state; 96 state = element.hasAttributeNS("http://www.w3.org/DOM", "domestic"); 97 assertTrue("hasDomesticAttr", state); 102 boolean state; 112 state = element.hasAttributeNS(nullNS, "domestic"); 113 assertTrue("elementhasattributens03", state);
|
/sdk/sdkmanager/libs/sdkuilib/src/com/android/sdkuilib/internal/widgets/ |
ToggleButton.java | 30 * A label that can display 2 images depending on its internal state.
105 * Sets current state.
106 * @param state A value 0 or 1.
108 public void setState(int state) {
109 assert state == 0 || state == 1;
local 110 mState = state;
116 * Returns the current state
117 * @return Returns the current state, either 0 or 1.
|
/external/chromium/chrome/browser/history/ |
download_database.cc | 25 // state Identifies if this download is completed or not. Not used 73 "state INTEGER NOT NULL)")) 89 "total_bytes, state " 104 info.state = statement.ColumnInt(6); 110 int32 state, 115 "SET received_bytes=?, state=? WHERE id=?")); 120 statement.BindInt(1, state); 140 "UPDATE downloads SET state=? WHERE state=?")); 151 "(full_path, url, start_time, received_bytes, total_bytes, state) " [all...] |
/external/elfutils/libelf/ |
elf32_getphdr.c | 51 result = elf->state.ELFW(elf,LIBELFBITS).phdr; 69 ElfW2(LIBELFBITS,Ehdr) *ehdr = elf->state.ELFW(elf,LIBELFBITS).ehdr; 91 elf->state.ELFW(elf,LIBELFBITS).phdr = (ElfW2(LIBELFBITS,Phdr) *) 101 phdr = elf->state.ELFW(elf,LIBELFBITS).phdr = 103 if (elf->state.ELFW(elf,LIBELFBITS).phdr == NULL) 108 elf->state.ELFW(elf,LIBELFBITS).phdr_flags |= 144 elf->state.ELFW(elf,LIBELFBITS).phdr = 146 if (elf->state.ELFW(elf,LIBELFBITS).phdr == NULL) 151 elf->state.ELFW(elf,LIBELFBITS).phdr_flags |= ELF_F_MALLOCED; 155 elf->state.ELFW(elf,LIBELFBITS).phdr, size [all...] |
/external/speex/libspeex/ |
sb_celp.h | 43 /**Structure representing the full state of the sub-band encoder*/ 46 void *st_low; /**< State of the low-band (narrowband) encoder */ 98 /**Structure representing the full state of the sub-band decoder*/ 101 void *st_low; /**< State of the low-band (narrowband) encoder */ 132 /**Initializes encoder state*/ 135 /**De-allocates encoder state resources*/ 136 void sb_encoder_destroy(void *state); 139 int sb_encode(void *state, void *in, SpeexBits *bits); 142 /**Initializes decoder state*/ 145 /**De-allocates decoder state resources* [all...] |
/external/srtp/crypto/rng/ |
prng.c | 71 /* initialize prng state from random source */ 72 status = x917_prng.rand((uint8_t *)&x917_prng.state, 16); 104 /* exor time into state */ 105 x917_prng.state.v32[0] ^= t; 107 /* copy state into buffer */ 108 v128_copy(&buffer, &x917_prng.state); 137 /* copy buffer into state */ 138 v128_copy(&x917_prng.state, &buffer); 146 /* exor time into state */ 147 x917_prng.state.v32[0] ^= t; [all...] |
/external/wpa_supplicant/ |
eap_vendor_test.c | 33 enum { INIT, CONFIRM, SUCCESS } state; member in struct:eap_vendor_test_data 44 data->state = INIT; 87 if (data->state == INIT && *pos != 1) { 89 "%d in INIT state", *pos); 94 if (data->state == CONFIRM && *pos != 3) { 96 "%d in CONFIRM state", *pos); 101 if (data->state == SUCCESS) { 103 "in SUCCESS state"); 108 if (data->state == CONFIRM) { 133 if (data->state == INIT) [all...] |
/external/wpa_supplicant_6/wpa_supplicant/src/eap_server/ |
eap_gtc.c | 22 enum { CONTINUE, SUCCESS, FAILURE } state; member in struct:eap_gtc_data 34 data->state = CONTINUE; 71 data->state = FAILURE; 77 data->state = CONTINUE; 119 data->state = FAILURE; 131 data->state = FAILURE; 145 data->state = FAILURE; 152 data->state = FAILURE; 163 data->state = FAILURE; 179 data->state = FAILURE [all...] |