| /third_party/skia/third_party/externals/angle2/src/compiler/translator/ |
| D | ShaderLang.cpp | 176 // Initialize built-in resources with minimum expected values. 178 void InitBuiltInResources(ShBuiltInResources *resources) in InitBuiltInResources() argument 181 memset(resources, 0, sizeof(*resources)); in InitBuiltInResources() 184 resources->MaxVertexAttribs = 8; in InitBuiltInResources() 185 resources->MaxVertexUniformVectors = 128; in InitBuiltInResources() 186 resources->MaxVaryingVectors = 8; in InitBuiltInResources() 187 resources->MaxVertexTextureImageUnits = 0; in InitBuiltInResources() 188 resources->MaxCombinedTextureImageUnits = 8; in InitBuiltInResources() 189 resources->MaxTextureImageUnits = 8; in InitBuiltInResources() 190 resources->MaxFragmentUniformVectors = 16; in InitBuiltInResources() [all …]
|
| D | Initialize.cpp | 12 void InitExtensionBehavior(const ShBuiltInResources &resources, TExtensionBehavior &extBehavior) in InitExtensionBehavior() argument 14 if (resources.OES_standard_derivatives) in InitExtensionBehavior() 18 if (resources.OES_EGL_image_external) in InitExtensionBehavior() 22 if (resources.OES_EGL_image_external_essl3) in InitExtensionBehavior() 26 if (resources.NV_EGL_stream_consumer_external) in InitExtensionBehavior() 30 if (resources.ARB_texture_rectangle) in InitExtensionBehavior() 36 if (resources.EXT_blend_func_extended) in InitExtensionBehavior() 40 if (resources.EXT_draw_buffers) in InitExtensionBehavior() 44 if (resources.EXT_frag_depth) in InitExtensionBehavior() 48 if (resources.EXT_primitive_bounding_box) in InitExtensionBehavior() [all …]
|
| D | glslang_wrapper.cpp | 61 // Generate glslang resources from ANGLE translator resources. 62 void GetBuiltInResources(const ShBuiltInResources &resources, TBuiltInResource *outResources) in GetBuiltInResources() argument 64 outResources->maxDrawBuffers = resources.MaxDrawBuffers; in GetBuiltInResources() 65 outResources->maxAtomicCounterBindings = resources.MaxAtomicCounterBindings; in GetBuiltInResources() 66 outResources->maxAtomicCounterBufferSize = resources.MaxAtomicCounterBufferSize; in GetBuiltInResources() 67 outResources->maxCombinedAtomicCounterBuffers = resources.MaxCombinedAtomicCounterBuffers; in GetBuiltInResources() 68 outResources->maxCombinedAtomicCounters = resources.MaxCombinedAtomicCounters; in GetBuiltInResources() 69 outResources->maxCombinedImageUniforms = resources.MaxCombinedImageUniforms; in GetBuiltInResources() 70 outResources->maxCombinedTextureImageUnits = resources.MaxCombinedTextureImageUnits; in GetBuiltInResources() 71 outResources->maxCombinedShaderOutputResources = resources.MaxCombinedShaderOutputResources; in GetBuiltInResources() [all …]
|
| D | builtin_variables.json | 27 " value: Optional. String that has one valid value: 'resources'. Denotes that the", 94 "value":"resources" 103 "value":"resources" 112 "value":"resources" 121 "value":"resources" 130 "value":"resources" 139 "value":"resources" 148 "value":"resources" 157 "value":"resources" 167 "value":"resources", [all …]
|
| /third_party/glslang/glslang/ResourceLimits/ |
| D | ResourceLimits.cpp | 42 TBuiltInResource Resources; variable 280 void DecodeResourceLimits(TBuiltInResource* resources, char* config) in DecodeResourceLimits() argument 307 resources->maxLights = value; in DecodeResourceLimits() 309 resources->maxClipPlanes = value; in DecodeResourceLimits() 311 resources->maxTextureUnits = value; in DecodeResourceLimits() 313 resources->maxTextureCoords = value; in DecodeResourceLimits() 315 resources->maxVertexAttribs = value; in DecodeResourceLimits() 317 resources->maxVertexUniformComponents = value; in DecodeResourceLimits() 319 resources->maxVaryingFloats = value; in DecodeResourceLimits() 321 resources->maxVertexTextureImageUnits = value; in DecodeResourceLimits() [all …]
|
| /third_party/icu/tools/unicodetools/com/ibm/rbm/gui/ |
| D | RBManagerGUI.java | 56 String userName = Resources.getTranslation("unknown_user"); 132 return Resources.getTranslation("dialog_file_filter_description"); in initComponents() 147 return Resources.getTranslation("dialog_file_filter_description"); in initComponents() 161 return Resources.getTranslation("dialog_project_filter_description"); in initComponents() 184 jTabbedPaneMain.addTab(Resources.getTranslation("tab_statistics"), jPanelStats); in initComponents() 185 jTabbedPaneMain.addTab(Resources.getTranslation("tab_untranslated"), jPanelUntrans); in initComponents() 186 jTabbedPaneMain.addTab(Resources.getTranslation("tab_groups"), jPanelGroups); in initComponents() 187 jTabbedPaneMain.addTab(Resources.getTranslation("tab_search"), jPanelSearch); in initComponents() 192 treeTabbedPane.addTab(Resources.getTranslation("tab_bundle"), jScrollPaneTree); in initComponents() 193 treeTabbedPane.addTab(Resources.getTranslation("tab_project"), projectScrollPane); in initComponents() [all …]
|
| D | ResourceCreationDialog.java | 36 JLabel titleLabel = new JLabel(Resources.getTranslation("dialog_file_title")); 37 JLabel commentLabel = new JLabel(Resources.getTranslation("dialog_file_comment")); 38 JLabel managerLabel = new JLabel(Resources.getTranslation("dialog_file_manager")); 39 JLabel enc1Label = new JLabel(Resources.getTranslation("dialog_encoding")); 40 JLabel enc2Label = new JLabel(Resources.getTranslation("dialog_encoding")); 41 JLabel enc3Label = new JLabel(Resources.getTranslation("dialog_encoding")); 42 JLabel nam1Label = new JLabel(Resources.getTranslation("dialog_name")); 43 JLabel nam2Label = new JLabel(Resources.getTranslation("dialog_name")); 44 JLabel nam3Label = new JLabel(Resources.getTranslation("dialog_name")); 56 …JCheckBox copyCheckBox = new JCheckBox(Resources.getTranslation("dialog_checkbox_copy_elements"), … [all …]
|
| D | RBGroupPanel.java | 118 jLabelGroupNameTitle = new JLabel(Resources.getTranslation("basegroup_group_name")); in initComponents() 119 jLabelGroupCommentTitle = new JLabel(Resources.getTranslation("basegroup_group_comment")); in initComponents() 124 JButton deleteButton = new JButton(Resources.getTranslation("button_delete_resource")); in initComponents() 125 JButton translateButton = new JButton(Resources.getTranslation("button_mark_translated")); in initComponents() 127 …deleteButton.setMnemonic(RBManagerMenuBar.getKeyEventKey(Resources.getTranslation("button_delete_r… in initComponents() 128 …translateButton.setMnemonic(RBManagerMenuBar.getKeyEventKey(Resources.getTranslation("button_mark_… in initComponents() 129 …lowerPanel.setBorder(BorderFactory.createTitledBorder(Resources.getTranslation("languageuntrans_se… in initComponents() 186 …jLabelGroupTitle = new JLabel(rbm.getBaseClass() + " - " + Resources.getTranslation("grou… in initComponents() 191 jLabelGroupNameTitle = new JLabel(Resources.getTranslation("basegroup_group_name")); in initComponents() 192 jLabelGroupCommentTitle = new JLabel(Resources.getTranslation("basegroup_group_comment")); in initComponents() [all …]
|
| D | RBStatisticsPanel.java | 113 jLabelStatsName = new JLabel(Resources.getTranslation("languagestats_title")); in initComponents() 114 jLabelStatsComment = new JLabel(Resources.getTranslation("languagestats_comment")); in initComponents() 115 jLabelStatsManager = new JLabel(Resources.getTranslation("languagestats_manager")); in initComponents() 116 jLabelStatsLanguage = new JLabel(Resources.getTranslation("languagestats_language")); in initComponents() 117 jLabelStatsCountry = new JLabel(Resources.getTranslation("languagestats_country")); in initComponents() 118 jLabelStatsVariant = new JLabel(Resources.getTranslation("languagestats_variant")); in initComponents() 119 …jLabelStatsNumTrans = new JLabel(Resources.getTranslation("languagestats_item_count") + " " + in initComponents() 121 …jLabelStatsNumUntrans = new JLabel(Resources.getTranslation("languagestats_translation_count")… in initComponents() 124 …jTextFieldStatsName = new JTextField((bundle.name == null ? Resources.getTranslation("untitl… in initComponents() 134 updateButton = new JButton(Resources.getTranslation("button_update")); in initComponents() [all …]
|
| D | PreferencesDialog.java | 41 super(gui, Resources.getTranslation("dialog_title_preferences"), true); in PreferencesDialog() 44 locale = Resources.getLocale(); in PreferencesDialog() 81 JLabel nameLabel = new JLabel(Resources.getTranslation("dialog_preferences_username")); in initComponents() 82 JLabel lafLabel = new JLabel(Resources.getTranslation("dialog_preferences_lookandfeel")); in initComponents() 83 JLabel warnLabel = new JLabel(Resources.getTranslation("dialog_preferences_locale_warning")); in initComponents() 87 …machineRadio = new JRadioButton(Resources.getTranslation("dialog_preferences_locale_machine"), fal… in initComponents() 88 …definedRadio = new JRadioButton(Resources.getTranslation("dialog_preferences_locale_defined"), tru… in initComponents() 89 isoRadio = new JRadioButton(Resources.getTranslation("dialog_preferences_locale_iso"), false); in initComponents() 91 definedCombo = new JComboBox(Resources.getAvailableLocales()); in initComponents() 95 okButton = new JButton(Resources.getTranslation("button_update")); in initComponents() [all …]
|
| /third_party/skia/third_party/externals/angle2/src/tests/test_utils/third_party/ |
| D | vulkan_command_buffer_utils.h | 365 inline void init_resources(TBuiltInResource &Resources) in init_resources() argument 367 Resources.maxLights = 32; in init_resources() 368 Resources.maxClipPlanes = 6; in init_resources() 369 Resources.maxTextureUnits = 32; in init_resources() 370 Resources.maxTextureCoords = 32; in init_resources() 371 Resources.maxVertexAttribs = 64; in init_resources() 372 Resources.maxVertexUniformComponents = 4096; in init_resources() 373 Resources.maxVaryingFloats = 64; in init_resources() 374 Resources.maxVertexTextureImageUnits = 32; in init_resources() 375 Resources.maxCombinedTextureImageUnits = 80; in init_resources() [all …]
|
| /third_party/python/Lib/test/test_importlib/ |
| D | test_resource.py | 8 from .resources import util 9 from importlib import resources, import_module 18 target = resources.files(self.data) / 'binary.file' 22 target = resources.files(self.data) / 'not-a-file' 26 target = resources.files(self.data) / 'subdirectory' 49 self.assertEqual(names(resources.files(package)), {'A', 'B', 'C'}) 55 self.assertTrue(resources.files(package).joinpath('B').is_file()) 61 self.assertTrue(resources.files(package).joinpath('D').is_dir()) 67 self.assertFalse(resources.files(package).joinpath('Z').is_file()) 85 self.assertFalse(resources.files(module).joinpath('A').is_file()) [all …]
|
| D | test_path.py | 4 from importlib import resources 6 from .resources import util 11 with resources.as_file(resources.files(package).joinpath(path)): 20 target = resources.files(self.data) / 'utf-8.file' 21 with resources.as_file(target) as path: 34 # file-system-backed resources do not get the tempdir 36 target = resources.files(self.data) / 'utf-8.file' 37 with resources.as_file(target) as path: 56 target = resources.files(self.data) / 'utf-8.file' 57 with resources.as_file(target) as path:
|
| /third_party/python/Doc/library/ |
| D | importlib.resources.rst | 1 :mod:`importlib.resources` -- Resources 4 .. module:: importlib.resources 7 **Source code:** :source:`Lib/importlib/resources/__init__.py` 13 This module leverages Python's import system to provide access to *resources* 14 within *packages*. If you can import a package, you can access resources 15 within that package. Resources can be opened or read, in either binary or 18 Resources are roughly akin to files inside directories, though it's important 19 to keep in mind that this is just a metaphor. Resources and packages **do 21 for example, a package and its resources can be imported from a zip file using 31 resources included in packages easier, with more stable and consistent [all …]
|
| /third_party/skia/third_party/externals/angle2/src/compiler/fuzz/ |
| D | translator_fuzzer.cpp | 210 ShBuiltInResources resources; in LLVMFuzzerTestOneInput() local 211 sh::InitBuiltInResources(&resources); in LLVMFuzzerTestOneInput() 214 resources.OES_standard_derivatives = 1; in LLVMFuzzerTestOneInput() 215 resources.OES_EGL_image_external = 1; in LLVMFuzzerTestOneInput() 216 resources.OES_EGL_image_external_essl3 = 1; in LLVMFuzzerTestOneInput() 217 resources.NV_EGL_stream_consumer_external = 1; in LLVMFuzzerTestOneInput() 218 resources.ARB_texture_rectangle = 1; in LLVMFuzzerTestOneInput() 219 resources.EXT_blend_func_extended = 1; in LLVMFuzzerTestOneInput() 220 resources.EXT_draw_buffers = 1; in LLVMFuzzerTestOneInput() 221 resources.EXT_frag_depth = 1; in LLVMFuzzerTestOneInput() [all …]
|
| /third_party/icu/tools/unicodetools/com/ibm/rbm/ |
| D | RBImporter.java | 26 …* <LI>The class should parse resources one at a time and use the importResource() method to insert… 27 * <LI>The class should report when all resources have been read and the import is complete.</LI> 37 …private final static int FILE_OPTION_IGNORE = 2; // Ignore all resources from th… 52 …JRadioButton resourceOverwriteRadio = new JRadioButton(Resources.getTranslation("import_resourc… 53 …JRadioButton resourceIgnoreRadio = new JRadioButton(Resources.getTranslation("import_resourc… 54 …JRadioButton resourcePromptRadio = new JRadioButton(Resources.getTranslation("import_conflic… 55 …JRadioButton fileGeneratePopulateRadio = new JRadioButton(Resources.getTranslation("import_file_co… 56 …JRadioButton fileGenerateEmptyRadio = new JRadioButton(Resources.getTranslation("import_file_co… 57 …JRadioButton fileIgnoreRadio = new JRadioButton(Resources.getTranslation("import_file_co… 58 …JRadioButton filePromptRadio = new JRadioButton(Resources.getTranslation("import_conflic… [all …]
|
| /third_party/skia/third_party/externals/angle2/src/tests/compiler_tests/ |
| D | ConstructCompiler_test.cpp | 17 ShBuiltInResources resources; in TEST() local 18 sh::InitBuiltInResources(&resources); in TEST() 20 SH_GLSL_COMPATIBILITY_OUTPUT, &resources); in TEST() 27 ShBuiltInResources resources; in TEST() local 28 sh::InitBuiltInResources(&resources); in TEST() 29 resources.MaxDrawBuffers = 0; in TEST() 31 SH_GLSL_COMPATIBILITY_OUTPUT, &resources); in TEST() 38 ShBuiltInResources resources; in TEST() local 39 sh::InitBuiltInResources(&resources); in TEST() 40 resources.EXT_blend_func_extended = 1; in TEST() [all …]
|
| /third_party/mesa3d/src/gallium/auxiliary/vl/ |
| D | vl_video_buffer.c | 209 pipe_resource_reference(&buf->resources[i], NULL); in vl_video_buffer_destroy() 236 u_sampler_view_default_template(&sv_templ, buf->resources[i], buf->resources[i]->format); in vl_video_buffer_sampler_view_planes() 238 if (util_format_get_nr_components(buf->resources[i]->format) == 1) in vl_video_buffer_sampler_view_planes() 241 … buf->sampler_view_planes[i] = pipe->create_sampler_view(pipe, buf->resources[i], &sv_templ); in vl_video_buffer_sampler_view_planes() 274 struct pipe_resource *res = buf->resources[plane_order[i]]; in vl_video_buffer_sampler_view_components() 321 if (!buf->resources[i]) { in vl_video_buffer_surfaces() 328 surf_templ.format = vl_video_buffer_surface_format(buf->resources[i]->format); in vl_video_buffer_surfaces() 330 buf->surfaces[surf] = pipe->create_surface(pipe, buf->resources[i], &surf_templ); in vl_video_buffer_surfaces() 398 struct pipe_resource *resources[VL_NUM_COMPONENTS]; in vl_video_buffer_create_ex() local 403 memset(resources, 0, sizeof resources); in vl_video_buffer_create_ex() [all …]
|
| /third_party/skia/third_party/externals/angle2/samples/shader_translator/ |
| D | shader_translator.cpp | 55 // Set up the per compile resources 57 void GenerateResources(ShBuiltInResources *resources) in GenerateResources() argument 59 sh::InitBuiltInResources(resources); in GenerateResources() 61 resources->MaxVertexAttribs = 8; in GenerateResources() 62 resources->MaxVertexUniformVectors = 128; in GenerateResources() 63 resources->MaxVaryingVectors = 8; in GenerateResources() 64 resources->MaxVertexTextureImageUnits = 0; in GenerateResources() 65 resources->MaxCombinedTextureImageUnits = 8; in GenerateResources() 66 resources->MaxTextureImageUnits = 8; in GenerateResources() 67 resources->MaxFragmentUniformVectors = 16; in GenerateResources() [all …]
|
| /third_party/skia/third_party/externals/spirv-cross/include/spirv_cross/ |
| D | internal_interface.hpp | 163 // Resources can be more abstract and be unsized, 215 PPSizeResource resources[SPIRV_CROSS_NUM_DESCRIPTOR_SETS][SPIRV_CROSS_NUM_DESCRIPTOR_BINDINGS]; member 244 assert(!resources[set][binding].ptr); in register_resource() 246 resources[set][binding].ptr = (void **)&value.ptr; in register_resource() 247 resources[set][binding].size = internal::Resource<U>::Size; in register_resource() 248 resources[set][binding].pre_dereference = internal::Resource<U>::PreDereference; in register_resource() 329 assert(resources[set][binding].ptr); in set_resource() 330 assert(size >= resources[set][binding].size); in set_resource() 333 if (resources[set][binding].pre_dereference) in set_resource() 334 *resources[set][binding].ptr = *data; in set_resource() [all …]
|
| /third_party/mesa3d/src/gallium/drivers/r600/ |
| D | r600_uvd.c | 62 struct r600_texture *resources[VL_NUM_COMPONENTS] = {}; in r600_video_buffer_create() local 74 /* first create the needed resources as "normal" textures */ in r600_video_buffer_create() 86 resources[0] = (struct r600_texture *) in r600_video_buffer_create() 88 if (!resources[0]) in r600_video_buffer_create() 96 resources[1] = (struct r600_texture *) in r600_video_buffer_create() 98 if (!resources[1]) in r600_video_buffer_create() 107 resources[2] = (struct r600_texture *) in r600_video_buffer_create() 109 if (!resources[2]) in r600_video_buffer_create() 114 if (!resources[i]) in r600_video_buffer_create() 117 pbs[i] = &resources[i]->resource.buf; in r600_video_buffer_create() [all …]
|
| /third_party/skia/tools/skottie_ios_app/ |
| D | BUILD.gn | 33 "../../resources/skottie/skottie-3d-rotation-order.json", 34 "../../resources/skottie/skottie-camera-parent-3.json", 35 "../../resources/skottie/skottie-gradient-ramp.json", 36 "../../resources/skottie/skottie-linear-wipe-effect.json", 37 "../../resources/skottie/skottie-text-animator-1.json", 38 "../../resources/skottie/skottie-text-animator-2.json", 39 "../../resources/skottie/skottie-text-animator-3.json", 40 "../../resources/skottie/skottie-text-animator-4.json", 41 "../../resources/skottie/skottie-text-animator-5.json", 42 "../../resources/skottie/skottie-text-animator-8.json", [all …]
|
| /third_party/skia/src/gpu/ |
| D | GrResourceCache.h | 51 * Resources may have optionally have two types of keys: 52 * 1) A scratch key. This is for resources whose allocations are cached but not their contents. 53 * Multiple resources can share the same scratch key. This is so a caller can have two 56 * should never change. Resources need not have a scratch key. 72 // Default maximum number of bytes of gpu memory of budgeted resources in the cache. 102 * Returns the number of resources. 109 * Returns the number of resources that count against the budget. 114 * Returns the number of bytes consumed by resources. 126 * Returns the number of bytes held by unlocked resources which are available for purging. 131 * Returns the number of bytes consumed by budgeted resources. [all …]
|
| /third_party/node/test/fixtures/wpt/encoding/ |
| D | utf-32-from-win1252.html | 4 <script src="/resources/testharness.js"></script> 5 <script src="/resources/testharnessreport.js"></script> 10 // * HTML resources will use the parent encoding (windows-1252) 11 // * XML resources will default to UTF-8 17 {file: 'resources/utf-32-big-endian-bom.html', 21 {file: 'resources/utf-32-big-endian-bom.xml', 25 {file: 'resources/utf-32-big-endian-nobom.html', 29 {file: 'resources/utf-32-big-endian-nobom.xml', 34 {file: 'resources/utf-32-little-endian-bom.html', 38 {file: 'resources/utf-32-little-endian-bom.xml', [all …]
|
| D | utf-32.html | 4 <script src="/resources/testharness.js"></script> 5 <script src="/resources/testharnessreport.js"></script> 10 // * HTML resources will use the parent encoding (UTF-8) 11 // * XML resources will default to UTF-8 17 {file: 'resources/utf-32-big-endian-bom.html', 21 {file: 'resources/utf-32-big-endian-bom.xml', 25 {file: 'resources/utf-32-big-endian-nobom.html', 29 {file: 'resources/utf-32-big-endian-nobom.xml', 34 {file: 'resources/utf-32-little-endian-bom.html', 38 {file: 'resources/utf-32-little-endian-bom.xml', [all …]
|