Home
last modified time | relevance | path

Searched refs:action (Results 1 – 25 of 1192) sorted by relevance

12345678910>>...48

/external/chromium/chrome/common/extensions/
Dextension_action_unittest.cc36 ExtensionAction action; in TEST() local
39 ASSERT_EQ("", action.GetTitle(1)); in TEST()
40 action.SetTitle(ExtensionAction::kDefaultTabId, "foo"); in TEST()
41 ASSERT_EQ("foo", action.GetTitle(1)); in TEST()
42 ASSERT_EQ("foo", action.GetTitle(100)); in TEST()
43 action.SetTitle(100, "bar"); in TEST()
44 ASSERT_EQ("foo", action.GetTitle(1)); in TEST()
45 ASSERT_EQ("bar", action.GetTitle(100)); in TEST()
46 action.SetTitle(ExtensionAction::kDefaultTabId, "baz"); in TEST()
47 ASSERT_EQ("baz", action.GetTitle(1)); in TEST()
[all …]
/external/webkit/Tools/Scripts/webkitpy/tool/steps/
Doptions.py32 …blocks = make_option("--blocks", action="store", type="string", dest="blocks", default=None, help=…
33 …build = make_option("--build", action="store_true", dest="build", default=False, help="Build and r…
34 …build_style = make_option("--build-style", action="store", dest="build_style", default=None, help=…
35 …cc = make_option("--cc", action="store", type="string", dest="cc", help="Comma-separated list of e…
36 …check_builders = make_option("--ignore-builders", action="store_false", dest="check_builders", def…
37 …check_style = make_option("--ignore-style", action="store_false", dest="check_style", default=True…
38 …clean = make_option("--no-clean", action="store_false", dest="clean", default=True, help="Don't ch…
39 …close_bug = make_option("--no-close", action="store_false", dest="close_bug", default=True, help="…
40 …comment = make_option("--comment", action="store", type="string", dest="comment", help="Comment to…
41 …component = make_option("--component", action="store", type="string", dest="component", help="Comp…
[all …]
/external/qemu/distrib/sdl-1.2.15/src/events/
DSDL_quit.c49 struct sigaction action; local
50 sigaction(SIGINT, NULL, &action);
52 if ( action.sa_handler == SIG_DFL && action.sa_sigaction == (void*)SIG_DFL ) {
54 if ( action.sa_handler == SIG_DFL ) {
56 action.sa_handler = SDL_HandleSIG;
57 sigaction(SIGINT, &action, NULL);
59 sigaction(SIGTERM, NULL, &action);
61 if ( action.sa_handler == SIG_DFL && action.sa_sigaction == (void*)SIG_DFL ) {
63 if ( action.sa_handler == SIG_DFL ) {
65 action.sa_handler = SDL_HandleSIG;
[all …]
/external/chromium/net/tools/crash_cache/
Dcrash_cache.cc43 int RunSlave(RankCrashes action) { in RunSlave() argument
48 cmdline.AppendArg(base::IntToString(action)); in RunSlave()
52 printf("Unable to run test %d\n", action); in RunSlave()
59 printf("Unable to get return code, test %d\n", action); in RunSlave()
63 printf("Test %d failed, code %d\n", action, exit_code); in RunSlave()
85 bool CreateTargetFolder(const FilePath& path, RankCrashes action, in CreateTargetFolder() argument
113 DCHECK(action > disk_cache::NO_CRASH && action < disk_cache::MAX_CRASH); in CreateTargetFolder()
115 *full_path = path.AppendASCII(folders[action]); in CreateTargetFolder()
132 int SimpleInsert(const FilePath& path, RankCrashes action, in SimpleInsert() argument
144 if (action <= disk_cache::INSERT_EMPTY_3) { in SimpleInsert()
[all …]
/external/chromium/chrome/browser/metrics/
Duser_metrics.cc11 void UserMetrics::RecordAction(const UserMetricsAction& action, in RecordAction() argument
13 Record(action.str_, profile); in RecordAction()
16 void UserMetrics::RecordComputedAction(const std::string& action, in RecordComputedAction() argument
18 Record(action.c_str(), profile); in RecordComputedAction()
21 void UserMetrics::Record(const char *action, Profile *profile) { in Record() argument
22 Record(action); in Record()
25 void UserMetrics::RecordAction(const UserMetricsAction& action) { in RecordAction() argument
26 Record(action.str_); in RecordAction()
29 void UserMetrics::RecordComputedAction(const std::string& action) { in RecordComputedAction() argument
30 Record(action.c_str()); in RecordComputedAction()
[all …]
Duser_metrics.h48 static void RecordAction(const UserMetricsAction& action, Profile* profile);
55 static void RecordComputedAction(const std::string& action,
58 static void RecordAction(const UserMetricsAction& action);
59 static void RecordComputedAction(const std::string& action);
62 static void Record(const char *action, Profile *profile);
63 static void Record(const char *action);
64 static void CallRecordOnUI(const std::string& action);
/external/webkit/Tools/Scripts/webkitpy/layout_tests/
Drun_webkit_tests.py190 return optparse.make_option(option_name, action="callback",
207 optparse.make_option('--debug', action='store_const', const='Debug',
210 optparse.make_option('--release', action='store_const',
220 optparse.make_option("--chromium", action="store_true", default=False,
222 optparse.make_option("--startup-dialog", action="store_true",
224 optparse.make_option("--gp-fault-error-box", action="store_true",
228 optparse.make_option("--stress-opt", action="store_true",
231 optparse.make_option("--stress-deopt", action="store_true",
234 optparse.make_option("--nocheck-sys-deps", action="store_true",
238 action="store_true",
[all …]
/external/webkit/Source/WebCore/platform/gtk/
DContextMenuItemGtk.cpp35 static const char* gtkStockIDFromContextMenuAction(const ContextMenuAction& action) in gtkStockIDFromContextMenuAction() argument
37 switch (action) { in gtkStockIDFromContextMenuAction()
131 ContextMenuItem::ContextMenuItem(ContextMenuItemType type, ContextMenuAction action, const String& … in ContextMenuItem() argument
138 GOwnPtr<char> actionName(g_strdup_printf("context-menu-action-%d", action)); in ContextMenuItem()
142 …gle_action_new(actionName.get(), title.utf8().data(), 0, gtkStockIDFromContextMenuAction(action))); in ContextMenuItem()
144 … gtk_action_new(actionName.get(), title.utf8().data(), 0, gtkStockIDFromContextMenuAction(action)); in ContextMenuItem()
149 …ect_set_data(G_OBJECT(m_platformDescription), WEBKIT_CONTEXT_MENU_ACTION, GINT_TO_POINTER(action)); in ContextMenuItem()
195 ContextMenuAction ContextMenuItem::action() const in action() function in WebCore::ContextMenuItem
200 void ContextMenuItem::setAction(ContextMenuAction action) in setAction() argument
202 …ect_set_data(G_OBJECT(m_platformDescription), WEBKIT_CONTEXT_MENU_ACTION, GINT_TO_POINTER(action)); in setAction()
[all …]
/external/qemu/distrib/sdl-1.2.15/src/
DSDL_fatal.c64 struct sigaction action; in SDL_InstallParachute() local
67 sigaction(SDL_fatal_signals[i], NULL, &action); in SDL_InstallParachute()
68 if ( action.sa_handler == SIG_DFL ) { in SDL_InstallParachute()
69 action.sa_handler = SDL_Parachute; in SDL_InstallParachute()
70 sigaction(SDL_fatal_signals[i], &action, NULL); in SDL_InstallParachute()
75 sigaction(SIGALRM, NULL, &action); in SDL_InstallParachute()
76 if ( action.sa_handler == SIG_DFL ) { in SDL_InstallParachute()
77 action.sa_handler = SIG_IGN; in SDL_InstallParachute()
78 sigaction(SIGALRM, &action, NULL); in SDL_InstallParachute()
99 struct sigaction action; in SDL_UninstallParachute() local
[all …]
/external/antlr/antlr-3.4/tool/src/test/java/org/antlr/test/
DTestAttributes.java58 String action = "i<3; '<xmltag>'"; in testEscapedLessThanInAction() local
60 new CommonToken(ANTLRParser.ACTION,action),0); in testEscapedLessThanInAction()
61 String expecting = action; in testEscapedLessThanInAction()
73 String action = "int \\$n; \"\\$in string\\$\""; in testEscaped$InAction() local
77 "@members {"+action+"}\n"+ in testEscaped$InAction()
79 " : {"+action+"}\n" + in testEscaped$InAction()
88 new CommonToken(ANTLRParser.ACTION,action),0); in testEscaped$InAction()
93 String action = "$i; $i.x; $u; $u.x"; in testArguments() local
101 " : {"+action+"}\n" + in testArguments()
108 new CommonToken(ANTLRParser.ACTION,action),1); in testArguments()
[all …]
DTestTemplates.java49 String action = "x = %foo(name={$ID.text});"; in testTemplateConstructor() local
61 "a : ID {"+action+"}\n" + in testTemplateConstructor()
72 new CommonToken(ANTLRParser.ACTION,action),1); in testTemplateConstructor()
87 String action = "x = %foo();"; in testTemplateConstructorNoArgs() local
98 "a : ID {"+action+"}\n" + in testTemplateConstructorNoArgs()
109 new CommonToken(ANTLRParser.ACTION,action),1); in testTemplateConstructorNoArgs()
124 String action = "x = %({\"foo\"})(name={$ID.text});"; in testIndirectTemplateConstructor() local
136 "a : ID {"+action+"}\n" + in testIndirectTemplateConstructor()
147 new CommonToken(ANTLRParser.ACTION,action),1); in testIndirectTemplateConstructor()
161 String action = "x = %{$ID.text};"; in testStringConstructor() local
[all …]
/external/eigen/bench/btl/generic_bench/timers/
Dportable_perf_analyzer_old.hh45 Action action(size); in eval_mflops() local
60 double time_action = time_calculate(action); in eval_mflops()
64 time_action = time_calculate(action); in eval_mflops()
69 time_action = std::min(time_action, time_calculate(action)); in eval_mflops()
77 action.check_result(); in eval_mflops()
80 double time_baseline = time_init(action); in eval_mflops()
82 time_baseline = std::min(time_baseline, time_init(action)); in eval_mflops()
94 return action.nb_op_base()/(time_action*1000000.0); in eval_mflops()
97 inline double time_init(Action & action) in time_init() argument
102 action.initialize(); in time_init()
[all …]
Dportable_perf_analyzer.hh43 Action action(size); in eval_mflops() local
51 action.initialize(); in eval_mflops()
52 m_time_action = time_calculate(action); in eval_mflops()
69 action.initialize(); in eval_mflops()
70 action.calculate(); in eval_mflops()
71 action.check_result(); in eval_mflops()
73 return action.nb_op_base()/(time_action*1e6); in eval_mflops()
76 BTL_DONT_INLINE double time_calculate(Action & action) in time_calculate() argument
79 action.calculate(); in time_calculate()
83 action.calculate(); in time_calculate()
/external/bison/lib/
Dspawni.c244 struct __spawn_action *action = &file_actions->_actions[cnt]; in __spawni() local
246 switch (action->tag) in __spawni()
249 if (close_not_cancel (action->action.close_action.fd) != 0) in __spawni()
256 int new_fd = open_not_cancel (action->action.open_action.path, in __spawni()
257 action->action.open_action.oflag in __spawni()
259 action->action.open_action.mode); in __spawni()
266 if (new_fd != action->action.open_action.fd) in __spawni()
268 if (dup2 (new_fd, action->action.open_action.fd) in __spawni()
269 != action->action.open_action.fd) in __spawni()
281 if (dup2 (action->action.dup2_action.fd, in __spawni()
[all …]
Dfatal-signal.c95 struct sigaction action; in init_fatal_signals() local
97 if (sigaction (fatal_signals[i], NULL, &action) >= 0 in init_fatal_signals()
98 && get_handler (&action) == SIG_IGN) in init_fatal_signals()
117 volatile action_t action; member
157 action_t action; in fatal_signal_handler() local
163 action = actions[n].action; in fatal_signal_handler()
165 action (); in fatal_signal_handler()
183 struct sigaction action; in install_handlers() local
185 action.sa_handler = &fatal_signal_handler; in install_handlers()
189 action.sa_flags = SA_NODEFER; in install_handlers()
[all …]
/external/chromium/chrome/browser/
Dbrowser_main_posix.cc40 struct sigaction action; in GracefulShutdownHandler() local
41 memset(&action, 0, sizeof(action)); in GracefulShutdownHandler()
42 action.sa_handler = SIG_DFL; in GracefulShutdownHandler()
43 RAW_CHECK(sigaction(signal, &action, NULL) == 0); in GracefulShutdownHandler()
189 struct sigaction action; in PreEarlyInitialization() local
190 memset(&action, 0, sizeof(action)); in PreEarlyInitialization()
191 action.sa_handler = SIGCHLDHandler; in PreEarlyInitialization()
192 CHECK(sigaction(SIGCHLD, &action, NULL) == 0); in PreEarlyInitialization()
200 memset(&action, 0, sizeof(action)); in PreEarlyInitialization()
201 action.sa_handler = SIGTERMHandler; in PreEarlyInitialization()
[all …]
/external/wpa_supplicant_8/wpa_supplicant/
Dwnm_sta.c44 u8 action, u16 intval, struct wpabuf *tfs_req) in ieee802_11_send_wnmsleep_req() argument
53 enum wnm_oper tfs_oper = action == 0 ? WNM_SLEEP_TFS_REQ_IE_ADD : in ieee802_11_send_wnmsleep_req()
58 action == 0 ? "enter" : "exit", in ieee802_11_send_wnmsleep_req()
68 wnmsleep_ie->action_type = action; in ieee802_11_send_wnmsleep_req()
113 mgmt->u.action.category = WLAN_ACTION_WNM; in ieee802_11_send_wnmsleep_req()
114 mgmt->u.action.u.wnm_sleep_req.action = WNM_SLEEP_MODE_REQ; in ieee802_11_send_wnmsleep_req()
115 mgmt->u.action.u.wnm_sleep_req.dialogtoken = 1; in ieee802_11_send_wnmsleep_req()
116 os_memcpy(mgmt->u.action.u.wnm_sleep_req.variable, wnmsleep_ie, in ieee802_11_send_wnmsleep_req()
120 os_memcpy(mgmt->u.action.u.wnm_sleep_req.variable + in ieee802_11_send_wnmsleep_req()
124 len = 1 + sizeof(mgmt->u.action.u.wnm_sleep_req) + wnmsleep_ie_len + in ieee802_11_send_wnmsleep_req()
[all …]
/external/webkit/Source/WebCore/accessibility/gtk/
DWebKitAccessibleHyperlink.cpp87 static AccessibilityObject* core(AtkAction* action) in core() argument
89 return core(WEBKIT_ACCESSIBLE_HYPERLINK(action)); in core()
93 static gboolean webkitAccessibleHyperlinkActionDoAction(AtkAction* action, gint index) in webkitAccessibleHyperlinkActionDoAction() argument
95 g_return_val_if_fail(WEBKIT_IS_ACCESSIBLE_HYPERLINK(action), FALSE); in webkitAccessibleHyperlinkActionDoAction()
96 g_return_val_if_fail(WEBKIT_ACCESSIBLE_HYPERLINK(action)->priv->hyperlinkImpl, FALSE); in webkitAccessibleHyperlinkActionDoAction()
99 if (!ATK_IS_ACTION(WEBKIT_ACCESSIBLE_HYPERLINK(action)->priv->hyperlinkImpl)) in webkitAccessibleHyperlinkActionDoAction()
102 AccessibilityObject* coreObject = core(action); in webkitAccessibleHyperlinkActionDoAction()
109 static gint webkitAccessibleHyperlinkActionGetNActions(AtkAction* action) in webkitAccessibleHyperlinkActionGetNActions() argument
111 g_return_val_if_fail(WEBKIT_IS_ACCESSIBLE_HYPERLINK(action), 0); in webkitAccessibleHyperlinkActionGetNActions()
112 g_return_val_if_fail(WEBKIT_ACCESSIBLE_HYPERLINK(action)->priv->hyperlinkImpl, 0); in webkitAccessibleHyperlinkActionGetNActions()
[all …]
/external/v8/tools/
Dtest-wrapper-gypbuild.py58 default=False, action="store_true")
70 default=False, action="store_true")
75 default=False, action="store_true")
77 default=False, action="store_true")
79 default=[], action="append")
83 default=False, action="store_true")
86 default=False, action="store_true")
88 default=False, action="store_true")
90 default=False, action="store_true")
94 default=False, action="store_true")
[all …]
/external/webkit/Source/WebCore/platform/wx/
DContextMenuItemWx.cpp37 m_platformDescription.action = ContextMenuItemTagNoAction; in ContextMenuItem()
44 ContextMenuItem::ContextMenuItem(ContextMenuItemType type, ContextMenuAction action, in ContextMenuItem() argument
48 m_platformDescription.action = action; in ContextMenuItem()
75 ContextMenuAction ContextMenuItem::action() const in action() function in ContextMenuItem
77 return m_platformDescription.action; in action()
80 void ContextMenuItem::setAction(ContextMenuAction action) in setAction() argument
82 m_platformDescription.action = action; in setAction()
/external/chromium-trace/trace-viewer/src/importer/linux_perf/
Ddisk_parser.js77 var action = datasync ? 'fdatasync' : 'fsync';
79 key, action);
107 var action;
110 action = 'discard';
113 action = 'write';
116 action = 'read';
119 action = 'none';
122 action = 'unknown';
127 action += ' flush';
130 action += ' fua';
[all …]
/external/webkit/Source/WebKit/chromium/scripts/
Djsmin.py141 def action(self, d): member in JavaScriptMinifier
189 self.action(3)
193 self.action(1)
195 self.action(2)
198 self.action(1)
200 self.action(3)
203 self.action(1)
205 self.action(2)
209 self.action(1)
211 self.action(3)
[all …]
/external/webkit/Source/WebCore/platform/
DContextMenuItem.cpp35 ContextMenuItem::ContextMenuItem(ContextMenuItemType type, ContextMenuAction action, const String& … in ContextMenuItem() argument
37 , m_action(action) in ContextMenuItem()
46 ContextMenuItem::ContextMenuItem(ContextMenuItemType type, ContextMenuAction action, const String& … in ContextMenuItem() argument
48 , m_action(action) in ContextMenuItem()
55 ContextMenuItem::ContextMenuItem(ContextMenuAction action, const String& title, bool enabled, bool … in ContextMenuItem() argument
57 , m_action(action) in ContextMenuItem()
90 void ContextMenuItem::setAction(ContextMenuAction action) in setAction() argument
92 m_action = action; in setAction()
95 ContextMenuAction ContextMenuItem::action() const in action() function in WebCore::ContextMenuItem
/external/wpa_supplicant_8/src/ap/
Dwnm_ap.c102 mgmt->u.action.category = WLAN_ACTION_WNM; in ieee802_11_send_wnmsleep_resp()
103 mgmt->u.action.u.wnm_sleep_resp.action = WNM_SLEEP_MODE_RESP; in ieee802_11_send_wnmsleep_resp()
104 mgmt->u.action.u.wnm_sleep_resp.dialogtoken = dialog_token; in ieee802_11_send_wnmsleep_resp()
105 pos = (u8 *)mgmt->u.action.u.wnm_sleep_resp.variable; in ieee802_11_send_wnmsleep_resp()
109 mgmt->u.action.u.wnm_sleep_resp.keydata_len = 0; in ieee802_11_send_wnmsleep_resp()
129 &mgmt->u.action.u.wnm_sleep_resp.keydata_len, in ieee802_11_send_wnmsleep_resp()
138 len = 1 + sizeof(mgmt->u.action.u.wnm_sleep_resp) + gtk_elem_len + in ieee802_11_send_wnmsleep_resp()
144 mgmt->da, &mgmt->u.action.category, len); in ieee802_11_send_wnmsleep_resp()
247 struct rx_action *action) in ieee802_11_rx_wnm_action_ap() argument
249 if (action->len < 1 || action->data == NULL) in ieee802_11_rx_wnm_action_ap()
[all …]
/external/webkit/Source/WebKit/qt/tests/qwebpage/
Dtst_qwebpage.cpp995 QVERIFY(page->action(QWebPage::MoveToNextChar) != 0); in cursorMovements()
996 QVERIFY(page->action(QWebPage::MoveToPreviousChar) != 0); in cursorMovements()
997 QVERIFY(page->action(QWebPage::MoveToNextWord) != 0); in cursorMovements()
998 QVERIFY(page->action(QWebPage::MoveToPreviousWord) != 0); in cursorMovements()
999 QVERIFY(page->action(QWebPage::MoveToNextLine) != 0); in cursorMovements()
1000 QVERIFY(page->action(QWebPage::MoveToPreviousLine) != 0); in cursorMovements()
1001 QVERIFY(page->action(QWebPage::MoveToStartOfLine) != 0); in cursorMovements()
1002 QVERIFY(page->action(QWebPage::MoveToEndOfLine) != 0); in cursorMovements()
1003 QVERIFY(page->action(QWebPage::MoveToStartOfBlock) != 0); in cursorMovements()
1004 QVERIFY(page->action(QWebPage::MoveToEndOfBlock) != 0); in cursorMovements()
[all …]

12345678910>>...48