Searched refs:current_state (Results 1 - 25 of 53) sorted by relevance

123

/external/ceres-solver/internal/ceres/
H A Dline_search_minimizer.cc116 State current_state(num_parameters, num_effective_parameters);
134 if (!Evaluate(evaluator, x, &current_state, &summary->message)) {
142 summary->initial_cost = current_state.cost + summary->fixed_cost;
143 iteration_summary.cost = current_state.cost + summary->fixed_cost;
145 iteration_summary.gradient_max_norm = current_state.gradient_max_norm;
146 iteration_summary.gradient_norm = sqrt(current_state.gradient_squared_norm);
238 current_state.search_direction = -current_state.gradient;
242 current_state,
243 &current_state
[all...]
/external/valgrind/main/callgrind/
H A Dthreads.c212 CLG_(current_state).cost = es->cost;
216 CLG_(init_exec_state)( &CLG_(current_state) );
217 CLG_(current_state).sig = sigNum;
230 CLG_ASSERT(CLG_(current_state).sig >0);
233 CLG_(post_signal)( CLG_(current_tid), CLG_(current_state).sig );
246 CLG_ASSERT(sigNum == CLG_(current_state).sig);
256 if (CLG_(current_state).cxt) {
258 fn_number = CLG_(current_state).cxt->fn[0]->number;
262 CLG_(current_state).cxt->fn[0]->name, *pactive);
279 CLG_ASSERT(CLG_(current_state)
[all...]
H A Dcallstack.c142 CLG_(current_state).collect = !CLG_(current_state).collect;
145 CLG_(current_state).collect ? "ON" : "OFF");
160 CLG_(current_state).collect = !CLG_(current_state).collect;
163 CLG_(current_state).collect ? "ON" : "OFF");
206 if (CLG_(current_state).nonskipped) {
208 CLG_ASSERT(CLG_(current_state).nonskipped == from);
215 CLG_(current_state).cost );
251 current_entry->nonskipped = CLG_(current_state)
[all...]
H A Dbbcc.c500 source_bbcc->ecounter_sum = CLG_(current_state).collect ? 1 : 0;
502 else if (CLG_(current_state).collect)
507 CLG_(current_state).cxt = 0;
517 source_bbcc->cxt = CLG_(current_state).cxt;
520 CLG_ASSERT(CLG_(current_state).bbcc);
523 fn_number = CLG_(current_state).bbcc->cxt->fn[0]->number;
531 CLG_(current_state).nonskipped = 0; /* we didn't skip this function */
533 CLG_(push_cxt)( CLG_(current_state).bbcc->cxt->fn[0] );
534 CLG_(push_call_stack)(source_bbcc, 0, CLG_(current_state).bbcc,
540 if (CLG_(current_state)
[all...]
H A Dcontext.c288 CLG_(current_state).cxt ?
289 CLG_(current_state).cxt->base_number : -1);
294 cs->entry[cs->sp].cxt = CLG_(current_state).cxt;
331 CLG_(current_state).cxt = CLG_(get_cxt)(CLG_(current_fn_stack).top);
335 CLG_(current_state).cxt ?
336 CLG_(current_state).cxt->base_number : -1,
H A Dsim.c864 CLG_(current_state).collect, loaded->use_base);
866 if (CLG_(current_state).collect && loaded->use_base) {
877 loaded->use_base = (CLG_(current_state).nonskipped) ?
878 CLG_(current_state).nonskipped->skipped :
952 CLG_(current_state).collect, loaded->use_base); \
954 if (CLG_(current_state).collect && loaded->use_base) { \
968 loaded->use_base = (CLG_(current_state).nonskipped) ? \
969 CLG_(current_state).nonskipped->skipped : \
989 if (!CLG_(current_state).collect) return;
1073 if (CLG_(current_state)
[all...]
H A Dmain.c53 exec_state CLG_(current_state);
116 if (!CLG_(current_state).collect) return;
120 CLG_(current_state).cost[ fullOffset(EG_BUS) ]++;
122 if (CLG_(current_state).nonskipped)
123 cost_Bus = CLG_(current_state).nonskipped->skipped + fullOffset(EG_BUS);
147 if (!CLG_(current_state).collect) return;
151 if (CLG_(current_state).nonskipped)
152 cost_Bc = CLG_(current_state).nonskipped->skipped + fullOffset(EG_BC);
157 CLG_(current_state).cost[ fullOffset_Bc ]++;
160 CLG_(current_state)
[all...]
/external/chromium_org/ash/sticky_keys/
H A Dsticky_keys_unittest.cc208 EXPECT_EQ(STICKY_KEY_STATE_DISABLED, sticky_key.current_state());
212 EXPECT_EQ(STICKY_KEY_STATE_ENABLED, sticky_key.current_state());
228 EXPECT_EQ(STICKY_KEY_STATE_DISABLED, sticky_key.current_state());
251 EXPECT_EQ(STICKY_KEY_STATE_DISABLED, sticky_key.current_state());
255 EXPECT_EQ(STICKY_KEY_STATE_ENABLED, sticky_key.current_state());
259 EXPECT_EQ(STICKY_KEY_STATE_LOCKED, sticky_key.current_state());
271 EXPECT_EQ(STICKY_KEY_STATE_LOCKED, sticky_key.current_state());
281 EXPECT_EQ(STICKY_KEY_STATE_LOCKED, sticky_key.current_state());
285 EXPECT_EQ(STICKY_KEY_STATE_DISABLED, sticky_key.current_state());
292 EXPECT_EQ(STICKY_KEY_STATE_DISABLED, sticky_key.current_state());
[all...]
H A Dsticky_keys_controller.cc190 ui::EF_SHIFT_DOWN, shift_sticky_key_->current_state());
192 ui::EF_CONTROL_DOWN, ctrl_sticky_key_->current_state());
194 ui::EF_ALT_DOWN, alt_sticky_key_->current_state());
196 ui::EF_ALTGR_DOWN, altgr_sticky_key_->current_state());
198 ui::EF_MOD3_DOWN, mod3_sticky_key_->current_state());
201 shift_sticky_key_->current_state() != STICKY_KEY_STATE_DISABLED ||
202 alt_sticky_key_->current_state() != STICKY_KEY_STATE_DISABLED ||
203 altgr_sticky_key_->current_state() != STICKY_KEY_STATE_DISABLED ||
204 ctrl_sticky_key_->current_state() != STICKY_KEY_STATE_DISABLED ||
205 mod3_sticky_key_->current_state() !
[all...]
H A Dsticky_keys_controller.h219 StickyKeyState current_state() const { return current_state_; } function in class:ash::StickyKeysHandler
/external/chromium_org/athena/content/
H A Dapp_activity.cc46 ActivityState current_state = current_state_; local
56 if (current_state == ACTIVITY_VISIBLE)
60 DCHECK(ACTIVITY_VISIBLE == current_state ||
61 ACTIVITY_INVISIBLE == current_state);
65 DCHECK_EQ(ACTIVITY_BACKGROUND_LOW_PRIORITY, current_state);
69 DCHECK_NE(ACTIVITY_UNLOADED, current_state);
/external/chromium_org/components/variations/
H A Dvariations_seed_simulator.cc19 // Fills in |current_state| with the current process' active field trials, as a
21 void GetCurrentTrialState(std::map<std::string, std::string>* current_state) { argument
25 (*current_state)[trial_groups[i].trial_name] = trial_groups[i].group_name;
128 std::map<std::string, std::string> current_state; local
129 GetCurrentTrialState(&current_state);
135 current_state.find(study.name());
145 if (it == current_state.end())
/external/qemu/distrib/sdl-1.2.15/src/events/
H A DSDL_events.c440 Uint8 current_state; local
444 current_state = SDL_IGNORE;
447 current_state = SDL_ENABLE;
458 return(current_state);
462 current_state = SDL_ProcessEvents[type];
480 return(current_state);
/external/chromium_org/third_party/pexpect/
H A DFSM.py14 (input_symbol, current_state) --> (action, next_state)
21 (current_state) --> (action, next_state)
30 current_state, or "memory". The "memory" attribute can be any object that you
38 (input_symbol, current_state) --> (action, next_state)
40 If the pair (input_symbol, current_state) is found then process() will call the
43 If the FSM cannot find a match for (input_symbol, current_state) it will then
46 (current_state) --> (action, next_state)
48 If the current_state is found then the process() method will call the
51 for a current_state and ANY input_symbol. Hence, it is called the "any" table.
53 (input_symbol, current_state)
[all...]
/external/lldb/test/pexpect-2.4/
H A DFSM.py14 (input_symbol, current_state) --> (action, next_state)
21 (current_state) --> (action, next_state)
30 current_state, or "memory". The "memory" attribute can be any object that you
38 (input_symbol, current_state) --> (action, next_state)
40 If the pair (input_symbol, current_state) is found then process() will call the
43 If the FSM cannot find a match for (input_symbol, current_state) it will then
46 (current_state) --> (action, next_state)
48 If the current_state is found then the process() method will call the
51 for a current_state and ANY input_symbol. Hence, it is called the "any" table.
53 (input_symbol, current_state)
[all...]
/external/chromium_org/remoting/host/setup/
H A Ddaemon_installer_win.cc182 ScopedVariant current_state; local
184 DISPATCH_PROPERTYGET, current_state.Receive());
189 if (current_state.type() != VT_DISPATCH) {
195 hr = dispatch::Invoke(V_DISPATCH(&current_state), L"stateValue",
244 hr = dispatch::Invoke(V_DISPATCH(&current_state), L"errorCode",
/external/pcre/dist/
H A Dpcre_dfa_exec.c640 stateblock *current_state = active_states + i; local
643 int state_offset = current_state->offset;
661 if (current_state->data > 0)
664 ADD_NEW_DATA(state_offset, current_state->count,
665 current_state->data - 1);
671 current_state->offset = state_offset = -state_offset;
682 active_states[j].count == current_state->count)
1166 count = current_state->count; /* Already matched */
1256 count = current_state->count; /* Number already matched */
1285 count = current_state
[all...]
/external/chromium_org/chrome/browser/ui/passwords/
H A Dmanage_passwords_ui_controller.cc134 password_manager::ui::State current_state = state_; local
155 if (current_state != state_)
/external/chromium_org/content/browser/battery_status/
H A Dbattery_status_manager_mac.cc64 CFStringRef current_state = local
69 CFStringsAreEqual(current_state, CFSTR(kIOPSBatteryPowerValue));
/external/srec/srec/test/SRecTest/src/
H A DSRecTest.c2943 SENTENCE_CLEANING_STATES current_state; local
2949 current_state = SENTENCE_BEGIN;
2959 switch ( current_state )
2999 switch ( current_state )
3013 current_state = SENTENCE_MIDDLE_WITH_SPACE;
3035 switch ( current_state )
3038 current_state = SENTENCE_BEGIN_BRACKET_BEGIN;
3048 current_state = SENTENCE_BEGIN_BRACKET_BEGIN;
3054 current_state = SENTENCE_MIDDLE_BRACKET_BEGIN;
3064 current_state
[all...]
/external/srec/srec/test/SRecTestAudio/src/
H A DSRecTestAudio.c2558 SENTENCE_CLEANING_STATES current_state; local
2564 current_state = SENTENCE_BEGIN;
2573 switch ( current_state )
2613 switch ( current_state )
2627 current_state = SENTENCE_MIDDLE_WITH_SPACE;
2649 switch ( current_state )
2652 current_state = SENTENCE_BEGIN_BRACKET_BEGIN;
2662 current_state = SENTENCE_BEGIN_BRACKET_BEGIN;
2668 current_state = SENTENCE_MIDDLE_BRACKET_BEGIN;
2678 current_state
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vega/
H A Dapi_params.c45 static INLINE struct vg_state *current_state() function
72 struct vg_state *state = current_state();
132 struct vg_state *state = current_state();
265 struct vg_state *state = current_state();
393 struct vg_state *state = current_state();
516 const struct vg_state *state = current_state();
577 const struct vg_state *state = current_state();
693 const struct vg_state *state = current_state();
767 const struct vg_state *state = current_state();
868 const struct vg_state *state = current_state();
[all...]
/external/mesa3d/src/gallium/state_trackers/vega/
H A Dapi_params.c45 static INLINE struct vg_state *current_state() function
72 struct vg_state *state = current_state();
132 struct vg_state *state = current_state();
265 struct vg_state *state = current_state();
393 struct vg_state *state = current_state();
516 const struct vg_state *state = current_state();
577 const struct vg_state *state = current_state();
693 const struct vg_state *state = current_state();
767 const struct vg_state *state = current_state();
868 const struct vg_state *state = current_state();
[all...]
/external/chromium_org/media/audio/alsa/
H A Dalsa_output.cc177 InternalState current_state = state(); local
178 DCHECK(current_state == kCreated ||
179 current_state == kIsClosed ||
180 current_state == kInError);
/external/chromium_org/net/disk_cache/blockfile/
H A Dindex_table_v3.cc825 int current_state = cell.GetState(); local
826 if (current_state != ENTRY_FIXING) {
827 bool present = ((current_state & 3) != 0); // Look at the last two bits.
831 if (current_state == ENTRY_DELETED) {
835 current_state = ENTRY_FIXING;
843 if (current_state == ENTRY_FIXING)

Completed in 1004 milliseconds

123