Home
last modified time | relevance | path

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

12345678910>>...28

/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 …]
/third_party/rust/rust/tests/rustdoc/
Dtoggle-item-contents.rs4 // @count - '//details[@class="toggle type-contents-toggle"]' 0
11 // @count - '//details[@class="toggle type-contents-toggle"]' 1
12 // @has - '//details[@class="toggle type-contents-toggle"]' 'Show 13 fields'
30 // @count - '//details[@class="toggle type-contents-toggle"]' 1
31 // @has - '//details[@class="toggle type-contents-toggle"]' 'Show 13 fields'
49 // @count - '//details[@class="toggle type-contents-toggle"]' 0
57 // @count - '//details[@class="toggle type-contents-toggle"]' 0
65 // @!has - '//details[@class="toggle type-contents-toggle"]' ''
75 // @!has - '//details[@class="toggle type-contents-toggle"]' ''
84 // @count - '//pre[@class="rust item-decl"]//details[@class="toggle type-contents-toggle"]' 1
[all …]
Dtoggle-trait-fn.rs3 // Trait methods with documentation should be wrapped in a <details> toggle with an appropriate
7 // @has - '//details[@class="toggle"]//summary//h4[@class="code-header"]' 'type Item'
8 // @!has - '//details[@class="toggle"]//summary//h4[@class="code-header"]' 'type Item2'
9 // @has - '//details[@class="toggle method-toggle"]//summary//h4[@class="code-header"]' 'is_docume…
10 // @!has - '//details[@class="toggle method-toggle"]//summary//h4[@class="code-header"]' 'not_docum…
11 // @has - '//details[@class="toggle method-toggle"]//*[@class="docblock"]' 'is_documented is docum…
12 // @has - '//details[@class="toggle method-toggle"]//summary//h4[@class="code-header"]' 'is_docume…
13 // @!has - '//details[@class="toggle method-toggle"]//summary//h4[@class="code-header"]' 'not_docum…
14 // @has - '//details[@class="toggle method-toggle"]//*[@class="docblock"]' 'is_documented_optional…
Dtoggle-method.rs3 // Struct methods with documentation should be wrapped in a <details> toggle with an appropriate
7 // @has - '//details[@class="toggle method-toggle"]//summary//h4[@class="code-header"]' 'is_documen…
8 // @has - '//details[@class="toggle method-toggle"]//*[@class="docblock"]' 'is_documented is docume…
9 // @!has - '//details[@class="toggle method-toggle"]//summary//h4[@class="code-header"]' 'not_docum…
/third_party/rust/rust/tests/rustdoc-gui/
Dtoggle-docs.goml4 assert-text: ("#toggle-all-docs", "[−]")
5 click: "#toggle-all-docs"
9 assert-text: ("#toggle-all-docs", "[+]")
14 click: "#toggle-all-docs"
17 assert-text: ("#toggle-all-docs", "[−]")
22 assert-text: ("#toggle-all-docs", "[−]")
23 assert-attribute: ("#implementations-list details.toggle", {"open": ""}, ALL)
24 assert-attribute: ("#trait-implementations-list details.toggle", {"open": ""}, ALL)
26 "#blanket-implementations-list > details.toggle",
32 click: "#toggle-all-docs"
[all …]
Dscrape-examples-toggle.goml1 // This tests checks that the "scraped examples" toggle is working as expected.
4 // Checking the color of the toggle line.
14 assert-attribute-false: (".more-examples-toggle", {"open": ""})
15 click: ".more-examples-toggle"
16 assert-attribute: (".more-examples-toggle", {"open": ""})
18 assert-css: (".toggle-line-inner", {"background-color": |toggle_line_color|}, ALL)
19 move-cursor-to: ".toggle-line"
21 ".toggle-line:hover .toggle-line-inner",
24 // Moving cursor away from the toggle line to prevent disrupting next test.
46 click: "#toggle-all-docs"
[all …]
Dsidebar-source-code-display.goml4 // Since the javascript is disabled, there shouldn't be a toggle.
5 assert-false: "#src-sidebar-toggle"
11 wait-for: "#src-sidebar-toggle"
12 assert-css: ("#src-sidebar-toggle", {"visibility": "visible"})
13 assert-css: (".sidebar > *:not(#src-sidebar-toggle)", {"visibility": "hidden"})
15 click: "#src-sidebar-toggle"
16 wait-for-css: ("#src-sidebar-toggle", {"visibility": "visible"})
41 wait-for-css: ("#src-sidebar-toggle", {"visibility": "visible"})
48 assert-css: ("#src-sidebar-toggle > button", {"background-color": |background_toggle|})
50 focus: "#src-sidebar-toggle > button"
[all …]
Dshortcuts.goml16 assert-text: ("#toggle-all-docs", "[−]")
18 wait-for-text: ("#toggle-all-docs", "[+]")
19 assert-attribute: ("#toggle-all-docs", {"class": "will-expand"})
22 assert-text: ("#toggle-all-docs", "[+]")
23 assert-attribute: ("#toggle-all-docs", {"class": "will-expand"})
26 wait-for-text: ("#toggle-all-docs", "[−]")
27 assert-attribute: ("#toggle-all-docs", {"class": ""})
30 assert-text: ("#toggle-all-docs", "[−]")
31 assert-attribute: ("#toggle-all-docs", {"class": ""})
Dtoggle-docs-mobile.goml6 click: (4, 270) // This is the position of the top doc comment toggle
10 // To ensure that the toggle isn't over the text, we check that the toggle isn't clicked.
14 // Assert the position of the toggle on the top doc block.
16 // Assert the position of the toggle on the impl block.
18 // Assert the position of the toggle on a method.
20 "#trait-implementations-list .impl-items .method-toggle > summary::before",
31 // To ensure that the toggle isn't over the text, we check that the toggle isn't clicked.
Dgo-to-collapsed-elem.goml5 assert-property: ("#implementations-list .implementors-toggle", {"open": "true"})
7 set-property: ("#implementations-list .implementors-toggle", {"open": "false"})
10 assert-property: ("#implementations-list .implementors-toggle", {"open": "true"})
17 set-property: ("#implementations-list .implementors-toggle", {"open": "false"})
22 assert-property: ("#implementations-list .implementors-toggle", {"open": "true"})
31 assert-property: ("#implementations-list .implementors-toggle", {"open": "true"})
33 set-property: ("#implementations-list .implementors-toggle", {"open": "false"})
35 click: ".sidebar-menu-toggle"
38 assert-property: ("#implementations-list .implementors-toggle", {"open": "true"})
Dmethod-margins.goml4 assert-count: ("#trait-implementations-list > .toggle", 1)
8 "#trait-implementations-list .impl-items > .toggle:nth-child(1) > summary",
9 "#trait-implementations-list .impl-items > .toggle:nth-child(2) > summary",
15 "#trait-implementations-list .impl-items > .toggle:nth-child(1)",
16 "#trait-implementations-list .impl-items > .toggle:nth-child(2)",
Dtoggle-click-deadspace.goml2 // doesn't toggle the <details>.
4 assert-attribute: (".impl-items .toggle", {"open": ""})
6 assert-attribute: (".impl-items .toggle", {"open": ""})
8 ".impl-items .toggle summary",
11 assert-attribute-false: (".impl-items .toggle", {"open": ""})
Dcursor.goml5 assert-css: ("#toggle-all-docs", {"cursor": "pointer"})
18 // mobile sidebar toggle button
20 assert-css: (".sidebar-menu-toggle", {"cursor": "pointer"})
22 // the sidebar toggle button on the source code pages
24 assert-css: ("#src-sidebar-toggle > button", {"cursor": "pointer"})
Dsidebar-mobile.goml9 click: ".sidebar-menu-toggle"
12 click: ".sidebar-menu-toggle"
23 click: ".sidebar-menu-toggle"
36 click: ".sidebar-menu-toggle"
46 click: ".sidebar-menu-toggle"
51 click: ".sidebar-menu-toggle"
66 click: ".sidebar-menu-toggle"
/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 …]
/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/rust/rust/src/librustdoc/html/static/css/
Drustdoc.css206 #toggle-all-docs,
296 button#toggle-all-docs {
327 details:not(.toggle) summary {
349 .item-decl .type-contents-toggle {
404 .sidebar, .mobile-topbar, .sidebar-menu-toggle,
405 #src-sidebar-toggle, #source-sidebar {
409 #src-sidebar-toggle > button:hover, #src-sidebar-toggle > button:focus {
413 .source .sidebar > *:not(#src-sidebar-toggle) {
422 .source-sidebar-expanded .source .sidebar > *:not(#src-sidebar-toggle) {
611 .docblock > :not(.more-examples-toggle):not(.example-wrap) {
[all …]
/third_party/rust/rust/src/librustdoc/html/static/js/
Dscrape-examples.js8 // the examples hidden beneath the "More examples" toggle.
47 // Toggle through list of examples in a given file
94 onEachLazy(document.querySelectorAll(".more-examples-toggle"), toggle => {
97 onEachLazy(toggle.querySelectorAll(".toggle-line, .hide-more"), button => {
99 toggle.open = false;
103 const moreExamples = toggle.querySelectorAll(".scraped-example");
104 toggle.querySelector("summary").addEventListener("click", () => {
/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 …]
/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 …]

12345678910>>...28