/external/guava/guava-tests/test/com/google/common/cache/ |
D | CacheBuilderSpecTest.java | 38 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/deqp/modules/gles2/functional/ |
D | es2fDrawTests.cpp | 54 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 …]
|
D | es2fVertexArrayTest.cpp | 99 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/ |
D | es3fDrawTests.cpp | 56 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 …]
|
D | es3fVertexArrayTest.cpp | 98 MultiVertexArrayTest::Spec spec; in init() local 99 spec.primitive = Array::PRIMITIVE_TRIANGLES; in init() 100 spec.drawCount = counts[countNdx]; in init() 101 spec.first = 0; in init() 102 spec.arrays.push_back(arraySpec); in init() 105 …addChild(new MultiVertexArrayTest(m_testCtx, m_context.getRenderContext(), spec, name.c_str(), nam… in init() 203 MultiVertexArrayTest::Spec spec; in init() local 204 spec.primitive = Array::PRIMITIVE_TRIANGLES; in init() 205 spec.drawCount = counts[countNdx]; in init() 206 spec.first = 0; in init() [all …]
|
D | es3fVertexArrayObjectTests.cpp | 149 …VertexArrayObjectTest (Context& context, const Spec& spec, const char* name, const char* descripti… 177 VertexArrayObjectTest::VertexArrayObjectTest (Context& context, const Spec& spec, const char* name,… in VertexArrayObjectTest() argument 179 , m_spec (spec) in VertexArrayObjectTest() 1259 Spec spec; in init() local 1276 spec.buffers.push_back(floatCoordBuffer48_1); in init() 1277 spec.buffers.push_back(floatCoordBuffer48_2); in init() 1279 spec.useDrawElements = false; in init() 1280 spec.instances = 0; in init() 1281 spec.count = 48; in init() 1282 spec.vao = state; in init() [all …]
|
/external/autotest/server/cros/ap_configurators/ |
D | ap_spec_unittest.py | 18 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.assertIsNone(spec.password) 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 …]
|
D | ap_configurator_factory_unittest.py | 156 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/egl/ |
D | teglMemoryStressTests.cpp | 327 …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 …]
|
D | teglGLES2SharingTests.cpp | 93 …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/guava/guava-tests/test/com/google/common/net/ |
D | HostSpecifierTest.java | 52 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/modules/gles2/stress/ |
D | es2sDrawTests.cpp | 44 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/deqp/modules/gles31/functional/ |
D | es31fAtomicCounterTests.cpp | 109 …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 …]
|
D | es31fTextureLevelStateQueryTests.cpp | 731 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 …]
|
D | es31fDrawTests.cpp | 153 static void addTestIterations (gls::DrawTest* test, gls::DrawTestSpec& spec, TestIterationType type) in addTestIterations() argument 157 spec.primitiveCount = 1; in addTestIterations() 158 test->addIteration(spec, "draw count = 1"); in addTestIterations() 160 spec.primitiveCount = 5; in addTestIterations() 161 test->addIteration(spec, "draw count = 5"); in addTestIterations() 163 spec.primitiveCount = 25; in addTestIterations() 164 test->addIteration(spec, "draw count = 25"); in addTestIterations() 168 spec.instanceCount = 1; in addTestIterations() 169 test->addIteration(spec, "instance count = 1"); in addTestIterations() 171 spec.instanceCount = 4; in addTestIterations() [all …]
|
/external/guava/guava/src/com/google/common/cache/ |
D | CacheBuilderSpec.java | 86 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/ |
D | flags_test.py | 36 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/libmojo/mojo/public/tools/bindings/pylib/mojom/generate/ |
D | module.py | 88 def __init__(self, spec=None): argument 89 self.spec = spec 93 return '<%s spec=%r>' % (self.__class__.__name__, self.spec) 110 def __init__(self, spec=None, is_nullable=False): argument 111 assert spec is None or is_nullable == spec.startswith('?') 112 Kind.__init__(self, spec) 117 return '<%s spec=%r is_nullable=%r>' % (self.__class__.__name__, self.spec, 138 if self.spec is not None: 139 nullable_kind.spec = '?' + self.spec 306 spec = 'x:' + name [all …]
|
/external/mesa3d/src/mesa/main/ |
D | remap.c | 88 _mesa_map_function_spec(const char *spec) in _mesa_map_function_spec() argument 94 if (!spec) in _mesa_map_function_spec() 97 signature = spec; in _mesa_map_function_spec() 98 spec += strlen(spec) + 1; in _mesa_map_function_spec() 101 while (*spec) { in _mesa_map_function_spec() 102 names[num_names] = spec; in _mesa_map_function_spec() 106 spec += strlen(spec) + 1; in _mesa_map_function_spec() 136 const char *spec; in _mesa_map_function_array() local 139 spec = _mesa_get_function_spec(func_array[i].func_index); in _mesa_map_function_array() 140 if (!spec) { in _mesa_map_function_array() [all …]
|
/external/deqp/modules/gles3/stress/ |
D | es3sDrawTests.cpp | 225 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/selinux/libselinux/src/ |
D | label_db.c | 71 typedef struct spec { struct 94 spec_t *spec = &catalog->specs[catalog->nspec]; in process_line() argument 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->type = SELABEL_DB_VIEW; in process_line() 136 spec->type = SELABEL_DB_PROCEDURE; in process_line() [all …]
|
/external/autotest/server/cros/dynamic_suite/ |
D | dynamic_suite_unittest.py | 50 spec = dynamic_suite.SuiteSpec(**self._DARGS) 51 self.assertEquals(spec.builds, self._DARGS['builds']) 52 self.assertEquals(spec.board, 'board:' + self._DARGS['board']) 53 self.assertEquals(spec.name, self._DARGS['name']) 54 self.assertEquals(spec.job, self._DARGS['job']) 92 spec = dynamic_suite.SuiteSpec(**self._DARGS) 93 self.assertEquals(spec.pool, 'pool:' + self._DARGS['pool']) 94 self.assertEquals(spec.num, self._DARGS['num']) 95 self.assertEquals(spec.check_hosts, self._DARGS['check_hosts']) 96 self.assertEquals(spec.add_experimental, [all …]
|
D | dynamic_suite.py | 548 def _perform_reimage_and_run(spec, afe, tko, suite_job_id=None): argument 561 if not spec.run_prod_code: 562 _stage_artifacts(spec) 566 spec.job.resultdir, 570 predicates=[spec.predicate], 571 name=spec.name, 572 builds=spec.builds, 573 board=spec.board, 574 devserver=spec.devserver, 577 pool=spec.pool, [all …]
|
/external/deqp/modules/glshared/ |
D | glsShaderConstExprTests.cpp | 158 glu::sl::ShaderCaseSpecification spec; in createTests() local 160 spec.targetVersion = version; in createTests() 161 spec.expectResult = glu::sl::EXPECT_PASS; in createTests() 162 spec.caseType = glu::sl::CASETYPE_VERTEX_ONLY; in createTests() 163 spec.programs.resize(1); in createTests() 165 spec.programs[0].sources << glu::VertexSource(mapped); in createTests() 167 addOutputVar(&spec.values, outType, cases[caseNdx].output); in createTests() 174 spec)); in createTests() 179 glu::sl::ShaderCaseSpecification spec; in createTests() local 181 spec.targetVersion = version; in createTests() [all …]
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/ec/ |
D | KeyFactorySpi.java | 10 import java.security.spec.InvalidKeySpecException; 11 import java.security.spec.KeySpec; 22 import org.bouncycastle.jce.spec.ECParameterSpec; 23 import org.bouncycastle.jce.spec.ECPrivateKeySpec; 24 import org.bouncycastle.jce.spec.ECPublicKeySpec; 59 Class spec) in engineGetKeySpec() argument 62 … if (spec.isAssignableFrom(java.security.spec.ECPublicKeySpec.class) && key instanceof ECPublicKey) in engineGetKeySpec() 67 return new java.security.spec.ECPublicKeySpec(k.getW(), k.getParams()); in engineGetKeySpec() 73 …return new java.security.spec.ECPublicKeySpec(k.getW(), EC5Util.convertSpec(EC5Util.convertCurve(i… in engineGetKeySpec() 76 …else if (spec.isAssignableFrom(java.security.spec.ECPrivateKeySpec.class) && key instanceof ECPriv… in engineGetKeySpec() [all …]
|