Home
last modified time | relevance | path

Searched refs:spec (Results 1 - 25 of 742) sorted by relevance

12345678910>>...30

/third_party/python/Lib/test/test_importlib/
H A Dtest_spec.py38 def create_module(self, spec):
72 self.spec = self.machinery.ModuleSpec(self.name, self.loader)
78 spec = self.machinery.ModuleSpec(self.name, self.loader)
80 self.assertEqual(spec.name, self.name)
81 self.assertEqual(spec.loader, self.loader)
82 self.assertIs(spec.origin, None)
83 self.assertIs(spec.loader_state, None)
84 self.assertIs(spec.submodule_search_locations, None)
85 self.assertIs(spec.cached, None)
86 self.assertFalse(spec
[all...]
/third_party/vk-gl-cts/modules/gles2/functional/
H A Des2fDrawTests.cpp54 gls::DrawTestSpec spec(baseSpec); in addTestIterations()
58 spec.primitiveCount = 1; in addTestIterations()
59 test->addIteration(spec, "draw count = 1"); in addTestIterations()
61 spec.primitiveCount = 5; in addTestIterations()
62 test->addIteration(spec, "draw count = 5"); in addTestIterations()
64 spec.primitiveCount = 25; in addTestIterations()
65 test->addIteration(spec, "draw count = 25"); in addTestIterations()
71 static void genBasicSpec (gls::DrawTestSpec& spec, gls::DrawTestSpec::DrawMethod method) in genBasicSpec() argument
73 spec.apiType = glu::ApiType::es(2,0); in genBasicSpec()
74 spec in genBasicSpec()
144 gls::DrawTestSpec spec; init() local
179 gls::DrawTestSpec spec; init() local
225 gls::DrawTestSpec spec; init() local
328 gls::DrawTestSpec spec; init() local
397 gls::DrawTestSpec spec; init() local
595 gls::DrawTestSpec spec; init() local
[all...]
H A Des2fVertexArrayTest.cpp99 MultiVertexArrayTest::Spec spec; in init() local
100 spec.primitive = Array::PRIMITIVE_TRIANGLES; in init()
101 spec.drawCount = counts[countNdx]; in init()
102 spec.first = 0; in init()
103 spec.arrays.push_back(arraySpec); in init()
105 std::string name = spec.getName(); in init()
108 addChild(new MultiVertexArrayTest(m_testCtx, m_context.getRenderContext(), spec, name.c_str(), name.c_str())); in init()
169 MultiVertexArrayTest::Spec spec; in init() local
170 spec.primitive = Array::PRIMITIVE_TRIANGLES; in init()
171 spec in init()
240 MultiVertexArrayTest::Spec spec; init() local
308 MultiVertexArrayTest::Spec spec; init() local
371 MultiVertexArrayTest::Spec spec; init() local
436 MultiVertexArrayTest::Spec spec; init() local
507 getTestName(const MultiVertexArrayTest::Spec& spec) getTestName() argument
523 MultiVertexArrayTest::Spec spec; init() local
577 getTestName(const MultiVertexArrayTest::Spec& spec) getTestName() argument
593 addStorageCases(MultiVertexArrayTest::Spec spec, int depth) addStorageCases() argument
644 MultiVertexArrayTest::Spec spec; init() local
679 getTestName(const MultiVertexArrayTest::Spec& spec) getTestName() argument
703 MultiVertexArrayTest::Spec spec; init() local
713 addStrideCases(MultiVertexArrayTest::Spec spec, int depth) addStrideCases() argument
770 getTestName(const MultiVertexArrayTest::Spec& spec) getTestName() argument
794 MultiVertexArrayTest::Spec spec; init() local
804 addInputTypeCases(MultiVertexArrayTest::Spec spec, int depth) addInputTypeCases() argument
[all...]
/third_party/vk-gl-cts/modules/gles31/functional/
H A Des31fDrawElementsBaseVertexTests.cpp85 static void addRangeElementsToSpec (gls::DrawTestSpec& spec) in addRangeElementsToSpec() argument
87 if (spec.drawMethod == gls::DrawTestSpec::DRAWMETHOD_DRAWELEMENTS_RANGED_BASEVERTEX) in addRangeElementsToSpec()
89 spec.indexMin = 0; in addRangeElementsToSpec()
90 spec.indexMax = (int)getElementCount(spec.primitive, spec.primitiveCount); in addRangeElementsToSpec()
94 static void addTestIterations (gls::DrawTest* test, gls::DrawTestSpec& spec, TestIterationType type) in addTestIterations() argument
98 spec.primitiveCount = 1; in addTestIterations()
99 addRangeElementsToSpec(spec); in addTestIterations()
100 test->addIteration(spec, "dra in addTestIterations()
128 genBasicSpec(gls::DrawTestSpec& spec, glu::ContextType& contextType, gls::DrawTestSpec::DrawMethod method) genBasicSpec() argument
513 gls::DrawTestSpec spec; init() local
581 gls::DrawTestSpec spec; init() local
647 gls::DrawTestSpec spec; init() local
684 gls::DrawTestSpec spec; init() local
732 gls::DrawTestSpec spec; init() local
794 gls::DrawTestSpec spec; init() local
[all...]
H A Des31fAtomicCounterTests.cpp109 AtomicCounterTest (Context& context, const char* name, const char* description, const TestSpec& spec);
124 static string generateShaderSource (const TestSpec& spec);
128 static bool checkPath (const vector<deUint32>& increments, const vector<deUint32>& decrements, int initialValue, const TestSpec& spec);
154 AtomicCounterTest::AtomicCounterTest (Context& context, const char* name, const char* description, const TestSpec& spec) in AtomicCounterTest() argument
156 , m_spec (spec) in AtomicCounterTest()
172 string AtomicCounterTest::generateShaderSource (const TestSpec& spec) in generateShaderSource() argument
183 switch (spec.bindingType) in generateShaderSource()
195 switch (spec.offsetType) in generateShaderSource()
208 DE_ASSERT(spec.atomicCounterCount > 2); in generateShaderSource()
215 src << "offset=" << (4 * spec in generateShaderSource()
712 checkPath(const vector<deUint32>& increments, const vector<deUint32>& decrements, int initialValue, const TestSpec& spec) checkPath() argument
1050 specToTestName(const AtomicCounterTest::TestSpec& spec) specToTestName() argument
1061 specToTestDescription(const AtomicCounterTest::TestSpec& spec) specToTestDescription() argument
1359 AtomicCounterTest::TestSpec spec; AtomicCounterTests() local
1437 AtomicCounterTest::TestSpec spec; AtomicCounterTests() local
1460 AtomicCounterTest::TestSpec spec; AtomicCounterTests() local
1474 AtomicCounterTest::TestSpec spec; AtomicCounterTests() local
1488 AtomicCounterTest::TestSpec spec; AtomicCounterTests() local
1502 AtomicCounterTest::TestSpec spec; AtomicCounterTests() local
1516 AtomicCounterTest::TestSpec spec; AtomicCounterTests() local
[all...]
H A Des31fTextureLevelStateQueryTests.cpp734 bool applyTextureGenerationSpec (glu::CallLogWrapper& gl, const TextureGenerationSpec& spec, glw::GLuint& texBuffer) in applyTextureGenerationSpec() argument
738 DE_ASSERT(!(spec.immutable && spec.levels.size() > 1)); // !< immutable textures have only one level in applyTextureGenerationSpec()
740 for (int levelNdx = 0; levelNdx < (int)spec.levels.size(); ++levelNdx) in applyTextureGenerationSpec()
742 const glu::TransferFormat transferFormat = (spec.levels[levelNdx].compressed) ? (glu::TransferFormat()) : (glu::getTransferFormat(glu::mapGLInternalFormat(spec.levels[levelNdx].internalFormat))); in applyTextureGenerationSpec()
744 if (spec.immutable && !spec.levels[levelNdx].compressed && spec.bindTarget == GL_TEXTURE_2D) in applyTextureGenerationSpec()
745 gl.glTexStorage2D(spec in applyTextureGenerationSpec()
950 testConfig(const TextureGenerationSpec& spec) testConfig() argument
1021 checkTextureState(glu::CallLogWrapper& gl, const TextureGenerationSpec& spec) checkTextureState() argument
1039 checkTextureState(glu::CallLogWrapper& gl, const TextureGenerationSpec& spec) checkTextureState() argument
1057 checkTextureState(glu::CallLogWrapper& gl, const TextureGenerationSpec& spec) checkTextureState() argument
1093 checkTextureState(glu::CallLogWrapper& gl, const TextureGenerationSpec& spec) checkTextureState() argument
1130 checkTextureState(glu::CallLogWrapper& gl, const TextureGenerationSpec& spec) checkTextureState() argument
1171 checkTextureState(glu::CallLogWrapper& gl, const TextureGenerationSpec& spec) checkTextureState() argument
1221 checkTextureState(glu::CallLogWrapper& gl, const TextureGenerationSpec& spec) checkTextureState() argument
1343 checkTextureState(glu::CallLogWrapper& gl, const TextureGenerationSpec& spec) checkTextureState() argument
1474 checkTextureState(glu::CallLogWrapper& gl, const TextureGenerationSpec& spec) checkTextureState() argument
1526 checkTextureState(glu::CallLogWrapper& gl, const TextureGenerationSpec& spec) checkTextureState() argument
1564 checkTextureState(glu::CallLogWrapper& gl, const TextureGenerationSpec& spec) checkTextureState() argument
1604 checkTextureState(glu::CallLogWrapper& gl, const TextureGenerationSpec& spec) checkTextureState() argument
[all...]
/third_party/vk-gl-cts/modules/egl/
H A DteglMemoryStressTests.cpp327 MemoryStressCase (EglTestContext& eglTestCtx, Spec spec, const char* name, const char* description);
344 MemoryStressCase::MemoryStressCase (EglTestContext& eglTestCtx, Spec spec, const char* name, const char* description) in MemoryStressCase() argument
346 , m_spec (spec) in MemoryStressCase()
476 MemoryStressCase::Spec spec; in init() local
478 spec.types = OBJECTTYPE_PBUFFER; in init()
479 spec.minWidth = 256; in init()
480 spec.minHeight = 256; in init()
481 spec.maxWidth = 256; in init()
482 spec.maxHeight = 256; in init()
483 spec in init()
490 MemoryStressCase::Spec spec; init() local
504 MemoryStressCase::Spec spec; init() local
518 MemoryStressCase::Spec spec; init() local
532 MemoryStressCase::Spec spec; init() local
546 MemoryStressCase::Spec spec; init() local
560 MemoryStressCase::Spec spec; init() local
574 MemoryStressCase::Spec spec; init() local
588 MemoryStressCase::Spec spec; init() local
602 MemoryStressCase::Spec spec; init() local
[all...]
H A DteglGLES2SharingTests.cpp93 GLES2SharingTest (EglTestContext& eglTestCtx, const char* name , const char* desc, const TestSpec& spec);
115 GLES2SharingTest::GLES2SharingTest (EglTestContext& eglTestCtx, const char* name , const char* desc, const TestSpec& spec) in GLES2SharingTest() argument
117 , m_spec (spec) in GLES2SharingTest()
297 GLES2BufferSharingTest (EglTestContext& eglTestCtx, const char* name, const char* desc, const GLES2SharingTest::TestSpec& spec);
309 GLES2BufferSharingTest::GLES2BufferSharingTest (EglTestContext& eglTestCtx, const char* name, const char* desc, const GLES2SharingTest::TestSpec& spec) in GLES2BufferSharingTest() argument
310 : GLES2SharingTest (eglTestCtx, name, desc, spec) in GLES2BufferSharingTest()
470 GLES2TextureSharingTest (EglTestContext& eglTestCtx, const char* name, const char* desc, const GLES2SharingTest::TestSpec& spec, bool asColorAttachment);
483 GLES2TextureSharingTest::GLES2TextureSharingTest (EglTestContext& eglTestCtx, const char* name, const char* desc, const GLES2SharingTest::TestSpec& spec, bool asColorAttachment) in GLES2TextureSharingTest() argument
484 : GLES2SharingTest (eglTestCtx, name, desc, spec) in GLES2TextureSharingTest()
693 GLES2ProgramSharingTest (EglTestContext& eglTestCtx, const char* name, const char* desc, const GLES2SharingTest::TestSpec& spec);
704 GLES2ProgramSharingTest(EglTestContext& eglTestCtx, const char* name, const char* desc, const GLES2SharingTest::TestSpec& spec) GLES2ProgramSharingTest() argument
856 GLES2ShaderSharingTest(EglTestContext& eglTestCtx, const char* name, const char* desc, GLenum shaderType, const GLES2SharingTest::TestSpec& spec) GLES2ShaderSharingTest() argument
1142 GLES2SharingTest::TestSpec spec; init() local
1155 GLES2SharingTest::TestSpec spec; init() local
1173 GLES2SharingTest::TestSpec spec; init() local
1186 GLES2SharingTest::TestSpec spec; init() local
1199 GLES2SharingTest::TestSpec spec; init() local
1217 GLES2SharingTest::TestSpec spec; init() local
1230 GLES2SharingTest::TestSpec spec; init() local
1243 GLES2SharingTest::TestSpec spec; init() local
1256 GLES2SharingTest::TestSpec spec; init() local
1273 GLES2SharingTest::TestSpec spec; init() local
1286 GLES2SharingTest::TestSpec spec; init() local
1299 GLES2SharingTest::TestSpec spec; init() local
1317 GLES2SharingTest::TestSpec spec; init() local
1330 GLES2SharingTest::TestSpec spec; init() local
1343 GLES2SharingTest::TestSpec spec; init() local
1356 GLES2SharingTest::TestSpec spec; init() local
1369 GLES2SharingTest::TestSpec spec; init() local
1382 GLES2SharingTest::TestSpec spec; init() local
[all...]
/third_party/vk-gl-cts/modules/gles2/stress/
H A Des2sDrawTests.cpp44 static void genBasicSpec (gls::DrawTestSpec& spec, gls::DrawTestSpec::DrawMethod method) in genBasicSpec() argument
46 spec.apiType = glu::ApiType::es(2,0); in genBasicSpec()
47 spec.primitive = gls::DrawTestSpec::PRIMITIVE_TRIANGLES; in genBasicSpec()
48 spec.primitiveCount = 5; in genBasicSpec()
49 spec.drawMethod = method; in genBasicSpec()
50 spec.indexType = gls::DrawTestSpec::INDEXTYPE_LAST; in genBasicSpec()
51 spec.indexPointerOffset = 0; in genBasicSpec()
52 spec.indexStorage = gls::DrawTestSpec::STORAGE_LAST; in genBasicSpec()
53 spec.first = 0; in genBasicSpec()
54 spec in genBasicSpec()
120 gls::DrawTestSpec spec; init() local
309 gls::DrawTestSpec spec; init() local
[all...]
/third_party/pulseaudio/src/pulse/
H A Dsample.c58 size_t pa_sample_size(const pa_sample_spec *spec) { in pa_sample_size() argument
59 pa_assert(spec); in pa_sample_size()
60 pa_assert(pa_sample_spec_valid(spec)); in pa_sample_size()
62 return size_table[spec->format]; in pa_sample_size()
65 size_t pa_frame_size(const pa_sample_spec *spec) { in pa_frame_size() argument
66 pa_assert(spec); in pa_frame_size()
67 pa_assert(pa_sample_spec_valid(spec)); in pa_frame_size()
69 return size_table[spec->format] * spec->channels; in pa_frame_size()
72 size_t pa_bytes_per_second(const pa_sample_spec *spec) { in pa_bytes_per_second() argument
79 pa_bytes_to_usec(uint64_t length, const pa_sample_spec *spec) pa_bytes_to_usec() argument
86 pa_usec_to_bytes(pa_usec_t t, const pa_sample_spec *spec) pa_usec_to_bytes() argument
93 pa_sample_spec_init(pa_sample_spec *spec) pa_sample_spec_init() argument
118 pa_sample_spec_valid(const pa_sample_spec *spec) pa_sample_spec_valid() argument
169 pa_sample_spec_snprint(char *s, size_t l, const pa_sample_spec *spec) pa_sample_spec_snprint() argument
[all...]
/third_party/vk-gl-cts/modules/gles3/functional/
H A Des3fDrawTests.cpp56 gls::DrawTestSpec spec(baseSpec); in addTestIterations()
60 spec.primitiveCount = 1; in addTestIterations()
61 test->addIteration(spec, "draw count = 1"); in addTestIterations()
63 spec.primitiveCount = 5; in addTestIterations()
64 test->addIteration(spec, "draw count = 5"); in addTestIterations()
66 spec.primitiveCount = 25; in addTestIterations()
67 test->addIteration(spec, "draw count = 25"); in addTestIterations()
71 spec.instanceCount = 1; in addTestIterations()
72 test->addIteration(spec, "instance count = 1"); in addTestIterations()
74 spec in addTestIterations()
102 genBasicSpec(gls::DrawTestSpec& spec, gls::DrawTestSpec::DrawMethod method) genBasicSpec() argument
180 gls::DrawTestSpec spec; init() local
215 gls::DrawTestSpec spec; init() local
261 gls::DrawTestSpec spec; init() local
321 gls::DrawTestSpec spec; init() local
429 gls::DrawTestSpec spec; init() local
498 gls::DrawTestSpec spec; init() local
1030 gls::DrawTestSpec spec; init() local
[all...]
/third_party/skia/src/gpu/ops/
H A DQuadPerEdgeAA.cpp38 const VertexSpec& spec, in write_quad_generic()
47 SkASSERT(!spec.hasLocalCoords() || localQuad); in write_quad_generic()
49 CoverageMode mode = spec.coverageMode(); in write_quad_generic()
55 << If(spec.deviceQuadType() == GrQuad::Type::kPerspective, deviceQuad->w(i)) in write_quad_generic()
59 if (spec.hasVertexColors()) { in write_quad_generic()
60 bool wide = spec.colorType() == ColorType::kFloat; in write_quad_generic()
66 if (spec.hasLocalCoords()) { in write_quad_generic()
69 << If(spec.localQuadType() == GrQuad::Type::kPerspective, localQuad->w(i)); in write_quad_generic()
73 if (spec.requiresGeometrySubset()) { in write_quad_generic()
78 if (spec in write_quad_generic()
37 write_quad_generic(VertexWriter* vb, const VertexSpec& spec, const GrQuad* deviceQuad, const GrQuad* localQuad, const float coverage[4], const SkPMColor4f& color, const SkRect& geomSubset, const SkRect& texSubset) write_quad_generic() argument
89 write_2d_color(VertexWriter* vb, const VertexSpec& spec, const GrQuad* deviceQuad, const GrQuad* localQuad, const float coverage[4], const SkPMColor4f& color, const SkRect& geomSubset, const SkRect& texSubset) write_2d_color() argument
121 write_2d_uv(VertexWriter* vb, const VertexSpec& spec, const GrQuad* deviceQuad, const GrQuad* localQuad, const float coverage[4], const SkPMColor4f& color, const SkRect& geomSubset, const SkRect& texSubset) write_2d_uv() argument
148 write_2d_color_uv(VertexWriter* vb, const VertexSpec& spec, const GrQuad* deviceQuad, const GrQuad* localQuad, const float coverage[4], const SkPMColor4f& color, const SkRect& geomSubset, const SkRect& texSubset) write_2d_color_uv() argument
180 write_2d_cov_uv(VertexWriter* vb, const VertexSpec& spec, const GrQuad* deviceQuad, const GrQuad* localQuad, const float coverage[4], const SkPMColor4f& color, const SkRect& geomSubset, const SkRect& texSubset) write_2d_cov_uv() argument
214 write_2d_uv_strict(VertexWriter* vb, const VertexSpec& spec, const GrQuad* deviceQuad, const GrQuad* localQuad, const float coverage[4], const SkPMColor4f& color, const SkRect& geomSubset, const SkRect& texSubset) write_2d_uv_strict() argument
242 write_2d_color_uv_strict(VertexWriter* vb, const VertexSpec& spec, const GrQuad* deviceQuad, const GrQuad* localQuad, const float coverage[4], const SkPMColor4f& color, const SkRect& geomSubset, const SkRect& texSubset) write_2d_color_uv_strict() argument
275 write_2d_cov_uv_strict(VertexWriter* vb, const VertexSpec& spec, const GrQuad* deviceQuad, const GrQuad* localQuad, const float coverage[4], const SkPMColor4f& color, const SkRect& geomSubset, const SkRect& texSubset) write_2d_cov_uv_strict() argument
325 GetWriteQuadProc(const VertexSpec& spec) GetWriteQuadProc() argument
362 Tessellator(const VertexSpec& spec, char* vertices) Tessellator() argument
605 Make(SkArenaAlloc* arena, const VertexSpec& spec) Make() argument
851 QuadPerEdgeAAGeometryProcessor(const VertexSpec& spec) QuadPerEdgeAAGeometryProcessor() argument
859 QuadPerEdgeAAGeometryProcessor(const VertexSpec& spec, const GrShaderCaps& caps, const GrBackendFormat& backendFormat, GrSamplerState samplerState, const GrSwizzle& swizzle, sk_sp<GrColorSpaceXform> textureColorSpaceXform, Saturate saturate) QuadPerEdgeAAGeometryProcessor() argument
876 initializeAttrs(const VertexSpec& spec) initializeAttrs() argument
943 MakeProcessor(SkArenaAlloc* arena, const VertexSpec& spec) MakeProcessor() argument
947 MakeTexturedProcessor(SkArenaAlloc* arena, const VertexSpec& spec, const GrShaderCaps& caps, const GrBackendFormat& backendFormat, GrSamplerState samplerState, const GrSwizzle& swizzle, sk_sp<GrColorSpaceXform> textureColorSpaceXform, Saturate saturate) MakeTexturedProcessor() argument
[all...]
/third_party/node/deps/npm/test/fixtures/
H A Deresolve-explanations.js9 spec: '1',
18 spec: '1.x',
32 spec: '2.x',
47 spec: '1',
57 spec: '1',
66 spec: '1.x',
86 spec: '1',
97 spec: '1',
106 spec: '1.x',
123 spec
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/spirv_assembly/
H A DvktSpvAsmWorkgroupMemoryTests.cpp284 ComputeShaderSpec spec; in addComputeWorkgroupMemoryTests() local
290 spec.assembly = shaderSource.specialize(shaderSpec); in addComputeWorkgroupMemoryTests()
291 spec.numWorkGroups = IVec3(1, 1, 1); in addComputeWorkgroupMemoryTests()
292 spec.verifyIO = checkResultsFloat64; in addComputeWorkgroupMemoryTests()
293 spec.requestedVulkanFeatures = features; in addComputeWorkgroupMemoryTests()
295 spec.inputs.push_back(Resource(BufferSp(new Float64Buffer(inputData)), VK_DESCRIPTOR_TYPE_STORAGE_BUFFER)); in addComputeWorkgroupMemoryTests()
296 spec.outputs.push_back(Resource(BufferSp(new Float64Buffer(outputData)), VK_DESCRIPTOR_TYPE_STORAGE_BUFFER)); in addComputeWorkgroupMemoryTests()
298 group->addChild(new SpvAsmComputeShaderCase(testCtx, "float64", spec)); in addComputeWorkgroupMemoryTests()
311 ComputeShaderSpec spec; in addComputeWorkgroupMemoryTests() local
317 spec in addComputeWorkgroupMemoryTests()
343 ComputeShaderSpec spec; addComputeWorkgroupMemoryTests() local
376 ComputeShaderSpec spec; addComputeWorkgroupMemoryTests() local
402 ComputeShaderSpec spec; addComputeWorkgroupMemoryTests() local
433 ComputeShaderSpec spec; addComputeWorkgroupMemoryTests() local
466 ComputeShaderSpec spec; addComputeWorkgroupMemoryTests() local
498 ComputeShaderSpec spec; addComputeWorkgroupMemoryTests() local
528 ComputeShaderSpec spec; addComputeWorkgroupMemoryTests() local
563 ComputeShaderSpec spec; addComputeWorkgroupMemoryTests() local
600 ComputeShaderSpec spec; addComputeWorkgroupMemoryTests() local
[all...]
H A DvktSpvAsmVariablePointersTests.cpp378 ComputeShaderSpec spec;
389 spec.usesPhysStorageBuffer = physPtrs;
390 spec.assembly = shaderTemplate.specialize(specs);
391 spec.numWorkGroups = IVec3(numMuxes, 1, 1);
392 spec.requestedVulkanFeatures = requiredFeatures;
393 spec.inputs.push_back(Resource(BufferSp(new Float32Buffer(inputAFloats)), VK_DESCRIPTOR_TYPE_STORAGE_BUFFER));
394 spec.inputs.push_back(Resource(BufferSp(new Float32Buffer(inputBFloats)), VK_DESCRIPTOR_TYPE_STORAGE_BUFFER));
395 spec.inputs.push_back(Resource(BufferSp(new Float32Buffer(inputSFloats)), VK_DESCRIPTOR_TYPE_STORAGE_BUFFER));
396 spec.outputs.push_back(Resource(BufferSp(new Float32Buffer(expectedOutput))));
398 spec
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/spirv_assembly/
H A DvktSpvAsmWorkgroupMemoryTests.cpp284 ComputeShaderSpec spec; in addComputeWorkgroupMemoryTests() local
290 spec.assembly = shaderSource.specialize(shaderSpec); in addComputeWorkgroupMemoryTests()
291 spec.numWorkGroups = IVec3(1, 1, 1); in addComputeWorkgroupMemoryTests()
292 spec.verifyIO = checkResultsFloat64; in addComputeWorkgroupMemoryTests()
293 spec.requestedVulkanFeatures = features; in addComputeWorkgroupMemoryTests()
295 spec.inputs.push_back(Resource(BufferSp(new Float64Buffer(inputData)), VK_DESCRIPTOR_TYPE_STORAGE_BUFFER)); in addComputeWorkgroupMemoryTests()
296 spec.outputs.push_back(Resource(BufferSp(new Float64Buffer(outputData)), VK_DESCRIPTOR_TYPE_STORAGE_BUFFER)); in addComputeWorkgroupMemoryTests()
298 group->addChild(new SpvAsmComputeShaderCase(testCtx, "float64", "", spec)); in addComputeWorkgroupMemoryTests()
311 ComputeShaderSpec spec; in addComputeWorkgroupMemoryTests() local
317 spec in addComputeWorkgroupMemoryTests()
343 ComputeShaderSpec spec; addComputeWorkgroupMemoryTests() local
376 ComputeShaderSpec spec; addComputeWorkgroupMemoryTests() local
402 ComputeShaderSpec spec; addComputeWorkgroupMemoryTests() local
433 ComputeShaderSpec spec; addComputeWorkgroupMemoryTests() local
466 ComputeShaderSpec spec; addComputeWorkgroupMemoryTests() local
498 ComputeShaderSpec spec; addComputeWorkgroupMemoryTests() local
528 ComputeShaderSpec spec; addComputeWorkgroupMemoryTests() local
563 ComputeShaderSpec spec; addComputeWorkgroupMemoryTests() local
600 ComputeShaderSpec spec; addComputeWorkgroupMemoryTests() local
[all...]
H A DvktSpvAsmVariablePointersTests.cpp378 ComputeShaderSpec spec;
389 spec.usesPhysStorageBuffer = physPtrs;
390 spec.assembly = shaderTemplate.specialize(specs);
391 spec.numWorkGroups = IVec3(numMuxes, 1, 1);
392 spec.requestedVulkanFeatures = requiredFeatures;
393 spec.inputs.push_back(Resource(BufferSp(new Float32Buffer(inputAFloats)), VK_DESCRIPTOR_TYPE_STORAGE_BUFFER));
394 spec.inputs.push_back(Resource(BufferSp(new Float32Buffer(inputBFloats)), VK_DESCRIPTOR_TYPE_STORAGE_BUFFER));
395 spec.inputs.push_back(Resource(BufferSp(new Float32Buffer(inputSFloats)), VK_DESCRIPTOR_TYPE_STORAGE_BUFFER));
396 spec.outputs.push_back(Resource(BufferSp(new Float32Buffer(expectedOutput))));
398 spec
[all...]
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/
H A Dmsvs.py363 spec, cmd, cygwin_shell, has_input_path, quote_cmd, do_setup_env
377 cygwin_dir = _FixPath(spec.get("msvs_cygwin_dirs", ["."])[0])
444 def _BuildCommandLineForRule(spec, rule, has_input_path, do_setup_env):
451 mcs = int(spec.get("msvs_cygwin_shell", 1))
456 spec, rule["action"], mcs, has_input_path, quote_cmd, do_setup_env=do_setup_env
496 p, spec, primary_input, inputs, outputs, description, cmd
502 spec: the target project dict
521 for config_name, c_data in spec["configurations"].items():
527 def _AddAccumulatedActionsToMSVS(p, spec, actions_dict):
532 spec
[all...]
/third_party/cups-filters/cupsfilters/
H A Dattr.c39 char *spec, /* O - Final selection string */ in cupsFindAttr()
49 if (!ppd || !name || !colormodel || !media || !resolution || !spec || in cupsFindAttr()
65 snprintf(spec, specsize, "%s.%s.%s", colormodel, media, resolution); in cupsFindAttr()
66 fprintf(stderr, "DEBUG2: Looking for \"*%s %s\"...\n", name, spec); in cupsFindAttr()
67 if ((attr = ppdFindAttr(ppd, name, spec)) != NULL && attr->value != NULL) in cupsFindAttr()
70 snprintf(spec, specsize, "%s.%s", colormodel, resolution); in cupsFindAttr()
71 fprintf(stderr, "DEBUG2: Looking for \"*%s %s\"...\n", name, spec); in cupsFindAttr()
72 if ((attr = ppdFindAttr(ppd, name, spec)) != NULL && attr->value != NULL) in cupsFindAttr()
75 snprintf(spec, specsize, "%s", colormodel); in cupsFindAttr()
76 fprintf(stderr, "DEBUG2: Looking for \"*%s %s\"...\n", name, spec); in cupsFindAttr()
34 cupsFindAttr(ppd_file_t *ppd, const char *name, const char *colormodel, const char *media, const char *resolution, char *spec, int specsize) cupsFindAttr() argument
[all...]
/third_party/node/tools/gyp/pylib/gyp/generator/
H A Dmsvs.py363 spec, cmd, cygwin_shell, has_input_path, quote_cmd, do_setup_env
377 cygwin_dir = _FixPath(spec.get("msvs_cygwin_dirs", ["."])[0])
446 def _BuildCommandLineForRule(spec, rule, has_input_path, do_setup_env):
453 mcs = int(spec.get("msvs_cygwin_shell", 1))
458 spec, rule["action"], mcs, has_input_path, quote_cmd, do_setup_env=do_setup_env
498 p, spec, primary_input, inputs, outputs, description, cmd
504 spec: the target project dict
523 for config_name, c_data in spec["configurations"].items():
529 def _AddAccumulatedActionsToMSVS(p, spec, actions_dict):
534 spec
[all...]
/third_party/python/Lib/importlib/
H A D_bootstrap.py284 spec = spec_from_loader(fullname, self)
287 _exec(spec, module)
290 return _load(spec)
297 if spec := getattr(module, "__spec__", None):
298 return _module_repr_from_spec(spec)
323 A module's spec is the source for information about the module. For
324 data associated with the module, including source, use the spec's
338 `has_location` indicates that a spec's "origin" reflects a location.
348 Packages are simply modules that (may) have submodules. If a spec
350 system will consider modules loaded from the spec a
[all...]
/third_party/python/Lib/test/test_importlib/frozen/
H A Dtest_finder.py31 def check_basic(self, spec, name, ispkg=False):
32 self.assertEqual(spec.name, name)
33 self.assertIs(spec.loader, self.machinery.FrozenImporter)
34 self.assertEqual(spec.origin, 'frozen')
35 self.assertFalse(spec.has_location)
37 self.assertIsNotNone(spec.submodule_search_locations)
39 self.assertIsNone(spec.submodule_search_locations)
40 self.assertIsNotNone(spec.loader_state)
42 def check_loader_state(self, spec, origname=None, filename=None):
45 origname = spec
[all...]
/third_party/selinux/libselinux/src/
H A Dlabel_db.c71 typedef struct spec { struct
94 spec_t *spec = &catalog->specs[catalog->nspec]; in process_line() local
119 * Set up individual spec entry in process_line()
121 memset(spec, 0, sizeof(spec_t)); in process_line()
124 spec->type = SELABEL_DB_DATABASE; in process_line()
126 spec->type = SELABEL_DB_SCHEMA; in process_line()
128 spec->type = SELABEL_DB_TABLE; in process_line()
130 spec->type = SELABEL_DB_COLUMN; in process_line()
132 spec->type = SELABEL_DB_SEQUENCE; in process_line()
134 spec in process_line()
178 spec_t *spec; db_close() local
197 spec_t *spec; db_lookup() local
344 spec_t *spec = &catalog->specs[i]; db_init() local
[all...]
/third_party/vk-gl-cts/modules/gles3/stress/
H A Des3sDrawTests.cpp225 static void genBasicSpec (gls::DrawTestSpec& spec, gls::DrawTestSpec::DrawMethod method) in genBasicSpec() argument
227 spec.apiType = glu::ApiType::es(3,0); in genBasicSpec()
228 spec.primitive = gls::DrawTestSpec::PRIMITIVE_TRIANGLES; in genBasicSpec()
229 spec.primitiveCount = 5; in genBasicSpec()
230 spec.drawMethod = method; in genBasicSpec()
231 spec.indexType = gls::DrawTestSpec::INDEXTYPE_LAST; in genBasicSpec()
232 spec.indexPointerOffset = 0; in genBasicSpec()
233 spec.indexStorage = gls::DrawTestSpec::STORAGE_LAST; in genBasicSpec()
234 spec.first = 0; in genBasicSpec()
235 spec in genBasicSpec()
302 gls::DrawTestSpec spec; init() local
523 gls::DrawTestSpec spec; init() local
[all...]
/third_party/mesa3d/src/mesa/main/
H A Dremap.c56 * Map a function by its spec. The function will be added to glapi,
59 * \param spec a '\0'-separated string array specifying a function.
68 map_function_spec(const char *spec) in map_function_spec() argument
74 if (!spec) in map_function_spec()
77 signature = spec; in map_function_spec()
78 spec += strlen(spec) + 1; in map_function_spec()
80 /* spec is terminated by an empty string */ in map_function_spec()
81 while (*spec) { in map_function_spec()
82 names[num_names] = spec; in map_function_spec()
116 const char *spec; _mesa_init_remap_table() local
[all...]

Completed in 19 milliseconds

12345678910>>...30