Home
last modified time | relevance | path

Searched full:toggle (Results 1 – 25 of 528) sorted by relevance

12345678910>>...22

/third_party/skia/third_party/externals/dawn/src/dawn_native/
DToggles.cpp25 Toggle toggle; member
30 std::array<ToggleEnumAndInfo, static_cast<size_t>(Toggle::EnumCount)>;
33 {Toggle::EmulateStoreAndMSAAResolve,
41 {Toggle::NonzeroClearResourcesOnCreationForTesting,
47 {Toggle::AlwaysResolveIntoZeroLevelAndLayer,
55 {Toggle::LazyClearResourceOnFirstUse,
60 {Toggle::TurnOffVsync,
65 {Toggle::UseTemporaryBufferInCompressedTextureToTextureCopy,
74 {Toggle::UseD3D12ResourceHeapTier2,
80 {Toggle::UseD3D12RenderPass,
[all …]
DToggles.h26 enum class Toggle { enum
70 // A wrapper of the bitset to store if a toggle is present or not. This wrapper provides the
71 // convenience to convert the enums of enum class Toggle to the indices of a bitset.
73 std::bitset<static_cast<size_t>(Toggle::EnumCount)> toggleBitset;
75 void Set(Toggle toggle, bool enabled);
76 bool Has(Toggle toggle) const;
80 const char* ToggleEnumToName(Toggle toggle);
84 // Used to query the details of a toggle. Return nullptr if toggleName is not a valid name
85 // of a toggle supported in Dawn.
87 Toggle ToggleNameToEnum(const char* toggleName);
[all …]
DDevice.cpp246 if (IsToggleEnabled(Toggle::UseDummyFragmentInVertexOnlyPipeline)) { in Initialize()
1160 return !IsToggleEnabled(Toggle::SkipValidation); in IsValidationEnabled()
1164 return !IsToggleEnabled(Toggle::DisableRobustness); in IsRobustnessEnabled()
1566 // The Toggle device facility
1572 bool DeviceBase::IsToggleEnabled(Toggle toggle) const { in IsToggleEnabled()
1573 return mEnabledToggles.Has(toggle); in IsToggleEnabled()
1576 void DeviceBase::SetToggle(Toggle toggle, bool isEnabled) { in SetToggle() argument
1577 if (!mOverridenToggles.Has(toggle)) { in SetToggle()
1578 mEnabledToggles.Set(toggle, isEnabled); in SetToggle()
1582 void DeviceBase::ForceSetToggle(Toggle toggle, bool isEnabled) { in ForceSetToggle() argument
[all …]
/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/
DToggleValidationTests.cpp21 // Tests querying the detail of a toggle from dawn_native::InstanceBase works correctly.
23 // Query with a valid toggle name in TEST_F()
33 // Query with an invalid toggle name in TEST_F()
43 // Create device with a valid name of a toggle in TEST_F()
52 for (const char* toggle : toggleNames) { in TEST_F() local
53 if (strcmp(toggle, kValidToggleName) == 0) { in TEST_F()
60 // Create device with an invalid toggle name in TEST_F()
69 for (const char* toggle : toggleNames) { in TEST_F() local
70 if (strcmp(toggle, kInvalidToggleName) == 0) { in TEST_F()
86 for (const char* toggle : toggleNames) { in TEST_F() local
[all …]
DValidationTest.cpp182 bool ValidationTest::HasToggleEnabled(const char* toggle) const { in HasToggleEnabled()
184 return std::find_if(toggles.begin(), toggles.end(), [toggle](const char* name) { in HasToggleEnabled()
185 return strcmp(toggle, name) == 0; in HasToggleEnabled()
201 for (const std::string& toggle : gToggleParser->GetEnabledToggles()) { in CreateTestDevice() local
202 deviceDescriptor.forceEnabledToggles.push_back(toggle.c_str()); in CreateTestDevice()
205 for (const std::string& toggle : gToggleParser->GetDisabledToggles()) { in CreateTestDevice() local
206 deviceDescriptor.forceDisabledToggles.push_back(toggle.c_str()); in CreateTestDevice()
/third_party/curl/src/
Dtool_getparam.c953 bool toggle; in set_trace_config() local
965 toggle = FALSE; in set_trace_config()
969 toggle = TRUE; in set_trace_config()
973 toggle = TRUE; in set_trace_config()
979 global->traceids = toggle; in set_trace_config()
980 global->tracetime = toggle; in set_trace_config()
986 global->traceids = toggle; in set_trace_config()
989 global->tracetime = toggle; in set_trace_config()
1223 bool toggle = TRUE; /* how to switch boolean options, on or off. Controlled in getparameter() local
1254 toggle = FALSE; in getparameter()
[all …]
/third_party/ffmpeg/tests/ref/fate/
Dopt3 toggle=1
22 -toggle <int> E.......... set toggle (from 0 to 1) (default 1)
51 name: toggle default:0 error:
78 name: toggle default:1 error:
107 name: toggle get: 1 set: OK get: 1 OK
132 num=0,toggle=1,rational=1/1,string=default,escape=\\\=\,,flags=0x00000001,size=200x300,pix_fmt=0bgr…
134 Setting entry with key 'toggle' to value '1'
157 num=0,toggle=1,rational=1/1,string=default,escape=\\\=\,,flags=0x00000001,size=200x300,pix_fmt=0bgr…
194 Setting options string 'toggle=:'
195 Setting entry with key 'toggle' to value ''
[all …]
/third_party/skia/third_party/externals/angle2/src/tests/egl_tests/
DEGLFeatureControlTest.cpp131 // Build lists of features to enable/disabled. Toggle features we know are ok to toggle based in TEST_P()
137 "add_and_true_to_loop_condition", // Safe to toggle GL in TEST_P()
138 "clamp_frag_depth", // Safe to toggle GL in TEST_P()
139 "clamp_point_size", // Safe to toggle GL and Vulkan in TEST_P()
140 "flip_viewport_y", // Safe to toggle on Vulkan in TEST_P()
141 "zero_max_lod", // Safe to toggle on D3D in TEST_P()
142 "expand_integer_pow_expressions", // Safe to toggle on D3D in TEST_P()
143 "rewrite_unary_minus_operator", // Safe to toggle on D3D in TEST_P()
147 bool toggle = std::find(testedFeatures.begin(), testedFeatures.end(), in TEST_P() local
149 if (features[i]->enabled ^ toggle) in TEST_P()
[all …]
/third_party/skia/third_party/externals/dawn/src/tests/
DToggleParser.cpp27 std::string toggle; in ParseEnabledToggles() local
29 while (getline(toggles, toggle, ',')) { in ParseEnabledToggles()
30 mEnabledToggles.push_back(toggle); in ParseEnabledToggles()
41 std::string toggle; in ParseDisabledToggles() local
43 while (getline(toggles, toggle, ',')) { in ParseDisabledToggles()
44 mDisabledToggles.push_back(toggle); in ParseDisabledToggles()
/third_party/typescript/tests/baselines/reference/
DtsxReactEmitNesting.types14toggle-all" type="checkbox" onChange={ctrl.toggleAll.bind(ctrl)}/> <ul class="todo-list…
19toggle-all" type="checkbox" onChange={ctrl.toggleAll.bind(ctrl)}/> <ul class="todo-list…
58toggle-all" type="checkbox" onChange={ctrl.toggleAll.bind(ctrl)}/> <ul class="todo-list…
78 <input class="toggle-all" type="checkbox" onChange={ctrl.toggleAll.bind(ctrl)}/>
79 ><input class="toggle-all" type="checkbox" onChange={ctrl.toggleAll.bind(ctrl)}/> : error
93 … {(!todo.editable) ? <input class="toggle" type="checkbox"><…
98 … {(!todo.editable) ? <input class="toggle" type="checkbox"><…
104 … {(!todo.editable) ? <input class="toggle" type="checkbox"><…
108 … {(!todo.editable) ? <input class="toggle" type="checkbox"><…
126 … {(!todo.editable) ? <input class="toggle" type="checkbox"><…
[all …]
DtsxReactEmitNesting.js14 <input class="toggle-all" type="checkbox" onChange={ctrl.toggleAll.bind(ctrl)}/>
20 <input class="toggle" type="checkbox"></input>
45 …vdom.createElement("input", { "class": "toggle-all", type: "checkbox", onChange: ctrl.toggleAll.bi…
50 vdom.createElement("input", { "class": "toggle", type: "checkbox" })
/third_party/notofonts/scripts/
Dbugreporter.html34 $('.selectpicker').selectpicker('refresh').selectpicker('toggle');
43 .bootstrap-select .dropdown-toggle,
44 .bootstrap-select .dropdown-toggle:hover,
45 .bootstrap-select .dropdown-toggle:active,
46 .bootstrap-select .dropdown-toggle:focus {
53 .dropdown-toggle::after {
57 #searchSelect .btn.dropdown-toggle {
Dtemplate.html27 [data-toggle="collapse"] .material-icons:before {
31 [data-toggle="collapse"].collapsed .material-icons:before {
74 <a class="nav-link dropdown-toggle" href="#" id="servicesDropdown" role="button" data-toggle="dropd…
135 data-toggle="collapse"
161 data-toggle="collapse"
210 data-toggle="collapse"
228 …<i class="material-icons" data-toggle="tooltip" data-placement="right" title="Unhinted builds are …
238 …lass="badge badge-pill badge-info">Slim VF<i class="material-icons" data-toggle="tooltip" data-pla…
245 …<i class="material-icons" data-toggle="tooltip" data-placement="right" title="Hinted builds contai…
253 …lass="badge badge-pill badge-info">Slim VF<i class="material-icons" data-toggle="tooltip" data-pla…
[all …]
Dbuild-site.py60 … return f'<span class="material-icons" data-toggle="tooltip" title="{platform}"> android </span>'
62 …return f'<span class="material-icons" data-toggle="tooltip" title="{platform}"> phone_iphone </spa…
64 …return f'<span class="material-icons" data-toggle="tooltip" title="{platform}"> laptop_mac </span>'
66 … return f'<img data-toggle="tooltip" title="{platform}" src="gflogo.png" width=18 height=18></img>'
68 … return f'<img data-toggle="tooltip" title="{platform}" src="fedora.png" width=18 height=18></img>'
/third_party/skia/third_party/externals/dawn/docs/
Ddevice_facilities.md5 Example of frontend facilities are the management of content-less object caches, or the toggle mana…
62 bool useRenderPass = device->IsToggleEnabled(Toggle::UseD3D12RenderPass);
66 The name can be used to force enabling of a toggle or, at the contrary, force the disabling of a to…
84 Forcing toggles should only be done when there is no "safe" option for the toggle.
85 This is to avoid crashes during testing when the tests try to use both sides of a toggle.
86 …le, like workarounds, the tests can run against the base configuration and with the toggle enabled.
87 …backing API features, the tests can run against the base configuation and with the toggle disabled.
/third_party/notofonts/
Ddebug.json35 …"icon": "<span class=\"material-icons\" data-toggle=\"tooltip\" title=\"Android 12\"> android </sp…
40 …"icon": "<img data-toggle=\"tooltip\" title=\"Fedora 38\" src=\"fedora.png\" width=18 height=18></…
45 …"icon": "<img data-toggle=\"tooltip\" title=\"Google Fonts\" src=\"gflogo.png\" width=18 height=18…
50 …"icon": "<span class=\"material-icons\" data-toggle=\"tooltip\" title=\"iOS 16.1\"> phone_iphone <…
55 …"icon": "<span class=\"material-icons\" data-toggle=\"tooltip\" title=\"macOS 13.0\"> laptop_mac <…
92 …"icon": "<img data-toggle=\"tooltip\" title=\"Fedora 38\" src=\"fedora.png\" width=18 height=18></…
97 …"icon": "<img data-toggle=\"tooltip\" title=\"Google Fonts\" src=\"gflogo.png\" width=18 height=18…
138 …"icon": "<img data-toggle=\"tooltip\" title=\"Fedora 38\" src=\"fedora.png\" width=18 height=18></…
143 …"icon": "<img data-toggle=\"tooltip\" title=\"Google Fonts\" src=\"gflogo.png\" width=18 height=18…
148 …"icon": "<span class=\"material-icons\" data-toggle=\"tooltip\" title=\"iOS 16.1\"> phone_iphone <…
[all …]
/third_party/python/Lib/idlelib/
Dmainmenu.py71 ('Toggle Tabs', '<<toggle-tabs>>'),
95 ('!_Debugger', '<<toggle-debugger>>'),
97 ('!_Auto-open Stack Viewer', '<<toggle-jit-stack-viewer>>'),
103 ('Show _Code Context', '<<toggle-code-context>>'),
104 ('Show _Line Numbers', '<<toggle-line-numbers>>'),
/third_party/ffmpeg/libavutil/tests/
Dopt.c34 int toggle; member
70 …{"toggle", "set toggle", OFFSET(toggle), AV_OPT_TYPE_INT, { .i64 = …
130 printf("toggle=%d\n", test_ctx.toggle); in main()
254 "toggle=:", in main()
256 "toggle=1 : foo", in main()
257 "toggle=100", in main()
258 "toggle==1", in main()
259 "flags=+mu-lame : num=42: toggle=0", in main()
/third_party/skia/third_party/externals/dawn/src/dawn_native/opengl/
DDeviceGL.cpp95 SetToggle(Toggle::DisableBaseVertex, !supportsBaseVertex); in InitTogglesFromDriver()
96 SetToggle(Toggle::DisableBaseInstance, !supportsBaseInstance); in InitTogglesFromDriver()
97 SetToggle(Toggle::DisableIndexedDrawBuffers, !supportsIndexedDrawBuffers); in InitTogglesFromDriver()
98 SetToggle(Toggle::DisableSnormRead, !supportsSnormRead); in InitTogglesFromDriver()
99 SetToggle(Toggle::DisableDepthStencilRead, !supportsDepthStencilRead); in InitTogglesFromDriver()
100 SetToggle(Toggle::DisableSampleVariables, !supportsSampleVariables); in InitTogglesFromDriver()
101 SetToggle(Toggle::FlushBeforeClientWaitSync, gl.GetVersion().IsES()); in InitTogglesFromDriver()
103 SetToggle(Toggle::UseDummyFragmentInVertexOnlyPipeline, gl.GetVersion().IsES()); in InitTogglesFromDriver()
254 if (IsToggleEnabled(Toggle::FlushBeforeClientWaitSync)) { in CheckAndUpdateCompletedSerials()
/third_party/skia/third_party/externals/angle2/src/android_system_settings/res/values/
Dstrings.xml29 <!-- This is the label for a toggle button.
30 When the toggle is enabled, we will use ANGLE for all PKGs, regardless of any other settings.
34 <!-- This is the label for a toggle button.
35 When the toggle is enabled, we will show a dialog box indicating that ANGLE is in use.
/third_party/python/Lib/idlelib/idle_test/
Dtest_codecontext.py140 toggle = cc.toggle_code_context_event
144 toggle()
146 # Toggle on.
147 toggle()
156 # Toggle off.
157 toggle()
162 # Scroll down and toggle back on.
165 toggle()
168 # Toggle off and on again.
169 toggle()
[all …]
/third_party/python/Tools/demo/
Dlife.py13 Space or Enter : Toggle the contents of the cursor's position
36 toggle(y,x) -- change the given cell from live to dead, or vice
68 def toggle(self, y, x): member in LifeBoard
69 """Toggle a cell's state between live and dead"""
160 'Use the cursor keys to move, and space or Enter to toggle a cell.')
201 board.toggle(ypos, xpos)
249 board.toggle(ypos, xpos)
/third_party/skia/third_party/externals/freetype/builds/amiga/src/base/
Dftdebug.c150 /* define array of trace toggle names */
217 * the available toggle names.
243 /* read toggle name, followed by ':' */ in ft_debug_init()
259 const char* toggle = ft_trace_toggles[n]; in ft_debug_init() local
264 if ( toggle[i] != q[i] ) in ft_debug_init()
268 if ( i == len && toggle[i] == 0 ) in ft_debug_init()
/third_party/skia/third_party/externals/freetype/builds/wince/
Dftdebug.c151 /* define array of trace toggle names */
218 * the available toggle names.
248 /* read toggle name, followed by ':' */ in ft_debug_init()
264 const char* toggle = ft_trace_toggles[n]; in ft_debug_init() local
269 if ( toggle[i] != q[i] ) in ft_debug_init()
273 if ( i == len && toggle[i] == 0 ) in ft_debug_init()
/third_party/skia/tools/skiaserve/urlhandlers/
DCmdHandler.cpp47 int n, toggle; in handle() local
49 sscanf(commands[2].c_str(), "%d", &toggle); in handle()
50 request->fDebugCanvas->toggleCommand(n, SkToBool(toggle)); in handle()

12345678910>>...22