Home
last modified time | relevance | path

Searched refs:current_state (Results 1 – 23 of 23) sorted by relevance

/external/ceres-solver/internal/ceres/
Dline_search_minimizer.cc116 State current_state(num_parameters, num_effective_parameters); in Minimize() local
134 if (!Evaluate(evaluator, x, &current_state, &summary->message)) { in Minimize()
142 summary->initial_cost = current_state.cost + summary->fixed_cost; in Minimize()
143 iteration_summary.cost = current_state.cost + summary->fixed_cost; in Minimize()
145 iteration_summary.gradient_max_norm = current_state.gradient_max_norm; in Minimize()
146 iteration_summary.gradient_norm = sqrt(current_state.gradient_squared_norm); in Minimize()
238 current_state.search_direction = -current_state.gradient; in Minimize()
242 current_state, in Minimize()
243 &current_state.search_direction); in Minimize()
278 current_state.search_direction = -current_state.gradient; in Minimize()
[all …]
/external/valgrind/callgrind/
Dthreads.c215 CLG_(current_state).cost = es->cost; in CLG_()
219 CLG_(init_exec_state)( &CLG_(current_state) ); in CLG_()
220 CLG_(current_state).sig = sigNum; in CLG_()
233 CLG_ASSERT(CLG_(current_state).sig >0); in CLG_()
236 CLG_(post_signal)( CLG_(current_tid), CLG_(current_state).sig ); in CLG_()
249 CLG_ASSERT(sigNum == CLG_(current_state).sig); in CLG_()
259 if (CLG_(current_state).cxt) { in CLG_()
261 fn_number = CLG_(current_state).cxt->fn[0]->number; in CLG_()
265 CLG_(current_state).cxt->fn[0]->name, *pactive); in CLG_()
282 CLG_ASSERT(CLG_(current_state).cost == es->cost); in CLG_()
[all …]
Dcallstack.c142 CLG_(current_state).collect = !CLG_(current_state).collect; in function_entered()
145 CLG_(current_state).collect ? "ON" : "OFF"); in function_entered()
160 CLG_(current_state).collect = !CLG_(current_state).collect; in function_left()
163 CLG_(current_state).collect ? "ON" : "OFF"); in function_left()
206 if (CLG_(current_state).nonskipped) { in CLG_()
208 CLG_ASSERT(CLG_(current_state).nonskipped == from); in CLG_()
215 CLG_(current_state).cost ); in CLG_()
251 current_entry->nonskipped = CLG_(current_state).nonskipped; in CLG_()
261 CLG_(current_state).nonskipped = 0; in CLG_()
262 else if (!CLG_(current_state).nonskipped) { in CLG_()
[all …]
Dbbcc.c507 source_bbcc->ecounter_sum = CLG_(current_state).collect ? 1 : 0; in handleUnderflow()
509 else if (CLG_(current_state).collect) in handleUnderflow()
514 CLG_(current_state).cxt = 0; in handleUnderflow()
524 source_bbcc->cxt = CLG_(current_state).cxt; in handleUnderflow()
527 CLG_ASSERT(CLG_(current_state).bbcc); in handleUnderflow()
530 fn_number = CLG_(current_state).bbcc->cxt->fn[0]->number; in handleUnderflow()
538 CLG_(current_state).nonskipped = 0; /* we didn't skip this function */ in handleUnderflow()
540 CLG_(push_cxt)( CLG_(current_state).bbcc->cxt->fn[0] ); in handleUnderflow()
541 CLG_(push_call_stack)(source_bbcc, 0, CLG_(current_state).bbcc, in handleUnderflow()
547 if (CLG_(current_state).sig == 0) in handleUnderflow()
[all …]
Dsim.c864 CLG_(current_state).collect, loaded->use_base); in update_LL_use()
866 if (CLG_(current_state).collect && loaded->use_base) { in update_LL_use()
877 loaded->use_base = (CLG_(current_state).nonskipped) ? in update_LL_use()
878 CLG_(current_state).nonskipped->skipped : in update_LL_use()
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; in cacheuse_finish()
1073 if (CLG_(current_state).collect) { in log_1I0D()
[all …]
Dmain.c54 exec_state CLG_(current_state);
117 if (!CLG_(current_state).collect) return; in log_global_event()
121 CLG_(current_state).cost[ fullOffset(EG_BUS) ]++; in log_global_event()
123 if (CLG_(current_state).nonskipped) in log_global_event()
124 cost_Bus = CLG_(current_state).nonskipped->skipped + fullOffset(EG_BUS); in log_global_event()
148 if (!CLG_(current_state).collect) return; in log_cond_branch()
152 if (CLG_(current_state).nonskipped) in log_cond_branch()
153 cost_Bc = CLG_(current_state).nonskipped->skipped + fullOffset(EG_BC); in log_cond_branch()
158 CLG_(current_state).cost[ fullOffset_Bc ]++; in log_cond_branch()
161 CLG_(current_state).cost[ fullOffset_Bc+1 ]++; in log_cond_branch()
[all …]
Dcontext.c281 CLG_(current_state).cxt ? in CLG_()
282 (Int)CLG_(current_state).cxt->base_number : -1); in CLG_()
287 cs->entry[cs->sp].cxt = CLG_(current_state).cxt; in CLG_()
324 CLG_(current_state).cxt = CLG_(get_cxt)(CLG_(current_fn_stack).top); in CLG_()
328 CLG_(current_state).cxt ? in CLG_()
329 (Int)CLG_(current_state).cxt->base_number : -1, in CLG_()
Ddebug.c435 bbcc = CLG_(current_state).bbcc; in CLG_()
436 print_mangled_cxt(CLG_(current_state).cxt, in CLG_()
Dglobal.h791 extern exec_state CLG_(current_state);
Ddump.c1049 e->enter_cost, CLG_(current_state).cost); in cs_addCount()
1444 CLG_(current_state).cost ); in print_bbccs_of_thread()
/external/pcre/dist/
Dpcre_dfa_exec.c640 stateblock *current_state = active_states + i; in internal_dfa_exec() local
643 int state_offset = current_state->offset; in internal_dfa_exec()
661 if (current_state->data > 0) in internal_dfa_exec()
664 ADD_NEW_DATA(state_offset, current_state->count, in internal_dfa_exec()
665 current_state->data - 1); in internal_dfa_exec()
671 current_state->offset = state_offset = -state_offset; in internal_dfa_exec()
682 active_states[j].count == current_state->count) in internal_dfa_exec()
1166 count = current_state->count; /* Already matched */ in internal_dfa_exec()
1256 count = current_state->count; /* Number already matched */ in internal_dfa_exec()
1285 count = current_state->count; /* Number already matched */ in internal_dfa_exec()
[all …]
/external/autotest/client/site_tests/video_YouTubePage/
Dvideo_YouTubePage.py168 current_state = self.get_player_state()
169 if current_state == state:
176 '"%s".' % (current_state, state))
/external/mesa3d/src/gallium/state_trackers/vega/
Dapi_params.c45 static INLINE struct vg_state *current_state() in current_state() function
72 struct vg_state *state = current_state(); in vegaSetf()
132 struct vg_state *state = current_state(); in vegaSeti()
265 struct vg_state *state = current_state(); in vegaSetfv()
393 struct vg_state *state = current_state(); in vegaSetiv()
516 const struct vg_state *state = current_state(); in vegaGetf()
577 const struct vg_state *state = current_state(); in vegaGeti()
693 const struct vg_state *state = current_state(); in vegaGetVectorSize()
767 const struct vg_state *state = current_state(); in vegaGetfv()
868 const struct vg_state *state = current_state(); in vegaGetiv()
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/wifi/
DWifiScannerFacade.java552 int current_state = Global.getInt(mService.getContentResolver(), in wifiScannerToggleAlwaysAvailable() local
554 new_state = current_state ^ 0x1; in wifiScannerToggleAlwaysAvailable()
563 int current_state = Global.getInt(mService.getContentResolver(), in wifiScannerIsAlwaysAvailable() local
565 if (current_state == 1) { in wifiScannerIsAlwaysAvailable()
/external/cmockery/cmockery_0_1_2/src/
Dcmockery.c1489 void *current_state = NULL; in _run_test() local
1518 Function(state ? state : &current_state); in _run_test()
1581 void **current_state = NULL; in _run_tests() local
1600 current_state = &current_TestState->state; in _run_tests()
1601 *current_state = NULL; in _run_tests()
1611 current_state = &current_TestState->state; in _run_tests()
1622 int failed = _run_test(test->name, test->function, current_state, in _run_tests()
/external/autotest/server/cros/dynamic_suite/
Dsuite.py204 current_state = self._retry_map[job_id]['state']
205 if current_state != self.States.NOT_ATTEMPTED:
209 (self.States.get_string(current_state),
/external/selinux/sepolgen/src/sepolgen/
Dlex.py237 def current_state(self): member in Lexer
/external/bison/examples/calc++/
Dcalc++-scanner.cc430 static yy_state_type yy_try_NUL_trans (yy_state_type current_state );
/external/bison/src/
Dscan-skel.c449 static yy_state_type yy_try_NUL_trans (yy_state_type current_state );
Dscan-gram.c449 static yy_state_type yy_try_NUL_trans (yy_state_type current_state );
Dscan-code.c449 static yy_state_type yy_try_NUL_trans (yy_state_type current_state );
/external/libpcap/
Dscanner.c381 static yy_state_type yy_try_NUL_trans (yy_state_type current_state );
/external/toybox/kconfig/
Dlex.zconf.c_shipped675 static yy_state_type yy_try_NUL_trans (yy_state_type current_state );
1567 * next_state = yy_try_NUL_trans( current_state );