Home
last modified time | relevance | path

Searched refs:Action (Results 1 – 25 of 361) sorted by relevance

12345678910>>...15

/external/chromium_org/base/posix/
Dfile_descriptor_shuffle_unittest.cc17 struct Action { struct
24 Action(Type in_type, int in_fd1, int in_fd2 = -1) in Action() function
30 bool operator==(const Action& other) const { in operator ==() argument
49 actions_.push_back(Action(Action::DUPLICATE, *result, fd)); in Duplicate()
54 actions_.push_back(Action(Action::MOVE, src, dest)); in Move()
59 actions_.push_back(Action(Action::CLOSE, fd)); in Close()
62 const std::vector<Action>& actions() const { return actions_; } in actions()
66 std::vector<Action> actions_;
102 EXPECT_TRUE(tracer.actions()[0] == Action(Action::MOVE, 0, 1)); in TEST()
113 EXPECT_TRUE(tracer.actions()[0] == Action(Action::MOVE, 0, 1)); in TEST()
[all …]
/external/chromium_org/chrome/browser/extensions/activity_log/
Dcounting_policy_unittest.cc82 const base::Callback<void(scoped_ptr<Action::ActionVector>)>& checker) { in CheckReadData()
84 policy, extension_id, Action::ACTION_ANY, "", "", "", day, checker); in CheckReadData()
92 const Action::ActionType type, in CheckReadFilteredData()
97 const base::Callback<void(scoped_ptr<Action::ActionVector>)>& checker) { in CheckReadFilteredData()
152 const base::Callback<void(scoped_ptr<Action::ActionVector>)>& checker, in CheckWrapper()
154 scoped_ptr<Action::ActionVector> results) { in CheckWrapper()
165 scoped_ptr<std::vector<scoped_refptr<Action> > > i) { in RetrieveActions_FetchFilteredActions0()
170 scoped_ptr<std::vector<scoped_refptr<Action> > > i) { in RetrieveActions_FetchFilteredActions1()
175 scoped_ptr<std::vector<scoped_refptr<Action> > > i) { in RetrieveActions_FetchFilteredActions2()
180 scoped_ptr<std::vector<scoped_refptr<Action> > > i) { in RetrieveActions_FetchFilteredActions300()
[all …]
Dfullstream_ui_policy_unittest.cc73 const base::Callback<void(scoped_ptr<Action::ActionVector>)>& checker) { in CheckReadData()
75 policy, extension_id, Action::ACTION_ANY, "", "", "", day, checker); in CheckReadData()
83 const Action::ActionType type, in CheckReadFilteredData()
88 const base::Callback<void(scoped_ptr<Action::ActionVector>)>& checker) { in CheckReadFilteredData()
118 const base::Callback<void(scoped_ptr<Action::ActionVector>)>& checker, in CheckWrapper()
120 scoped_ptr<Action::ActionVector> results) { in CheckWrapper()
131 scoped_ptr<std::vector<scoped_refptr<Action> > > i) { in RetrieveActions_LogAndFetchActions()
136 scoped_ptr<std::vector<scoped_refptr<Action> > > i) { in RetrieveActions_FetchFilteredActions0()
141 scoped_ptr<std::vector<scoped_refptr<Action> > > i) { in RetrieveActions_FetchFilteredActions1()
146 scoped_ptr<std::vector<scoped_refptr<Action> > > i) { in RetrieveActions_FetchFilteredActions2()
[all …]
Dactivity_log.cc69 Action::ActionType action_type;
94 {Action::ACTION_API_CALL, "tabs.connect", 0, LOOKUP_TAB_ID, NULL},
95 {Action::ACTION_API_CALL, "tabs.detectLanguage", 0, LOOKUP_TAB_ID, NULL},
96 {Action::ACTION_API_CALL, "tabs.duplicate", 0, LOOKUP_TAB_ID, NULL},
97 {Action::ACTION_API_CALL, "tabs.executeScript", 0, LOOKUP_TAB_ID, NULL},
98 {Action::ACTION_API_CALL, "tabs.get", 0, LOOKUP_TAB_ID, NULL},
99 {Action::ACTION_API_CALL, "tabs.insertCSS", 0, LOOKUP_TAB_ID, NULL},
100 {Action::ACTION_API_CALL, "tabs.move", 0, LOOKUP_TAB_ID, NULL},
101 {Action::ACTION_API_CALL, "tabs.reload", 0, LOOKUP_TAB_ID, NULL},
102 {Action::ACTION_API_CALL, "tabs.remove", 0, LOOKUP_TAB_ID, NULL},
[all …]
Duma_policy_unittest.cc32 scoped_refptr<Action> action = new Action( in TEST_F()
33 "id", base::Time::Now(), Action::ACTION_API_CALL, "extension.connect"); in TEST_F()
36 action = new Action( in TEST_F()
37 "id", base::Time::Now(), Action::ACTION_API_CALL, "tabs.executeScript"); in TEST_F()
41 action = new Action( in TEST_F()
42 "id", base::Time::Now(), Action::ACTION_CONTENT_SCRIPT, ""); in TEST_F()
48 action = new Action( in TEST_F()
49 "id", base::Time::Now(), Action::ACTION_DOM_ACCESS, "Document.location"); in TEST_F()
62 action = new Action( in TEST_F()
63 "id", base::Time::Now(), Action::ACTION_DOM_ACCESS, "HTMLDocument.write"); in TEST_F()
[all …]
Dactivity_log_policy_unittest.cc19 scoped_refptr<Action> action = in TEST_F()
20 new Action("punky", in TEST_F()
22 Action::ACTION_API_CALL, in TEST_F()
42 scoped_refptr<Action> action = new Action( in TEST_F()
43 "punky", base::Time::Now(), Action::ACTION_WEB_REQUEST, "webRequest"); in TEST_F()
64 std::make_pair(Action::ACTION_API_CALL, "tabs.executeScript")); in TEST_F()
67 scoped_refptr<Action> action = in TEST_F()
68 new Action("punky", in TEST_F()
70 Action::ACTION_API_CALL, in TEST_F()
77 action = new Action( in TEST_F()
[all …]
Dactivity_log_unittest.cc84 scoped_ptr<std::vector<scoped_refptr<Action> > > i) { in RetrieveActions_LogAndFetchActions0()
89 scoped_ptr<std::vector<scoped_refptr<Action> > > i) { in RetrieveActions_LogAndFetchActions2()
112 scoped_ptr<std::vector<scoped_refptr<Action> > > i) { in Arguments_Prerender()
114 scoped_refptr<Action> last = i->front(); in Arguments_Prerender()
117 ASSERT_EQ(Action::ACTION_CONTENT_SCRIPT, last->action_type()); in Arguments_Prerender()
129 scoped_ptr<std::vector<scoped_refptr<Action> > > i) { in RetrieveActions_ArgUrlExtraction()
134 scoped_refptr<Action> action = i->at(0); in RetrieveActions_ArgUrlExtraction()
168 scoped_ptr<std::vector<scoped_refptr<Action> > > actions) { in RetrieveActions_ArgUrlApiCalls()
176 scoped_refptr<Action> action = actions->at(i); in RetrieveActions_ArgUrlApiCalls()
178 ASSERT_EQ(Action::ACTION_DOM_ACCESS, action->action_type()); in RetrieveActions_ArgUrlApiCalls()
[all …]
Dad_injection_browsertest.cc52 std::string InjectionTypeToString(Action::InjectionType type) { in InjectionTypeToString()
54 case Action::NO_AD_INJECTION: in InjectionTypeToString()
56 case Action::INJECTION_NEW_AD: in InjectionTypeToString()
58 case Action::INJECTION_REMOVED_AD: in InjectionTypeToString()
60 case Action::INJECTION_REPLACED_AD: in InjectionTypeToString()
62 case Action::INJECTION_LIKELY_NEW_AD: in InjectionTypeToString()
64 case Action::INJECTION_LIKELY_REPLACED_AD: in InjectionTypeToString()
66 case Action::NUM_INJECTION_TYPES: in InjectionTypeToString()
86 injection_type_ = Action::NO_AD_INJECTION; in enable()
91 Action::InjectionType injection_type() const { return injection_type_; } in injection_type()
[all …]
Dactivity_actions.cc69 Action::Action(const std::string& extension_id, in Action() function in extensions::Action
83 Action::~Action() {} in ~Action()
88 scoped_refptr<Action> Action::Clone() const { in Clone()
89 scoped_refptr<Action> clone( in Clone()
90 new Action( in Clone()
104 Action::InjectionType Action::DidInjectAd( in DidInjectAd()
153 "Extensions.AdInjection.AdType", ad_type, Action::NUM_AD_TYPES); in DidInjectAd()
159 void Action::set_args(scoped_ptr<base::ListValue> args) { in set_args()
163 base::ListValue* Action::mutable_args() { in mutable_args()
170 void Action::set_page_url(const GURL& page_url) { in set_page_url()
[all …]
Dactivity_actions.h33 class Action : public base::RefCountedThreadSafe<Action> {
86 typedef std::vector<scoped_refptr<Action> > ActionVector;
91 Action(const std::string& extension_id,
98 scoped_refptr<Action> Clone() const;
179 virtual ~Action();
182 friend class base::RefCountedThreadSafe<Action>;
211 DISALLOW_COPY_AND_ASSIGN(Action);
219 bool operator()(const scoped_refptr<Action>& lhs,
220 const scoped_refptr<Action>& rhs) const;
227 bool operator()(const scoped_refptr<Action>& lhs,
[all …]
Dfullstream_ui_policy.h29 virtual void ProcessAction(scoped_refptr<Action> action) OVERRIDE;
33 const Action::ActionType type,
39 <void(scoped_ptr<Action::ActionVector>)>& callback) OVERRIDE;
76 virtual scoped_refptr<Action> ProcessArguments(
77 scoped_refptr<Action> action) const;
97 Action::ActionVector queued_actions_;
102 void QueueAction(scoped_refptr<Action> action);
106 scoped_ptr<Action::ActionVector> DoReadFilteredData(
108 const Action::ActionType type,
Dcounting_policy.cc49 using extensions::Action;
62 Action::ActionType type;
67 {Action::ACTION_API_CALL, "bookmarks.create"},
68 {Action::ACTION_API_CALL, "bookmarks.update"},
69 {Action::ACTION_API_CALL, "cookies.get"},
70 {Action::ACTION_API_CALL, "cookies.getAll"},
71 {Action::ACTION_API_CALL, "extension.connect"},
72 {Action::ACTION_API_CALL, "extension.sendMessage"},
73 {Action::ACTION_API_CALL, "fileSystem.chooseEntry"},
74 {Action::ACTION_API_CALL, "socket.bind"},
[all …]
Dactivity_database_unittest.cc53 virtual void Record(ActivityDatabase* db, scoped_refptr<Action> action);
61 std::vector<scoped_refptr<Action> > queue_;
83 std::vector<scoped_refptr<Action> >::size_type i; in FlushDatabase()
85 const Action& action = *queue_[i].get(); in FlushDatabase()
103 scoped_refptr<Action> action) { in Record()
136 scoped_refptr<Action> CreateAction(const base::Time& time, in CreateAction()
138 scoped_refptr<Action> action( in CreateAction()
139 new Action("punky", time, Action::ACTION_API_CALL, api_name)); in CreateAction()
143 void Record(ActivityDatabase* db, scoped_refptr<Action> action) { in Record()
198 scoped_refptr<Action> action = CreateAction(base::Time::Now(), "brewster"); in TEST_F()
[all …]
/external/clang/include/clang/Driver/
DAction.h35 class Action {
73 Action(ActionClass _Kind, types::ID _Type) in Action() function
75 Action(ActionClass _Kind, Action *Input, types::ID _Type) in Action() function
77 Action(ActionClass _Kind, const ActionList &_Inputs, types::ID _Type) in Action() function
80 virtual ~Action();
82 const char *getClassName() const { return Action::getClassName(getKind()); } in getClassName()
101 class InputAction : public Action {
110 static bool classof(const Action *A) { in classof()
115 class BindArchAction : public Action {
122 BindArchAction(Action *Input, const char *_ArchName);
[all …]
/external/llvm/utils/TableGen/
DCallingConvEmitter.cpp32 void EmitAction(Record *Action, unsigned Indent, raw_ostream &O);
78 void CallingConvEmitter::EmitAction(Record *Action, in EmitAction() argument
82 if (Action->isSubClassOf("CCPredicateAction")) { in EmitAction()
85 if (Action->isSubClassOf("CCIfType")) { in EmitAction()
86 ListInit *VTs = Action->getValueAsListInit("VTs"); in EmitAction()
93 } else if (Action->isSubClassOf("CCIf")) { in EmitAction()
94 O << Action->getValueAsString("Predicate"); in EmitAction()
96 Action->dump(); in EmitAction()
101 EmitAction(Action->getValueAsDef("SubAction"), Indent+2, O); in EmitAction()
104 if (Action->isSubClassOf("CCDelegateTo")) { in EmitAction()
[all …]
/external/chromium_org/third_party/yasm/source/patched-yasm/tools/re2c/
Ddfa.h22 typedef struct Action { struct
39 } Action; argument
41 void Action_emit(Action*, FILE *, int *);
65 Action *action;
99 static Action *
102 Action *a = malloc(sizeof(Action)); in Action_new_Match()
109 static Action *
112 Action *a = malloc(sizeof(Action)); in Action_new_Enter()
120 static Action *
123 Action *a = malloc(sizeof(Action)); in Action_new_Save()
[all …]
/external/chromium_org/third_party/WebKit/Source/core/inspector/
DInspectorHistory.cpp42 class UndoableStateMark FINAL : public InspectorHistory::Action {
44 UndoableStateMark() : InspectorHistory::Action("[UndoableState]") { } in UndoableStateMark()
57 InspectorHistory::Action::Action(const String& name) : m_name(name) in Action() function in blink::InspectorHistory::Action
61 InspectorHistory::Action::~Action() in ~Action()
65 void InspectorHistory::Action::trace(Visitor* visitor) in trace()
69 String InspectorHistory::Action::toString() in toString()
74 bool InspectorHistory::Action::isUndoableStateMark() in isUndoableStateMark()
79 String InspectorHistory::Action::mergeId() in mergeId()
84 void InspectorHistory::Action::merge(PassRefPtrWillBeRawPtr<Action>) in merge() argument
90 bool InspectorHistory::perform(PassRefPtrWillBeRawPtr<Action> action, ExceptionState& exceptionStat… in perform()
[all …]
DInspectorHistory.h47 class Action : public RefCountedWillBeGarbageCollectedFinalized<Action> {
50 explicit Action(const String& name);
51 virtual ~Action();
56 virtual void merge(PassRefPtrWillBeRawPtr<Action>);
71 bool perform(PassRefPtrWillBeRawPtr<Action>, ExceptionState&);
79 WillBeHeapVector<RefPtrWillBeMember<Action> > m_history;
DDOMEditor.cpp47 class DOMEditor::RemoveChildAction FINAL : public InspectorHistory::Action {
51 : InspectorHistory::Action("RemoveChild") in RemoveChildAction()
80 InspectorHistory::Action::trace(visitor); in trace()
89 class DOMEditor::InsertBeforeAction FINAL : public InspectorHistory::Action {
93 : InspectorHistory::Action("InsertBefore") in InsertBeforeAction()
135 InspectorHistory::Action::trace(visitor); in trace()
145 class DOMEditor::RemoveAttributeAction FINAL : public InspectorHistory::Action {
149 : InspectorHistory::Action("RemoveAttribute") in RemoveAttributeAction()
176 InspectorHistory::Action::trace(visitor); in trace()
185 class DOMEditor::SetAttributeAction FINAL : public InspectorHistory::Action {
[all …]
/external/clang/lib/Driver/
DAction.cpp16 Action::~Action() { in ~Action()
23 const char *Action::getClassName(ActionClass AC) { in getClassName()
46 : Action(InputClass, _Type), Input(_Input) { in InputAction()
51 BindArchAction::BindArchAction(Action *Input, const char *_ArchName) in BindArchAction()
52 : Action(BindArchClass, Input, Input->getType()), ArchName(_ArchName) { in BindArchAction()
57 JobAction::JobAction(ActionClass Kind, Action *Input, types::ID Type) in JobAction()
58 : Action(Kind, Input, Type) { in JobAction()
62 : Action(Kind, Inputs, Type) { in JobAction()
67 PreprocessJobAction::PreprocessJobAction(Action *Input, types::ID OutputType) in PreprocessJobAction()
73 PrecompileJobAction::PrecompileJobAction(Action *Input, types::ID OutputType) in PrecompileJobAction()
[all …]
/external/smack/src/org/jivesoftware/smackx/packet/
DAdHocCommandData.java26 import org.jivesoftware.smackx.commands.AdHocCommand.Action;
57 private AdHocCommand.Action action;
62 private ArrayList<AdHocCommand.Action> actions = new ArrayList<AdHocCommand.Action>();
64 private AdHocCommand.Action executeAction;
106 for (AdHocCommand.Action action : actions) { in getChildElementXML()
206 public AdHocCommand.Action getAction() { in getAction()
210 public void setAction(AdHocCommand.Action action) { in setAction()
227 public List<Action> getActions() { in getActions()
231 public void addAction(Action action) { in addAction()
235 public void setExecuteAction(Action executeAction) { in setExecuteAction()
[all …]
/external/eigen/bench/btl/generic_bench/static/
Dbench_static.hh36 template <template<class> class Perf_Analyzer, template<class> class Action, template<class,int> cl…
39 if (BtlConfig::skipAction(Action<Interface<REAL_TYPE,10> >::name())) in bench_static()
42 string filename = "bench_" + Action<Interface<REAL_TYPE,10> >::name() + ".dat"; in bench_static()
51 static_size_generator<max_size,Perf_Analyzer,Action,Interface>::go(tab_sizes,tab_mflops); in bench_static()
57 template <template<class> class Action, template<class,int> class Interface>
60 bench_static<Portable_Perf_Analyzer,Action,Interface>(); in bench_static()
Dstatic_size_generator.hh28 template <int SIZE,template<class> class Perf_Analyzer, template<class> class Action, template<clas…
34 Perf_Analyzer<Action<Interface<REAL_TYPE,SIZE> > > perf_action; in go()
37 static_size_generator<SIZE-1,Perf_Analyzer,Action,Interface>::go(tab_sizes,tab_mflops); in go()
43 template <template<class> class Perf_Analyzer, template<class> class Action, template<class,int> cl…
44 struct static_size_generator<1,Perf_Analyzer,Action,Interface>{
48 Perf_Analyzer<Action<Interface<REAL_TYPE,1> > > perf_action; in go()
/external/llvm/lib/LineEditor/
DLineEditor.cpp55 CompletionAction Action; in complete() local
58 Action.Kind = CompletionAction::AK_ShowCompletions; in complete()
59 return Action; in complete()
70 Action.Kind = CompletionAction::AK_ShowCompletions; in complete()
73 Action.Completions.push_back(I->DisplayText); in complete()
75 Action.Kind = CompletionAction::AK_Insert; in complete()
76 Action.Text = CommonPrefix; in complete()
79 return Action; in complete()
85 CompletionAction Action; in getCompletionAction() local
86 Action.Kind = CompletionAction::AK_ShowCompletions; in getCompletionAction()
[all …]
/external/guava/guava-tests/test/com/google/common/testing/
DNullPointerTesterTest.java184 public enum Action { enum in NullPointerTesterTest.TwoArg
201 Action actionWhenFirstParamIsNull;
202 Action actionWhenSecondParamIsNull;
205 Action actionWhenFirstParamIsNull, in TwoArg()
206 Action actionWhenSecondParamIsNull) { in TwoArg()
273 for (TwoArg.Action first : TwoArg.Action.values()) { in testTwoArgNormalNormal()
274 for (TwoArg.Action second : TwoArg.Action.values()) { in testTwoArgNormalNormal()
276 if (first.equals(TwoArg.Action.THROW_A_NPE) in testTwoArgNormalNormal()
277 && second.equals(TwoArg.Action.THROW_A_NPE)) { in testTwoArgNormalNormal()
289 for (TwoArg.Action first : TwoArg.Action.values()) { in testTwoArgNormalNullable()
[all …]

12345678910>>...15