/external/libcxx/utils/google-benchmark/test/ |
fixture_test.cc | 9 void SetUp(const ::benchmark::State& state) { 10 if (state.thread_index == 0) { 16 void TearDown(const ::benchmark::State& state) { 17 if (state.thread_index == 0) { 28 BENCHMARK_F(MyFixture, Foo)(benchmark::State &st) { 35 BENCHMARK_DEFINE_F(MyFixture, Bar)(benchmark::State& st) {
|
map_test.cc | 19 static void BM_MapLookup(benchmark::State& state) { 20 const int size = state.range(0); 22 for (auto _ : state) { 23 state.PauseTiming(); 25 state.ResumeTiming(); 30 state.SetItemsProcessed(state.iterations() * size); 37 void SetUp(const ::benchmark::State& st) { 41 void TearDown(const ::benchmark::State&) { m.clear(); [all...] |
multiple_ranges_test.cc | 29 void SetUp(const ::benchmark::State& state) { 30 std::vector<int> ranges = {state.range(0), state.range(1), state.range(2)}; 45 BENCHMARK_DEFINE_F(MultipleRangesFixture, Empty)(benchmark::State& state) { 46 for (auto _ : state) { 47 int product = state.range(0) * state.range(1) * state.range(2) [all...] |
/external/lzma/CPP/7zip/UI/Common/ |
UpdatePair.h | 13 NUpdateArchive::NPairState::EEnum State;
|
/external/selinux/libselinux/src/ |
sha1.h | 30 uint32_t State[5]; 60 // Adds data to the SHA1 context. This will process the data and update the internal state of the context. Keep on
|
/external/v8/src/compiler/ |
node-marker.h | 44 // A NodeMarker assigns a local "state" to every node of a graph in constant 47 // were created earlier. Internally, the local state is stored in the Node 51 // set to State(0) in constant time. 60 template <typename State> 66 V8_INLINE State Get(const Node* node) { 67 return static_cast<State>(NodeMarkerBase::Get(node)); 70 V8_INLINE void Set(Node* node, State state) { 71 NodeMarkerBase::Set(node, static_cast<Mark>(state));
|
/frameworks/base/libs/androidfw/tests/ |
AssetManager2_bench.cpp | 38 static void BM_AssetManagerLoadAssets(benchmark::State& state) { 40 while (state.KeepRunning()) { 48 static void BM_AssetManagerLoadAssetsOld(benchmark::State& state) { 50 while (state.KeepRunning()) { 61 static void BM_AssetManagerLoadFrameworkAssets(benchmark::State& state) { 63 while (state.KeepRunning()) { 71 static void BM_AssetManagerLoadFrameworkAssetsOld(benchmark::State& state) [all...] |
/frameworks/base/libs/hwui/tests/microbench/ |
RenderNodeBench.cpp | 24 void BM_RenderNode_create(benchmark::State& state) { 25 while (state.KeepRunning()) {
|
/frameworks/minikin/tests/perftests/ |
WordBreaker.cpp | 25 static void BM_WordBreaker_English(benchmark::State& state) { 33 while (state.KeepRunning()) {
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
GsmCdmaConnectionTest.java | 78 logd("Testing initial state of GsmCdmaConnection"); 79 assertEquals(GsmCdmaCall.State.IDLE, connection.getState()); 96 logd("Testing initial state of GsmCdmaConnection"); 97 assertEquals(GsmCdmaCall.State.IDLE, connection.getState()); 114 logd("Update the connection state from idle to active"); 115 mDC.state = DriverCall.State.ACTIVE; 117 assertEquals(GsmCdmaCall.State.ACTIVE, connection.getState()); 118 logd("update connection state from active to holding"); 119 mDC.state = DriverCall.State.HOLDING [all...] |
/frameworks/support/work/workmanager/src/androidTest/java/androidx/work/ |
TestLifecycleOwner.java | 24 * Test Lifecycle Owner that begins in ON_START state. 31 mLifecycleRegistry.markState(Lifecycle.State.STARTED);
|
/libcore/ojluni/src/main/java/sun/security/provider/certpath/ |
State.java | 34 * A specification of a PKIX validation state 43 interface State extends Cloneable { 46 * Update the state with the next certificate added to the path. 48 * @param cert the certificate which is used to update the state 59 * Returns a boolean flag indicating if the state is initial 62 * @return boolean flag indicating if the state is initial (just starting)
|
/packages/apps/Camera2/src/com/android/camera/captureintent/state/ |
StateFatal.java | 17 package com.android.camera.captureintent.state; 25 import com.android.camera.captureintent.stateful.State; 31 * Represents a state that app is in an unrecoverable error state. Must show an 38 State previousState, RefCountBase<ResourceConstructed> resourceConstructed) { 42 private StateFatal(State previousState, RefCountBase<ResourceConstructed> resourceConstructed) { 49 public Optional<State> onEnter() {
|
StateIntentCompleted.java | 17 package com.android.camera.captureintent.state; 24 import com.android.camera.captureintent.stateful.State; 45 State previousState, 52 State previousState, 62 public Optional<State> onEnter() {
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/sorting/ |
SortControllerTest.java | 25 import com.android.documentsui.base.State; 42 mController.onViewModeChanged(State.MODE_GRID); 50 mController.onViewModeChanged(State.MODE_LIST); 57 mController.onViewModeChanged(State.MODE_LIST);
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/util/ |
State.java | 23 * State used by {@link StateMachine}. 25 public interface State { 38 * Listener for sending notification about state completion. 52 * @return the corresponding fragment for current state. If there is no corresponding fragment,
|
/prebuilts/go/darwin-x86/test/fixedbugs/issue4932.dir/ |
state.go | 5 package state package 14 type State struct{} 16 func (s *State) x(*Settings) {}
|
/prebuilts/go/linux-x86/test/fixedbugs/issue4932.dir/ |
state.go | 5 package state package 14 type State struct{} 16 func (s *State) x(*Settings) {}
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/benchmarks/ |
string.bench.cpp | 11 static void BM_StringFindNoMatch(benchmark::State &state) { 12 std::string s1(state.range(0), '-'); 14 while (state.KeepRunning()) 20 static void BM_StringFindAllMatch(benchmark::State &state) { 22 std::string s2(state.range(0), '-'); 23 while (state.KeepRunning()) 29 static void BM_StringFindMatch1(benchmark::State &state) { [all...] |
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/utils/google-benchmark/test/ |
fixture_test.cc | 9 void SetUp(const ::benchmark::State& state) { 10 if (state.thread_index == 0) { 16 void TearDown(const ::benchmark::State& state) { 17 if (state.thread_index == 0) { 28 BENCHMARK_F(MyFixture, Foo)(benchmark::State &st) { 35 BENCHMARK_DEFINE_F(MyFixture, Bar)(benchmark::State& st) {
|
map_test.cc | 19 static void BM_MapLookup(benchmark::State& state) { 20 const int size = state.range(0); 21 while (state.KeepRunning()) { 22 state.PauseTiming(); 24 state.ResumeTiming(); 29 state.SetItemsProcessed(state.iterations() * size); 36 void SetUp(const ::benchmark::State& st) { 40 void TearDown(const ::benchmark::State&) { m.clear(); [all...] |
multiple_ranges_test.cc | 29 void SetUp(const ::benchmark::State& state) { 30 std::vector<int> ranges = {state.range(0), state.range(1), state.range(2)}; 45 BENCHMARK_DEFINE_F(MultipleRangesFixture, Empty)(benchmark::State& state) { 46 while (state.KeepRunning()) { 47 int product = state.range(0) * state.range(1) * state.range(2) [all...] |
/system/core/logwrapper/ |
android_fork_execvp_ext_benchmark.cpp | 22 static void BM_android_fork_execvp_ext(benchmark::State& state) { 25 while (state.KeepRunning()) {
|
/system/update_engine/update_manager/ |
api_restricted_downloads_policy_impl.h | 35 State* state,
|
enough_slots_ab_updates_policy_impl.cc | 25 State* state, 29 ec->GetValue(state->system_provider()->var_num_slots());
|