Home
last modified time | relevance | path

Searched refs:hasSwitch (Results 1 – 25 of 163) sorted by relevance

1234567

/dports/www/chromium-legacy/chromium-88.0.4324.182/content/public/android/javatests/src/org/chromium/content/browser/
H A DContentCommandLineTest.java55 Assert.assertFalse(cl.hasSwitch("init_command")); in checkInitSwitches()
56 Assert.assertTrue(cl.hasSwitch("switch")); in checkInitSwitches()
57 Assert.assertFalse(cl.hasSwitch("--switch")); in checkInitSwitches()
58 Assert.assertFalse(cl.hasSwitch("arg")); in checkInitSwitches()
73 Assert.assertTrue(cl.hasSwitch(CL_ADDED_SWITCH)); in checkSettingThenGetting()
83 Assert.assertFalse(cl.hasSwitch("dummy")); in checkSettingThenGetting()
84 Assert.assertFalse(cl.hasSwitch("superfast")); in checkSettingThenGetting()
87 Assert.assertFalse(cl.hasSwitch("dummy")); in checkSettingThenGetting()
88 Assert.assertFalse(cl.hasSwitch("command")); in checkSettingThenGetting()
89 Assert.assertTrue(cl.hasSwitch("superfast")); in checkSettingThenGetting()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/base/android/javatests/src/org/chromium/base/
H A DCommandLineTest.java49 Assert.assertFalse(cl.hasSwitch("init_command")); in checkInitSwitches()
50 Assert.assertFalse(cl.hasSwitch("switch")); in checkInitSwitches()
51 Assert.assertTrue(cl.hasSwitch("SWITCH")); in checkInitSwitches()
52 Assert.assertFalse(cl.hasSwitch("--SWITCH")); in checkInitSwitches()
53 Assert.assertFalse(cl.hasSwitch("Arg")); in checkInitSwitches()
68 Assert.assertTrue(cl.hasSwitch(CL_ADDED_SWITCH)); in checkSettingThenGettingThenRemoving()
82 Assert.assertFalse(cl.hasSwitch("dummy")); in checkSettingThenGettingThenRemoving()
83 Assert.assertFalse(cl.hasSwitch("superfast")); in checkSettingThenGettingThenRemoving()
86 Assert.assertFalse(cl.hasSwitch("dummy")); in checkSettingThenGettingThenRemoving()
87 Assert.assertFalse(cl.hasSwitch("command")); in checkSettingThenGettingThenRemoving()
[all …]
H A DCommandLineFlagsTest.java45 Assert.assertFalse(CommandLine.getInstance().hasSwitch("flagwithvalue")); in getPostClassHooks()
103 Assert.assertEquals(flag1, cmdLine.hasSwitch(FLAG_1));
104 Assert.assertEquals(flag2, cmdLine.hasSwitch(FLAG_2));
105 Assert.assertEquals(flag3, cmdLine.hasSwitch(FLAG_3));
106 Assert.assertEquals(flag4, cmdLine.hasSwitch(FLAG_4));
107 Assert.assertEquals(flag5, cmdLine.hasSwitch(FLAG_5));
108 Assert.assertEquals(flag6, cmdLine.hasSwitch(FLAG_6));
109 Assert.assertEquals(flag7, cmdLine.hasSwitch(FLAG_7));
/dports/net-im/tg_owt/tg_owt-d578c76/src/base/android/javatests/src/org/chromium/base/
H A DCommandLineTest.java49 Assert.assertFalse(cl.hasSwitch("init_command")); in checkInitSwitches()
50 Assert.assertFalse(cl.hasSwitch("switch")); in checkInitSwitches()
51 Assert.assertTrue(cl.hasSwitch("SWITCH")); in checkInitSwitches()
52 Assert.assertFalse(cl.hasSwitch("--SWITCH")); in checkInitSwitches()
53 Assert.assertFalse(cl.hasSwitch("Arg")); in checkInitSwitches()
68 Assert.assertTrue(cl.hasSwitch(CL_ADDED_SWITCH)); in checkSettingThenGettingThenRemoving()
82 Assert.assertFalse(cl.hasSwitch("dummy")); in checkSettingThenGettingThenRemoving()
83 Assert.assertFalse(cl.hasSwitch("superfast")); in checkSettingThenGettingThenRemoving()
86 Assert.assertFalse(cl.hasSwitch("dummy")); in checkSettingThenGettingThenRemoving()
87 Assert.assertFalse(cl.hasSwitch("command")); in checkSettingThenGettingThenRemoving()
[all …]
/dports/irc/kvirc/KVIrc-5.0.0-73-gbdeac0429/src/modules/reguser/
H A Dlibkvireguser.cpp113 if(c->hasSwitch('t', "toplevel")) in reguser_kvs_cmd_edit()
191 if(!c->hasSwitch('q', "quiet")) in reguser_kvs_cmd_add()
196 if(c->hasSwitch('r', "replace")) in reguser_kvs_cmd_add()
203 if(c->hasSwitch('f', "force")) in reguser_kvs_cmd_add()
209 if(!c->hasSwitch('q', "quiet")) in reguser_kvs_cmd_add()
216 if(c->hasSwitch('g', "group")) in reguser_kvs_cmd_add()
276 if(!c->hasSwitch('q', "quiet")) in reguser_kvs_cmd_remove()
362 if(c->hasSwitch('f', "force")) in reguser_kvs_cmd_addmask()
549 if(c->hasSwitch('p', "query")) in reguser_kvs_cmd_setIgnoreFlags()
555 if(c->hasSwitch('t', "ctcp")) in reguser_kvs_cmd_setIgnoreFlags()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/android/features/tab_ui/junit/src/org/chromium/chrome/browser/tasks/tab_management/
H A DTabUiFeatureUtilitiesUnitTest.java77 when(mCommandLine.hasSwitch(BaseSwitches.DISABLE_LOW_END_DEVICE_MODE)).thenReturn(true); in testCacheGridTabSwitcher_HighEnd_NoEnabledFlags()
109 when(mCommandLine.hasSwitch(BaseSwitches.ENABLE_LOW_END_DEVICE_MODE)).thenReturn(true); in testCacheGridTabSwitcher_LowEnd_NoEnabledFlags()
132 when(mCommandLine.hasSwitch(BaseSwitches.DISABLE_LOW_END_DEVICE_MODE)).thenReturn(true); in testCacheGridTabSwitcher_HighEnd_Layout()
157 when(mCommandLine.hasSwitch(BaseSwitches.ENABLE_LOW_END_DEVICE_MODE)).thenReturn(true); in testCacheGridTabSwitcher_LowEnd_Layout()
182 when(mCommandLine.hasSwitch(BaseSwitches.DISABLE_LOW_END_DEVICE_MODE)).thenReturn(true); in testCacheGridTabSwitcher_HighEnd_LayoutGroup()
207 when(mCommandLine.hasSwitch(BaseSwitches.ENABLE_LOW_END_DEVICE_MODE)).thenReturn(true); in testCacheGridTabSwitcher_LowEnd_LayoutGroup()
231 when(mCommandLine.hasSwitch(BaseSwitches.DISABLE_LOW_END_DEVICE_MODE)).thenReturn(true); in testCacheGridTabSwitcher_HighEnd_Group()
255 when(mCommandLine.hasSwitch(BaseSwitches.ENABLE_LOW_END_DEVICE_MODE)).thenReturn(true); in testCacheGridTabSwitcher_LowEnd_Group()
303 when(mCommandLine.hasSwitch(BaseSwitches.ENABLE_LOW_END_DEVICE_MODE)).thenReturn(true); in testCacheGridTabSwitcher_LowEnd_Continuation()
351 when(mCommandLine.hasSwitch(BaseSwitches.ENABLE_LOW_END_DEVICE_MODE)).thenReturn(true); in testCacheGridTabSwitcher_LowEnd_AllFlags()
[all …]
/dports/irc/kvirc/KVIrc-5.0.0-73-gbdeac0429/src/modules/window/
H A Dlibkviwindow.cpp253 if(!c->hasSwitch('q', "quiet")) in window_kvs_cmd_splitView()
289 if(!c->hasSwitch('q', "quiet")) in window_kvs_cmd_unsplitView()
690 if(!c->hasSwitch('q', "quiet")) in window_kvs_cmd_highlight()
1188 if(!c->hasSwitch('q', "quiet")) in window_kvs_cmd_setWindowTitle()
1238 if(!c->hasSwitch('q', "quiet")) in window_kvs_cmd_setInputText()
1282 if(!c->hasSwitch('q', "quiet")) in window_kvs_cmd_insertInInputText()
1354 if(!c->hasSwitch('q', "quiet")) in window_kvs_cmd_setBackground()
1361 if(!c->hasSwitch('q', "quiet")) in window_kvs_cmd_setBackground()
1519 if(!c->hasSwitch('q', "quiet")) in window_kvs_cmd_setCryptEngine()
1523 if(c->hasSwitch('n', "onlydecrypt") && c->hasSwitch('m', "onlyencrypt")) in window_kvs_cmd_setCryptEngine()
[all …]
/dports/irc/kvirc/KVIrc-5.0.0-73-gbdeac0429/src/modules/notifier/
H A Dlibkvinotifier.cpp128 if(c->hasSwitch('w', "window_id")) in notifier_kvs_cmd_message()
140 if(c->hasSwitch('t', "timeout")) in notifier_kvs_cmd_message()
160 if(!c->hasSwitch('q', "quiet")) in notifier_kvs_cmd_message()
161 g_pNotifierWindow->doShow(!(c->hasSwitch('n', "new"))); in notifier_kvs_cmd_message()
189 g_pNotifierWindow->doHide(!(c->hasSwitch('n', "notanimated"))); in notifier_kvs_cmd_hide()
225 g_pNotifierWindow->doShow(!(c->hasSwitch('n', "noanim"))); in notifier_kvs_cmd_show()
/dports/irc/kvirc/KVIrc-5.0.0-73-gbdeac0429/src/modules/popup/
H A Dlibkvipopup.cpp33 …if(!c->hasSwitch('q', "quiet")) …
41 …if(!c->hasSwitch('q', "quiet")) …
78 …if(!c->hasSwitch('q', "quiet")) …
180 if(c->callback()->code().trimmed().isEmpty() && !c->hasSwitch('q', "quiet")) in popup_kvs_cmd_addItem()
229 if(c->callback()->code().trimmed().isEmpty() && !c->hasSwitch('q', "quiet")) in popup_kvs_cmd_addPrologue()
278 if(c->callback()->code().trimmed().isEmpty() && !c->hasSwitch('q', "quiet")) in popup_kvs_cmd_addEpilogue()
536 if(!c->hasSwitch('q', "quiet")) in popup_kvs_cmd_create()
577 if(!c->hasSwitch('q', "quiet")) in popup_kvs_cmd_destroy()
583 if(!c->hasSwitch('q', "quiet")) in popup_kvs_cmd_destroy()
630 if(!pPopup->removeItemByName(szItemId, c->hasSwitch('d', "deep"))) in popup_kvs_cmd_delItem()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/chromecast/browser/android/junit/src/org/chromium/chromecast/shell/
H A DCastCommandLineHelperTest.java55 collector.checkThat(cmdLine.hasSwitch(NON_WHITELISTED_ARG), is(false)); in verifyTestIntent()
56 collector.checkThat(cmdLine.hasSwitch(WHITELISTED_ARG), is(true)); in verifyTestIntent()
58 collector.checkThat(cmdLine.hasSwitch(WHITELISTED_ARG_WITH_VALUE), is(true)); in verifyTestIntent()
169 collector.checkThat(cmdLine.hasSwitch(WHITELISTED_ARG), is(true)); in testDontOverrideExistingValues()
171 collector.checkThat(cmdLine.hasSwitch(WHITELISTED_ARG_WITH_VALUE), is(true)); in testDontOverrideExistingValues()
173 collector.checkThat(cmdLine.hasSwitch(WHITELISTED_ARG_WITH_VALUE2), is(true)); in testDontOverrideExistingValues()
/dports/irc/kvirc/KVIrc-5.0.0-73-gbdeac0429/src/modules/filetransferwindow/
H A Dlibkvifiletransferwindow.cpp72 …filetransferwindow_alloc(c->hasSwitch('m', QString::fromLatin1("minimized")), c->hasSwitch('n', QS… in filetransferwindow_kvs_cmd_open()
98 if(c->hasSwitch('a', QString::fromLatin1("all"))) in filetransferwindow_kvs_cmd_clear()
/dports/irc/kvirc/KVIrc-5.0.0-73-gbdeac0429/src/modules/mediaplayer/
H A Dlibkvimediaplayer.cpp131 …if(!c->hasSwitch('q', "quiet")) …
429 g_pMPInterface = auto_detect_player(c->hasSwitch('q', "quiet") ? nullptr : c->window()); in MP_KVS_SIMPLE_COMMAND()
572 if(!c->hasSwitch('q', "quiet")) in MP_KVS_COMMAND()
595 if(!c->hasSwitch('q', "quiet")) in MP_KVS_COMMAND()
636 if(!c->hasSwitch('q', "quiet")) in MP_KVS_COMMAND()
675 if(!c->hasSwitch('q', "quiet")) in MP_KVS_COMMAND()
1184 if(!c->hasSwitch('q', "quiet")) in MP_KVS_SIMPLE_INT_FUNCTION()
1362 if(!c->hasSwitch('q', "quiet")) in MP_KVS_COMMAND()
1556 if(!c->hasSwitch('q', "quiet")) in MP_KVS_COMMAND()
1598 if(!c->hasSwitch('q', "quiet")) in MP_KVS_COMMAND()
/dports/irc/kvirc/KVIrc-5.0.0-73-gbdeac0429/src/modules/log/
H A Dlibkvilog.cpp95 if(c->hasSwitch('w', "window")) in log_kvs_cmd_start()
119 if(!pWnd->view()->startLogging(szFile, c->hasSwitch('p', "log-buffer"))) in log_kvs_cmd_start()
153 if(c->hasSwitch('w', "window")) in log_kvs_cmd_stop()
205 if(c->hasSwitch('w', "window")) in log_kvs_cmd_flush()
/dports/www/chromium-legacy/chromium-88.0.4324.182/android_webview/junit/src/org/chromium/android_webview/robolectric/common/
H A DFlagOverrideHelperTest.java106 CommandLine.getInstance().hasSwitch("flag-1")); in testAddFlag()
117 CommandLine.getInstance().hasSwitch("flag-1")); in testAddFlag_noValue()
141 CommandLine.getInstance().hasSwitch("flag-2")); in testRemoveFlag_notYetAdded()
153 CommandLine.getInstance().hasSwitch("flag-2")); in testRemoveFlag_alreadyAdded()
270 CommandLine.getInstance().hasSwitch("flag-1")); in testLotsOfFlagsAndFeatures()
272 CommandLine.getInstance().hasSwitch("flag-2")); in testLotsOfFlagsAndFeatures()
/dports/irc/kvirc/KVIrc-5.0.0-73-gbdeac0429/src/modules/sharedfileswindow/
H A Dlibkvisharedfileswindow.cpp60 bool bCreateMinimized = c->hasSwitch('m', "minimized"); in sharedfileswindow_kvs_cmd_open()
66 if(!c->hasSwitch('n', "noraise")) in sharedfileswindow_kvs_cmd_open()
/dports/irc/kvirc/KVIrc-5.0.0-73-gbdeac0429/src/modules/term/
H A Dlibkviterm.cpp72 c->hasSwitch('m', "mdi") || // compat only in term_kvs_cmd_open()
73 c->hasSwitch('d', "dockable")) in term_kvs_cmd_open()
/dports/audio/kmix/kmix-21.12.3/core/
H A Dvolume.h106 Volume(long maxVolume, long minVolume, bool hasSwitch, bool isCapture );
137 bool hasSwitch() const { return (_hasSwitch); } in hasSwitch() function
186 …void init( Volume::ChannelMask chmask, long maxVolume, long minVolume, bool hasSwitch, bool isCapt…
H A Dvolume.cpp122 Volume::Volume(long maxVolume, long minVolume, bool hasSwitch, bool isCapture ) in Volume() argument
124 init(Volume::MNONE, maxVolume, minVolume, hasSwitch, isCapture ); in Volume()
153 void Volume::init( Volume::ChannelMask chmask, long maxVolume, long minVolume, bool hasSwitch, bool… in init() argument
158 _hasSwitch = hasSwitch; in init()
/dports/irc/kvirc/KVIrc-5.0.0-73-gbdeac0429/src/modules/regchan/
H A Dlibkviregchan.cpp115 if(c->hasSwitch('e', "exactly")) in regchan_kvs_cmd_remove()
125 if(!c->hasSwitch('q', "quiet")) in regchan_kvs_cmd_remove()
172 if(c->hasSwitch('e', "exactly")) in regchan_kvs_cmd_setProperty()
189 if(!c->hasSwitch('q', "quiet")) in regchan_kvs_cmd_setProperty()
/dports/irc/kvirc/KVIrc-5.0.0-73-gbdeac0429/src/modules/logview/
H A Dlibkvilogview.cpp64 bool bCreateMinimized = c->hasSwitch('m', dummy); in logview_kvs_cmd_open()
65 bool bNoRaise = c->hasSwitch('n', dummy); in logview_kvs_cmd_open()
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/android/java/src/org/chromium/chrome/browser/night_mode/
H A DGlobalNightModeStateProviderHolder.java31 CommandLine.getInstance().hasSwitch(ChromeSwitches.FORCE_ENABLE_NIGHT_MODE); in DummyNightModeStateProvider()
59 if (CommandLine.getInstance().hasSwitch(ChromeSwitches.FORCE_ENABLE_NIGHT_MODE) in getInstance()
/dports/www/chromium-legacy/chromium-88.0.4324.182/base/android/java/src/org/chromium/base/
H A DCommandLine.java39 public abstract boolean hasSwitch(String switchString); in hasSwitch() method in CommandLine
291 public boolean hasSwitch(String switchString) { in hasSwitch() method in CommandLine.JavaCommandLine
382 public boolean hasSwitch(String switchString) { in hasSwitch() method in CommandLine.NativeCommandLine
383 return CommandLineJni.get().hasSwitch(switchString); in hasSwitch()
450 boolean hasSwitch(String switchString); in hasSwitch() method
/dports/net-im/tg_owt/tg_owt-d578c76/src/base/android/java/src/org/chromium/base/
H A DCommandLine.java40 public abstract boolean hasSwitch(String switchString); in hasSwitch() method in CommandLine
294 public boolean hasSwitch(String switchString) { in hasSwitch() method in CommandLine.JavaCommandLine
385 public boolean hasSwitch(String switchString) { in hasSwitch() method in CommandLine.NativeCommandLine
386 return CommandLineJni.get().hasSwitch(switchString); in hasSwitch()
453 boolean hasSwitch(String switchString); in hasSwitch() method
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/android/java/src/org/chromium/chrome/browser/contextualsearch/
H A DContextualSearchFieldTrial.java317 if (CommandLine.getInstance().hasSwitch(ChromeSwitches.DISABLE_CONTEXTUAL_SEARCH)) { in detectEnabled()
322 if (CommandLine.getInstance().hasSwitch(ChromeSwitches.ENABLE_CONTEXTUAL_SEARCH)) { in detectEnabled()
341 if (CommandLine.getInstance().hasSwitch(paramName)) { in getBooleanParam()
/dports/irc/kvirc/KVIrc-5.0.0-73-gbdeac0429/src/modules/options/
H A Dlibkvioptions.cpp110 if(c->hasSwitch('t', "toplevel")) in options_kvs_cmd_dialog()
130 if(c->hasSwitch('t', "toplevel")) in options_kvs_cmd_dialog()
228 !c->hasSwitch('n', "non-modal")); in options_kvs_cmd_edit()

1234567