/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
StateManager.java | 38 private static final String KEY_MAIN = "activity-state"; 54 ActivityState state = null; local 56 state = klass.newInstance(); 70 state.initialize(mActivity, data); 72 mStack.push(new StateEntry(data, state)); 73 state.onCreate(data, null); 74 if (mIsResumed) state.resume(); 80 ActivityState state = null; local 82 state = klass.newInstance(); 86 state.initialize(mActivity, data) 244 ActivityState state = null; local 277 Bundle state = bundle.getBundle(KEY_STATE); local 306 Bundle state = new Bundle(); local [all...] |
/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/skia/tests/ |
PathOpsOpCubicThreadedTest.cpp | 16 PathOpsThreadState& state = *data; local 18 bool progress = state.fReporter->verbose(); // FIXME: break out into its own parameter? 34 str += sprintf(str, " path.moveTo(%d,%d);\n", state.fA, state.fB); 35 str += sprintf(str, " path.cubicTo(%d,%d, %d,%d, %d,%d);\n", state.fC, state.fD, 43 state.fB, state.fA, state.fD, state.fC) [all...] |
PathOpsOpRectThreadedTest.cpp | 20 PathOpsThreadState& state = *data; local 22 bool progress = state.fReporter->verbose(); // FIXME: break out into its own parameter? 38 " SkPath::kCW_Direction);\n", state.fA, state.fA, state.fB, state.fB); 40 " SkPath::kCW_Direction);\n", state.fC, state.fC, state.fD, state.fD) [all...] |
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/ |
ec_gains.h | 120 * Purpose : Resets state memory 124 ec_gain_codeState *state 135 ec_gain_codeState *st, /* i/o : State struct */ 136 gc_predState *pred_state, /* i/o : MA predictor state */ 137 Word16 state, /* i : state of the state machine */ 144 * Purpose : update the codebook gain concealment state; 150 ec_gain_codeState *st, /* i/o : State struct */ 160 * Purpose: Resets state memor [all...] |
ph_disp.h | 129 ; Purpose: Initializes state memory 132 Word16 ph_disp_reset(ph_dispState *state); 137 ; Purpose: The memory used for state memory is freed 140 void ph_disp_exit(ph_dispState **state); 145 ; Purpose: mark phase dispersion as locked in state struct 148 void ph_disp_lock(ph_dispState *state); 153 ; Purpose: mark phase dispersion as unlocked in state struct 157 void ph_disp_release(ph_dispState *state); 169 ph_dispState *state, /* i/o : State struct * [all...] |
sp_dec.cpp | 137 state = pointer to an array of pointers to structures of type 145 to by state is set to NULL 147 by state is set to NULL 149 by state is set to NULL 151 to by state is set to the input no_hp_post_MR122 166 This function allocates memory for filter structure and initializes state 185 int Speech_Decode_Frame_init (Speech_Decode_FrameState **state, 190 if (state == (Speech_Decode_FrameState **) NULL){ 194 *state = NULL; 199 fprintf(stderr, "Speech_Decode_Frame_init: can not malloc state " 376 Speech_Decode_FrameState *state = local 487 Speech_Decode_FrameState **state = local [all...] |
/libcore/dom/src/test/java/org/w3c/domts/level1/core/ |
hc_domimplementationfeaturexml.java | 64 boolean state; 69 state = domImpl.hasFeature("html", "1.0"); 70 assertTrue("supports_html_1.0", state); 72 state = domImpl.hasFeature("xml", "1.0"); 73 assertTrue("supports_xml_1.0", state);
|
/libcore/dom/src/test/java/org/w3c/domts/level2/core/ |
elementhasattribute03.java | 68 boolean state; 74 state = element.hasAttribute("domestic"); 75 assertFalse("elementhasattribute03_False", state); 77 state = element.hasAttribute("domestic"); 78 assertTrue("elementhasattribute03_True", state);
|
/external/elfutils/libelf/ |
elf_end.c | 92 if (elf->state.ar.ar_sym != (Elf_Arsym *) -1l) 93 free (elf->state.ar.ar_sym); 94 elf->state.ar.ar_sym = NULL; 96 if (elf->state.ar.children != NULL) 107 state of REF_COUNT==0 is handled all over the library, so 113 if (parent->state.ar.children == elf) 114 parent->state.ar.children = elf->next; 117 struct Elf *child = parent->state.ar.children; 132 if (elf->state.ar.long_names != NULL) 133 free (elf->state.ar.long_names) [all...] |
/external/chromium_org/third_party/WebKit/Source/core/css/resolver/ |
AnimatedStyleBuilder.cpp | 66 Length animatableValueToLength(const AnimatableValue* value, const StyleResolverState& state, NumberRange range = AllValues) 69 return toAnimatableLength(value)->toLength(state.cssToLengthConversionData(), range); 72 return cssPrimitiveValue->convertToLength<AnyConversion>(state.cssToLengthConversionData()); 75 BorderImageLength animatableValueToBorderImageLength(const AnimatableValue* value, const StyleResolverState& state) 78 return BorderImageLength(toAnimatableLength(value)->toLength(state.cssToLengthConversionData(), NonNegativeValues)); 83 return BorderImageLength(cssPrimitiveValue->convertToLength<AnyConversion>(state.cssToLengthConversionData())); 92 LengthBox animatableValueToLengthBox(const AnimatableValue* value, const StyleResolverState& state, NumberRange range = AllValues) 96 animatableValueToLength(animatableLengthBox->top(), state, range), 97 animatableValueToLength(animatableLengthBox->right(), state, range), 98 animatableValueToLength(animatableLengthBox->bottom(), state, range) [all...] |
/external/chromium_org/chrome/browser/extensions/ |
default_apps_unittest.cc | 53 int state = profile->GetPrefs()->GetInteger(prefs::kDefaultAppsInstallState); local 54 EXPECT_TRUE(state == default_apps::kAlreadyInstalledDefaultApps); 58 state = profile->GetPrefs()->GetInteger(prefs::kDefaultAppsInstallState); 59 EXPECT_TRUE(state == default_apps::kAlreadyInstalledDefaultApps); 61 // The default apps should not be installed if the state is 66 state = profile->GetPrefs()->GetInteger(prefs::kDefaultAppsInstallState); 67 EXPECT_TRUE(state == default_apps::kNeverInstallDefaultApps); 73 state = profile->GetPrefs()->GetInteger(prefs::kDefaultAppsInstallState); 74 EXPECT_TRUE(state == default_apps::kAlreadyInstalledDefaultApps); 90 state = profile->GetPrefs()->GetInteger(prefs::kDefaultAppsInstallState) [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/xa/ |
README | 30 The XA state tracker is intended as a versioned interface to gallium for 32 composite / video work for the Xorg state tracker. 34 The motivation behind this state tracker is that the Xorg state tracker has 42 Since Gallium3D is not versioned, the Xorg state tracker needs to be compiled 46 Therefore the xa state tracker is intended to supply the following 59 should investigate sharing the loadig mechanism with the EGL state tracker.
|
/external/lzma/C/ |
Delta.c | 6 void Delta_Init(Byte *state)
10 state[i] = 0;
20 void Delta_Encode(Byte *state, unsigned delta, Byte *data, SizeT size)
24 MyMemCpy(buf, state, delta);
39 MyMemCpy(state, buf + j, delta - j);
40 MyMemCpy(state + delta - j, buf, j);
43 void Delta_Decode(Byte *state, unsigned delta, Byte *data, SizeT size)
47 MyMemCpy(buf, state, delta);
60 MyMemCpy(state, buf + j, delta - j);
61 MyMemCpy(state + delta - j, buf, j); [all...] |
/external/mesa3d/src/gallium/state_trackers/xa/ |
README | 30 The XA state tracker is intended as a versioned interface to gallium for 32 composite / video work for the Xorg state tracker. 34 The motivation behind this state tracker is that the Xorg state tracker has 42 Since Gallium3D is not versioned, the Xorg state tracker needs to be compiled 46 Therefore the xa state tracker is intended to supply the following 59 should investigate sharing the loadig mechanism with the EGL state tracker.
|
/external/smack/src/org/jivesoftware/smackx/pubsub/ |
Subscription.java | 25 protected State state;
field in class:Subscription 28 public enum State
58 * and JID. The server will have supplied the subscription id and current state.
63 * @param state The current state of the subscription
65 public Subscription(String jid, String nodeId, String subscriptionId, State state)
70 this.state = state;
[all...] |
/external/speex/libspeex/ |
speex_callbacks.c | 43 EXPORT int speex_inband_handler(SpeexBits *bits, SpeexCallback *callback_list, void *state) 53 return callback->func(bits, state, callback->data); 75 EXPORT int speex_std_mode_request_handler(SpeexBits *bits, void *state, void *data) 83 EXPORT int speex_std_low_mode_request_handler(SpeexBits *bits, void *state, void *data) 91 EXPORT int speex_std_high_mode_request_handler(SpeexBits *bits, void *state, void *data) 100 EXPORT int speex_std_vbr_request_handler(SpeexBits *bits, void *state, void *data) 109 EXPORT int speex_std_enh_request_handler(SpeexBits *bits, void *state, void *data) 118 EXPORT int speex_std_vbr_quality_request_handler(SpeexBits *bits, void *state, void *data) 127 EXPORT int speex_std_char_handler(SpeexBits *bits, void *state, void *data) 139 EXPORT int speex_default_user_handler(SpeexBits *bits, void *state, void *data [all...] |
/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/av/media/libstagefright/codecs/amrnb/enc/src/ |
sp_enc.cpp | 110 state = pointer to an array of pointers to structures of type 117 by state is set to NULL 119 by state is set to NULL 120 dtx field of the structure pointed to by the pointer pointed to by state 136 This function allocates memory for filter structure and initializes state 168 fprintf(stderr, "Speech_Encode_Frame_init: can not malloc state " 210 [State any special notes, constraints or cautions for users of this function] 233 /* fprintf(stderr, "Speech_Encode_Frame_init: can not malloc state " 264 state = pointer to structures of type Speech_Decode_FrameState 281 This function resets state memor 344 Speech_Encode_FrameState *state = local 453 Speech_Encode_FrameState **state = local [all...] |
/frameworks/compile/mclinker/include/mcld/LD/ |
Diagnostic.h | 32 { return m_Engine.state().ID; } 35 { return m_Engine.state().numArgs; } 39 return (DiagnosticEngine::ArgumentKind)m_Engine.state().ArgumentKinds[pIdx]; 45 return m_Engine.state().ArgumentStrs[pIdx]; 51 return reinterpret_cast<const char*>(m_Engine.state().ArgumentVals[pIdx]); 57 return (int)m_Engine.state().ArgumentVals[pIdx]; 63 return (unsigned int)m_Engine.state().ArgumentVals[pIdx]; 69 return (unsigned long long)m_Engine.state().ArgumentVals[pIdx]; 75 return (bool)m_Engine.state().ArgumentVals[pIdx]; 81 return m_Engine.state().ArgumentVals[pIdx] [all...] |
/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" 2832 CheckState state; local [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...] |
/external/easymock/src/org/easymock/internal/ |
MocksControl.java | 28 private IMocksControlState state;
field in class:MocksControl 44 return state;
49 state.assertRecordState();
60 state.assertRecordState();
76 state = new RecordState(behavior);
97 state.replay();
98 state = new ReplayState(behavior);
107 state.verify();
117 state.checkOrder(value);
125 state.makeThreadSafe(threadSafe); [all...] |
/external/jsilver/src/com/google/clearsilver/jsilver/syntax/lexer/ |
Lexer.java | 12 protected State state = State.CONTENT; field in class:Lexer 69 @SuppressWarnings("hiding") int[][][] gotoTable = Lexer.gotoTable[this.state.id()]; 70 @SuppressWarnings("hiding") int[] accept = Lexer.accept[this.state.id()]; 167 switch(state.id()) 169 case 0: state = State.CONTENT; break; 182 switch(state.id()) 184 case 3: state = State.COMMENT; break [all...] |
/external/antlr/antlr-3.4/runtime/C/src/ |
antlr3lexer.c | 72 antlr3LexerNew(ANTLR3_UINT32 sizeHint, pANTLR3_RECOGNIZER_SHARED_STATE state) 88 lexer->rec = antlr3BaseRecognizerNew(ANTLR3_TYPE_LEXER, sizeHint, state); 105 if (lexer->rec->state->tokSource == NULL) 107 lexer->rec->state->tokSource = (pANTLR3_TOKEN_SOURCE)ANTLR3_CALLOC(1, sizeof(ANTLR3_TOKEN_SOURCE)); 109 if (lexer->rec->state->tokSource == NULL) 116 lexer->rec->state->tokSource->super = lexer; 121 lexer->rec->state->tokSource->nextToken = nextToken; 122 lexer->rec->state->tokSource->strFactory = NULL; 124 lexer->rec->state->tokFactory = NULL; 149 specialT = &(lexer->rec->state->tokSource->eofToken) 220 pANTLR3_RECOGNIZER_SHARED_STATE state; local [all...] |