/third_party/skia/third_party/externals/dawn/src/dawn_native/ |
H A D | Toggles.cpp | 25 Toggle toggle; member 83 "versions of Windows prior to build 1809, or when this toggle is turned off, Dawn " 99 "backend will use D32S8 (toggle to on) but setting the toggle to off will make it" 224 "Use a dummy empty fragment shader in vertex only render pipeline. This toggle must " 234 // Dummy comment to separate the }} so it is clearer what to copy-paste to add a toggle. 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() 270 ToggleEnumToName(Toggle toggle) ToggleEnumToName() argument [all...] |
H A D | Toggles.h | 69 // A wrapper of the bitset to store if a toggle is present or not. This wrapper provides the 74 void Set(Toggle toggle, bool enabled); 75 bool Has(Toggle toggle) const; 79 const char* ToggleEnumToName(Toggle toggle); 83 // Used to query the details of a toggle. Return nullptr if toggleName is not a valid name 84 // of a toggle supported in Dawn.
|
H A D | Device.cpp | 1572 bool DeviceBase::IsToggleEnabled(Toggle toggle) const { 1573 return mEnabledToggles.Has(toggle); 1576 void DeviceBase::SetToggle(Toggle toggle, bool isEnabled) { 1577 if (!mOverridenToggles.Has(toggle)) { 1578 mEnabledToggles.Set(toggle, isEnabled); 1582 void DeviceBase::ForceSetToggle(Toggle toggle, bool isEnabled) { 1583 if (!mOverridenToggles.Has(toggle) && mEnabledToggles.Has(toggle) != isEnabled) { 1584 dawn::WarningLog() << "Forcing toggle \"" << ToggleEnumToName(toggle) << "\" t [all...] |
H A D | Device.h | 316 bool IsToggleEnabled(Toggle toggle) const; 376 void SetToggle(Toggle toggle, bool isEnabled); 377 void ForceSetToggle(Toggle toggle, bool isEnabled);
|
/third_party/curl/src/ |
H A D | tool_getparam.c | 951 bool toggle; in set_trace_config() local 963 toggle = FALSE; in set_trace_config() 967 toggle = TRUE; in set_trace_config() 971 toggle = TRUE; in set_trace_config() 977 global->traceids = toggle; in set_trace_config() 978 global->tracetime = toggle; in set_trace_config() 984 global->traceids = toggle; in set_trace_config() 987 global->tracetime = toggle; in set_trace_config() 1221 bool toggle = TRUE; /* how to switch boolean options, on or off. Controlled in getparameter() local 1252 toggle in getparameter() [all...] |
/third_party/skia/third_party/externals/dawn/src/tests/ |
H A D | ToggleParser.cpp | 27 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()
|
H A D | DawnTest.cpp | 590 for (const std::string& toggle : GetEnabledToggles()) { in PrintTestConfigurationAndAdapterInfo() 591 const dawn_native::ToggleInfo* info = instance->GetToggleInfo(toggle.c_str()); in PrintTestConfigurationAndAdapterInfo() 600 for (const std::string& toggle : GetDisabledToggles()) { in PrintTestConfigurationAndAdapterInfo() 601 const dawn_native::ToggleInfo* info = instance->GetToggleInfo(toggle.c_str()); in PrintTestConfigurationAndAdapterInfo() 828 bool DawnTestBase::HasToggleEnabled(const char* toggle) const { in HasToggleEnabled() 830 return std::find_if(toggles.begin(), toggles.end(), [toggle](const char* name) { in HasToggleEnabled() 831 return strcmp(toggle, name) == 0; in HasToggleEnabled() 938 for (const std::string& toggle : gTestEnv->GetEnabledToggles()) { 940 gTestEnv->GetInstance()->GetToggleInfo(toggle.c_str()); 945 for (const std::string& toggle [all...] |
/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/ |
H A D | ToggleValidationTests.cpp | 21 // 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() 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() 70 if (strcmp(toggle, kInvalidToggleName) == 0) { in TEST_F() 86 for (const char* toggle in TEST_F() [all...] |
H A D | ValidationTest.cpp | 182 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()) { 202 deviceDescriptor.forceEnabledToggles.push_back(toggle.c_str()); 205 for (const std::string& toggle : gToggleParser->GetDisabledToggles()) { 206 deviceDescriptor.forceDisabledToggles.push_back(toggle.c_str());
|
H A D | ValidationTest.h | 128 bool HasToggleEnabled(const char* toggle) const;
|
/third_party/skia/tools/skiaserve/urlhandlers/ |
H A D | CmdHandler.cpp | 47 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/doc/api_assets/ |
H A D | api.js | 7 const themeToggleButton = document.getElementById('theme-toggle-btn'); 14 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/ |
H A D | api.js | 7 const themeToggleButton = document.getElementById('theme-toggle-btn'); 14 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/amiga/src/base/ |
H A D | ftdebug.c | 150 /* 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/ |
H A D | ftdebug.c | 151 /* 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/python/Lib/idlelib/idle_test/ |
H A D | test_codecontext.py | 140 toggle = cc.toggle_code_context_event 144 toggle() 147 toggle() 157 toggle() 162 # Scroll down and toggle back on. 165 toggle() 169 toggle() 170 toggle()
|
/third_party/skia/samplecode/ |
H A D | SamplePath.cpp | 242 void toggle(bool& value) { in toggle() function in ArcToView 251 case '1': this->toggle(fDoFrame); return true; 252 case '2': this->toggle(fDoCorner); return true; 253 case '3': this->toggle(fDoConic); return true; 341 void toggle(bool& value) { in toggle() function in __anon18642 354 case '1': this->toggle(fShowSkeleton); return true; 355 case '2': this->toggle(fShowStroke); return true; 356 case '3': this->toggle(fShowHidden); return true; 359 case '6': this->toggle(fClosed); return true; 360 case 'c': this->toggle(fAsCurve [all...] |
H A D | SampleSimpleStroker.cpp | 389 void toggle(bool& value) { value = !value; } in toggle() function in SimpleStroker 397 this->toggle(fShowSkeleton); 400 this->toggle(fShowSkiaStroke); 403 this->toggle(fShowHidden);
|
H A D | SampleVariableWidthStroker.cpp | 1084 this->toggle(fShowUI); 1087 this->toggle(fShowSkeleton); 1090 this->toggle(fShowHidden); 1093 this->toggle(fShowStrokePoints); 1096 this->toggle(fShowErrorCurve); 1099 this->toggle(fLengthMetric); 1116 void toggle(bool& value) { value = !value; } 1117 void toggle(SkVarWidthStroker::LengthMetric& value) {
|
/third_party/skia/third_party/externals/angle2/src/tests/egl_tests/ |
H A D | EGLFeatureControlTest.cpp | 131 // 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/freetype/src/base/ |
H A D | ftdebug.c | 168 /* define array of trace toggle names */ 235 * the available toggle names. 310 /* read toggle name, followed by ':' */ in ft_debug_init() 326 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/freetype/builds/windows/ |
H A D | ftdebug.c | 181 /* define array of trace toggle names */ 248 * the available toggle names. 323 /* read toggle name, followed by ':' */ in ft_debug_init() 339 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/ffmpeg/libavutil/tests/ |
H A D | opt.c | 34 int toggle; member 70 {"toggle", "set toggle", OFFSET(toggle), AV_OPT_TYPE_INT, { .i64 = 1 }, 0, 1, 1 }, 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 in main() [all...] |
/third_party/python/Tools/demo/ |
H A D | life.py | 36 toggle(y,x) -- change the given cell from live to dead, or vice 68 def toggle(self, y, x): member in LifeBoard 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/popt/src/ |
H A D | popthelp.c | 328 const char *toggle; in singleOptionHelp() local 330 toggle = "[no]"; in singleOptionHelp() 337 toggle = ""; in singleOptionHelp() 338 (void) stpcpy(stpcpy(stpcpy(stpcpy(left, " "), dash), toggle), longName); in singleOptionHelp()
|