/external/webkit/Source/WebCore/bindings/v8/ |
WorkerScriptController.cpp | 74 WorkerContextExecutionState state; 75 ScriptValue result = m_proxy->evaluate(sourceCode.source(), sourceCode.url().string(), WTF::toZeroBasedTextPosition(sourceCode.startPosition()), &state); 76 if (state.hadException) { 78 *exception = state.exception; 80 m_workerContext->reportException(state.errorMessage, state.lineNumber, state.sourceURL, 0);
|
/external/webkit/Source/WebCore/platform/image-encoders/ |
PNGImageEncoder.cpp | 57 PNGEncoderState* state = static_cast<PNGEncoderState*>(png_get_io_ptr(png)); local 58 ASSERT(state->m_dump); 60 size_t oldSize = state->m_dump->size(); 61 state->m_dump->resize(oldSize + size); 62 char* destination = state->m_dump->data() + oldSize; 106 PNGEncoderState state(&pngData); 107 png_set_write_fn(pngPtr, &state, encoderWriteCallback, 0);
|
/external/wpa_supplicant_8/src/crypto/ |
sha1-internal.c | 25 void SHA1Transform(u32 state[5], const unsigned char buffer[64]); 167 context->state[0], 168 context->state[1], 169 context->state[2], 170 context->state[3], 171 context->state[4]); 177 void SHA1Transform(u32 state[5], const unsigned char buffer[64]) 192 /* Copy context->state[] to working vars */ 193 a = state[0]; 194 b = state[1] [all...] |
md4-internal.c | 24 u32 state[4]; /* state */ member in struct:MD4Context 73 MD4Transform(u32 state[4], const u8 block[MD4_BLOCK_LENGTH]); 104 ctx->state[0] = 0x67452301; 105 ctx->state[1] = 0xefcdab89; 106 ctx->state[2] = 0x98badcfe; 107 ctx->state[3] = 0x10325476; 128 MD4Transform(ctx->state, ctx->buffer); 136 MD4Transform(ctx->state, input); 178 PUT_32BIT_LE(digest + i * 4, ctx->state[i]) [all...] |
/external/wpa_supplicant_8/src/eap_server/ |
eap_server_mschapv2.c | 57 enum { CHALLENGE, SUCCESS_REQ, FAILURE_REQ, SUCCESS, FAILURE } state; member in struct:eap_mschapv2_data 71 data->state = CHALLENGE; 116 data->state = FAILURE; 126 data->state = FAILURE; 164 data->state = FAILURE; 207 data->state = FAILURE; 230 switch (data->state) { 238 wpa_printf(MSG_DEBUG, "EAP-MSCHAPV2: Unknown state %d in " 239 "buildReq", data->state); 262 if (data->state == CHALLENGE & [all...] |
/frameworks/base/libs/rs/ |
rsProgramFragment.cpp | 45 if (mHal.state.constants[0] == NULL) { 54 memcpy(mHal.state.constants[0]->getPtr(), mConstantColor, 4*sizeof(float)); 58 void ProgramFragment::setup(Context *rsc, ProgramFragmentState *state) { 59 if ((state->mLast.get() == this) && !mDirty) { 62 state->mLast.set(this); 64 for (uint32_t ct=0; ct < mHal.state.texturesCount; ct++) { 65 if (!mHal.state.textures[ct]) {
|
rsProgramRaster.cpp | 28 mHal.state.pointSprite = pointSprite; 29 mHal.state.cull = cull; 46 void ProgramRaster::setup(const Context *rsc, ProgramRasterState *state) { 47 if (state->mLast.get() == this && !mDirty) { 50 state->mLast.set(this); 85 if (existing->mHal.state.pointSprite != pointSprite) continue; 86 if (existing->mHal.state.cull != cull) continue;
|
rsProgramVertex.cpp | 35 void ProgramVertex::setup(Context *rsc, ProgramVertexState *state) { 36 if ((state->mLast.get() == this) && !mDirty) { 41 if (mHal.state.constants[0] == NULL) { 46 float *f = static_cast<float *>(mHal.state.constants[0]->getPtr()); 57 state->mLast.set(this); 68 if (mHal.state.constants[0] == NULL) { 73 float *f = static_cast<float *>(mHal.state.constants[0]->getPtr()); 84 if (mHal.state.constants[0] == NULL) { 89 float *f = static_cast<float *>(mHal.state.constants[0]->getPtr()); 100 if (mHal.state.constants[0] == NULL) [all...] |
/external/skia/src/animator/ |
SkAnimateActive.cpp | 152 SkState& state = fState[index]; local 153 if (state.fMode == SkApply::kMode_immediate || state.fMode == SkApply::kMode_create) 154 duration = state.fSteps ? state.fSteps * SK_MSec1 : 1; 155 // else if (state.fMode == SkApply::kMode_hold) { 164 state.fDuration = duration; 165 SkMSec maxTime = state.fBegin + duration; 205 SkState& state = fState[index]; local 206 if (state.fMode != SkApply::kMode_immediate 275 SkState& state = fState[index]; local 345 SkState& state = fState[index]; local 403 SkState& state = fState[index]; local 414 SkState& state = fState[index]; local [all...] |
/frameworks/base/media/libstagefright/codecs/amrwbenc/src/ |
wb_vad.c | 179 VadVars * st, /* i/o : State struct */ 258 VadVars * st, /* i/o : State structure */ 348 VadVars * st, /* i/o : State structure */ 390 VadVars * st, /* i/o : State structure */ 460 VadVars * st, /* i/o : State structure */ 569 VadVars * st, /* i/o : State structure */ 622 * Purpose: Allocates state memory and initializes state memory 627 VadVars ** state, /* i/o : State structure * [all...] |
/external/chromium/chrome/browser/download/ |
download_request_limiter.h | 34 // the state changes to PROMPT_BEFORE_DOWNLOAD. 35 // . If the state is PROMPT_BEFORE_DOWNLOAD and the user clicks the mouse, 36 // presses enter, the space bar or navigates to another page the state is 38 // . If a download is attempted and the state is PROMPT_BEFORE_DOWNLOAD the user 67 // TabDownloadState maintains the download state for a particular tab. 74 // TabDownloadState tracks the state of and is the host for any dialogs that 169 // Returns the download status for a page. This does not change the state in 173 // Updates the state of the page as necessary and notifies the callback. 205 // Gets the download state for the specified controller. If the 240 void Remove(TabDownloadState* state); [all...] |
/frameworks/base/core/java/android/bluetooth/ |
BluetoothPan.java | 47 * Intent used to broadcast the change in connection state of the Pan 52 * <li> {@link #EXTRA_STATE} - The current state of the profile. </li> 53 * <li> {@link #EXTRA_PREVIOUS_STATE}- The previous state of the profile.</li> 152 * connection state intent for the profile will be broadcasted with 153 * the state. Users can get the connection state of the profile 183 * Bluetooth device is not in connected state etc. When this API returns, 184 * true, it is guaranteed that the connection state change 185 * intent will be broadcasted with the state. Users can get the 186 * disconnection state of the profile from this intent [all...] |
/packages/apps/Email/emailcommon/src/org/apache/james/mime4j/ |
BodyDescriptor.java | 179 byte state = READY_FOR_NAME;
184 switch (state) {
187 state = READY_FOR_NAME;
193 state = ERROR;
200 state = IN_NAME;
206 state = ERROR;
208 state = READY_FOR_VALUE;
224 state = IN_QUOTED_VALUE;
228 state = IN_VALUE;
246 state = VALUE_DONE; [all...] |
/system/core/toolbox/ |
vmstat.c | 38 struct state { struct 64 static void read_state(struct state *s); 65 static int read_meminfo(struct state *s); 66 static int read_stat(struct state *s); 67 static int read_vmstat(struct state *s); 69 static void print_line(struct state *old, struct state *new); 73 struct state s[2]; 137 static void read_state(struct state *s) { 159 static int read_meminfo(struct state *s) [all...] |
/external/clang/lib/StaticAnalyzer/Checkers/ |
ArrayBoundCheckerV2.cpp | 57 static RegionRawOffsetV2 computeOffset(const ProgramState *state, 95 const ProgramState *state = checkerContext.getState(); local 96 const ProgramState *originalState = state; 100 RegionRawOffsetV2::computeOffset(state, svalBuilder, location); 113 = svalBuilder.evalBinOpNN(state, BO_LT, rawOffset.getByteOffset(), 123 state->assume(*lowerBoundToCheck); 133 state = state_withinLowerBound; 145 = svalBuilder.evalBinOpNN(state, BO_GE, rawOffset.getByteOffset(), 155 state->assume(*upperboundToCheck); 164 state = state_withinUpperBound [all...] |
/external/wpa_supplicant/ |
md4.c | 27 u32 state[4]; /* state */ member in struct:MD4Context 75 MD4Transform(u32 state[4], const u8 block[MD4_BLOCK_LENGTH]); 106 ctx->state[0] = 0x67452301; 107 ctx->state[1] = 0xefcdab89; 108 ctx->state[2] = 0x98badcfe; 109 ctx->state[3] = 0x10325476; 130 MD4Transform(ctx->state, ctx->buffer); 138 MD4Transform(ctx->state, input); 180 PUT_32BIT_LE(digest + i * 4, ctx->state[i]) [all...] |
/external/wpa_supplicant_6/wpa_supplicant/src/crypto/ |
md4.c | 27 u32 state[4]; /* state */ member in struct:MD4Context 75 MD4Transform(u32 state[4], const u8 block[MD4_BLOCK_LENGTH]); 106 ctx->state[0] = 0x67452301; 107 ctx->state[1] = 0xefcdab89; 108 ctx->state[2] = 0x98badcfe; 109 ctx->state[3] = 0x10325476; 130 MD4Transform(ctx->state, ctx->buffer); 138 MD4Transform(ctx->state, input); 180 PUT_32BIT_LE(digest + i * 4, ctx->state[i]) [all...] |
/external/wpa_supplicant_6/wpa_supplicant/src/eap_peer/ |
eap_sake.c | 22 enum { IDENTITY, CHALLENGE, CONFIRM, SUCCESS, FAILURE } state; member in struct:eap_sake_data 42 static const char * eap_sake_state_txt(int state) 44 switch (state) { 61 static void eap_sake_state(struct eap_sake_data *data, int state) 64 eap_sake_state_txt(data->state), 65 eap_sake_state_txt(state)); 66 data->state = state; 89 data->state = IDENTITY; 156 if (data->state != IDENTITY) [all...] |
/external/wpa_supplicant_8/src/eap_peer/ |
eap_sake.c | 23 enum { IDENTITY, CHALLENGE, CONFIRM, SUCCESS, FAILURE } state; member in struct:eap_sake_data 43 static const char * eap_sake_state_txt(int state) 45 switch (state) { 62 static void eap_sake_state(struct eap_sake_data *data, int state) 65 eap_sake_state_txt(data->state), 66 eap_sake_state_txt(state)); 67 data->state = state; 90 data->state = IDENTITY; 157 if (data->state != IDENTITY) [all...] |
/external/wpa_supplicant_6/wpa_supplicant/src/eap_server/ |
eap_mschapv2.c | 56 enum { CHALLENGE, SUCCESS_REQ, FAILURE_REQ, SUCCESS, FAILURE } state; member in struct:eap_mschapv2_data 70 data->state = CHALLENGE; 115 data->state = FAILURE; 125 data->state = FAILURE; 163 data->state = FAILURE; 206 data->state = FAILURE; 229 switch (data->state) { 237 wpa_printf(MSG_DEBUG, "EAP-MSCHAPV2: Unknown state %d in " 238 "buildReq", data->state); 261 if (data->state == CHALLENGE & [all...] |
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/ |
GsmConnection.java | 133 parent = parentFromDCState (dc.state); 157 parent.attachFake(this, GsmCall.State.DIALING); 215 if (getState() != GsmCall.State.HOLDING) { 231 public GsmCall.State getState() { 233 return GsmCall.State.DISCONNECTED; 373 } else if (phone.getIccCard().getState() != SimCard.State.READY) { 424 // Returns true if state has changed, false if nothing changed 430 boolean wasHolding = (getState() == GsmCall.State.HOLDING); 432 newParent = parentFromDCState(dc.state); 453 /** Some state-transition events * 638 PostDialState state = postDialState; local [all...] |
/external/openssl/crypto/engine/ |
eng_cryptodev.c | 359 struct dev_crypto_state *state = ctx->cipher_data; local 360 struct session_op *sess = &state->d_sess; 364 if (state->d_fd < 0) 391 if (ioctl(state->d_fd, CIOCCRYPT, &cryp) == -1) { 412 struct dev_crypto_state *state = ctx->cipher_data; local 413 struct session_op *sess = &state->d_sess; 425 state->d_fd = -1; 431 if ((state->d_fd = get_dev_crypto()) < 0) 438 if (ioctl(state->d_fd, CIOCGSESSION, sess) == -1) { 439 close(state->d_fd) 454 struct dev_crypto_state *state = ctx->cipher_data; local 668 struct dev_crypto_state *state = ctx->md_data; local 702 struct dev_crypto_state *state = ctx->md_data; local 748 struct dev_crypto_state *state = ctx->md_data; local 786 struct dev_crypto_state *state = ctx->md_data; local [all...] |
/external/bluetooth/bluez/health/ |
mcap.c | 74 /* MCAP finite state machine functions */ 172 if (mcl->state == MCL_IDLE) { 190 if (mcl->state == MCL_PENDING) { 192 "Not Std Op. Codes can be sent in PENDING State"); 213 if (mcl->state == MCL_PENDING) 219 if (mdl->state == MDL_CONNECTED) { 220 mcl->state = MCL_ACTIVE; 225 mcl->state = MCL_CONNECTED; 230 mdl->state = MDL_CLOSED; 258 if (mdl->state == *st [all...] |
/packages/apps/Phone/src/com/android/phone/ |
PhoneApp.java | 159 // Internal PhoneApp Call state tracker 176 // True if a wired headset is currently plugged in, based on the state 185 // True if we are beginning a call, but the phone state has not changed yet 188 // Last phone state seen by updatePhoneState() 189 Phone.State mLastPhoneState = Phone.State.IDLE; 209 /** boolean indicating restoring mute state on InCallScreen.onResume() */ 226 // cdmaOtaScreenState object store OTA Screen State information. 238 * Set the restore mute state flag. Used when we are setting the mute state 1011 Phone.State state = mCM.getState(); local 1567 int state = ss.getState(); local [all...] |
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/ |
CdmaCallTracker.java | 82 Phone.State state = Phone.State.IDLE; field in class:CdmaCallTracker 138 if (state != Phone.State.IDLE) { 184 // note that this triggers call state changed notif 188 throw new CallStateException("cannot dial in current state"); 202 // didn't know the state (i.e. Generic was true) we now know 209 if (foregroundCall.getState() == CdmaCall.State.ACTIVE) { 272 if (ringingCall.getState() == CdmaCall.State.INCOMING) [all...] |