Home
last modified time | relevance | path

Searched refs:unique (Results 1 – 25 of 1222) sorted by relevance

12345678910>>...49

/external/skqp/tests/
DRefDictTest.cpp28 REPORTER_ASSERT(reporter, !data0.unique()); in DEF_TEST()
32 REPORTER_ASSERT(reporter, !data0.unique()); in DEF_TEST()
36 REPORTER_ASSERT(reporter, data0.unique()); in DEF_TEST()
37 REPORTER_ASSERT(reporter, !data1.unique()); in DEF_TEST()
41 REPORTER_ASSERT(reporter, data0.unique()); in DEF_TEST()
42 REPORTER_ASSERT(reporter, data1.unique()); in DEF_TEST()
48 REPORTER_ASSERT(reporter, !data0.unique()); in DEF_TEST()
49 REPORTER_ASSERT(reporter, !data1.unique()); in DEF_TEST()
54 REPORTER_ASSERT(reporter, data0.unique()); in DEF_TEST()
55 REPORTER_ASSERT(reporter, !data1.unique()); in DEF_TEST()
[all …]
DUtilsTest.cpp30 REPORTER_ASSERT(reporter, obj.unique()); in test_autounref()
34 REPORTER_ASSERT(reporter, obj.unique()); in test_autounref()
37 REPORTER_ASSERT(reporter, obj.unique()); in test_autounref()
42 REPORTER_ASSERT(reporter, !obj.unique()); in test_autounref()
46 REPORTER_ASSERT(reporter, obj.unique()); in test_autounref()
52 REPORTER_ASSERT(reporter, obj0.unique()); in test_autostarray()
53 REPORTER_ASSERT(reporter, obj1.unique()); in test_autostarray()
64 REPORTER_ASSERT(reporter, !obj0.unique()); in test_autostarray()
65 REPORTER_ASSERT(reporter, !obj1.unique()); in test_autostarray()
70 REPORTER_ASSERT(reporter, obj0.unique()); in test_autostarray()
[all …]
DRecorderTest.cpp63 REPORTER_ASSERT(r, paint.getShader()->unique()); in DEF_TEST()
68 REPORTER_ASSERT(r, !paint.getShader()->unique()); in DEF_TEST()
70 REPORTER_ASSERT(r, paint.getShader()->unique()); in DEF_TEST()
87 REPORTER_ASSERT(reporter, !image->unique()); in DEF_TEST()
94 REPORTER_ASSERT(reporter, image->unique()); in DEF_TEST()
102 REPORTER_ASSERT(reporter, !image->unique()); in DEF_TEST()
109 REPORTER_ASSERT(reporter, image->unique()); in DEF_TEST()
DRefCntTest.cpp31 REPORTER_ASSERT(reporter, ref->unique()); in test_refCnt()
65 REPORTER_ASSERT(reporter, ref->unique()); in test_weakRefCnt()
367 REPORTER_ASSERT(r, rc->unique()); in DEF_TEST()
372 REPORTER_ASSERT(r, rc->unique()); in DEF_TEST()
375 REPORTER_ASSERT(r, !rc->unique()); in DEF_TEST()
378 REPORTER_ASSERT(r, rc->unique()); in DEF_TEST()
383 REPORTER_ASSERT(r, rc->unique()); in DEF_TEST()
387 REPORTER_ASSERT(r, !rc->unique()); in DEF_TEST()
390 REPORTER_ASSERT(r, rc->unique()); in DEF_TEST()
/external/skia/tests/
DRefDictTest.cpp28 REPORTER_ASSERT(reporter, !data0.unique()); in DEF_TEST()
32 REPORTER_ASSERT(reporter, !data0.unique()); in DEF_TEST()
36 REPORTER_ASSERT(reporter, data0.unique()); in DEF_TEST()
37 REPORTER_ASSERT(reporter, !data1.unique()); in DEF_TEST()
41 REPORTER_ASSERT(reporter, data0.unique()); in DEF_TEST()
42 REPORTER_ASSERT(reporter, data1.unique()); in DEF_TEST()
48 REPORTER_ASSERT(reporter, !data0.unique()); in DEF_TEST()
49 REPORTER_ASSERT(reporter, !data1.unique()); in DEF_TEST()
54 REPORTER_ASSERT(reporter, data0.unique()); in DEF_TEST()
55 REPORTER_ASSERT(reporter, !data1.unique()); in DEF_TEST()
[all …]
DUtilsTest.cpp30 REPORTER_ASSERT(reporter, obj.unique()); in test_autounref()
34 REPORTER_ASSERT(reporter, obj.unique()); in test_autounref()
37 REPORTER_ASSERT(reporter, obj.unique()); in test_autounref()
42 REPORTER_ASSERT(reporter, !obj.unique()); in test_autounref()
46 REPORTER_ASSERT(reporter, obj.unique()); in test_autounref()
52 REPORTER_ASSERT(reporter, obj0.unique()); in test_autostarray()
53 REPORTER_ASSERT(reporter, obj1.unique()); in test_autostarray()
64 REPORTER_ASSERT(reporter, !obj0.unique()); in test_autostarray()
65 REPORTER_ASSERT(reporter, !obj1.unique()); in test_autostarray()
70 REPORTER_ASSERT(reporter, obj0.unique()); in test_autostarray()
[all …]
DRecorderTest.cpp63 REPORTER_ASSERT(r, paint.getShader()->unique()); in DEF_TEST()
68 REPORTER_ASSERT(r, !paint.getShader()->unique()); in DEF_TEST()
70 REPORTER_ASSERT(r, paint.getShader()->unique()); in DEF_TEST()
87 REPORTER_ASSERT(reporter, !image->unique()); in DEF_TEST()
94 REPORTER_ASSERT(reporter, image->unique()); in DEF_TEST()
102 REPORTER_ASSERT(reporter, !image->unique()); in DEF_TEST()
109 REPORTER_ASSERT(reporter, image->unique()); in DEF_TEST()
DRefCntTest.cpp31 REPORTER_ASSERT(reporter, ref->unique()); in test_refCnt()
65 REPORTER_ASSERT(reporter, ref->unique()); in test_weakRefCnt()
367 REPORTER_ASSERT(r, rc->unique()); in DEF_TEST()
372 REPORTER_ASSERT(r, rc->unique()); in DEF_TEST()
375 REPORTER_ASSERT(r, !rc->unique()); in DEF_TEST()
378 REPORTER_ASSERT(r, rc->unique()); in DEF_TEST()
383 REPORTER_ASSERT(r, rc->unique()); in DEF_TEST()
387 REPORTER_ASSERT(r, !rc->unique()); in DEF_TEST()
390 REPORTER_ASSERT(r, rc->unique()); in DEF_TEST()
/external/jmdns/src/javax/jmdns/impl/
DDNSQuestion.java31 DNS4Address(String name, DNSRecordType type, DNSRecordClass recordClass, boolean unique) { in DNS4Address() argument
32 super(name, type, recordClass, unique); in DNS4Address()
55 DNS6Address(String name, DNSRecordType type, DNSRecordClass recordClass, boolean unique) { in DNS6Address() argument
56 super(name, type, recordClass, unique); in DNS6Address()
79 … HostInformation(String name, DNSRecordType type, DNSRecordClass recordClass, boolean unique) { in HostInformation() argument
80 super(name, type, recordClass, unique); in HostInformation()
88 Pointer(String name, DNSRecordType type, DNSRecordClass recordClass, boolean unique) { in Pointer() argument
89 super(name, type, recordClass, unique); in Pointer()
128 Service(String name, DNSRecordType type, DNSRecordClass recordClass, boolean unique) { in Service() argument
129 super(name, type, recordClass, unique); in Service()
[all …]
DHostInfo.java198 DNSRecord.Address getDNSAddressRecord(DNSRecordType type, boolean unique, int ttl) { in getDNSAddressRecord() argument
201 return this.getDNS4AddressRecord(unique, ttl); in getDNSAddressRecord()
204 return this.getDNS6AddressRecord(unique, ttl); in getDNSAddressRecord()
210 private DNSRecord.Address getDNS4AddressRecord(boolean unique, int ttl) { in getDNS4AddressRecord() argument
212 …return new DNSRecord.IPv4Address(this.getName(), DNSRecordClass.CLASS_IN, unique, ttl, this.getIne… in getDNS4AddressRecord()
217 private DNSRecord.Address getDNS6AddressRecord(boolean unique, int ttl) { in getDNS6AddressRecord() argument
219 …return new DNSRecord.IPv6Address(this.getName(), DNSRecordClass.CLASS_IN, unique, ttl, this.getIne… in getDNS6AddressRecord()
224 DNSRecord.Pointer getDNSReverseAddressRecord(DNSRecordType type, boolean unique, int ttl) { in getDNSReverseAddressRecord() argument
227 return this.getDNS4ReverseAddressRecord(unique, ttl); in getDNSReverseAddressRecord()
230 return this.getDNS6ReverseAddressRecord(unique, ttl); in getDNSReverseAddressRecord()
[all …]
DDNSRecord.java45 … DNSRecord(String name, DNSRecordType type, DNSRecordClass recordClass, boolean unique, int ttl) { in DNSRecord() argument
46 super(name, type, recordClass, unique); in DNSRecord()
175 … IPv4Address(String name, DNSRecordClass recordClass, boolean unique, int ttl, InetAddress addr) { in IPv4Address() argument
176 super(name, DNSRecordType.TYPE_A, recordClass, unique, ttl, addr); in IPv4Address()
179 … IPv4Address(String name, DNSRecordClass recordClass, boolean unique, int ttl, byte[] rawAddress) { in IPv4Address() argument
180 super(name, DNSRecordType.TYPE_A, recordClass, unique, ttl, rawAddress); in IPv4Address()
217 … IPv6Address(String name, DNSRecordClass recordClass, boolean unique, int ttl, InetAddress addr) { in IPv6Address() argument
218 super(name, DNSRecordType.TYPE_AAAA, recordClass, unique, ttl, addr); in IPv6Address()
221 … IPv6Address(String name, DNSRecordClass recordClass, boolean unique, int ttl, byte[] rawAddress) { in IPv6Address() argument
222 super(name, DNSRecordType.TYPE_AAAA, recordClass, unique, ttl, rawAddress); in IPv6Address()
[all …]
/external/libcxx/test/std/algorithms/alg.modifying.operations/alg.unique/
Dunique.pass.cpp31 auto it = std::unique(std::begin(ia), std::end(ia)); in test_constexpr()
44 Iter r = std::unique(Iter(ia), Iter(ia+sa)); in test()
50 r = std::unique(Iter(ib), Iter(ib+sb)); in test()
57 r = std::unique(Iter(ic), Iter(ic+sc)); in test()
63 r = std::unique(Iter(id), Iter(id+sd)); in test()
70 r = std::unique(Iter(ie), Iter(ie+se)); in test()
78 r = std::unique(Iter(ig), Iter(ig+sg)); in test()
85 r = std::unique(Iter(ih), Iter(ih+sh)); in test()
92 r = std::unique(Iter(ii), Iter(ii+si)); in test()
116 Iter r = std::unique(Iter(ia), Iter(ia+sa)); in test1()
[all …]
Dunique_pred.pass.cpp31 auto it = std::unique(std::begin(ia), std::end(ia), [](int a, int b) {return a == b; }); in test_constexpr()
55 Iter r = std::unique(Iter(ia), Iter(ia+sa), count_equal()); in test()
63 r = std::unique(Iter(ib), Iter(ib+sb), count_equal()); in test()
72 r = std::unique(Iter(ic), Iter(ic+sc), count_equal()); in test()
80 r = std::unique(Iter(id), Iter(id+sd), count_equal()); in test()
89 r = std::unique(Iter(ie), Iter(ie+se), count_equal()); in test()
99 r = std::unique(Iter(ig), Iter(ig+sg), count_equal()); in test()
108 r = std::unique(Iter(ih), Iter(ih+sh), count_equal()); in test()
117 r = std::unique(Iter(ii), Iter(ii+si), count_equal()); in test()
143 Iter r = std::unique(Iter(ia), Iter(ia+sa), count_equal()); in test1()
[all …]
/external/tensorflow/tensorflow/python/ops/
Dcandidate_sampling_ops.py30 def uniform_candidate_sampler(true_classes, num_true, num_sampled, unique, argument
81 true_classes, num_true, num_sampled, unique, range_max, seed=seed1,
86 def log_uniform_candidate_sampler(true_classes, num_true, num_sampled, unique, argument
140 true_classes, num_true, num_sampled, unique, range_max, seed=seed1,
146 unique, range_max, seed=None, name=None): argument
197 true_classes, num_true, num_sampled, unique, range_max, seed=seed1,
205 unique, argument
287 true_classes, num_true, num_sampled, unique, range_max,
294 def all_candidate_sampler(true_classes, num_true, num_sampled, unique, argument
325 true_classes, num_true, num_sampled, unique, seed=seed1, seed2=seed2,
/external/libcxx/test/std/containers/sequences/forwardlist/forwardlist.ops/
Dunique.pass.cpp29 c1.unique(); in main()
39 c1.unique(); in main()
49 c1.unique(); in main()
57 c1.unique(); in main()
67 c1.unique(); in main()
78 c1.unique(); in main()
88 c1.unique(); in main()
98 c1.unique(); in main()
106 c1.unique(); in main()
116 c1.unique(); in main()
Dunique_pred.pass.cpp34 c1.unique(g); in main()
44 c1.unique(g); in main()
54 c1.unique(g); in main()
62 c1.unique(g); in main()
72 c1.unique(g); in main()
83 c1.unique(g); in main()
93 c1.unique(g); in main()
103 c1.unique(g); in main()
111 c1.unique(g); in main()
121 c1.unique(g); in main()
/external/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_UniqueV2.pbtxt13 find the unique elements.
29 summary: "Finds unique elements along an axis of a tensor."
31 This operation either returns a tensor `y` containing unique elements
32 along the `axis` of a tensor. The returned unique elements is sorted
36 contains the index in the unique output `y`.
45 y, idx = unique(x)
56 y, idx = unique(x, axis=0)
68 y, idx = unique(x, axis=1)
Dapi_def_Unique.pbtxt21 summary: "Finds unique elements in a 1-D tensor."
23 This operation returns a tensor `y` containing all of the unique elements of `x`
26 in the unique output `y`. In other words:
34 y, idx = unique(x)
/external/tensorflow/tensorflow/python/kernel_tests/
Dunique_op_test.py34 y, idx = array_ops.unique(x)
38 self.assertEqual(len(tf_y), len(np.unique(x)))
45 y, idx = array_ops.unique(x, out_idx=dtypes.int64)
49 self.assertEqual(len(tf_y), len(np.unique(x)))
57 y, idx = array_ops.unique(x)
61 self.assertEqual(len(tf_y), len(np.unique(x)))
87 self.assertEqual(len(tf_y), len(np.unique(x)))
101 self.assertEqual(len(tf_y), len(np.unique(x)))
114 self.assertEqual(len(tf_y), len(np.unique(x)))
129 self.assertEqual(len(tf_y), len(np.unique(x)))
/external/libcxx/test/std/utilities/smartptr/unique.ptr/
DREADME.TXT7 Instead of having a [unique.ptr.single] and [unique.ptr.runtime] directory,
8 each containing their own tests, a single directory, "unique.ptr.class",
14 Tests specific to [unique.ptr.single] have the suffix ".single.pass.cpp"
15 and those specific to [unique.ptr.runtime] are named "*.runtime.pass.cpp".
/external/jacoco/org.jacoco.report/src/org/jacoco/report/internal/
DNormalizedFileNames.java79 String unique = s; in ensureUniqueness() local
80 String lower = unique.toLowerCase(Locale.ENGLISH); in ensureUniqueness()
83 unique = s + '~' + idx++; in ensureUniqueness()
84 lower = unique.toLowerCase(Locale.ENGLISH); in ensureUniqueness()
87 return unique; in ensureUniqueness()
/external/tensorflow/tensorflow/contrib/data/python/kernel_tests/
Dunique_dataset_op_test.py21 from tensorflow.contrib.data.python.ops import unique
45 dtype).apply(unique.unique())
89 lambda x: x % unique_elem_range).apply(unique.unique())
/external/llvm/test/Linker/
Dtype-unique-simple2.ll4 ; RUN: llvm-link %S/Inputs/type-unique-simple2-a.ll %S/Inputs/type-unique-simple2-b.ll -S -o %t
5 ; RUN: cat %t | FileCheck %S/Inputs/type-unique-simple2-a.ll -check-prefix=LINK
7 ; RUN: llvm-dwarfdump -debug-dump=info %t2 | FileCheck %S/Inputs/type-unique-simple2-a.ll
/external/autotest/server/site_tests/security_kASLR/
Dsecurity_kASLR.py104 unique = len(address_count)
105 logging.info("Unique kernel offsets: %d", unique)
111 if unique < 2:
113 if unique < (self.reboot_count / 3):
115 if highest > (unique / 10):
/external/tensorflow/tensorflow/core/kernels/
Drange_sampler.cc37 void RangeSampler::SampleBatch(random::SimplePhilox* rnd, bool unique, in SampleBatch() argument
40 rnd, unique, batch, gtl::MutableArraySlice<float>(), in SampleBatch()
45 random::SimplePhilox* rnd, bool unique, gtl::MutableArraySlice<int64> batch, in SampleBatchGetExpectedCount() argument
49 SampleBatchGetExpectedCountAvoid(rnd, unique, batch, batch_expected_count, in SampleBatchGetExpectedCount()
78 random::SimplePhilox* rnd, bool unique, MutableArraySlice<int64> batch, in SampleBatchGetExpectedCountAvoid() argument
85 if (unique) { in SampleBatchGetExpectedCountAvoid()
125 random::SimplePhilox* rnd, bool unique, MutableArraySlice<int64> batch, in SampleBatchGetExpectedCountAvoid() argument
217 random::SimplePhilox* rnd, bool unique, MutableArraySlice<int64> batch, in SampleBatchGetExpectedCountAvoid() argument
223 rnd, unique, batch, batch_expected_count, extras, extras_expected_count, in SampleBatchGetExpectedCountAvoid()

12345678910>>...49