Home
last modified time | relevance | path

Searched refs:toggle (Results 1 – 25 of 253) sorted by relevance

1234567891011

/third_party/curl/src/
Dtool_getparam.c691 bool toggle; in set_trace_config() local
703 toggle = FALSE; in set_trace_config()
707 toggle = TRUE; in set_trace_config()
711 toggle = TRUE; in set_trace_config()
717 global->traceids = toggle; in set_trace_config()
718 global->tracetime = toggle; in set_trace_config()
724 global->traceids = toggle; in set_trace_config()
727 global->tracetime = toggle; in set_trace_config()
759 bool toggle = TRUE; /* how to switch boolean options, on or off. Controlled in getparameter() local
788 toggle = FALSE; in getparameter()
[all …]
/third_party/skia/third_party/externals/dawn/src/dawn_native/
DToggles.cpp25 Toggle toggle; member
238 void TogglesSet::Set(Toggle toggle, bool enabled) { in Set() argument
239 if (toggle == Toggle::DEPRECATED_DumpTranslatedShaders) { in Set()
243 ASSERT(toggle != Toggle::InvalidEnum); in Set()
244 const size_t toggleIndex = static_cast<size_t>(toggle); in Set()
248 bool TogglesSet::Has(Toggle toggle) const { in Has()
249 if (toggle == Toggle::DEPRECATED_DumpTranslatedShaders) { in Has()
252 ASSERT(toggle != Toggle::InvalidEnum); in Has()
253 const size_t toggleIndex = static_cast<size_t>(toggle); in Has()
270 const char* ToggleEnumToName(Toggle toggle) { in ToggleEnumToName() argument
[all …]
DToggles.h74 void Set(Toggle toggle, bool enabled);
75 bool Has(Toggle toggle) const;
79 const char* ToggleEnumToName(Toggle toggle);
DDevice.cpp1572 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
1583 if (!mOverridenToggles.Has(toggle) && mEnabledToggles.Has(toggle) != isEnabled) { in ForceSetToggle()
1584 dawn::WarningLog() << "Forcing toggle \"" << ToggleEnumToName(toggle) << "\" to " in ForceSetToggle()
1587 mEnabledToggles.Set(toggle, isEnabled); in ForceSetToggle()
1599 Toggle toggle = GetAdapter()->GetInstance()->ToggleNameToEnum(toggleName); in ApplyToggleOverrides() local
[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/skia/third_party/externals/dawn/src/tests/unittests/validation/
DToggleValidationTests.cpp52 for (const char* toggle : toggleNames) { in TEST_F() local
53 if (strcmp(toggle, kValidToggleName) == 0) { 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
87 if (strcmp(toggle, kValidToggleName) == 0) { in TEST_F()
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/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/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/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()
/third_party/node/deps/v8/tools/turbolizer/src/
Dtext-view.ts173 el.classList.toggle("selected", false);
179 element.classList.toggle("selected", isSelected);
185 element.classList.toggle("selected", false);
193 element.classList.toggle("selected", true);
199 element.classList.toggle("selected", false);
207 element.classList.toggle("selected", true);
Dresizer.ts60 this.sourceExpand.classList.toggle("invisible", isSourceExpanded);
61 this.sourceCollapse.classList.toggle("invisible", !isSourceExpanded);
72 this.disassemblyExpand.classList.toggle("invisible", isDisassemblyExpanded);
73 this.disassemblyCollapse.classList.toggle("invisible", !isDisassemblyExpanded);
83 this.rangesExpand.classList.toggle("invisible", isRangesExpanded);
84 this.rangesCollapse.classList.toggle("invisible", !isRangesExpanded);
/third_party/python/Lib/idlelib/idle_test/
Dtest_codecontext.py140 toggle = cc.toggle_code_context_event
144 toggle()
147 toggle()
157 toggle()
165 toggle()
169 toggle()
170 toggle()
/third_party/skia/third_party/externals/freetype/builds/amiga/src/base/
Dftdebug.c259 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/node/doc/api/assets/
Dapi.js14 document.documentElement.classList.toggle('dark-mode', e.matches);
40 document.documentElement.classList.toggle('dark-mode'),
120 header.classList.toggle('is-pinned', newStatus);
/third_party/node/doc/api_assets/
Dapi.js14 document.documentElement.classList.toggle('dark-mode', e.matches);
40 document.documentElement.classList.toggle('dark-mode'),
120 header.classList.toggle('is-pinned', newStatus);
/third_party/skia/third_party/externals/freetype/builds/wince/
Dftdebug.c264 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/samplecode/
DSamplePath.cpp242 void toggle(bool& value) { in toggle() function in ArcToView
251 case '1': this->toggle(fDoFrame); return true; in onChar()
252 case '2': this->toggle(fDoCorner); return true; in onChar()
253 case '3': this->toggle(fDoConic); return true; in onChar()
341 void toggle(bool& value) { in toggle() function in FatStroke
354 case '1': this->toggle(fShowSkeleton); return true; in onChar()
355 case '2': this->toggle(fShowStroke); return true; in onChar()
356 case '3': this->toggle(fShowHidden); return true; in onChar()
359 case '6': this->toggle(fClosed); return true; in onChar()
360 case 'c': this->toggle(fAsCurves); return true; in onChar()
/third_party/skia/third_party/externals/angle2/src/tests/egl_tests/
DEGLFeatureControlTest.cpp147 bool toggle = std::find(testedFeatures.begin(), testedFeatures.end(), in TEST_P() local
149 if (features[i]->enabled ^ toggle) in TEST_P()
158 shouldBe.push_back(features[i]->enabled ^ toggle); in TEST_P()
/third_party/python/Lib/idlelib/
Dconfig-keys.def39 toggle-auto-coloring=<Control-Key-slash>
56 toggle-tabs=<Alt-Key-t> <Meta-Key-t> <Alt-Key-T> <Meta-Key-T>
99 toggle-auto-coloring=<Control-Key-slash>
116 toggle-tabs=<Alt-Key-t>
159 toggle-auto-coloring = <Control-Key-slash>
176 toggle-tabs = <Control-Key-T>
219 toggle-auto-coloring=<Control-Key-slash>
236 toggle-tabs=<Control-Key-t>
251 toggle-tabs = <Control-Key-t>
272 toggle-auto-coloring = <Control-Key-slash>
/third_party/typescript/tests/cases/conformance/jsx/
DtsxReactEmitNesting.tsx17 <input class="toggle-all" type="checkbox" onChange={ctrl.toggleAll.bind(ctrl)}/>
23 <input class="toggle" type="checkbox"></input>
/third_party/skia/third_party/externals/freetype/src/base/
Dftdebug.c326 const char* toggle = ft_trace_toggles[n]; in ft_debug_init() local
331 if ( toggle[i] != q[i] ) in ft_debug_init()
335 if ( i == len && toggle[i] == 0 ) in ft_debug_init()
/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…
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/skia/third_party/externals/freetype/builds/windows/
Dftdebug.c339 const char* toggle = ft_trace_toggles[n]; in ft_debug_init() local
344 if ( toggle[i] != q[i] ) in ft_debug_init()
348 if ( i == len && toggle[i] == 0 ) in ft_debug_init()
/third_party/python/Tools/demo/
Dlife.py68 def toggle(self, y, x): member in LifeBoard
201 board.toggle(ypos, xpos)
249 board.toggle(ypos, xpos)

1234567891011