/development/samples/TicTacToeLib/src/com/example/android/tictactoe/library/ |
GameView.java | 47 public enum State {
56 private State(int value) {
64 public static State fromInt(int i) {
65 for (State s : values()) {
94 /** Contains one of {@link State#EMPTY}, {@link State#PLAYER1} or {@link State#PLAYER2}. */
95 private final State[] mData = new State[9];
98 private State mSelectedValue = State.EMPTY; [all...] |
/external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/ |
DataTruncationTest.java | 66 assertEquals(i + " Final state mismatch", aDataTruncation 68 assertEquals(i + " Final state mismatch", aDataTruncation 70 assertEquals(i + " Final state mismatch", aDataTruncation 72 assertEquals(i + " Final state mismatch", aDataTruncation 74 assertEquals(i + " Final state mismatch", aDataTruncation 76 assertEquals(i + " Final state mismatch", aDataTruncation 78 assertEquals(i + " Final state mismatch", aDataTruncation 80 assertEquals(i + " Final state mismatch", aDataTruncation 152 assertEquals(i + " Final state mismatch", aDataTruncation 154 assertEquals(i + " Final state mismatch", aDataTruncatio [all...] |
/external/bison/m4/ |
mbrtowc.m4 | 23 mbstate_t state; 24 return ! (sizeof state && (mbrtowc) (&wc, s, n, &state));]])],
|
/external/chromium/chrome/browser/sync/ |
sync_setup_wizard.h | 19 enum State { 23 // (via Step) to the next state. 48 // A final state for when setup completes and it is possible it is the 60 // Advances the wizard to the specified state if possible, or opens a 65 void Step(State advance_state); 79 // gaia credentials in the event of a steady-state auth failure, this is 81 // the end state to pass to Run for a given |start_state|. 82 static State GetEndStateForDiscreteRun(State start_state); 84 // Helper to return whether |state| warrants starting a new flow [all...] |
sync_setup_wizard.cc | 22 void SyncSetupWizard::Step(State advance_state) { 45 bool SyncSetupWizard::IsTerminalState(State advance_state) { 75 SyncSetupWizard::State SyncSetupWizard::GetEndStateForDiscreteRun( 76 State start_state) { 77 State result = FATAL_ERROR; 87 "Invalid start state for discrete run: " << start_state;
|
/external/dropbear/libtomcrypt/src/hashes/sha2/ |
sha224.c | 34 /* init the sha256 er... sha224 state ;-) */ 36 Initialize the hash state 37 @param md The hash state you wish to initialize 46 md->sha256.state[0] = 0xc1059ed8UL; 47 md->sha256.state[1] = 0x367cd507UL; 48 md->sha256.state[2] = 0x3070dd17UL; 49 md->sha256.state[3] = 0xf70e5939UL; 50 md->sha256.state[4] = 0xffc00b31UL; 51 md->sha256.state[5] = 0x68581511UL; 52 md->sha256.state[6] = 0x64f98fa7UL [all...] |
/external/libnfc-nxp/src/ |
phLlcNfc_StateMachine.c | 19 * \brief Llc state machine implemenatation. 63 switch(psLlcCtxt->state) 70 psLlcCtxt->state = changeStateTo; 79 psLlcCtxt->state = changeStateTo; 88 psLlcCtxt->state = changeStateTo; 97 psLlcCtxt->state = changeStateTo; 107 psLlcCtxt->state = changeStateTo; 117 psLlcCtxt->state = changeStateTo; 126 psLlcCtxt->state = changeStateTo; 133 psLlcCtxt->state = changeStateTo [all...] |
/external/oprofile/libutil++/ |
stream_util.h | 17 /// class which save a stream state and restore it at dtor time 26 * error state shouldn't be saved. 29 /// restore the stream state
|
/external/srec/tools/thirdparty/OpenFst/fst/lib/ |
verify.h | 46 LOG(ERROR) << "Verify: Fst start state ID unset"; 49 LOG(ERROR) << "Verify: Fst start state ID exceeds number of states"; 64 << na << " of state " << s << " is negative"; 68 << " of arc at position " << na << " of state " << s 74 << na << " of state " << s << " is negative"; 78 << " of arc at position " << na << " of state " << s 84 << na << " of state " << s << " is invalid"; 87 LOG(ERROR) << "Verify: Fst destination state ID of arc at position " 88 << na << " of state " << s << " is negative"; 91 LOG(ERROR) << "Verify: Fst destination state ID of arc at position [all...] |
/external/webkit/LayoutTests/http/tests/appcache/resources/ |
fail-on-update.php | 20 $state = getState($tmpFile); variable 30 } else if ($state == "Uninitialized") { 35 } else if ($state == "Deleted") {
|
/frameworks/base/libs/rs/ |
rsSampler.cpp | 37 mHal.state.magFilter = magFilter; 38 mHal.state.minFilter = minFilter; 39 mHal.state.wrapS = wrapS; 40 mHal.state.wrapT = wrapT; 41 mHal.state.wrapR = wrapR; 42 mHal.state.aniso = aniso; 89 if (existing->mHal.state.magFilter != magFilter) continue; 90 if (existing->mHal.state.minFilter != minFilter ) continue; 91 if (existing->mHal.state.wrapS != wrapS) continue; 92 if (existing->mHal.state.wrapT != wrapT) continue [all...] |
/system/core/init/ |
parser.h | 31 void (*parse_line)(struct parse_state *state, int nargs, char **args); 37 int next_token(struct parse_state *state); 38 void parse_error(struct parse_state *state, const char *fmt, ...);
|
/external/icu4c/common/ |
rbbirpt.txt | 10 # ICU Break Iterator Rule Parser State Table 12 # This state table is used when reading and parsing a set of RBBI rules 13 # The rule parser uses a state machine; the data in this file define the 14 # state transitions that occur for each input character. 24 # Here is the syntax of the state definitions in this file: 28 # input-char n next-state ^push-state action 29 # input-char n next-state ^push-state action 31 # | | | | |--- action to be performed by state machin [all...] |
/external/clang/lib/StaticAnalyzer/Checkers/ |
IteratorsChecker.cpp | 35 // This is the state associated with each iterator which includes both the 36 // kind of state and the instance used to initialize it. 120 const ProgramState *handleAssign(const ProgramState *state, 125 const ProgramState *handleAssign(const ProgramState *state, 130 const ProgramState *invalidateIterators(const ProgramState *state, 138 const MemRegion *getRegion(const ProgramState *state, 230 const ProgramState *IteratorsChecker::invalidateIterators(const ProgramState *state, 232 IteratorState::EntryMap Map = state->get<IteratorState>(); 234 return state; 236 // Loop over the entries in the current state 397 const ProgramState *state = C.getState(); local 470 const ProgramState *state = C.getState(); local 527 const ProgramState *state = C.getState(); local 586 const ProgramState *state = C.getState(); local [all...] |
/external/zlib/contrib/infback9/ |
infback9.c | 25 struct inflate_state FAR *state; local 38 state = (struct inflate_state FAR *)ZALLOC(strm, 1, 40 if (state == Z_NULL) return Z_MEM_ERROR; 42 strm->state = (voidpf)state; 43 state->window = window; 58 struct inflate_state state; local 63 while (sym < 144) state.lens[sym++] = 8; 64 while (sym < 256) state.lens[sym++] = 9; 65 while (sym < 280) state.lens[sym++] = 7 224 struct inflate_state FAR *state; local [all...] |
/cts/tools/dasm/src/java_cup/runtime/ |
symbol.java | 6 * keep track of state on the parse stack. The symbol currently on top 7 * of the stack contains the current state in the parse_state field. 24 public symbol(int sym_num, int state) 27 parse_state = state; 32 /** Constructor without a known state. */ 45 /** The parse state to be recorded on the parse stack with this symbol.
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/spritetext/ |
MatrixGrabber.java | 28 * Record the current modelView and projection matrix state. 29 * Has the side effect of setting the current matrix state to GL_MODELVIEW 38 * Record the current modelView matrix state. Has the side effect of 39 * setting the current matrix state to GL_MODELVIEW 47 * Record the current projection matrix state. Has the side effect of 48 * setting the current matrix state to GL_PROJECTION
|
/external/opencv/cvaux/src/ |
cvhmm1d.cpp | 89 /* set initial state probabilities */ 168 obs->state = (int*)icvAlloc( 2 * total * sizeof(int) ); 184 icvFree( &(obs_info->state) ); 252 hmm->u.state = all_states; 273 icvFree( &(hmm->u.state->mu) ); 274 icvFree( &(hmm->u.state) ); 291 first_state = hmm->u.state; 296 int state = (i * hmm->num_states)/obs_info->obs_x; 297 obs_info->state[i] = state; [all...] |
/frameworks/base/core/java/com/android/internal/util/ |
IState.java | 39 * Called when a state is entered. 44 * Called when a state is exited. 50 * state machine. 54 * executing within a state machine at any given time. This 66 * Name of State for debugging purposes. 68 * @return name of state.
|
/external/chromium/chrome/browser/sync/glue/ |
data_type_manager_impl2_unittest.cc | 112 EXPECT_CALL(*mock_dtc, state()). 116 EXPECT_CALL(*mock_dtc, state()). 119 EXPECT_CALL(*mock_dtc, state()). 124 DataTypeController::State busy_state) { 126 EXPECT_CALL(*mock_dtc, state()). 130 EXPECT_CALL(*mock_dtc, state()). 133 EXPECT_CALL(*mock_dtc, state()). 140 EXPECT_CALL(*mock_dtc, state()). 173 EXPECT_EQ(DataTypeManager::CONFIGURED, dtm.state()); 175 EXPECT_EQ(DataTypeManager::STOPPED, dtm.state()); [all...] |
/external/speex/include/speex/ |
speex.h | 54 /** Get enhancement state (decoder only) */ 220 /** Encoder state initialization function */ 223 /** Encoder state destruction function */ 227 typedef int (*encode_func)(void *state, void *in, SpeexBits *bits); 230 typedef int (*encoder_ctl_func)(void *state, int request, void *ptr); 232 /** Decoder state initialization function */ 235 /** Decoder state destruction function */ 239 typedef int (*decode_func)(void *state, SpeexBits *bits, void *out); 242 typedef int (*decoder_ctl_func)(void *state, int request, void *ptr); 293 * Returns a handle to a newly created Speex encoder state structure. For now, [all...] |
/external/webkit/Tools/android/flex-2.5.4a/ |
nfa.c | 40 /* add_accept - add an accepting state to a machine 48 /* Hang the accepting number off an epsilon state. if it is associated 49 * with a state that has a non-epsilon out-transition, then the state 100 _( "\n\n********** beginning dump of nfa with start state %d\n" ), 106 * starts at state 1 and ends at lastnfa. 112 fprintf( stderr, _( "state # %4d\t" ), ns ); 152 int state = 0; local 157 state = mkstate( transchar[i] ); 161 mkxtion( finalst[state], trans1[i] + state - i ) [all...] |
/external/chromium/chrome/browser/ui/cocoa/bookmarks/ |
bookmark_bar_folder_hover_state.mm | 9 - (void)setHoverState:(HoverState)state; 82 // Schedule close of hover button. Transition to kHoverStateClosing state. 92 // Cancel pending hover close. Transition to kHoverStateOpen state. 101 // Schedule open of hover button. Transition to kHoverStateOpening state. 112 // Cancel pending hover open. Transition to kHoverStateClosed state. 127 // Hover state accessor. For testing only. 132 // This method encodes the rules of our |hoverButton_| state machine. Only 133 // specific state transitions are allowable (encoded in the DCHECK). 134 // Note that there is no state for simultaneously opening and closing. A 138 - (void)setHoverState:(HoverState)state { [all...] |
/external/guava/src/com/google/common/collect/ |
AbstractIterator.java | 30 * end-of-data status without changing the iterator's state, using the {@link 62 private State state = State.NOT_READY; field in class:AbstractIterator 64 private enum State { 118 state = State.DONE; 123 checkState(state != State.FAILED); 124 switch (state) { [all...] |
/external/llvm/test/CodeGen/CellSPU/ |
struct_1.ll | 47 ; struct hackstate state = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } 48 @state = global %struct.hackstate zeroinitializer, align 16 52 %tmp2 = load i8* getelementptr (%struct.hackstate* @state, i32 0, i32 0), align 16 58 %tmp2 = load i8* getelementptr (%struct.hackstate* @state, i32 0, i32 1), align 16 64 %tmp2 = load i8* getelementptr (%struct.hackstate* @state, i32 0, i32 2), align 16 70 %tmp2 = load i32* getelementptr (%struct.hackstate* @state, i32 0, i32 3), align 16 76 %tmp2 = load i16* getelementptr (%struct.hackstate* @state, i32 0, i32 4), align 16 82 %tmp2 = load i8* getelementptr (%struct.hackstate* @state, i32 0, i32 8), align 16 88 %tmp2 = load i8* getelementptr (%struct.hackstate* @state, i32 0, i32 9), align 16 94 %tmp2 = load i32* getelementptr (%struct.hackstate* @state, i32 0, i32 10), align 1 [all...] |