Home
last modified time | relevance | path

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

12345678910>>...13

/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/flutter/skia/third_party/externals/dawn/src/dawn_native/
DToggles.h39 void SetToggle(Toggle toggle, bool enabled) { in SetToggle()
40 ASSERT(toggle != Toggle::InvalidEnum); in SetToggle()
41 const size_t toggleIndex = static_cast<size_t>(toggle); in SetToggle()
45 bool IsEnabled(Toggle toggle) const { in IsEnabled()
46 ASSERT(toggle != Toggle::InvalidEnum); in IsEnabled()
47 const size_t toggleIndex = static_cast<size_t>(toggle); in IsEnabled()
DInstance.cpp55 Toggle toggle; member
122 const char* InstanceBase::ToggleEnumToName(Toggle toggle) { in ToggleEnumToName() argument
123 ASSERT(toggle != Toggle::InvalidEnum); in ToggleEnumToName()
126 kToggleNameAndInfoList[static_cast<size_t>(toggle)]; in ToggleEnumToName()
127 ASSERT(toggleNameAndInfo.toggle == toggle); in ToggleEnumToName()
150 return kToggleNameAndInfoList[static_cast<size_t>(iter->second)].toggle; in ToggleNameToEnum()
162 ASSERT(index == static_cast<size_t>(toggleNameAndInfo.toggle)); in EnsureToggleNameToEnumMapInitialized()
163 mToggleNameToEnumMap[toggleNameAndInfo.info.name] = toggleNameAndInfo.toggle; in EnsureToggleNameToEnumMapInitialized()
DDevice.cpp456 Toggle toggle = GetAdapter()->GetInstance()->ToggleNameToEnum(toggleName); in ApplyToggleOverrides() local
457 if (toggle != Toggle::InvalidEnum) { in ApplyToggleOverrides()
458 mTogglesSet.SetToggle(toggle, true); in ApplyToggleOverrides()
462 Toggle toggle = GetAdapter()->GetInstance()->ToggleNameToEnum(toggleName); in ApplyToggleOverrides() local
463 if (toggle != Toggle::InvalidEnum) { in ApplyToggleOverrides()
464 mTogglesSet.SetToggle(toggle, false); in ApplyToggleOverrides()
483 bool DeviceBase::IsToggleEnabled(Toggle toggle) const { in IsToggleEnabled()
484 return mTogglesSet.IsEnabled(toggle); in IsToggleEnabled()
596 void DeviceBase::SetToggle(Toggle toggle, bool isEnabled) { in SetToggle() argument
597 mTogglesSet.SetToggle(toggle, isEnabled); in SetToggle()
/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/flutter/flutter/packages/flutter/lib/src/material/
Dtoggle_buttons_theme.dart16 /// of toggle buttons in a widget subtree.
26 /// toggle buttons theme.
46 /// The color for descendant [Text] and [Icon] widgets if the toggle button
50 /// The color for descendant [Text] and [Icon] widgets if the toggle button
54 /// The color for descendant [Text] and [Icon] widgets if the toggle button
58 /// The fill color for selected toggle buttons.
64 /// The highlight color for the toggle button's [InkWell].
67 /// The splash color for the toggle button's [InkWell].
70 /// The color to use for filling the toggle button when the button has a
74 /// The border color to display when the toggle button is enabled.
[all …]
Dtoggle_buttons.dart17 /// A horizontal set of toggle buttons.
25 /// ## Customizing toggle buttons
26 /// Each toggle's behavior can be configured by the [onPressed] callback, which
134 /// The toggle buttons, by default, have a solid, 1 logical pixel border
135 /// surrounding itself and separating each button. The toggle button borders'
148 /// * <https://material.io/design/components/buttons.html#toggle-button>
150 /// Creates a horizontal set of toggle buttons.
191 /// The toggle button widgets.
202 /// The corresponding selection state of each toggle button.
215 /// When the callback is null, all toggle buttons will be disabled.
[all …]
/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/flutter/skia/third_party/externals/dawn/src/tests/unittests/validation/
DToggleValidationTests.cpp53 for (const char* toggle : toggleNames) { in TEST_F() local
54 if (strcmp(toggle, kValidToggleName) == 0) { in TEST_F()
70 for (const char* toggle : toggleNames) { in TEST_F() local
71 if (strcmp(toggle, kInvalidToggleName) == 0) { in TEST_F()
/third_party/node/deps/npm/node_modules/asap/
Dbrowser-raw.js141 var toggle = 1;
146 toggle = -toggle;
147 node.data = toggle;
/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/flutter/skia/tools/skiaserve/urlhandlers/
DCmdHandler.cpp54 int n, toggle; in handle() local
56 sscanf(commands[2].c_str(), "%d", &toggle); in handle()
57 request->fDebugCanvas->toggleCommand(n, SkToBool(toggle)); in handle()
/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/flutter/engine/flutter/lib/web_ui/lib/src/engine/semantics/
Dcheckable.dart27 toggle,
46 _kind = _CheckableKind.toggle;
62 case _CheckableKind.toggle:
90 case _CheckableKind.toggle:
/third_party/flutter/skia/third_party/externals/freetype/builds/windows/
Dftdebug.c242 const char* toggle = ft_trace_toggles[n]; in ft_debug_init() local
247 if ( toggle[i] != q[i] ) in ft_debug_init()
251 if ( i == len && toggle[i] == 0 ) in ft_debug_init()
/third_party/flutter/skia/third_party/externals/freetype/src/base/
Dftdebug.c230 const char* toggle = ft_trace_toggles[n]; in ft_debug_init() local
235 if ( toggle[i] != q[i] ) in ft_debug_init()
239 if ( i == len && toggle[i] == 0 ) in ft_debug_init()
/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/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/flutter/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/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()

12345678910>>...13