/frameworks/media/libvideoeditor/osal/src/ |
M4OSA_Thread.c | 59 threadContext->state = M4OSA_kThreadRunning; 63 while(threadContext->state == M4OSA_kThreadRunning) 71 if(threadContext->state == M4OSA_kThreadRunning) 74 //PR 2354 - ACO : Suppress stopping state and don't 76 threadContext->state = M4OSA_kThreadOpened; 112 * @note Once the thread is created, the state is M4OSA_kThreadOpened. 154 threadContext->state = M4OSA_kThreadOpened; 191 * Before calling this method, the state is M4OSA_kThreadOpened. 192 * Once the method is called, the state is M4OSA_kThreadStarting. 193 * Once the thread is running, the state is M4OSA_kThreadRunning [all...] |
/external/jpeg/ |
jchuff.c | 12 * back up to the start of the current MCU. To do this, we copy state 58 savable_state saved; /* Bit buffer & DC state at start of MCU */ 60 /* These fields are NOT loaded into local working state. */ 76 /* Working state while writing an MCU. 83 savable_state cur; /* Current bit buffer & DC state */ 270 #define emit_byte(state,val,action) \ 271 { *(state)->next_output_byte++ = (JOCTET) (val); \ 272 if (--(state)->free_in_buffer == 0) \ 273 if (! dump_buffer(state)) \ 278 dump_buffer (working_state * state) 479 working_state state; local 536 working_state state; local [all...] |
jdhuff.h | 83 typedef struct { /* Bitreading state saved across MCUs */ 88 typedef struct { /* Bitreading working state within an MCU */ 126 * but the state struct might not be (jpeg_huff_decode needs this). 127 * CHECK_BIT_BUFFER(state,n,action); 139 #define CHECK_BIT_BUFFER(state,nbits,action) \ 141 if (! jpeg_fill_bit_buffer(&(state),get_buffer,bits_left,nbits)) \ 143 get_buffer = (state).get_buffer; bits_left = (state).bits_left; } } 156 JPP((bitread_working_state * state, register bit_buf_type get_buffer, 177 #define HUFF_DECODE(result,state,htbl,failaction,slowlabel) [all...] |
/cts/tests/tests/net/src/android/net/cts/ |
ConnectivityManagerTest.java | 33 import android.net.NetworkInfo.State; 78 State state = ni.getState(); local 79 assertTrue(State.UNKNOWN.ordinal() >= state.ordinal() 80 && state.ordinal() >= State.CONNECTING.ordinal()); 87 State state = ni.getState(); local 88 assertTrue(State.UNKNOWN.ordinal() >= state.ordinal( [all...] |
/cts/tools/dasm/src/java_cup/ |
lalr_state.java | 8 /** This class represents a state in the LALR viable prefix recognition machine. 9 * A state consists of an LALR item set and a set of transitions to other 10 * states under terminal and non-terminal symbols. Each state represents 11 * a potential configuration of the parser. If the item set of a state 15 * this indicates that when the parser is in this state it is currently 19 * by several items). In our example above, the state would also include 30 * In a shift, it consumes one token and makes a transition to a new state. 32 * in the state (these new shifted items will then be found in the state at 37 * production. This leaves the machine in the same state is was in when th [all...] |
/external/llvm/utils/TableGen/ |
CallingConvEmitter.cpp | 33 << "ISD::ArgFlagsTy ArgFlags, CCState &State);\n"; 51 << "ISD::ArgFlagsTy ArgFlags, CCState &State) {\n"; 91 << "(ValNo, ValVT, LocVT, LocInfo, ArgFlags, State))\n" 96 O << IndentStr << "if (unsigned Reg = State.AllocateReg("; 107 O << IndentStr << "if (unsigned Reg = State.AllocateReg(RegList" 110 O << IndentStr << " State.addLoc(CCValAssign::getReg(ValNo, ValVT, " 122 O << IndentStr << "if (unsigned Reg = State.AllocateReg("; 148 O << IndentStr << "if (unsigned Reg = State.AllocateReg(RegList" 152 O << IndentStr << " State.addLoc(CCValAssign::getReg(ValNo, ValVT, " 161 << " = State.AllocateStack(" [all...] |
/packages/apps/Phone/src/com/android/phone/ |
InCallControlState.java | 30 * or "checked" state of the various controls available in the in-call 31 * UI, based on the current telephony state. 37 * state and/or enabledness of all possible in-call user operations. 50 // Our "public API": Boolean flags to indicate the state and/or 95 * Updates all our public boolean flags based on the current state of 99 final Phone.State state = mCM.getState(); // coarse-grained voice call state local 101 final Call.State fgCallState = fgCall.getState(); 102 final boolean hasActiveForegroundCall = (fgCallState == Call.State.ACTIVE) [all...] |
/development/tools/emulator/opengl/shared/OpenglCodecCommon/ |
GLClientState.cpp | 64 void GLClientState::enable(int location, int state) 70 m_states[location].enableDirty |= (state != m_states[location].enabled); 71 m_states[location].enabled = state; 153 const GLClientState::VertexAttribState *state = NULL; local 156 state = getState(GLClientState::VERTEX_LOCATION); 160 state = getState(GLClientState::NORMAL_LOCATION); 164 state = getState(GLClientState::COLOR_LOCATION); 168 state = getState(getActiveTexture() + GLClientState::TEXCOORD0_LOCATION); 172 state = getState(GLClientState::POINTSIZE_LOCATION); 176 state = getState(GLClientState::MATRIXINDEX_LOCATION) [all...] |
/external/chromium/chrome/browser/ui/gtk/ |
custom_button.h | 53 void set_paint_override(int state) { paint_override_ = state; } 65 // Get the CairoCachedSurface from |surfaces_| for |state|. 66 CairoCachedSurface* PixbufForState(int state); 68 // We store one surface for each possible state of the button; 69 // INSENSITIVE is the last available state; 75 // If non-negative, the state to paint the button. 98 // of controlling the hover state of a button. The "hover state" refers to the 177 // Set the state to draw. We will paint the widget as if it were in thi [all...] |
/external/dropbear/libtomcrypt/src/headers/ |
tomcrypt_prng.h | 70 /** size in bytes of exported state */ 72 /** Start a PRNG state 73 @param prng [out] The state to initialize 80 @param prng The PRNG state 84 /** Ready a PRNG state to read from 85 @param prng The PRNG state to ready 92 @param prng The PRNG state to read from 96 /** Terminate a PRNG state 97 @param prng The PRNG state to terminate 101 /** Export a PRNG state [all...] |
/external/speex/include/speex/ |
speex_jitter.h | 50 /** Generic adaptive jitter buffer state */ 53 /** Generic adaptive jitter buffer state */ 122 * @return Newly created jitter buffer state 126 /** Restores jitter buffer to its original state 128 * @param jitter Jitter buffer state 134 * @param jitter Jitter buffer state 140 * @param jitter Jitter buffer state 147 * @param jitter Jitter buffer state 157 * @param jitter Jitter buffer state 164 * @param jitter Jitter buffer state [all...] |
/external/webkit/Source/WebCore/platform/graphics/android/ |
PlatformGraphicsContext.h | 95 // set its state to disabled, so that it will be redrawn when we cycle 105 // Update the focus state of this button, depending on whether it 106 // corresponds to the focused node passed in. If its state has changed, 109 void updateFocusState(WebCore::RenderSkinAndroid::State state, 112 if (state == m_state) 115 // pressed state, leave it in the pressed state, to show that it is 118 state == WebCore::RenderSkinAndroid::kFocused) 120 m_state = state; [all...] |
/external/webkit/Source/WebCore/storage/ |
IDBKeyPath.cpp | 167 // The basic state machine is: 177 ParserState state; 179 state = Identifier; 181 state = Array; 183 state = End; 190 switch (state) { 201 state = Dot; 203 state = Array; 205 state = End; 235 state = Dot [all...] |
/frameworks/base/core/java/android/net/ |
DummyDataStateTracker.java | 25 * A dummy data state tracker for use when we don't have a real radio 123 * Record the detailed state of a network, and if it is a 124 * change from the previous state, send a notification to 126 * @param state the new @{code DetailedState} 127 * @param reason a {@code String} indicating a reason for the state change, 129 * @param extraInfo optional {@code String} providing extra information about the state change 131 private void setDetailedState(NetworkInfo.DetailedState state, String reason, 133 if (DBG) log("setDetailed state, old =" 134 + mNetworkInfo.getDetailedState() + " and new state=" + state); [all...] |
/frameworks/base/core/java/android/preference/ |
TwoStatePreference.java | 33 * enabled/disabled based on the current state. 72 * Sets the checked state and saves it to the {@link SharedPreferences}. 74 * @param checked The checked state. 86 * Returns the checked state. 88 * @return The checked state. 171 * @param disableDependentsState The preference state that should disable dependents. 243 // No need to save instance state since it's persistent 253 protected void onRestoreInstanceState(Parcelable state) { 254 if (state == null || !state.getClass().equals(SavedState.class)) [all...] |
/frameworks/base/libs/rs/driver/ |
rsdMeshObj.cpp | 82 for (uint32_t ct=0; ct < mRSMesh->mHal.state.vertexBuffersCount; ct++) { 83 const Element *elem = mRSMesh->mHal.state.vertexBuffers[ct]->getType()->getElement(); 105 for (uint32_t ct=0; ct < mRSMesh->mHal.state.vertexBuffersCount; ct++) { 106 const Element *elem = mRSMesh->mHal.state.vertexBuffers[ct]->getType()->getElement(); 135 if (len < 1 || primIndex >= mRSMesh->mHal.state.primitivesCount || mAttribCount == 0) { 140 for (uint32_t ct=0; ct < mRSMesh->mHal.state.vertexBuffersCount; ct++) { 141 const Allocation *alloc = mRSMesh->mHal.state.vertexBuffers[ct].get(); 148 // update attributes with either buffer information or data ptr based on their current state 151 Allocation *alloc = mRSMesh->mHal.state.vertexBuffers[allocIndex].get(); 166 Mesh::Primitive_t *prim = mRSMesh->mHal.state.primitives[primIndex] [all...] |
/frameworks/ex/common/java/com/android/common/ |
NetworkConnectivityListener.java | 34 * state information, independent of network type (mobile, Wi-Fi, etc.). 45 private State mState; 77 mState = State.NOT_CONNECTED; 79 mState = State.CONNECTED; 107 public enum State { 110 /** This state is returned if there is connectivity to any network **/ 113 * This state is returned if there is no connectivity to any network. This is set 128 mState = State.UNKNOWN; 133 * This method starts listening for network connectivity state changes. 164 * the network connectivity state changes [all...] |
/packages/apps/Browser/src/com/android/browser/ |
BookmarkDragHandler.java | 41 ViewGroup getActionModeView(ActionMode mode, BookmarkDragState state); 42 void actionItemClicked(View v, BookmarkDragState state); 79 BookmarkDragState state = new BookmarkDragState(); local 80 state.id = id; 81 state.parent = item.getLong(BookmarksLoader.COLUMN_INDEX_PARENT); 82 state.extraState = extraState; 83 mDragState = state; 84 view.startDrag(data, new View.DragShadowBuilder(view), state, 0); 98 BookmarkDragState state = (BookmarkDragState) event.getLocalState(); 104 if (id == state.id) [all...] |
/system/media/wilhelm/src/itf/ |
IBufferQueue.c | 22 /** Determine the state of the audio player or audio recorder associated with a buffer queue. 28 SLuint32 state; local 31 state = ((CAudioPlayer *) thiz->mThis)->mPlay.mState; 34 state = ((CAudioRecorder *) thiz->mThis)->mRecord.mState; 39 state = SL_PLAYSTATE_STOPPED; 42 return state; 71 // set enqueue attribute if state is PLAYING and the first buffer is enqueued 128 SLBufferQueueState state; local 131 state.count = thiz->mState.count; 132 state.playIndex = thiz->mState.playIndex [all...] |
IPlay.c | 22 static SLresult IPlay_SetPlayState(SLPlayItf self, SLuint32 state) 26 switch (state) { 40 if (state != oldState) { 44 // We are comparing the old state (left) vs. new state (right). 45 // Note that the old state is 3 bits wide, but new state is only 2 bits wide. 46 // That is why the old state is on the left and new state is on the right. 47 switch ((oldState << 2) | state) { 126 SLuint32 state = thiz->mState; local [all...] |
/external/ppp/pppd/ |
sha1.c | 45 SHA1_Transform(u_int32_t state[5], const unsigned char buffer[64]) 61 /* Copy context->state[] to working vars */ 62 a = state[0]; 63 b = state[1]; 64 c = state[2]; 65 d = state[3]; 66 e = state[4]; 88 /* Add the working vars back into context.state[] */ 89 state[0] += a; 90 state[1] += b [all...] |
/external/chromium/chrome/browser/tabs/ |
tab_strip_model_unittest.cc | 189 // Returns the state of the given tab strip as a string. The state consists 283 struct State { 284 State(TabContentsWrapper* a_dst_contents, 309 State* GetStateAt(int index) const { 314 bool StateEquals(int index, const State& state) { 315 State* s = GetStateAt(index); 316 EXPECT_EQ(state.src_contents, s->src_contents); 317 EXPECT_EQ(state.dst_contents, s->dst_contents) [all...] |
/external/wpa_supplicant_6/wpa_supplicant/src/eap_server/ |
eap_tnc.c | 25 FAIL } state; member in struct:eap_tnc_data 51 data->state = START; 84 data->state = FAIL; 90 data->state = CONTINUE; 149 data->state = DONE; 152 data->state = FAIL; 156 data->state = FAIL; 159 data->state = DONE; 234 data->state = WAIT_FRAG_ACK; 245 switch (data->state) { [all...] |
/external/webkit/Source/WebCore/bindings/scripts/test/GObject/ |
WebKitDOMTestObj.cpp | 63 WebCore::JSMainThreadNullState state; local 72 WebCore::JSMainThreadNullState state; local 89 WebCore::JSMainThreadNullState state; local 99 WebCore::JSMainThreadNullState state; local 117 WebCore::JSMainThreadNullState state; local 128 WebCore::JSMainThreadNullState state; local 147 WebCore::JSMainThreadNullState state; local 166 WebCore::JSMainThreadNullState state; local 191 WebCore::JSMainThreadNullState state; local 206 WebCore::JSMainThreadNullState state; local 221 WebCore::JSMainThreadNullState state; local 242 WebCore::JSMainThreadNullState state; local 257 WebCore::JSMainThreadNullState state; local 266 WebCore::JSMainThreadNullState state; local 275 WebCore::JSMainThreadNullState state; local 284 WebCore::JSMainThreadNullState state; local 293 WebCore::JSMainThreadNullState state; local 302 WebCore::JSMainThreadNullState state; local 311 WebCore::JSMainThreadNullState state; local 322 WebCore::JSMainThreadNullState state; local 337 WebCore::JSMainThreadNullState state; local 354 WebCore::JSMainThreadNullState state; local 363 WebCore::JSMainThreadNullState state; local 372 WebCore::JSMainThreadNullState state; local 381 WebCore::JSMainThreadNullState state; local 390 WebCore::JSMainThreadNullState state; local 399 WebCore::JSMainThreadNullState state; local 409 WebCore::JSMainThreadNullState state; local 419 WebCore::JSMainThreadNullState state; local 429 WebCore::JSMainThreadNullState state; local 440 WebCore::JSMainThreadNullState state; local 450 WebCore::JSMainThreadNullState state; local 459 WebCore::JSMainThreadNullState state; local 469 WebCore::JSMainThreadNullState state; local 478 WebCore::JSMainThreadNullState state; local 488 WebCore::JSMainThreadNullState state; local 497 WebCore::JSMainThreadNullState state; local 507 WebCore::JSMainThreadNullState state; local 516 WebCore::JSMainThreadNullState state; local 526 WebCore::JSMainThreadNullState state; local 535 WebCore::JSMainThreadNullState state; local 545 WebCore::JSMainThreadNullState state; local 556 WebCore::JSMainThreadNullState state; local 567 WebCore::JSMainThreadNullState state; local 582 WebCore::JSMainThreadNullState state; local 593 WebCore::JSMainThreadNullState state; local 608 WebCore::JSMainThreadNullState state; local 618 WebCore::JSMainThreadNullState state; local 627 WebCore::JSMainThreadNullState state; local 637 WebCore::JSMainThreadNullState state; local 648 WebCore::JSMainThreadNullState state; local 658 WebCore::JSMainThreadNullState state; local 667 WebCore::JSMainThreadNullState state; local 677 WebCore::JSMainThreadNullState state; local 686 WebCore::JSMainThreadNullState state; local 696 WebCore::JSMainThreadNullState state; local 705 WebCore::JSMainThreadNullState state; local 715 WebCore::JSMainThreadNullState state; local 726 WebCore::JSMainThreadNullState state; local 736 WebCore::JSMainThreadNullState state; local 747 WebCore::JSMainThreadNullState state; local 757 WebCore::JSMainThreadNullState state; local 768 WebCore::JSMainThreadNullState state; local 778 WebCore::JSMainThreadNullState state; local 787 WebCore::JSMainThreadNullState state; local 797 WebCore::JSMainThreadNullState state; local 806 WebCore::JSMainThreadNullState state; local 816 WebCore::JSMainThreadNullState state; local 827 WebCore::JSMainThreadNullState state; local 837 WebCore::JSMainThreadNullState state; local 848 WebCore::JSMainThreadNullState state; local 864 WebCore::JSMainThreadNullState state; local 879 WebCore::JSMainThreadNullState state; local 889 WebCore::JSMainThreadNullState state; local 904 WebCore::JSMainThreadNullState state; local 915 WebCore::JSMainThreadNullState state; local 932 WebCore::JSMainThreadNullState state; local 942 WebCore::JSMainThreadNullState state; local 959 WebCore::JSMainThreadNullState state; local 970 WebCore::JSMainThreadNullState state; local 984 WebCore::JSMainThreadNullState state; local 995 WebCore::JSMainThreadNullState state; local 1009 WebCore::JSMainThreadNullState state; local 1020 WebCore::JSMainThreadNullState state; local 1034 WebCore::JSMainThreadNullState state; local 1044 WebCore::JSMainThreadNullState state; local 1054 WebCore::JSMainThreadNullState state; local 1064 WebCore::JSMainThreadNullState state; local 1073 WebCore::JSMainThreadNullState state; local 1159 WebCore::JSMainThreadNullState state; local 1302 WebCore::JSMainThreadNullState state; local [all...] |
/packages/apps/Contacts/tests/src/com/android/contacts/ |
EntityModifierTests.java | 225 final EntityDelta state = getEntity(TEST_ID); local 226 EntityModifier.insertChild(state, kindPhone, typeHome); 227 EntityModifier.insertChild(state, kindPhone, typeWork); 230 validTypes = EntityModifier.getValidTypes(state, kindPhone, null); 236 EntityModifier.insertChild(state, kindPhone, typeHome); 239 validTypes = EntityModifier.getValidTypes(state, kindPhone, null); 245 EntityModifier.insertChild(state, kindPhone, typeHome); 246 EntityModifier.insertChild(state, kindPhone, typeHome); 249 validTypes = EntityModifier.getValidTypes(state, kindPhone, null); 268 final EntityDelta state = getEntity(TEST_ID) local 300 final EntityDelta state = getEntity(TEST_ID); local 342 final EntityDelta state = getEntity(TEST_ID); local 359 final EntityDelta state = getEntity(TEST_ID); local 400 final EntityDelta state = EntityDeltaListTests.buildBeforeEntity(TEST_ID, VER_FIRST); local 425 final EntityDelta state = EntityDeltaListTests.buildBeforeEntity(TEST_ID, VER_FIRST); local 453 final EntityDelta state = getEntity(TEST_ID); local 482 final EntityDelta state = getEntity(TEST_ID, before); local 530 final EntityDelta state = getEntity(null); local 557 final EntityDelta state = getEntity(null); local 602 final EntityDelta state = getEntity(TEST_ID, first, second); local 667 final EntityDelta state = getEntity(TEST_ID, first); local 719 final EntityDelta state = getEntity(TEST_ID, first); local 737 final EntityDelta state = getEntity(TEST_ID, first); local 753 final EntityDelta state = getEntity(TEST_ID); local 766 final EntityDelta state = getEntity(TEST_ID); local [all...] |