Home
last modified time | relevance | path

Searched refs:spec (Results 1 – 25 of 1662) sorted by relevance

12345678910>>...67

/external/catch2/projects/SelfTest/IntrospectiveTests/
DCmdLine.tests.cpp31 TestSpec spec; variable
32 CHECK( spec.hasFilters() == false );
33 CHECK( spec.matches( tcA ) == false );
34 CHECK( spec.matches( tcB ) == false );
38 TestSpec spec = parseTestSpec( "" ); variable
39 CHECK( spec.hasFilters() == false );
40 CHECK( spec.matches(tcA ) == false );
41 CHECK( spec.matches( tcB ) == false );
45 TestSpec spec = parseTestSpec( "," ); variable
46 CHECK( spec.hasFilters() == false );
[all …]
/external/guava/guava-tests/test/com/google/common/cache/
DCacheBuilderSpecTest.java38 CacheBuilderSpec spec = parse(""); in testParse_empty() local
39 assertNull(spec.initialCapacity); in testParse_empty()
40 assertNull(spec.maximumSize); in testParse_empty()
41 assertNull(spec.maximumWeight); in testParse_empty()
42 assertNull(spec.concurrencyLevel); in testParse_empty()
43 assertNull(spec.keyStrength); in testParse_empty()
44 assertNull(spec.valueStrength); in testParse_empty()
45 assertNull(spec.writeExpirationTimeUnit); in testParse_empty()
46 assertNull(spec.accessExpirationTimeUnit); in testParse_empty()
47 assertCacheBuilderEquivalence(CacheBuilder.newBuilder(), CacheBuilder.from(spec)); in testParse_empty()
[all …]
/external/python/cpython3/Lib/test/test_importlib/
Dtest_spec.py38 def create_module(self, spec): argument
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.has_location)
[all …]
/external/deqp/modules/gles31/functional/
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, "draw count = 1"); in addTestIterations()
102 spec.primitiveCount = 5; in addTestIterations()
103 addRangeElementsToSpec(spec); in addTestIterations()
[all …]
Des31fAtomicCounterTests.cpp109 …icCounterTest (Context& context, const char* name, const char* description, const TestSpec& spec);
124 static string generateShaderSource (const TestSpec& spec);
128 …deUint32>& increments, const vector<deUint32>& decrements, int initialValue, const TestSpec& spec);
154 …omicCounterTest (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.atomicCounterCount/2); in generateShaderSource()
[all …]
Des31fTextureLevelStateQueryTests.cpp731 bool applyTextureGenerationSpec (glu::CallLogWrapper& gl, const TextureGenerationSpec& spec, glw::G… in applyTextureGenerationSpec() argument
735 …DE_ASSERT(!(spec.immutable && spec.levels.size() > 1)); // !< immutable textures have only one le… in applyTextureGenerationSpec()
737 for (int levelNdx = 0; levelNdx < (int)spec.levels.size(); ++levelNdx) in applyTextureGenerationSpec()
739 … transferFormat = (spec.levels[levelNdx].compressed) ? (glu::TransferFormat()) : (glu::getTransfer… in applyTextureGenerationSpec()
741 if (spec.immutable && !spec.levels[levelNdx].compressed && spec.bindTarget == GL_TEXTURE_2D) in applyTextureGenerationSpec()
742 …gl.glTexStorage2D(spec.bindTarget, 1, spec.levels[levelNdx].internalFormat, spec.levels[levelNdx].… in applyTextureGenerationSpec()
743 else if (spec.immutable && !spec.levels[levelNdx].compressed && spec.bindTarget == GL_TEXTURE_3D) in applyTextureGenerationSpec()
744 ….glTexStorage3D(spec.bindTarget, 1, spec.levels[levelNdx].internalFormat, spec.levels[levelNdx].wi… in applyTextureGenerationSpec()
745 …else if (spec.immutable && !spec.levels[levelNdx].compressed && spec.bindTarget == GL_TEXTURE_2D_A… in applyTextureGenerationSpec()
746 ….glTexStorage3D(spec.bindTarget, 1, spec.levels[levelNdx].internalFormat, spec.levels[levelNdx].wi… in applyTextureGenerationSpec()
[all …]
/external/deqp/modules/gles2/functional/
Des2fDrawTests.cpp54 gls::DrawTestSpec spec(baseSpec); in addTestIterations() local
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.primitive = gls::DrawTestSpec::PRIMITIVE_TRIANGLES; in genBasicSpec()
[all …]
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(), nam… in init()
169 MultiVertexArrayTest::Spec spec; in init() local
170 spec.primitive = Array::PRIMITIVE_TRIANGLES; in init()
171 spec.drawCount = counts[countNdx]; in init()
[all …]
/external/deqp/modules/gles3/functional/
Des3fDrawTests.cpp56 gls::DrawTestSpec spec(baseSpec); in addTestIterations() local
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.instanceCount = 4; in addTestIterations()
[all …]
/external/tensorflow/tensorflow/compiler/xla/tests/
Dconv_depthwise_test.cc114 const auto& spec = ::testing::get<0>(data.param); in DepthwiseConvolution2DTestDataToString() local
117 "activation_dims_", absl::StrJoin(spec.activation_dims, "x"), in DepthwiseConvolution2DTestDataToString()
118 "_activation_layout_", absl::StrJoin(spec.activation_layout, "_"), in DepthwiseConvolution2DTestDataToString()
119 "_kernel_dims_", absl::StrJoin(spec.kernel_dims, "x"), "_kernel_layout_", in DepthwiseConvolution2DTestDataToString()
120 absl::StrJoin(spec.kernel_layout, "_"), "_output_dims_", in DepthwiseConvolution2DTestDataToString()
121 absl::StrJoin(spec.output_dims, "x"), "_output_layout_", in DepthwiseConvolution2DTestDataToString()
122 absl::StrJoin(spec.output_layout, "_"), data_type); in DepthwiseConvolution2DTestDataToString()
124 if (spec.stride != -1) { in DepthwiseConvolution2DTestDataToString()
125 absl::StrAppend(&str, "_lhs_dilation_", spec.lhs_dilate, "x1"); in DepthwiseConvolution2DTestDataToString()
134 const DepthwiseConvolution2DSpec& spec, bool use_bfloat16) { in BuildHloTextDepthwiseConvolution2D() argument
[all …]
Dgrouped_convolution_test.cc123 const auto& spec = ::testing::get<0>(data.param); in GroupedConvolution2DTestDataToString() local
126 "activation_dims_", absl::StrJoin(spec.activation_dims, "x"), in GroupedConvolution2DTestDataToString()
127 "_activation_layout_", absl::StrJoin(spec.activation_layout, "_"), in GroupedConvolution2DTestDataToString()
128 "_kernel_dims_", absl::StrJoin(spec.kernel_dims, "x"), "_kernel_layout_", in GroupedConvolution2DTestDataToString()
129 absl::StrJoin(spec.kernel_layout, "_"), "_output_dims_", in GroupedConvolution2DTestDataToString()
130 absl::StrJoin(spec.output_dims, "x"), "_output_layout_", in GroupedConvolution2DTestDataToString()
131 absl::StrJoin(spec.output_layout, "_"), data_type); in GroupedConvolution2DTestDataToString()
133 if (spec.stride != -1) { in GroupedConvolution2DTestDataToString()
134 absl::StrAppend(&str, "_lhs_dilation_", spec.lhs_dilate, "x1"); in GroupedConvolution2DTestDataToString()
142 string BuildHloTextGroupedConvolution2D(const GroupedConvolution2DSpec& spec, in BuildHloTextGroupedConvolution2D() argument
[all …]
/external/deqp/modules/egl/
DteglMemoryStressTests.cpp327 …MemoryStressCase (EglTestContext& eglTestCtx, Spec spec, const char* name, const char* description…
344 MemoryStressCase::MemoryStressCase (EglTestContext& eglTestCtx, Spec spec, const char* name, const … 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.use = false; in init()
[all …]
DteglGLES2SharingTests.cpp93 …haringTest (EglTestContext& eglTestCtx, const char* name , const char* desc, const TestSpec& spec);
115 …SharingTest (EglTestContext& eglTestCtx, const char* name , const char* desc, const TestSpec& spec) in GLES2SharingTest() argument
117 , m_spec (spec) in GLES2SharingTest()
297 …stContext& eglTestCtx, const char* name, const char* desc, const GLES2SharingTest::TestSpec& spec);
309 …estContext& eglTestCtx, const char* name, const char* desc, const GLES2SharingTest::TestSpec& spec) in GLES2BufferSharingTest() argument
310 : GLES2SharingTest (eglTestCtx, name, desc, spec) in GLES2BufferSharingTest()
470 …stContext& eglTestCtx, const char* name, const char* desc, const GLES2SharingTest::TestSpec& spec);
482 …estContext& eglTestCtx, const char* name, const char* desc, const GLES2SharingTest::TestSpec& spec) in GLES2TextureSharingTest() argument
483 : GLES2SharingTest (eglTestCtx, name, desc, spec) in GLES2TextureSharingTest()
633 …stContext& eglTestCtx, const char* name, const char* desc, const GLES2SharingTest::TestSpec& spec);
[all …]
/external/autotest/server/cros/ap_configurators/
Dap_spec_unittest.py18 spec = ap_spec.APSpec()
19 self.assertEquals(spec.visible, True)
20 self.assertEquals(spec.security, ap_spec.DEFAULT_SECURITY_TYPE)
21 self.assertEquals(spec.band, ap_spec.DEFAULT_BAND)
22 self.assertEquals(spec.mode, ap_spec.DEFAULT_2GHZ_MODE)
23 self.assertEquals(spec.channel, ap_spec.DEFAULT_2GHZ_CHANNEL)
24 self.assertEquals(spec.password, 'chromeos')
29 spec = ap_spec.APSpec(band=ap_spec.BAND_2GHZ)
30 self.assertEquals(spec.channel, ap_spec.DEFAULT_2GHZ_CHANNEL)
31 self.assertEquals(spec.mode, ap_spec.DEFAULT_2GHZ_MODE)
[all …]
Dap_configurator_factory_unittest.py156 spec = ap_spec.APSpec(band=ap_spec.BAND_2GHZ)
157 actual = self.factory.get_ap_configurators_by_spec(spec=spec)
160 spec = ap_spec.APSpec(band=ap_spec.BAND_5GHZ)
161 actual = self.factory.get_ap_configurators_by_spec(spec=spec)
169 spec = ap_spec.APSpec(mode=ap_spec.DEFAULT_2GHZ_MODE)
170 actual = self.factory.get_ap_configurators_by_spec(spec=spec)
173 spec = ap_spec.APSpec(mode=ap_spec.DEFAULT_5GHZ_MODE)
174 actual = self.factory.get_ap_configurators_by_spec(spec=spec)
181 spec = ap_spec.APSpec(security=ap_spec.SECURITY_TYPE_WPAPSK)
182 actual = self.factory.get_ap_configurators_by_spec(spec=spec)
[all …]
/external/deqp/modules/gles2/stress/
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.indexMin = 0; in genBasicSpec()
[all …]
/external/guava/guava-tests/test/com/google/common/net/
DHostSpecifierTest.java52 for (String spec : GOOD_IPS) { in testGoodIpAddresses()
53 assertGood(spec); in testGoodIpAddresses()
58 for (String spec : BAD_IPS) { in testBadIpAddresses()
59 assertBad(spec); in testBadIpAddresses()
64 for (String spec : GOOD_DOMAINS) { in testGoodDomains()
65 assertGood(spec); in testGoodDomains()
70 for (String spec : BAD_DOMAINS) { in testBadDomains()
71 assertBad(spec); in testBadDomains()
77 .addEqualityGroup(spec("1.2.3.4"), spec("1.2.3.4")) in testEquality()
79 spec("2001:db8::1"), spec("2001:db8::1"), spec("[2001:db8::1]")) in testEquality()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/
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()
295spec.inputs.push_back(Resource(BufferSp(new Float64Buffer(inputData)), VK_DESCRIPTOR_TYPE_STORAGE_… in addComputeWorkgroupMemoryTests()
296spec.outputs.push_back(Resource(BufferSp(new Float64Buffer(outputData)), VK_DESCRIPTOR_TYPE_STORAG… in addComputeWorkgroupMemoryTests()
298 group->addChild(new SpvAsmComputeShaderCase(testCtx, "float64", "", spec)); in addComputeWorkgroupMemoryTests()
311 ComputeShaderSpec spec; in addComputeWorkgroupMemoryTests() local
317 spec.assembly = shaderSource.specialize(shaderSpec); in addComputeWorkgroupMemoryTests()
[all …]
/external/python/cpython3/Lib/importlib/
D_bootstrap.py259 spec = spec_from_loader(fullname, self)
262 _exec(spec, module)
265 return _load(spec)
281 spec = module.__spec__
285 if spec is not None:
286 return _module_repr_from_spec(spec)
320 spec = self._spec
323 del sys.modules[spec.name]
327 _verbose_message('import {!r} # {!r}', spec.name, spec.loader)
462 spec = module.__spec__
[all …]
/external/autotest/server/cros/dynamic_suite/
Ddynamic_suite.py439 spec = _ProvisionSuiteSpec(**dargs)
442 user=spec.job.user, debug=False)
444 user=spec.job.user, debug=False)
447 my_job_id = int(tko_utils.get_afe_job_id(spec.job.tag))
454 tag=spec.name,
455 builds=spec.builds,
456 board=spec.board,
457 devserver=spec.devserver,
458 num_required=spec.num_required,
461 pool=spec.pool,
[all …]
/external/deqp-deps/glslang/Test/
Dvulkan.ast.vert9 bool(scf1); // not a spec-const
10 bool(scbt); // spec-const
11 bool(sci2); // spec-const
13 float(scf1); // not a spec-const
14 float(scbt); // not a spec-const
15 float(sci2); // not a spec-const
17 int(scf1); // not a spec-const
18 int(scbt); // spec-const
19 int(sci2); // spec-const
21 scf1 * scf1; // not a spec-const
[all …]
/external/guava/guava/src/com/google/common/cache/
DCacheBuilderSpec.java86 void parse(CacheBuilderSpec spec, String key, @Nullable String value); in parse() argument
138 CacheBuilderSpec spec = new CacheBuilderSpec(cacheBuilderSpecification); in parse() local
152 valueParser.parse(spec, key, value); in parse()
156 return spec; in parse()
289 protected abstract void parseInteger(CacheBuilderSpec spec, int value); in parseInteger() argument
292 public void parse(CacheBuilderSpec spec, String key, String value) { in parse() argument
295 parseInteger(spec, Integer.parseInt(value)); in parse()
305 protected abstract void parseLong(CacheBuilderSpec spec, long value); in parseLong() argument
308 public void parse(CacheBuilderSpec spec, String key, String value) { in parse() argument
311 parseLong(spec, Long.parseLong(value)); in parse()
[all …]
/external/toolchain-utils/bestflags/
Dflags_test.py36 spec = 'flag=[%s-%s]' % (start, end)
38 test_flag = Flag(spec)
77 spec = 'flag=[%s-%s]' % (start, end)
79 test_flag = Flag(spec, value)
112 spec = '%s' % flag_name
114 assert FlagSet([Flag(spec)]) == FlagSet([Flag(spec)])
118 spec = '%s' % flag_name
119 flag_set = FlagSet([Flag(spec)])
134 specs = [str(spec) for spec in tests]
135 flag_array = [Flag(spec) for spec in specs]
[all …]
/external/deqp/modules/gles3/stress/
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.indexMin = 0; in genBasicSpec()
[all …]
/external/python/setuptools/setuptools/_vendor/packaging/
Dspecifiers.py82 def __init__(self, spec="", prereleases=None): argument
83 match = self._regex.search(spec)
85 raise InvalidSpecifier("Invalid specifier: '{0}'".format(spec))
247 def _compare_equal(self, prospective, spec): argument
248 return prospective == self._coerce_version(spec)
250 def _compare_not_equal(self, prospective, spec): argument
251 return prospective != self._coerce_version(spec)
253 def _compare_less_than_equal(self, prospective, spec): argument
254 return prospective <= self._coerce_version(spec)
256 def _compare_greater_than_equal(self, prospective, spec): argument
[all …]

12345678910>>...67