/external/tensorflow/tensorflow/python/ops/ |
D | variable_spec_test.py | 40 spec2 = VariableSpec(shape=[None, 15]) 43 self.assertTrue(spec.is_compatible_with(spec2)) 44 self.assertFalse(spec2.is_compatible_with(spec3)) 51 self.assertTrue(spec2.is_compatible_with(var))
|
/external/selinux/libselinux/src/ |
D | label_file.c | 1182 static enum selabel_cmp_result incomp(struct spec *spec1, struct spec *spec2, const char *reason, i… in incomp() argument 1188 j, spec2->regex_str, spec2->mode, spec2->lr.ctx_raw); in incomp() 1206 struct spec *spec2 = &spec_arr2[j]; in cmp() local 1213 if (!spec1->hasMetaChars && spec2->hasMetaChars) { in cmp() 1219 if (spec1->hasMetaChars && !spec2->hasMetaChars) { in cmp() 1225 if (spec1->regex && spec2->regex) { in cmp() 1226 if (regex_cmp(spec1->regex, spec2->regex) == SELABEL_INCOMPARABLE){ in cmp() 1227 return incomp(spec1, spec2, "regex", i, j); in cmp() 1230 if (strcmp(spec1->regex_str, spec2->regex_str)) in cmp() 1231 return incomp(spec1, spec2, "regex_str", i, j); in cmp() [all …]
|
/external/conscrypt/common/src/test/java/org/conscrypt/java/security/ |
D | AlgorithmParametersPSSTest.java | 188 PSSParameterSpec spec1, PSSParameterSpec spec2) { in assertPSSParameterSpecEquals() argument 191 getDigestAlgorithmCanonicalName(spec2.getDigestAlgorithm())); in assertPSSParameterSpecEquals() 194 getMGFAlgorithmCanonicalName(spec2.getMGFAlgorithm())); in assertPSSParameterSpecEquals() 202 AlgorithmParameterSpec spec2MgfParams = spec2.getMGFParameters(); in assertPSSParameterSpecEquals() 212 assertEquals(spec1.getSaltLength(), spec2.getSaltLength()); in assertPSSParameterSpecEquals() 213 assertEquals(spec1.getTrailerField(), spec2.getTrailerField()); in assertPSSParameterSpecEquals()
|
/external/conscrypt/repackaged/common/src/test/java/com/android/org/conscrypt/java/security/ |
D | AlgorithmParametersPSSTest.java | 192 PSSParameterSpec spec1, PSSParameterSpec spec2) { in assertPSSParameterSpecEquals() argument 195 getDigestAlgorithmCanonicalName(spec2.getDigestAlgorithm())); in assertPSSParameterSpecEquals() 198 getMGFAlgorithmCanonicalName(spec2.getMGFAlgorithm())); in assertPSSParameterSpecEquals() 206 AlgorithmParameterSpec spec2MgfParams = spec2.getMGFParameters(); in assertPSSParameterSpecEquals() 216 assertEquals(spec1.getSaltLength(), spec2.getSaltLength()); in assertPSSParameterSpecEquals() 217 assertEquals(spec1.getTrailerField(), spec2.getTrailerField()); in assertPSSParameterSpecEquals()
|
/external/llvm-project/lld/test/ELF/linkerscript/ |
D | filename-spec.s | 31 # RUN: %p/Inputs/filename-spec.s -o %t.dir/filename-spec2.o 35 # RUN: %/t.dir/filename-spec1.o %/t.dir/filename-spec2.o 40 # RUN: %/t.dir/filename-spec1.o %/t.dir/filename-spec2.o 46 # RUN: %p/Inputs/filename-spec.s -o %t.testdir2/filename-spec2.o 49 # RUN: llvm-ar rsc %t.testdir2/lib2.a %t.testdir2/filename-spec2.o
|
/external/tensorflow/tensorflow/python/ops/ragged/ |
D | row_partition_test.py | 798 def testIsCompatibleWith(self, spec1, spec2): argument 799 self.assertTrue(spec1.is_compatible_with(spec2)) 809 def testIsNotCompatibleWith(self, spec1, spec2): argument 810 self.assertFalse(spec1.is_compatible_with(spec2)) 815 spec2=RowPartitionSpec(nrows=8, nvals=3, dtype=dtypes.int32), 819 spec2=RowPartitionSpec(nrows=None, nvals=8), 823 spec2=RowPartitionSpec(nrows=3, nvals=13), 827 spec2=RowPartitionSpec(nrows=3, uniform_row_length=3), 831 spec2=RowPartitionSpec(8, 80, 10), 834 def testMostSpecificCompatibleType(self, spec1, spec2, expected): argument [all …]
|
D | ragged_tensor_supported_values_test.py | 471 spec2 = RaggedTensorSpec( 490 self.assertTrue(spec1.is_compatible_with(spec2)) 493 self.assertFalse(spec2.is_compatible_with(spec3)) 494 self.assertFalse(spec2.is_compatible_with(spec4))
|
D | ragged_tensor_test.py | 1717 spec2 = RaggedTensorSpec(shape=[None, None, None]) 1718 self.assertEqual(spec2._shape.as_list(), [None, None, None]) 1719 self.assertEqual(spec2._dtype, dtypes.float32) 1720 self.assertEqual(spec2._row_splits_dtype, dtypes.int64) 1721 self.assertEqual(spec2._ragged_rank, 2) 1734 spec2 = RaggedTensorSpec(ragged_rank=0) 1735 self.assertEqual(spec2.value_type, ops.Tensor) 1813 spec2 = RaggedTensorSpec(ragged_rank=2, dtype=dtypes.int32) 1814 rt2 = spec2._from_components( 1919 spec2 = RaggedTensorSpec(None, dtypes.float32, 2) [all …]
|
/external/tensorflow/tensorflow/python/ops/structured/ |
D | structured_tensor_spec_test.py | 80 spec2 = StructuredTensorSpec([1, 2], spec2_fields) 81 self.assertEqual(spec2._shape, (1, 2)) 82 self.assertEqual(spec2._field_specs, spec2_fields)
|
/external/tensorflow/tensorflow/python/data/util/ |
D | structure.py | 394 def are_compatible(spec1, spec2): argument 409 nest.assert_same_structure(spec1, spec2) 415 for s1, s2 in zip(nest.flatten(spec1), nest.flatten(spec2)):
|
/external/tensorflow/tensorflow/python/distribute/ |
D | input_lib_type_spec_test.py | 254 spec2 = iter2._type_spec # Wrapped TensorSpec has shape [None, 2] 256 self.assertNotEqual(spec1, spec2) 257 self.assertEqual(spec1, spec1.most_specific_compatible_type(spec2)) 258 self.assertEqual(spec1, spec2.most_specific_compatible_type(spec1))
|
/external/tensorflow/tensorflow/python/framework/ |
D | sparse_tensor_test.py | 231 spec2 = sparse_tensor.SparseTensorSpec([None, None], dtypes.string) 232 self.assertEqual(spec2.shape.as_list(), [None, None]) 233 self.assertEqual(spec2.dtype, dtypes.string)
|
D | type_spec_test.py | 433 spec2 = TwoTensorsSpec(x.shape, x.dtype, y.shape, dtypes.bool, "green") 437 spec2._from_tensor_list([x, y]) # dtype mismatch 465 spec2 = TwoCompositesSpec( 471 self.assertTrue(spec1.is_compatible_with(spec2))
|
D | ops_test.py | 533 spec2 = indexed_slices.IndexedSlicesSpec([None, None], dtypes.string, 535 self.assertEqual(spec2._shape.as_list(), [None, None]) 536 self.assertEqual(spec2._values_dtype, dtypes.string) 537 self.assertEqual(spec2._indices_dtype, dtypes.int32) 538 self.assertEqual(spec2._dense_shape_dtype, dtypes.int64) 539 self.assertEqual(spec2._indices_shape.as_list(), [10]) 638 spec2 = indexed_slices.IndexedSlicesSpec() 639 st2 = spec2._from_components((values, indices))
|
/external/kernel-headers/original/uapi/linux/ |
D | fd.h | 260 int spec2; /* spec2 value last used */ member
|
/external/tensorflow/tensorflow/python/keras/saving/saved_model/ |
D | load.py | 1127 spec2 = concrete.structured_input_signature[0][0] 1128 spec = nest.map_structure(common_spec, spec, spec2)
|
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/ |
D | vktSpvAsmInstructionTests.cpp | 2885 ComputeShaderSpec spec2; in createOpCopyMemoryGroup() local 2894 spec2.assembly = in createOpCopyMemoryGroup() 2927 spec2.inputs.push_back(BufferSp(new Float32Buffer(inputFloats2))); in createOpCopyMemoryGroup() 2928 spec2.outputs.push_back(BufferSp(new Float32Buffer(outputFloats2))); in createOpCopyMemoryGroup() 2929 spec2.numWorkGroups = IVec3(1, 1, 1); in createOpCopyMemoryGroup() 2931 …Child(new SpvAsmComputeShaderCase(testCtx, "array", "OpCopyMemory elements of array type", spec2)); in createOpCopyMemoryGroup() 4611 ComputeShaderSpec spec2; in createOpPhiGroup() local 4715 spec2.assembly = in createOpPhiGroup() 4753 spec2.inputs.push_back(BufferSp(new Float32Buffer(inputFloats))); in createOpPhiGroup() 4754 spec2.outputs.push_back(BufferSp(new Float32Buffer(outputFloats2))); in createOpPhiGroup() [all …]
|
/external/python/cpython3/Lib/test/ |
D | test_lzma.py | 1404 spec2 = lzma._decode_filter_properties(lzma.FILTER_LZMA1, reencoded) 1405 self.assertEqual(spec1, spec2)
|
/external/webrtc/media/engine/ |
D | webrtc_voice_engine_unittest.cc | 3810 webrtc::AudioCodecSpec spec2{{"codec2", 32000, 1}, {32000, 1, 32000}}; in TEST() local 3811 spec2.info.allow_comfort_noise = false; in TEST() 3812 specs.push_back(spec2); in TEST()
|