/bionic/benchmarks/ |
math_benchmark.cpp | 27 static void SetLabel(benchmark::State& state) { 28 state.SetLabel(names[state.range(0)]); 35 static void BM_math_sqrt(benchmark::State& state) { 38 while (state.KeepRunning()) { 44 static void BM_math_log10(benchmark::State& state) { 47 while (state.KeepRunning()) [all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/Dhcp4Dxe/ |
Dhcp4Io.h | 61 #define DHCP_CONNECTED(State) \
62 (((State) == Dhcp4Bound) || ((State) == (Dhcp4Renewing)) || ((State) == Dhcp4Rebinding))
65 Set the DHCP state. If CallUser is true, it will try to notify
66 the user before change the state by DhcpNotifyUser. It returns
72 @param State The new DHCP state to change to
75 @retval EFI_SUCCESS The state is changed
82 IN INTN State,
[all...] |
/external/guava/guava/src/com/google/common/util/concurrent/ |
Service.java | 26 * An object with an operational state, plus asynchronous {@link #startAsync()} and 32 * <li>{@linkplain State#NEW NEW} -> 33 * <li>{@linkplain State#STARTING STARTING} -> 34 * <li>{@linkplain State#RUNNING RUNNING} -> 35 * <li>{@linkplain State#STOPPING STOPPING} -> 36 * <li>{@linkplain State#TERMINATED TERMINATED} 40 * before the {@link Service} reaches the {@linkplain State#RUNNING RUNNING} state. The set of legal 42 * therefore every method of the listener will be called at most once. N.B. The {@link State#FAILED} 43 * and {@link State#TERMINATED} states are terminal states, once a service enters either of thes 75 State state(); method in interface:Service [all...] |
/external/lzma/CPP/7zip/UI/Common/ |
UpdateProduce.cpp | 27 switch (actionSet.StateActions[(unsigned)pair.State])
35 if (pair.State == NPairState::kOnlyOnDisk)
37 if (pair.State == NPairState::kOnlyInArchive)
55 if (pair.State == NPairState::kOnlyInArchive ||
56 pair.State == NPairState::kNotMasked)
|
/external/swiftshader/third_party/subzero/crosstest/ |
vectors.h | 103 explicit PRNG(uint32_t Seed = 1) : State(Seed) {} 107 State = (16807 * State) % 2147483647; 108 return State; 112 uint32_t State;
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
PhoneConstantConversions.java | 29 * Convert the {@link PhoneConstants.State} enum into the TelephonyManager.CALL_STATE_* 32 public static int convertCallState(PhoneConstants.State state) { 33 switch (state) { 45 * {@link PhoneConstants.State} enum for the public API. 47 public static PhoneConstants.State convertCallState(int state) { 48 switch (state) { 50 return PhoneConstants.State.RINGING; 52 return PhoneConstants.State.OFFHOOK [all...] |
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/ |
ImsPhoneCallTest.java | 70 //verify mConnections has 0 connections and is in IDLE state 72 assertEquals(Call.State.IDLE, mImsCallUT.getState()); 75 mImsCallUT.attach(mConnection1, Call.State.ACTIVE); 79 assertEquals(Call.State.ACTIVE, mImsCallUT.getState()); 84 //verify mConnections has 0 connections and is in IDLE state 86 assertEquals(Call.State.IDLE, mImsCallUT.getState()); 94 mImsCallUT.attach(mConnection1, Call.State.ACTIVE); 95 mImsCallUT.attach(mConnection2, Call.State.ACTIVE); 96 //both connections are active, state not change 98 assertEquals(Call.State.ACTIVE, mImsCallUT.getState()) [all...] |
/packages/apps/Car/Settings/src/com/android/car/settings/quicksettings/ |
DayNightTile.java | 42 private State mState = State.ON; 49 mState = State.ON; 51 mState = State.OFF; 78 public State getState() {
|
/packages/services/Car/car-lib/native/include/ |
CarPowerManager.h | 51 // Enumeration of state change events 54 enum class State { 64 using Listener = std::function<void(State)>; 90 Status onStateChanged(int state, int token) override { 93 if ((state >= static_cast<int>(State::kFirst)) && 94 (state <= static_cast<int>(State::kLast))) { 95 parent->mListener(static_cast<State>(state)); [all...] |
/external/llvm/include/llvm/Support/ |
FileSystem.h | 687 /// Platform-specific mapping state. 761 /// DirIterState - Keeps state for the directory_iterator. It is reference 780 IntrusiveRefCntPtr<detail::DirIterState> State; 784 State = new detail::DirIterState; 786 ec = detail::directory_iterator_construct(*State, 791 State = new detail::DirIterState; 792 ec = detail::directory_iterator_construct(*State, de.path()); 796 directory_iterator() : State(nullptr) {} 800 ec = directory_iterator_increment(*State); 804 const directory_entry &operator*() const { return State->CurrentEntry; [all...] |
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
FileSystem.h | 694 /// Platform-specific mapping state. 772 /// DirIterState - Keeps state for the directory_iterator. It is reference 791 IntrusiveRefCntPtr<detail::DirIterState> State; 795 State = new detail::DirIterState; 797 ec = detail::directory_iterator_construct(*State, 802 State = new detail::DirIterState; 803 ec = detail::directory_iterator_construct(*State, de.path()); 807 directory_iterator() : State(nullptr) {} 811 ec = directory_iterator_increment(*State); 815 const directory_entry &operator*() const { return State->CurrentEntry; [all...] |
/development/samples/TicTacToeLib/src/com/example/android/tictactoe/library/ |
GameView.java | 47 public enum State {
56 private State(int value) {
64 public static State fromInt(int i) {
65 for (State s : values()) {
94 /** Contains one of {@link State#EMPTY}, {@link State#PLAYER1} or {@link State#PLAYER2}. */
95 private final State[] mData = new State[9];
98 private State mSelectedValue = State.EMPTY; [all...] |
/external/clang/lib/StaticAnalyzer/Core/ |
ExprEngineCXX.cpp | 30 ProgramStateRef state = Pred->getState(); local 33 state = createTemporaryRegionIfNeeded(state, LCtx, tempExpr, ME); 34 Bldr.generateNode(ME, Pred, state); 76 ProgramStateRef State = (*I)->getState(); 78 State = State->BindExpr(CallExpr, LCtx, ThisVal); 80 State = bindReturnValue(Call, LCtx, State); 81 Bldr.generateNode(PS, State, *I) 534 ProgramStateRef state = Pred->getState(); local 550 ProgramStateRef state = Pred->getState(); local 568 ProgramStateRef state = Pred->getState(); local [all...] |
/prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/llvm/include/llvm/Support/ |
FileSystem.h | 806 /// Platform-specific mapping state. 886 /// Keeps state for the directory_iterator. [all...] |
/prebuilts/clang/host/darwin-x86/clang-4393122/include/llvm/Support/ |
FileSystem.h | 753 /// Platform-specific mapping state. 833 /// Keeps state for the directory_iterator. 849 std::shared_ptr<detail::DirIterState> State; 856 State = std::make_shared<detail::DirIterState>(); 859 *State, path.toStringRef(path_storage), FollowSymlinks); 865 State = std::make_shared<detail::DirIterState>(); 867 detail::directory_iterator_construct(*State, de.path(), FollowSymlinks); 875 ec = directory_iterator_increment(*State); 879 const directory_entry &operator*() const { return State->CurrentEntry; } 880 const directory_entry *operator->() const { return &State->CurrentEntry; [all...] |
/prebuilts/clang/host/darwin-x86/clang-4479392/include/llvm/Support/ |
FileSystem.h | 753 /// Platform-specific mapping state. 833 /// Keeps state for the directory_iterator. 849 std::shared_ptr<detail::DirIterState> State; 856 State = std::make_shared<detail::DirIterState>(); 859 *State, path.toStringRef(path_storage), FollowSymlinks); 865 State = std::make_shared<detail::DirIterState>(); 867 detail::directory_iterator_construct(*State, de.path(), FollowSymlinks); 875 ec = directory_iterator_increment(*State); 879 const directory_entry &operator*() const { return State->CurrentEntry; } 880 const directory_entry *operator->() const { return &State->CurrentEntry; [all...] |
/prebuilts/clang/host/darwin-x86/clang-4579689/include/llvm/Support/ |
FileSystem.h | 775 /// Platform-specific mapping state. 856 /// Keeps state for the directory_iterator. 872 std::shared_ptr<detail::DirIterState> State; 879 State = std::make_shared<detail::DirIterState>(); 882 *State, path.toStringRef(path_storage), FollowSymlinks); 888 State = std::make_shared<detail::DirIterState>(); 890 detail::directory_iterator_construct(*State, de.path(), FollowSymlinks); 898 ec = directory_iterator_increment(*State); [all...] |
/prebuilts/clang/host/darwin-x86/clang-4630689/include/llvm/Support/ |
FileSystem.h | 775 /// Platform-specific mapping state. 856 /// Keeps state for the directory_iterator. 872 std::shared_ptr<detail::DirIterState> State; 879 State = std::make_shared<detail::DirIterState>(); 882 *State, path.toStringRef(path_storage), FollowSymlinks); 888 State = std::make_shared<detail::DirIterState>(); 890 detail::directory_iterator_construct(*State, de.path(), FollowSymlinks); 898 ec = directory_iterator_increment(*State); [all...] |
/prebuilts/clang/host/darwin-x86/clang-4639204/include/llvm/Support/ |
FileSystem.h | 775 /// Platform-specific mapping state. 856 /// Keeps state for the directory_iterator. 872 std::shared_ptr<detail::DirIterState> State; 879 State = std::make_shared<detail::DirIterState>(); 882 *State, path.toStringRef(path_storage), FollowSymlinks); 888 State = std::make_shared<detail::DirIterState>(); 890 detail::directory_iterator_construct(*State, de.path(), FollowSymlinks); 898 ec = directory_iterator_increment(*State); [all...] |
/prebuilts/clang/host/darwin-x86/clang-4691093/include/llvm/Support/ |
FileSystem.h | 775 /// Platform-specific mapping state. 856 /// Keeps state for the directory_iterator. 872 std::shared_ptr<detail::DirIterState> State; 879 State = std::make_shared<detail::DirIterState>(); 882 *State, path.toStringRef(path_storage), FollowSymlinks); 888 State = std::make_shared<detail::DirIterState>(); 890 detail::directory_iterator_construct(*State, de.path(), FollowSymlinks); 898 ec = directory_iterator_increment(*State); [all...] |
/prebuilts/clang/host/linux-x86/clang-4053586/prebuilt_include/llvm/include/llvm/Support/ |
FileSystem.h | 806 /// Platform-specific mapping state. 886 /// Keeps state for the directory_iterator. [all...] |
/prebuilts/clang/host/linux-x86/clang-4393122/include/llvm/Support/ |
FileSystem.h | 753 /// Platform-specific mapping state. 833 /// Keeps state for the directory_iterator. 849 std::shared_ptr<detail::DirIterState> State; 856 State = std::make_shared<detail::DirIterState>(); 859 *State, path.toStringRef(path_storage), FollowSymlinks); 865 State = std::make_shared<detail::DirIterState>(); 867 detail::directory_iterator_construct(*State, de.path(), FollowSymlinks); 875 ec = directory_iterator_increment(*State); 879 const directory_entry &operator*() const { return State->CurrentEntry; } 880 const directory_entry *operator->() const { return &State->CurrentEntry; [all...] |
/prebuilts/clang/host/linux-x86/clang-4479392/include/llvm/Support/ |
FileSystem.h | 753 /// Platform-specific mapping state. 833 /// Keeps state for the directory_iterator. 849 std::shared_ptr<detail::DirIterState> State; 856 State = std::make_shared<detail::DirIterState>(); 859 *State, path.toStringRef(path_storage), FollowSymlinks); 865 State = std::make_shared<detail::DirIterState>(); 867 detail::directory_iterator_construct(*State, de.path(), FollowSymlinks); 875 ec = directory_iterator_increment(*State); 879 const directory_entry &operator*() const { return State->CurrentEntry; } 880 const directory_entry *operator->() const { return &State->CurrentEntry; [all...] |
/prebuilts/clang/host/linux-x86/clang-4579689/include/llvm/Support/ |
FileSystem.h | 775 /// Platform-specific mapping state. 856 /// Keeps state for the directory_iterator. 872 std::shared_ptr<detail::DirIterState> State; 879 State = std::make_shared<detail::DirIterState>(); 882 *State, path.toStringRef(path_storage), FollowSymlinks); 888 State = std::make_shared<detail::DirIterState>(); 890 detail::directory_iterator_construct(*State, de.path(), FollowSymlinks); 898 ec = directory_iterator_increment(*State); [all...] |
/prebuilts/clang/host/linux-x86/clang-4630689/include/llvm/Support/ |
FileSystem.h | 775 /// Platform-specific mapping state. 856 /// Keeps state for the directory_iterator. 872 std::shared_ptr<detail::DirIterState> State; 879 State = std::make_shared<detail::DirIterState>(); 882 *State, path.toStringRef(path_storage), FollowSymlinks); 888 State = std::make_shared<detail::DirIterState>(); 890 detail::directory_iterator_construct(*State, de.path(), FollowSymlinks); 898 ec = directory_iterator_increment(*State); [all...] |