/dalvik/libdex/ |
DexSwapVerify.cpp | 92 static inline u4 fileOffset(const CheckState* state, const void* ptr) { 93 return ((const u1*) ptr) - state->fileStart; 99 static inline void* filePointer(const CheckState* state, u4 offset) { 100 return (void*) (state->fileStart + offset); 111 static inline bool checkPtrRange(const CheckState* state, 113 const void* fileStart = state->fileStart; 114 const void* fileEnd = state->fileEnd; 118 fileOffset(state, start), fileOffset(state, end)); 131 * Assumes "const CheckState* state" 2820 CheckState state; local [all...] |
/external/ppp/pppd/ |
fsm.c | 2 * fsm.c - {Link, IP} Control Protocol Finite State Machine. 77 * Initialize fsm state. 83 f->state = INITIAL; 101 switch( f->state ){ 103 f->state = CLOSED; 108 f->state = STOPPED; 112 f->state = REQSENT; 117 FSMDEBUG(("%s: Up event in state %d!", PROTO_NAME(f), f->state)); 131 switch( f->state ){ [all...] |
/external/antlr/antlr-3.4/runtime/ObjC/Framework/ |
AMutableArray.m | 226 // In either case, state->itemsPtr MUST be a valid array (non-nil). This sample takes approach #1, using stackbuf to store results. 227 - (NSUInteger)countByEnumeratingWithState:(NSFastEnumerationState *)state objects:(id *)stackbuf count:(NSUInteger)len 231 // Ensure that you never set state->state back to 0, or use another method to detect initialization 232 // (such as using one of the values of state->extra). 233 if (state->state == 0) { 234 // We are not tracking mutations, so we'll set state->mutationsPtr to point into one of our extra values, 237 // state->mutationsPtr MUST NOT be NULL. 238 state->mutationsPtr = &state->extra[0] [all...] |
AMutableDictionary.m | 199 // In either case, state->itemsPtr MUST be a valid array (non-nil). This sample takes approach #1, using stackbuf to store results. 200 - (NSUInteger)countByEnumeratingWithState:(NSFastEnumerationState *)state objects:(id *)stackbuf count:(NSUInteger)len 204 // Ensure that you never set state->state back to 0, or use another method to detect initialization 205 // (such as using one of the values of state->extra). 206 if (state->state == 0) { 207 // We are not tracking mutations, so we'll set state->mutationsPtr to point into one of our extra values, 210 // state->mutationsPtr MUST NOT be NULL. 211 state->mutationsPtr = &state->extra[0] [all...] |
ANTLRLexer.m | 41 if (state.token != nil) 42 [((ANTLRCommonToken *)state.token) setInput:anInput]; 48 - (id) initWithCharStream:(id<ANTLRCharStream>)anInput State:(ANTLRRecognizerSharedState *)aState 53 if (state.token != nil) 54 [((ANTLRCommonToken *)state.token) setInput:anInput]; 80 [super reset]; // reset all recognizer state variables 81 // wack Lexer state variables 85 if ( state == nil ) { 86 return; // no shared state work to do 88 state.token = nil [all...] |
/external/elfutils/libelf/ |
elf_newscn.c | 76 assert (offsetof (Elf, state.elf.scns_last) 77 == offsetof (Elf, state.elf32.scns_last)); 78 assert (offsetof (Elf, state.elf.scns_last) 79 == offsetof (Elf, state.elf64.scns_last)); 80 assert (offsetof (Elf, state.elf32.scns) 81 == offsetof (Elf, state.elf64.scns)); 86 if (elf->state.elf.scns_last->cnt < elf->state.elf.scns_last->max) 88 result = &elf->state.elf.scns_last->data[elf->state.elf.scns_last->cnt] [all...] |
/external/jsilver/src/com/google/streamhtmlparser/impl/ |
ParserStateTable.java | 22 * Holds a state table which is defined as the set of all 23 * recognized state transitions and the set of characters that 26 * <p>The logic of what character causes what state transition is derived from 30 * <p>This class provides methods to initially build the state table and then 33 * <p>Note on characters outside the extended ASCII range: Currently, all state 36 * U+00FF]. We use that property to design a more efficient state transition 38 * simply apply the DEFAULT transition for the given state - as we do for any 39 * character that is not a hot character for that state. If no default 40 * transition exists, we switch to the Internal Error state. 46 * any incorrect state transitions [all...] |
/ndk/sources/host-tools/make-3.81/ |
ar.c | 199 /* State of an `ar_glob' run, passed to `ar_glob_match'. */ 211 element against the pattern in STATE. */ 217 int gid UNUSED, int mode UNUSED, struct ar_glob_state *state) 219 if (fnmatch (state->pattern, mem, FNM_PATHNAME|FNM_PERIOD) == 0) 222 struct nameseq *new = (struct nameseq *) xmalloc (state->size); 223 new->name = concat (state->arname, mem, ")"); 224 new->next = state->chain; 225 state->chain = new; 226 ++state->n; 271 struct ar_glob_state state; 268 struct ar_glob_state state; local [all...] |
/device/samsung/tuna/liblight/ |
lights.c | 75 static int rgb_to_brightness(struct light_state_t const *state) 77 int color = state->color & 0x00ffffff; 84 struct light_state_t const *state) 87 int brightness = rgb_to_brightness(state); 135 static int set_light_leds(struct light_state_t const *state, int type) 141 switch (state->flashMode) { 143 led.state = LED_LIGHT_OFF; 147 led.state = LED_LIGHT_SLOPE; 148 led.color = state->color & 0x00ffffff; 153 led.time_slope_up_1 = (SLOPE_UP_1 * state->flashOnMS) / 1000 [all...] |
/external/chromium/net/socket/ |
ssl_host_info.cc | 18 SSLHostInfo::State::State() {} 20 SSLHostInfo::State::~State() {} 22 void SSLHostInfo::State::Clear() { 58 const SSLHostInfo::State& SSLHostInfo::state() const { function in class:net::SSLHostInfo 62 SSLHostInfo::State* SSLHostInfo::mutable_state() { 67 State* state = mutable_state() local 79 State* state = mutable_state(); local [all...] |
/external/kernel-headers/original/linux/ |
textsearch.h | 21 * struct ts_state - search state 69 * @state: search state 74 * a new search. May store/read persistant values in state->cb. 79 struct ts_state *state); 84 * @state: search state 90 struct ts_state *state); 96 * @state: search state [all...] |
/external/speex/include/speex/ |
speex_echo.h | 62 /** Internal echo canceller state. Should never be accessed directly. */ 66 * This holds the state of the echo canceller. You need one per channel. 69 /** Internal echo canceller state. Should never be accessed directly. */ 72 /** Creates a new echo canceller state 75 * @return Newly-created echo canceller state 79 /** Creates a new multi-channel echo canceller state 84 * @return Newly-created echo canceller state 88 /** Destroys an echo canceller state 89 * @param st Echo canceller state 96 * @param st Echo canceller state [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/preference/ |
MyPreference.java | 86 // Restore state 89 // Set state 100 * must save the instance state so it is able to, for example, survive 106 // No need to save instance state since it's persistent 110 // Save the instance state 117 protected void onRestoreInstanceState(Parcelable state) { 118 if (!state.getClass().equals(SavedState.class)) { 119 // Didn't save state for us in onSaveInstanceState 120 super.onRestoreInstanceState(state); 124 // Restore the instance state [all...] |
/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...] |
/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/openfst/src/include/fst/ |
verify.h | 49 LOG(ERROR) << "Verify: Fst start state ID unset"; 52 LOG(ERROR) << "Verify: Fst start state ID exceeds number of states"; 67 << na << " of state " << s << " is negative"; 71 << " of arc at position " << na << " of state " << s 77 << na << " of state " << s << " is negative"; 81 << " of arc at position " << na << " of state " << s 87 << na << " of state " << s << " is invalid"; 90 LOG(ERROR) << "Verify: Fst destination state ID of arc at position " 91 << na << " of state " << s << " is negative"; 94 LOG(ERROR) << "Verify: Fst destination state ID of arc at position [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") {
|
/external/webrtc/src/system_wrappers/interface/ |
static_instance.h | 41 CreateOperation state = kInstanceExists; local 61 state = kCreate; 66 state = kDestroy; 69 if (state == kCreate) { 71 } else if (state == kDestroy) { 74 // The state will not change past this point. Release the critical 101 // Sanity to catch corrupt state. 109 state = kCreate; 115 state = kCreate; 121 state = kDestroy [all...] |
/frameworks/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...] |