Home
last modified time | relevance | path

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

12345678910>>...43

/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/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/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/qemu/distrib/sdl-1.2.12/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/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/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/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
DContextMenu.cpp37 static const ContextMenuItem* findItemWithAction(unsigned action, const Vector<ContextMenuItem>& it… in findItemWithAction() argument
41 if (item.action() == action) in findItemWithAction()
45 if (const ContextMenuItem* subMenuItem = findItemWithAction(action, item.subMenuItems())) in findItemWithAction()
52 ContextMenuItem* ContextMenu::itemWithAction(unsigned action) in itemWithAction() argument
56 return const_cast<ContextMenuItem*>(findItemWithAction(action, m_items)); in itemWithAction()
/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 …]
/external/webkit/Source/WebCore/platform/qt/
DContextMenuItemQt.cpp37 m_platformDescription.action = ContextMenuItemTagNoAction; in ContextMenuItem()
42 ContextMenuItem::ContextMenuItem(ContextMenuItemType type, ContextMenuAction action, in ContextMenuItem() argument
46 m_platformDescription.action = action; in ContextMenuItem()
81 ContextMenuAction ContextMenuItem::action() const in action() function in WebCore::ContextMenuItem
83 return m_platformDescription.action; in action()
86 void ContextMenuItem::setAction(ContextMenuAction action) in setAction() argument
88 m_platformDescription.action = action; in setAction()
/external/icu4c/test/intltest/
Drestsnew.cpp36 …if ((expected)==(actual)) { record_pass(); } else { record_fail(); errln(action + (UnicodeString)"…
37 …if ((actual)>=(expected)) { record_pass(); } else { record_fail(); errln(action + (UnicodeString)"…
38 …if ((expected)!=(actual)) { record_pass(); } else { record_fail(); errln(action + (UnicodeString)"…
40 …if ((expected)==(actual)) { record_pass(); } else { record_fail(); errln(action + (UnicodeString)"…
330 UnicodeString action; in TestIteration() local
334 action = "te_IN"; in TestIteration()
335 action +=".get("; in TestIteration()
336 action += data[i]; in TestIteration()
337 action +=", err)"; in TestIteration()
341 action = "te_IN"; in TestIteration()
[all …]
/external/webkit/Tools/QtTestBrowser/
Dmainwindow.cpp61 QAction* reloadAction = page()->action(QWebPage::Reload); in buildUI()
64 m_toolBar->addAction(page()->action(QWebPage::Back)); in buildUI()
65 m_toolBar->addAction(page()->action(QWebPage::Forward)); in buildUI()
67 m_toolBar->addAction(page()->action(QWebPage::Stop)); in buildUI()
94 page()->action(QWebPage::Back)->setShortcut(QKeySequence::Back); in buildUI()
95 page()->action(QWebPage::Stop)->setShortcut(Qt::Key_Escape); in buildUI()
96 page()->action(QWebPage::Forward)->setShortcut(QKeySequence::Forward); in buildUI()
97 page()->action(QWebPage::Reload)->setShortcut(QKeySequence::Refresh); in buildUI()
99 page()->action(QWebPage::Undo)->setShortcut(QKeySequence::Undo); in buildUI()
100 page()->action(QWebPage::Redo)->setShortcut(QKeySequence::Redo); in buildUI()
[all …]
/external/webkit/Source/WebCore/platform/chromium/
DContextMenuItemChromium.cpp47 ContextMenuItem::ContextMenuItem(ContextMenuItemType type, ContextMenuAction action, const String& … in ContextMenuItem() argument
50 m_platformDescription.action = action; in ContextMenuItem()
68 ContextMenuAction ContextMenuItem::action() const in action() function in WebCore::ContextMenuItem
70 return m_platformDescription.action; in action()
98 void ContextMenuItem::setAction(ContextMenuAction action) in setAction() argument
100 m_platformDescription.action = action; in setAction()
/external/webkit/Source/WebKit/efl/ewk/
Dewk_contextmenu.cpp54 Ewk_Context_Menu_Action action; /**< contains the action of the item */ member
142 Ewk_Context_Menu_Action action, Ewk_Context_Menu* submenu, in ewk_context_menu_item_new() argument
150 item->action = action; in ewk_context_menu_item_new()
171 WebCore::ContextMenuAction action = static_cast<WebCore::ContextMenuAction>(item->action); in ewk_context_menu_item_select() local
175 WebCore::ContextMenuItem core(type, action, WTF::String()); in ewk_context_menu_item_select()
240 return o->action; in ewk_context_menu_item_action_get()
252 Eina_Bool ewk_context_menu_item_action_set(Ewk_Context_Menu_Item* o, Ewk_Context_Menu_Action action) in ewk_context_menu_item_action_set() argument
255 o->action = action; in ewk_context_menu_item_action_set()
403 Ewk_Context_Menu_Action action = static_cast<Ewk_Context_Menu_Action>(core.action()); in ewk_context_menu_item_append() local
406 (type, action, 0, core.title().utf8().data(), core.checked(), in ewk_context_menu_item_append()
/external/webkit/Source/WebKit/mac/WebCoreSupport/
DWebEditorClient.mm280 bool WebEditorClient::shouldInsertText(const String& text, Range* range, EditorInsertAction action)
283 …arder] webView:webView shouldInsertText:text replacingDOMRange:kit(range) givenAction:kit(action)];
492 …or: return UI_STRING_KEY_INTERNAL("Set Color", "Set Color (Undo action name)", "Undo action name");
493 …EY_INTERNAL("Set Background Color", "Set Background Color (Undo action name)", "Undo action name");
494 …STRING_KEY_INTERNAL("Turn Off Kerning", "Turn Off Kerning (Undo action name)", "Undo action name");
495 …I_STRING_KEY_INTERNAL("Tighten Kerning", "Tighten Kerning (Undo action name)", "Undo action name");
496 … UI_STRING_KEY_INTERNAL("Loosen Kerning", "Loosen Kerning (Undo action name)", "Undo action name");
497 …EY_INTERNAL("Use Standard Kerning", "Use Standard Kerning (Undo action name)", "Undo action name");
498 …NG_KEY_INTERNAL("Turn Off Ligatures", "Turn Off Ligatures (Undo action name)", "Undo action name");
499 …NTERNAL("Use Standard Ligatures", "Use Standard Ligatures (Undo action name)", "Undo action name");
[all …]
/external/iproute2/tc/
Dm_gact.c98 int action = TC_POLICE_RECLASSIFY; in parse_gact() local
107 p.action = TC_POLICE_RECLASSIFY; in parse_gact()
116 action = get_act(&argv); in parse_gact()
117 if (action != -10) { in parse_gact()
118 p.action = action; in parse_gact()
122 return action; in parse_gact()
147 action = get_act(&argv); in parse_gact()
148 if (action != -10) { /* FIXME */ in parse_gact()
149 pp.paction = action; in parse_gact()
228 fprintf(f, "gact action %s", action_n2a(p->action, b1, sizeof (b1))); in print_gact()

12345678910>>...43