/system/core/init/ |
parser.c | 51 void parse_error(struct parse_state *state, const char *fmt, ...) 57 snprintf(buf, 128, "%s: %d: ", state->filename, state->line); 68 int next_token(struct parse_state *state) 70 char *x = state->ptr; 73 if (state->nexttoken) { 74 int t = state->nexttoken; 75 state->nexttoken = 0; 82 state->ptr = x; 86 state->ptr = x [all...] |
/external/qemu/distrib/sdl-1.2.15/src/audio/ |
SDL_wave.c | 44 struct MS_ADPCM_decodestate state[2]; member in struct:MS_ADPCM_decoder 81 static Sint32 MS_ADPCM_nibble(struct MS_ADPCM_decodestate *state, 92 new_sample = ((state->iSamp1 * coeff[0]) + 93 (state->iSamp2 * coeff[1]))/256; 95 new_sample += state->iDelta * (nybble-0x10); 97 new_sample += state->iDelta * nybble; 105 delta = ((Sint32)state->iDelta * adaptive[nybble])/256; 109 state->iDelta = (Uint16)delta; 110 state->iSamp2 = state->iSamp1 117 struct MS_ADPCM_decodestate *state[2]; local 222 struct IMA_ADPCM_decodestate state[2]; member in struct:IMA_ADPCM_decoder 325 struct IMA_ADPCM_decodestate *state; local [all...] |
/external/wpa_supplicant_6/wpa_supplicant/src/eap_peer/ |
eap.h | 2 * EAP peer state machine functions (RFC 4137) 34 * enum eapol_bool_var - EAPOL boolean state variables for EAP state machine 36 * These variables are used in the interface between EAP peer state machine and 39 * EAP state machine to get and set the variables. 43 * EAPOL_eapSuccess - EAP SUCCESS state reached 45 * EAP state machine reads and writes this value. 52 * Set to TRUE in lower layer, FALSE in EAP state machine. 57 * EAPOL_eapFail - EAP FAILURE state reached 59 * EAP state machine writes this value [all...] |
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.Test/SlimParsing/ |
SlimLexer.cs | 54 public SlimLexer( ICharStream input, RecognizerSharedState state ) 55 : base( state ) 66 if ( state.text != null ) 68 return state.text; 70 return input.Substring( state.tokenStartCharIndex, CharIndex - state.tokenStartCharIndex ); 75 state.text = value; 104 base.Reset(); // reset all recognizer state variables 105 // wack Lexer state variables 110 if ( state == null [all...] |
/frameworks/av/cmds/stagefright/ |
codec.cpp | 110 CodecState *state = local 113 state->mNumBytesDecoded = 0; 114 state->mNumBuffersDecoded = 0; 115 state->mIsAudio = isAudio; 117 state->mCodec = MediaCodec::CreateByType( 120 CHECK(state->mCodec != NULL); 122 err = state->mCodec->configure( 129 state->mSignalledInputEOS = false; 130 state->mSawOutputEOS = false; 138 CodecState *state = &stateByTrack.editValueAt(i) local 162 CodecState *state = &stateByTrack.editValueFor(trackIndex); local 197 CodecState *state = &stateByTrack.editValueAt(i); local 226 CodecState *state = &stateByTrack.editValueAt(i); local 238 CodecState *state = &stateByTrack.editValueAt(i); local 288 CodecState *state = &stateByTrack.editValueAt(i); local [all...] |
/external/clang/lib/StaticAnalyzer/Checkers/ |
StreamChecker.cpp | 99 ProgramStateRef CheckNullStream(SVal SV, ProgramStateRef state, 101 ProgramStateRef CheckDoubleClose(const CallExpr *CE, ProgramStateRef state, 221 ProgramStateRef state = C.getState(); local 227 state = state->BindExpr(CE, C.getLocationContext(), RetVal); 230 // Bifurcate the state into two: one with a valid FILE* pointer, the other 233 llvm::tie(stateNotNull, stateNull) = CM.assumeDual(state, RetVal); 236 // if RetVal is not NULL, set the symbol's state to Opened. 248 ProgramStateRef state = CheckDoubleClose(CE, C.getState(), C); local 249 if (state) 254 ProgramStateRef state = C.getState(); local 261 ProgramStateRef state = C.getState(); local 268 ProgramStateRef state = C.getState(); local 295 ProgramStateRef state = C.getState(); local 302 ProgramStateRef state = C.getState(); local 309 ProgramStateRef state = C.getState(); local 316 ProgramStateRef state = C.getState(); local 323 ProgramStateRef state = C.getState(); local 330 ProgramStateRef state = C.getState(); local 337 ProgramStateRef state = C.getState(); local 344 ProgramStateRef state = C.getState(); local 412 ProgramStateRef state = C.getState(); local 432 ProgramStateRef state = Ctx.getState(); local [all...] |
/external/skia/src/core/ |
SkBitmapProcState.cpp | 92 #define CHECKSTATE(state) SkASSERT(state.fBitmap->config() == SkBitmap::kARGB_8888_Config); \ 93 SkASSERT(state.fAlphaScale == 256) 104 #define CHECKSTATE(state) SkASSERT(state.fBitmap->config() == SkBitmap::kARGB_8888_Config); \ 105 SkASSERT(state.fAlphaScale < 256) 106 #define PREAMBLE(state) unsigned alphaScale = state.fAlphaScale 123 #define CHECKSTATE(state) SkASSERT(state.fBitmap->config() == SkBitmap::kRGB_565_Config); [all...] |
/external/bluetooth/bluedroid/stack/smp/ |
smp_main.c | 70 const char * smp_get_state_name(tSMP_STATE state); 158 /************ SMP Master FSM State/Event Indirection Table **************/ 161 /* state name: Idle WaitApp SecReq Pair Wait Confirm Init Enc Bond Rel 190 /* Event Action Next State */ 197 /* Event Action Next State */ 203 /* Event Action Next State */ 212 /* Event Action Next State */ 219 /* Event Action Next State */ 224 /* Event Action Next State */ 229 /* Event Action Next State */ [all...] |
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/ |
Lexer.cs | 54 public Lexer(ICharStream input, RecognizerSharedState state) 55 : base(state) { 63 if (state.text != null) { 64 return state.text; 66 return input.Substring(state.tokenStartCharIndex, CharIndex - state.tokenStartCharIndex); 70 state.text = value; 92 base.Reset(); // reset all recognizer state variables 93 // wack Lexer state variables 97 if (state == null) [all...] |
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/ |
Lexer.cs | 58 public Lexer( ICharStream input, RecognizerSharedState state ) 59 : base(state) 70 if ( state.text != null ) 72 return state.text; 74 return input.Substring( state.tokenStartCharIndex, CharIndex - state.tokenStartCharIndex ); 79 state.text = value; 108 base.Reset(); // reset all recognizer state variables 109 // wack Lexer state variables 114 if ( state == null [all...] |
/dalvik/vm/jdwp/ |
JdwpEvent.cpp | 82 before sleeping, the switch back to RUNNING state when we get the token 88 We need to change to VMWAIT state at the *start* of posting an event, 119 u4 dvmJdwpNextRequestSerial(JdwpState* state) 121 dvmDbgLockMutex(&state->serialLock); 122 u4 result = state->requestSerial++; 123 dvmDbgUnlockMutex(&state->serialLock); 132 u4 dvmJdwpNextEventSerial(JdwpState* state) 134 dvmDbgLockMutex(&state->serialLock); 135 u4 result = state->eventSerial++; 136 dvmDbgUnlockMutex(&state->serialLock) [all...] |
/external/bluetooth/bluedroid/stack/mcap/ |
mca_csm.c | 21 * This is the implementation file for the MCAP Control channel state 34 ** data channel state machine constants and types 68 /* state table information */ 71 #define MCA_CCB_NEXT_STATE 1 /* position of next state */ 72 #define MCA_CCB_NUM_COLS 2 /* number of columns in state tables */ 74 /* state table for opening state */ 76 /* Event Action Next State */ 90 /* state table for open state */ [all...] |
mca_dsm.c | 21 * This is the implementation file for the MCAP Data chahnel state machine. 32 ** data channel state machine constants and types 58 /* state table information */ 61 #define MCA_DCB_NEXT_STATE 1 /* position of next state */ 62 #define MCA_DCB_NUM_COLS 2 /* number of columns in state tables */ 64 /* state table for opening state */ 66 /* Event Action Next State */ 75 /* state table for open state */ [all...] |
/external/chromium/chrome/browser/history/ |
download_types.cc | 12 int32 state, 20 state(state), 35 state(-1),
|
/external/chromium/chrome/browser/sync/glue/ |
sync_backend_host_unittest.cc | 100 state(SyncBackendHost::MakePendingConfigModeState( 103 EXPECT_FALSE(state->ready_task.get()); 104 EXPECT_EQ(types, state->initial_types); 105 EXPECT_FALSE(state->deleted_type); 106 EXPECT_TRUE(state->added_types.none()); 117 state(SyncBackendHost::MakePendingConfigModeState( 120 EXPECT_FALSE(state->ready_task.get()); 121 EXPECT_EQ(types, state->initial_types); 122 EXPECT_TRUE(state->deleted_type); 123 EXPECT_TRUE(state->added_types.none()) [all...] |
/external/clang/test/CodeGenObjC/ |
objc2-new-gc-api-strongcast.m | 15 unsigned long state; 22 void foo1 (NSFastEnumerationState * state) 24 state->itemsPtr = 0; 25 state->bp = ^{};
|
/external/iptables/extensions/ |
libxt_state.c | 19 "state match options:\n" 20 " [!] --state [INVALID|ESTABLISHED|NEW|RELATED|UNTRACKED][,...]\n" 21 " State(s) to match\n"); 25 {.name = "state", .id = O_STATE, .type = XTTYPE_STRING, 31 state_parse_state(const char *state, size_t len, struct xt_state_info *sinfo) 33 if (strncasecmp(state, "INVALID", len) == 0) 35 else if (strncasecmp(state, "NEW", len) == 0) 37 else if (strncasecmp(state, "ESTABLISHED", len) == 0) 39 else if (strncasecmp(state, "RELATED", len) == 0) 41 else if (strncasecmp(state, "UNTRACKED", len) == 0 [all...] |
/external/junit/src/junit/extensions/ |
TestSetup.java | 8 * A Decorator to set up and tear down additional fixture state. Subclass 10 * state once before the tests are run. 31 * Sets up the fixture. Override to set up additional fixture state. 38 * state.
|
/external/kernel-headers/original/linux/netfilter/ |
nf_conntrack_sctp.h | 21 enum sctp_conntrack state; member in struct:ip_ct_sctp
|
/external/openfst/src/include/fst/ |
reweight.h | 36 // distributive when reweighting towards the initial state and right 39 // An arc of weight w, with an origin state of potential p and 40 // destination state of potential q, is reweighted by p\wq when 41 // reweighting towards the initial state and by pw/q when reweighting 61 FSTERROR() << "Reweight: Reweighting to the initial state requires " 70 typename Arc::StateId state = sit.Value(); local 71 if (state == potential.size()) 73 typename Arc::Weight weight = potential[state]; 75 for (MutableArcIterator< MutableFst<Arc> > ait(fst, state); 93 fst->SetFinal(state, Divide(fst->Final(state), weight, DIVIDE_LEFT)) 101 typename Arc::StateId state = sit.Value(); local 110 typename Arc::StateId state = fst->Start(); local 130 typename Arc::StateId state = fst->AddState(); local [all...] |
/external/qemu/distrib/sdl-1.2.15/docs/man3/ |
SDL_GetKeyState.3 | 3 SDL_GetKeyState \- Get a snapshot of the current keyboard state 11 Gets a snapshot of the current keyboard state\&. The current state is return as a pointer to an array, the size of this array is stored in \fBnumkeys\fR\&. The array is indexed by the \fI\fBSDLK_*\fP\fR symbols\&. A value of 1 means the key is pressed and a value of 0 means its not\&. The pointer returned is a pointer to an internal SDL array and should not be freed by the caller\&. 16 Use \fI\fBSDL_PumpEvents\fP\fR to update the state array\&.
|
/external/srtp/crypto/include/ |
prng.h | 24 v128_t state; /* state data */ member in struct:__anon14056 43 aes_icm_ctx_t state; /* state data */ member in struct:__anon14057
|
/external/wpa_supplicant_8/src/common/ |
defs.h | 128 * enum wpa_states - wpa_supplicant state 131 * state (wpa_s->wpa_state). The current state can be retrieved with 132 * wpa_supplicant_get_state() function and the state can be changed by calling 133 * wpa_supplicant_set_state(). In WPA state machine (wpa.c and preauth.c), the 135 * to access the state variable. 139 * WPA_DISCONNECTED - Disconnected state 141 * This state indicates that client is not associated, but is likely to 142 * start looking for an access point. This state is entered when a 157 * WPA_INACTIVE - Inactive state (wpa_supplicant disabled [all...] |
/frameworks/av/media/libstagefright/codecs/amrnb/common/src/ |
q_plsf.cpp | 74 * Purpose : Allocates memory and initializes state variables 78 Word16 Q_plsf_init(Q_plsfState **state) 82 if (state == (Q_plsfState **) NULL) 87 *state = NULL; 92 /* fprintf(stderr, "Q_plsf_init: can not malloc state structure\n"); */ 97 *state = s; 106 * Purpose : Resets state memory 110 Word16 Q_plsf_reset(Q_plsfState *state) 114 if (state == (Q_plsfState *) NULL) 121 state->past_rq[i] = 0 [all...] |
/frameworks/rs/driver/ |
rsdMeshObj.cpp | 55 RsDataType dt = elem->mHal.state.fields[fieldIdx]->mHal.state.dataType; 63 uint32_t arraySize = elem->mHal.state.fieldArraySizes[fieldIdx]; 77 for (uint32_t ct=0; ct < mRSMesh->mHal.state.vertexBuffersCount; ct++) { 78 const Element *elem = mRSMesh->mHal.state.vertexBuffers[ct]->getType()->getElement(); 79 for (uint32_t ct=0; ct < elem->mHal.state.fieldsCount; ct++) { 100 for (uint32_t ct=0; ct < mRSMesh->mHal.state.vertexBuffersCount; ct++) { 101 const Element *elem = mRSMesh->mHal.state.vertexBuffers[ct]->getType()->getElement(); 102 uint32_t stride = elem->mHal.state.elementSizeBytes; 103 for (uint32_t fieldI=0; fieldI < elem->mHal.state.fieldsCount; fieldI++) [all...] |