Home
last modified time | relevance | path

Searched refs:enabled_features (Results 1 – 25 of 31) sorted by relevance

12

/external/libchrome/mojo/public/tools/bindings/pylib/mojom/parse/
Dconditional_features.py16 def _IsEnabled(definition, enabled_features): argument
37 if attribute.key == 'EnableIf' and attribute.value not in enabled_features:
42 def _FilterDisabledFromNodeList(node_list, enabled_features): argument
47 item for item in node_list.items if _IsEnabled(item, enabled_features)
50 _FilterDefinition(item, enabled_features)
53 def _FilterDefinition(definition, enabled_features): argument
56 _FilterDisabledFromNodeList(definition.enum_value_list, enabled_features)
58 _FilterDisabledFromNodeList(definition.body, enabled_features)
60 _FilterDisabledFromNodeList(definition.parameter_list, enabled_features)
62 enabled_features)
[all …]
/external/v8/src/wasm/
Dcompilation-environment.h62 const WasmFeatures enabled_features; member
73 const WasmFeatures& enabled_features,
88 enabled_features(enabled_features),
Dwasm-opcodes.cc37 const WasmFeatures& enabled_features) { in IsJSCompatibleSignature() argument
38 if (!enabled_features.has_mv() && sig->return_count() > 1) { in IsJSCompatibleSignature()
44 if ((type == kWasmI64 && !enabled_features.has_bigint()) || in IsJSCompatibleSignature()
Dfunction-compiler.cc297 const WasmFeatures& enabled_features, AllowGeneric allow_generic) in JSToWasmWrapperCompilationUnit() argument
305 is_import, enabled_features)) {} in JSToWasmWrapperCompilationUnit()
340 WasmFeatures enabled_features = WasmFeatures::FromIsolate(isolate); in CompileJSToWasmWrapper() local
342 module, is_import, enabled_features, in CompileJSToWasmWrapper()
353 WasmFeatures enabled_features = WasmFeatures::FromIsolate(isolate); in CompileSpecificJSToWasmWrapper() local
355 module, is_import, enabled_features, in CompileSpecificJSToWasmWrapper()
Dmodule-compiler.cc859 const WasmFeatures& enabled_features, in GetCompileStrategy() argument
862 if (!enabled_features.has_compilation_hints()) { in GetCompileStrategy()
886 const WasmFeatures& enabled_features, uint32_t func_index) { in GetRequestedExecutionTiers() argument
901 if (enabled_features.has_compilation_hints()) { in GetRequestedExecutionTiers()
939 native_module_->enabled_features(), func_index); in AddUnits()
957 native_module_->enabled_features(), func_index); in AddTopTierUnit()
965 GetCompileStrategy(module, native_module_->enabled_features(), in AddTopTierUnit()
1029 WasmFeatures enabled_features) { in ValidateSingleFunction() argument
1035 return VerifyWasmCode(allocator, enabled_features, module, &detected, body); in ValidateSingleFunction()
1050 auto enabled_features = native_module->enabled_features(); in ValidateSequentially() local
[all …]
Dwasm-module.cc348 auto enabled_features = i::wasm::WasmFeatures::FromIsolate(isolate); in GetImports() local
383 if (enabled_features.has_type_reflection()) { in GetImports()
390 if (enabled_features.has_type_reflection()) { in GetImports()
400 if (enabled_features.has_type_reflection()) { in GetImports()
412 if (enabled_features.has_type_reflection()) { in GetImports()
448 auto enabled_features = i::wasm::WasmFeatures::FromIsolate(isolate); in GetExports() local
480 if (enabled_features.has_type_reflection()) { in GetExports()
487 if (enabled_features.has_type_reflection()) { in GetExports()
497 if (enabled_features.has_type_reflection()) { in GetExports()
509 if (enabled_features.has_type_reflection()) { in GetExports()
Dwasm-js.cc51 auto enabled_features = i::wasm::WasmFeatures::FromIsolate(i_isolate); in WasmStreamingImpl() local
53 i_isolate, enabled_features, handle(i_isolate->context(), i_isolate), in WasmStreamingImpl()
520 auto enabled_features = i::wasm::WasmFeatures::FromIsolate(i_isolate); in WebAssemblyCompile() local
521 i_isolate->wasm_engine()->AsyncCompile(i_isolate, enabled_features, in WebAssemblyCompile()
635 auto enabled_features = i::wasm::WasmFeatures::FromIsolate(i_isolate); in WebAssemblyValidate() local
644 i_isolate, enabled_features, bytes_copy); in WebAssemblyValidate()
648 enabled_features, bytes); in WebAssemblyValidate()
678 auto enabled_features = i::wasm::WasmFeatures::FromIsolate(i_isolate); in WebAssemblyModule() local
687 i_isolate, enabled_features, &thrower, bytes_copy); in WebAssemblyModule()
691 i_isolate, enabled_features, &thrower, bytes); in WebAssemblyModule()
[all …]
Dwasm-serialization.cc514 native_module_->enabled_features().has_compilation_hints()); in ReadCode()
618 WasmFeatures enabled_features = WasmFeatures::FromIsolate(isolate); in DeserializeNativeModule() local
620 enabled_features, wire_bytes.start(), wire_bytes.end(), false, in DeserializeNativeModule()
636 isolate, enabled_features, std::move(module), code_size_estimate); in DeserializeNativeModule()
Dfunction-compiler.h122 const WasmFeatures& enabled_features,
Dwasm-code-manager.h620 const WasmFeatures& enabled_features() const { return enabled_features_; } in enabled_features() function
687 NativeModule(WasmEngine* engine, const WasmFeatures& enabled_features,
847 const WasmFeatures& enabled_features, size_t code_size_estimate,
Dmodule-compiler.h112 AsyncCompileJob(Isolate* isolate, const WasmFeatures& enabled_features,
Dwasm-engine.h269 Isolate* isolate, const WasmFeatures& enabled_features,
/external/libchrome/mojo/public/mojom/base/
DBUILD.gn30 enabled_features = []
32 enabled_features += [ "file_path_is_string16" ]
34 enabled_features += [ "file_path_is_string" ]
/external/libchrome/base/test/
Dscoped_feature_list.cc126 const std::vector<Feature>& enabled_features, in InitWithFeatures() argument
128 InitWithFeaturesAndFieldTrials(enabled_features, {}, disabled_features); in InitWithFeatures()
155 const std::vector<Feature>& enabled_features, in InitWithFeaturesAndFieldTrials() argument
158 DCHECK_LE(trials_for_enabled_features.size(), enabled_features.size()); in InitWithFeaturesAndFieldTrials()
161 merged_features.enabled_feature_list = GetFeatureVector(enabled_features); in InitWithFeaturesAndFieldTrials()
Dscoped_feature_list.h66 void InitWithFeatures(const std::vector<Feature>& enabled_features,
102 const std::vector<Feature>& enabled_features,
Dscoped_feature_list_unittest.cc23 void ExpectFeatures(const std::string& enabled_features, in ExpectFeatures() argument
32 EXPECT_EQ(enabled_features, actual_enabled_features); in ExpectFeatures()
/external/libchrome/mojo/public/tools/bindings/
Dmojom.gni255 # enabled_features (optional)
258 # list of enabled_features, the definition will be disabled, with no code
380 enabled_features = []
381 if (defined(invoker.enabled_features)) {
382 enabled_features += invoker.enabled_features
385 enabled_features += [ "is_posix" ]
388 enabled_features += [ "is_android" ]
390 enabled_features += [ "is_chromeos" ]
392 enabled_features += [ "is_fuchsia" ]
394 enabled_features += [ "is_ios" ]
[all …]
Dmojom_bindings_generator.py304 RemoveDisabledDefinitions(tree, args.enabled_features)
/external/vulkan-validation-layers/layers/
Dshader_validation.cpp1678 …skip |= RequireFeature(report_data, it->second.feature.IsEnabled(enabled_features), it->second.nam… in ValidateShaderCapabilities()
1693 has_feature = has_feature || it->second.feature.IsEnabled(enabled_features); in ValidateShaderCapabilities()
1807 …skip |= RequireFeature(report_data, enabled_features.core.fragmentStoresAndAtomics, "fragmentStore… in ValidateShaderStageWritableDescriptor()
1810 … skip |= RequireFeature(report_data, enabled_features.core.vertexPipelineStoresAndAtomics, in ValidateShaderStageWritableDescriptor()
2325 … if ((bit_width == 16 && !enabled_features.float_controls.shaderSignedZeroInfNanPreserveFloat16) || in ValidateExecutionModes()
2326 … (bit_width == 32 && !enabled_features.float_controls.shaderSignedZeroInfNanPreserveFloat32) || in ValidateExecutionModes()
2327 … (bit_width == 64 && !enabled_features.float_controls.shaderSignedZeroInfNanPreserveFloat64)) { in ValidateExecutionModes()
2339 … if ((bit_width == 16 && !enabled_features.float_controls.shaderDenormPreserveFloat16) || in ValidateExecutionModes()
2340 … (bit_width == 32 && !enabled_features.float_controls.shaderDenormPreserveFloat32) || in ValidateExecutionModes()
2341 … (bit_width == 64 && !enabled_features.float_controls.shaderDenormPreserveFloat64)) { in ValidateExecutionModes()
[all …]
Dcore_validation.cpp1387 if (!enabled_features.core.independentBlend) { in ValidatePipelineUnlocked()
1405 …if (!enabled_features.core.logicOp && (pPipeline->graphicsPipelineCI.pColorBlendState->logicOpEnab… in ValidatePipelineUnlocked()
1416 if (!enabled_features.core.dualSrcBlend) { in ValidatePipelineUnlocked()
1430 if (!enabled_features.core.dualSrcBlend) { in ValidatePipelineUnlocked()
1444 if (!enabled_features.core.dualSrcBlend) { in ValidatePipelineUnlocked()
1458 if (!enabled_features.core.dualSrcBlend) { in ValidatePipelineUnlocked()
1511 …if (!enabled_features.mesh_shader.meshShader && (pPipeline->active_shaders & VK_SHADER_STAGE_MESH_… in ValidatePipelineUnlocked()
1517 …if (!enabled_features.mesh_shader.taskShader && (pPipeline->active_shaders & VK_SHADER_STAGE_TASK_… in ValidatePipelineUnlocked()
1582 if ((enabled_features.core.geometryShader == VK_FALSE) && in ValidatePipelineUnlocked()
1592 if ((enabled_features.core.tessellationShader == VK_FALSE) && in ValidatePipelineUnlocked()
[all …]
Dbuffer_validation.cpp1468 …if ((pCreateInfo->flags & VK_IMAGE_CREATE_SPARSE_ALIASED_BIT) && (!enabled_features.core.sparseRes… in PreCallValidateCreateImage()
3927 …if ((pCreateInfo->flags & VK_BUFFER_CREATE_SPARSE_BINDING_BIT) && (!enabled_features.core.sparseBi… in PreCallValidateCreateBuffer()
3934 …if ((pCreateInfo->flags & VK_BUFFER_CREATE_SPARSE_RESIDENCY_BIT) && (!enabled_features.core.sparse… in PreCallValidateCreateBuffer()
3941 …if ((pCreateInfo->flags & VK_BUFFER_CREATE_SPARSE_ALIASED_BIT) && (!enabled_features.core.sparseRe… in PreCallValidateCreateBuffer()
3960 !enabled_features.buffer_address.bufferDeviceAddressCaptureReplay) { in PreCallValidateCreateBuffer()
3969 !enabled_features.buffer_address.bufferDeviceAddress) { in PreCallValidateCreateBuffer()
4024 !enabled_features.texel_buffer_alignment_features.texelBufferAlignment) { in PreCallValidateCreateBufferView()
4032 if (enabled_features.texel_buffer_alignment_features.texelBufferAlignment) { in PreCallValidateCreateBufferView()
/external/libchrome/base/metrics/
Dfield_trial.cc191 std::string enabled_features; in AddFeatureAndFieldTrialFlags() local
193 FeatureList::GetInstance()->GetFeatureOverrides(&enabled_features, in AddFeatureAndFieldTrialFlags()
196 if (!enabled_features.empty()) in AddFeatureAndFieldTrialFlags()
197 cmd_line->AppendSwitchASCII(enable_features_switch, enabled_features); in AddFeatureAndFieldTrialFlags()
940 std::string enabled_features; in CopyFieldTrialStateToFlags() local
943 &enabled_features, &disabled_features); in CopyFieldTrialStateToFlags()
945 if (!enabled_features.empty()) in CopyFieldTrialStateToFlags()
946 cmd_line->AppendSwitchASCII(enable_features_switch, enabled_features); in CopyFieldTrialStateToFlags()
/external/libdrm/tests/amdgpu/
Dras_tests.c173 uint32_t enabled_features; in amdgpu_ras_lookup_capability() member
/external/v8/src/objects/
Dvalue-serializer.cc566 auto enabled_features = wasm::WasmFeatures::FromIsolate(isolate_); in WriteJSReceiver() local
567 if (enabled_features.has_threads()) { in WriteJSReceiver()
1934 auto enabled_features = wasm::WasmFeatures::FromIsolate(isolate_); in ReadWasmMemory() local
1935 if (!enabled_features.has_threads()) { in ReadWasmMemory()
/external/v8/src/compiler/
Dwasm-compiler.h107 const wasm::WasmFeatures& enabled_features);
124 bool is_import, const wasm::WasmFeatures& enabled_features);

12