Home
last modified time | relevance | path

Searched refs:State (Results 1 – 25 of 590) sorted by relevance

12345678910>>...24

/external/guava/src/com/google/common/util/concurrent/
DAbstractService.java22 import com.google.common.base.Service.State; // javadoc needs this
53 private State state = State.NEW;
86 public final Future<State> start() { in start()
89 if (state == State.NEW) { in start()
90 state = State.STARTING; in start()
103 public final Future<State> stop() { in stop()
106 if (state == State.NEW) { in stop()
107 state = State.TERMINATED; in stop()
108 startup.transitionSucceeded(State.TERMINATED); in stop()
109 shutdown.transitionSucceeded(State.TERMINATED); in stop()
[all …]
DAbstractIdleService.java20 import com.google.common.base.Service.State; // for javadoc
41 executor(State.STARTING).execute(new Runnable() {
55 executor(State.STOPPING).execute(new Runnable() {
86 protected Executor executor(final State state) { in executor()
101 /*@Override*/ public final Future<State> start() {
105 /*@Override*/ public final State startAndWait() {
113 /*@Override*/ public final State state() {
117 /*@Override*/ public final Future<State> stop() {
121 /*@Override*/ public final State stopAndWait() {
DForwardingService.java35 /*@Override*/ public Future<State> start() { in start()
39 /*@Override*/ public State state() { in state()
43 /*@Override*/ public Future<State> stop() { in stop()
47 /*@Override*/ public State startAndWait() { in startAndWait()
51 /*@Override*/ public State stopAndWait() { in stopAndWait()
/external/llvm/lib/Target/ARM/
DARMCallingConv.h31 CCState &State, bool CanFail) { in f64AssignAPCS() argument
35 if (unsigned Reg = State.AllocateReg(RegList, 4)) in f64AssignAPCS()
36 State.addLoc(CCValAssign::getCustomReg(ValNo, ValVT, Reg, LocVT, LocInfo)); in f64AssignAPCS()
43 State.addLoc(CCValAssign::getCustomMem(ValNo, ValVT, in f64AssignAPCS()
44 State.AllocateStack(8, 4), in f64AssignAPCS()
50 if (unsigned Reg = State.AllocateReg(RegList, 4)) in f64AssignAPCS()
51 State.addLoc(CCValAssign::getCustomReg(ValNo, ValVT, Reg, LocVT, LocInfo)); in f64AssignAPCS()
53 State.addLoc(CCValAssign::getCustomMem(ValNo, ValVT, in f64AssignAPCS()
54 State.AllocateStack(4, 4), in f64AssignAPCS()
62 CCState &State) { in CC_ARM_APCS_Custom_f64() argument
[all …]
/external/jsilver/src/com/google/clearsilver/jsilver/syntax/lexer/
DLexer.java12 protected State state = State.CONTENT;
169 case 0: state = State.CONTENT; break; in getToken()
184 case 3: state = State.COMMENT; break; in getToken()
198 case 1: state = State.COMMAND; break; in getToken()
212 case 1: state = State.COMMAND; break; in getToken()
226 case 1: state = State.COMMAND; break; in getToken()
240 case 1: state = State.COMMAND; break; in getToken()
254 case 1: state = State.COMMAND; break; in getToken()
268 case 1: state = State.COMMAND; break; in getToken()
283 case 1: state = State.COMMAND; break; in getToken()
[all …]
/external/webkit/Source/WebCore/bindings/generic/
DBindingSecurity.h53 static bool canAccessFrame(State<Binding>*, Frame*, bool reportError);
57 static bool checkNodeSecurity(State<Binding>*, Node* target);
59 static bool allowPopUp(State<Binding>*);
60 …static bool allowSettingFrameSrcToJavascriptUrl(State<Binding>*, HTMLFrameElementBase*, String val…
61 … static bool allowSettingSrcToJavascriptURL(State<Binding>*, Element*, String name, String value);
63 static bool shouldAllowNavigation(State<Binding>*, Frame*);
72 static bool canAccessWindow(State<Binding>*, DOMWindow* target);
78 bool BindingSecurity<Binding>::canAccessWindow(State<Binding>* state, in canAccessWindow()
86 bool BindingSecurity<Binding>::canAccessFrame(State<Binding>* state, in canAccessFrame()
103 bool BindingSecurity<Binding>::checkNodeSecurity(State<Binding>* state, Node* node) in checkNodeSecurity()
[all …]
/external/apache-http/src/org/apache/http/impl/auth/
DNTLMScheme.java47 enum State { enum in NTLMScheme
58 private State state;
67 this.state = State.UNINITIATED; in NTLMScheme()
94 if (this.state == State.UNINITIATED) { in parseChallenge()
95 this.state = State.CHALLENGE_RECEIVED; in parseChallenge()
97 this.state = State.FAILED; in parseChallenge()
101 this.state = State.MSG_TYPE2_RECEVIED; in parseChallenge()
118 if (this.state == State.CHALLENGE_RECEIVED || this.state == State.FAILED) { in authenticate()
122 this.state = State.MSG_TYPE1_GENERATED; in authenticate()
123 } else if (this.state == State.MSG_TYPE2_RECEVIED) { in authenticate()
[all …]
/external/webkit/Source/WebCore/bindings/v8/specialization/
DV8BindingState.cpp41 State<V8Binding>* State<V8Binding>::Only() in Only()
43 DEFINE_STATIC_LOCAL(State, globalV8BindingState, ()); in Only()
47 DOMWindow* State<V8Binding>::activeWindow() in activeWindow()
58 DOMWindow* State<V8Binding>::firstWindow() in firstWindow()
63 Frame* State<V8Binding>::activeFrame() in activeFrame()
77 Frame* State<V8Binding>::firstFrame() in firstFrame()
82 void State<V8Binding>::immediatelyReportUnsafeAccessTo(Frame* target) in immediatelyReportUnsafeAccessTo()
87 bool State<V8Binding>::processingUserGesture() in processingUserGesture()
92 bool State<V8Binding>::allowsAccessFromFrame(Frame* frame) in allowsAccessFromFrame()
DV8BindingState.h44 class State<V8Binding> : public State<GenericBinding> {
47 static State* Only();
64 explicit State() {} in State() function
65 ~State();
68 typedef State<V8Binding> V8BindingState;
/external/guava/src/com/google/common/collect/
DAbstractIterator.java62 private State state = State.NOT_READY;
64 private enum State { enum in AbstractIterator
118 state = State.DONE; in endOfData()
123 checkState(state != State.FAILED); in hasNext()
135 state = State.FAILED; // temporary pessimism in tryToComputeNext()
137 if (state != State.DONE) { in tryToComputeNext()
138 state = State.READY; in tryToComputeNext()
148 state = State.NOT_READY; in next()
/external/llvm/lib/CodeGen/
DAggressiveAntiDepBreaker.cpp125 State(NULL) { in AggressiveAntiDepBreaker()
144 delete State; in ~AggressiveAntiDepBreaker()
148 assert(State == NULL); in StartBlock()
149 State = new AggressiveAntiDepState(TRI->getNumRegs(), BB); in StartBlock()
152 std::vector<unsigned> &KillIndices = State->GetKillIndices(); in StartBlock()
153 std::vector<unsigned> &DefIndices = State->GetDefIndices(); in StartBlock()
162 State->UnionGroups(Reg, 0); in StartBlock()
178 State->UnionGroups(Reg, 0); in StartBlock()
194 State->UnionGroups(AliasReg, 0); in StartBlock()
202 delete State; in FinishBlock()
[all …]
/external/webkit/Tools/TestWebKitAPI/Tests/WebKit2/
DPageLoadBasic.cpp37 struct State { struct
38 State() in State() function
52 State* state = reinterpret_cast<State*>(const_cast<void*>(clientInfo)); in didStartProvisionalLoadForFrame()
67 State* state = reinterpret_cast<State*>(const_cast<void*>(clientInfo)); in didCommitLoadForFrame()
79 State* state = reinterpret_cast<State*>(const_cast<void*>(clientInfo)); in didFinishLoadForFrame()
92 State* state = reinterpret_cast<State*>(const_cast<void*>(clientInfo)); in decidePolicyForNavigationAction()
113 State state; in TEST()
/external/chromium/chrome/browser/autofill/
Dselect_control_handler.cc22 class State { class
27 static const State all_states[];
33 const State State::all_states[] = {
89 string16 State::Abbreviation(const string16& name) { in Abbreviation()
90 for (const State *s = all_states ; s->name ; ++s) in Abbreviation()
96 string16 State::FullName(const string16& abbreviation) { in FullName()
97 for (const State *s = all_states ; s->name ; ++s) in FullName()
143 full = State::FullName(value); in FillStateSelectControl()
145 abbrev = State::Abbreviation(value); in FillStateSelectControl()
242 return !State::Abbreviation(value).empty() || !State::FullName(value).empty(); in IsValidState()
/external/chromium/chrome/browser/chromeos/
Dnetwork_state_notifier.h21 enum State { enum
28 State state() const { in state()
35 explicit NetworkStateDetails(State state) in NetworkStateDetails()
39 State state_;
69 static NetworkStateDetails::State RetrieveState();
76 void UpdateNetworkState(NetworkStateDetails::State new_state);
82 NetworkStateDetails::State state_;
/external/guava/src/com/google/common/base/
DService.java64 Future<State> start(); in start()
76 State startAndWait(); in startAndWait()
86 State state(); in state()
103 Future<State> stop(); in stop()
117 State stopAndWait(); in stopAndWait()
122 public enum State { enum
/external/chromium/chrome/browser/sync/
Dsync_setup_flow.h50 SyncSetupWizard::State start,
51 SyncSetupWizard::State end);
72 void Advance(SyncSetupWizard::State advance_state);
117 SyncSetupFlow(SyncSetupWizard::State start_state,
118 SyncSetupWizard::State end_state,
126 bool ShouldAdvance(SyncSetupWizard::State state);
128 void ActivateState(SyncSetupWizard::State state);
133 SyncSetupWizard::State current_state_;
134 SyncSetupWizard::State end_state_; // The goal.
Dsync_setup_wizard.h19 enum State { enum
65 void Step(State advance_state);
82 static State GetEndStateForDiscreteRun(State start_state);
85 static bool IsTerminalState(State state);
/external/webkit/Source/WebCore/platform/
DPlatformTouchPoint.h38 enum State { enum
51 PlatformTouchPoint(unsigned id, const IntPoint& windowPos, State);
53 PlatformTouchPoint(int id, const IntPoint& windowPos, State);
55 PlatformTouchPoint(unsigned id, const IntPoint& windowPos, State);
59 State state() const { return m_state; } in state()
65 State m_state;
/external/skia/gpu/src/
Dapp-android.cpp41 struct State { struct
42 State();
43 ~State();
170 static void drawIntoCanvas(State* state, SkCanvas* canvas) { in drawIntoCanvas()
180 State::State() { in State() function in State
194 State::~State() { in ~State()
198 void State::setViewport(int w, int h) { in setViewport()
206 const char* State::getSlideTitle(int index) const { in getSlideTitle()
217 void State::handleTouch(void* owner, TouchState state, float x, float y) { in handleTouch()
231 void State::applyMatrix(SkCanvas* canvas) { in applyMatrix()
[all …]
/external/skia/include/pdf/
DSkPDFShader.h62 class State {
75 explicit State(const SkShader& shader, const SkMatrix& canvasTransform,
77 bool operator==(const State& b) const;
82 SkAutoTDelete<const State> fState;
87 const State* fState;
92 ShaderCanonicalEntry(SkPDFShader* pdfShader, const State* state) in ShaderCanonicalEntry()
103 SkPDFShader(State* state);
/external/chromium/net/socket/
Dssl_host_info.h63 struct State { struct
64 State();
65 ~State();
74 DISALLOW_COPY_AND_ASSIGN(State); argument
79 const State& state() const;
80 State* mutable_state();
107 State state_;
Dssl_host_info.cc18 SSLHostInfo::State::State() {} in State() function in net::SSLHostInfo::State
20 SSLHostInfo::State::~State() {} in ~State()
22 void SSLHostInfo::State::Clear() { in Clear()
58 const SSLHostInfo::State& SSLHostInfo::state() const { in state()
62 SSLHostInfo::State* SSLHostInfo::mutable_state() { in mutable_state()
67 State* state = mutable_state(); in Parse()
79 State* state = mutable_state(); in ParseInner()
/external/chromium/chrome/common/net/gaia/
Dgoogle_service_auth_error.h38 enum State { enum
93 explicit GoogleServiceAuthError(State s);
111 const State& state() const;
120 GoogleServiceAuthError(State s, int error);
122 GoogleServiceAuthError(State s, const std::string& captcha_token,
126 State state_;
/external/v8/src/
Dic.h77 typedef InlineCacheState State; typedef
95 static State StateFrom(Code* target, Object* receiver, Object* name);
146 State old_state,
198 MUST_USE_RESULT MaybeObject* LoadFunction(State state,
212 State state,
220 State state,
260 MUST_USE_RESULT MaybeObject* LoadFunction(State state,
280 MUST_USE_RESULT MaybeObject* Load(State state,
311 State state,
348 MUST_USE_RESULT MaybeObject* Load(State state,
[all …]
/external/jsilver/src/com/google/clearsilver/jsilver/functions/html/
DHtmlStripFunction.java37 private enum State { enum in HtmlStripFunction
100 State state = State.DEFAULT; in filter()
110 state = State.IN_AMP; in filter()
113 state = State.IN_TAG; in filter()
125 state = State.DEFAULT; in filter()
132 state = State.DEFAULT; in filter()
149 state = State.DEFAULT; in filter()

12345678910>>...24