Home
last modified time | relevance | path

Searched refs:data2 (Results 1 – 25 of 289) sorted by relevance

12345678910>>...12

/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Misc/
DDoubleKeyMap.cs10 IDictionary<TKey2, TValue> data2; in Put()
11 data.TryGetValue(k1, out data2); in Put()
13 if (data2 == null) { in Put()
14 data2 = new Dictionary<TKey2, TValue>(); in Put()
15 data[k1] = data2; in Put()
17 data2.TryGetValue(k2, out prev); in Put()
19 data2[k2] = v; in Put()
24 IDictionary<TKey2, TValue> data2; in Get()
25 data.TryGetValue(k1, out data2); in Get()
26 if (data2 == null) in Get()
[all …]
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.Debug/Misc/
DDoubleKeyMap`3.cs11 IDictionary<TKey2, TValue> data2; in Put()
12 data.TryGetValue(k1, out data2); in Put()
14 if (data2 == null) in Put()
16 data2 = new Dictionary<TKey2, TValue>(); in Put()
17 data[k1]=data2; in Put()
21 data2.TryGetValue(k2, out prev); in Put()
23 data2[k2]= v; in Put()
29 IDictionary<TKey2, TValue> data2; in Get()
30 data.TryGetValue(k1, out data2); in Get()
31 if (data2 == null) in Get()
[all …]
/external/eigen/test/
Dpacketmath.cpp67 internal::pstore(data2, POP(internal::pload<Packet>(data1))); \
68 VERIFY(areApprox(ref, data2, PacketSize) && #POP); \
95 h.store(data2, POP(h.load(data1))); \
96 VERIFY(areApprox(ref, data2, PacketSize) && #POP); \
103 h.store(data2, POP(h.load(data1),h.load(data1+PacketSize))); \
104 VERIFY(areApprox(ref, data2, PacketSize) && #POP); \
123 EIGEN_ALIGN_MAX Scalar data2[size]; in packetmath() local
130 data2[i] = internal::random<Scalar>()/RealScalar(PacketSize); in packetmath()
134 internal::pstore(data2, internal::pload<Packet>(data1)); in packetmath()
135 VERIFY(areApprox(data1, data2, PacketSize) && "aligned load/store"); in packetmath()
[all …]
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/misc/
DDoubleKeyMap.java13 Map<Key2, Value> data2 = data.get(k1); in put() local
15 if ( data2==null ) { in put()
16 data2 = new LinkedHashMap<Key2, Value>(); in put()
17 data.put(k1, data2); in put()
20 prev = data2.get(k2); in put()
22 data2.put(k2, v); in put()
27 Map<Key2, Value> data2 = data.get(k1); in get() local
28 if ( data2==null ) return null; in get()
29 return data2.get(k2); in get()
36 Map<Key2, Value> data2 = data.get(k1); in values() local
[all …]
/external/antlr/antlr-3.4/runtime/ObjC/Framework/
DANTLRDoubleKeyMap.m16 AMutableDictionary *data2 = [data objectForKey:k1];
18 if ( data2 == nil ) {
19 data2 = [AMutableDictionary dictionaryWithCapacity:30];
20 [data setObject:data2 forKey:k1];
23 prev = [data2 objectForKey:k2];
25 [data2 setObject:v forKey:k2];
31 AMutableDictionary *data2 = [data objectForKey:k1];
32 if ( data2 == nil )
34 return [data2 objectForKey:k2];
48 AMutableDictionary *data2 = [data objectForKey:k1];
[all …]
/external/adhd/cras/src/dsp/
Ddrc.c58 drc->data2[i] = (float *)calloc(1, size); in init_data_buffer()
69 free(drc->data2[i]); in free_data_buffer()
263 static void sum3(float *data, const float *data1, const float *data2, int n) in sum3() argument
282 [data2]"+r"(data2), in sum3()
292 data[i] += data1[i] + data2[i]; in sum3()
295 static void sum3(float *data, const float *data1, const float *data2, int n) in sum3() argument
314 [data2]"+r"(data2), in sum3()
324 data[i] += data1[i] + data2[i]; in sum3()
328 static void sum3(float *data, const float *data1, const float *data2, int n) in sum3() argument
351 [data2]"+r"(data2), in sum3()
[all …]
/external/skia/tests/
DReader32Test.cpp44 const SkScalar data2[] = { 0, SK_Scalar1, -SK_Scalar1, SK_Scalar1/2 }; in DEF_TEST() local
45 const size_t bufsize = sizeof(data) > sizeof(data2) ? in DEF_TEST()
46 sizeof(data) : sizeof(data2); in DEF_TEST()
63 reader.setMemory(data2, sizeof(data2)); in DEF_TEST()
64 for (i = 0; i < SK_ARRAY_COUNT(data2); ++i) { in DEF_TEST()
65 REPORTER_ASSERT(reporter, sizeof(data2) == reader.size()); in DEF_TEST()
67 REPORTER_ASSERT(reporter, (const void*)data2 == reader.base()); in DEF_TEST()
68 REPORTER_ASSERT(reporter, (const void*)&data2[i] == reader.peek()); in DEF_TEST()
69 REPORTER_ASSERT(reporter, data2[i] == reader.readScalar()); in DEF_TEST()
74 reader.read(buffer, sizeof(data2)); in DEF_TEST()
[all …]
/external/skqp/tests/
DReader32Test.cpp44 const SkScalar data2[] = { 0, SK_Scalar1, -SK_Scalar1, SK_Scalar1/2 }; in DEF_TEST() local
45 const size_t bufsize = sizeof(data) > sizeof(data2) ? in DEF_TEST()
46 sizeof(data) : sizeof(data2); in DEF_TEST()
63 reader.setMemory(data2, sizeof(data2)); in DEF_TEST()
64 for (i = 0; i < SK_ARRAY_COUNT(data2); ++i) { in DEF_TEST()
65 REPORTER_ASSERT(reporter, sizeof(data2) == reader.size()); in DEF_TEST()
67 REPORTER_ASSERT(reporter, (const void*)data2 == reader.base()); in DEF_TEST()
68 REPORTER_ASSERT(reporter, (const void*)&data2[i] == reader.peek()); in DEF_TEST()
69 REPORTER_ASSERT(reporter, data2[i] == reader.readScalar()); in DEF_TEST()
74 reader.read(buffer, sizeof(data2)); in DEF_TEST()
[all …]
/external/clang/test/Sema/
Datomic-expr.c5 int _Atomic data2; variable
18 return data2 << x; in func_03()
22 return x << data2; in func_04()
26 return data2 << data1; in func_05()
30 return data1 << data2; in func_06()
38 data2 <<= x; in func_08()
46 *xp <<= data2; in func_10()
54 return data1 < data2; in func_12()
/external/eigen/unsupported/test/
Dcxx11_tensor_of_complex.cpp22 Tensor<std::complex<float>, 1> data2(3); in test_additions() local
25 data2(i) = std::complex<float>(i, 7 * i); in test_additions()
28 Tensor<std::complex<float>, 1> sum = data1 + data2; in test_additions()
38 Tensor<std::complex<double>, 1> data2(3); in test_abs() local
40 data2.setRandom(); in test_abs()
43 Tensor<double, 1> abs2 = data2.abs(); in test_abs()
46 VERIFY_IS_APPROX(abs2(i), std::abs(data2(i))); in test_abs()
54 Tensor<std::complex<double>, 1> data2(3); in test_conjugate() local
57 data2.setRandom(); in test_conjugate()
61 Tensor<std::complex<double>, 1> conj2 = data2.conjugate(); in test_conjugate()
[all …]
Dcxx11_tensor_of_const_values.cpp21 float data2[6]; in test_assign() local
22 const TensorMap<Tensor<float, 2>> mat2(data2, 2, 3); in test_assign()
26 data2[i] = -i; in test_assign()
57 float data2[6]; in test_plus() local
58 TensorMap<Tensor<float, 2>> mat2(data2, 2, 3); in test_plus()
62 data2[i] = -i; in test_plus()
83 float data2[6]; in test_plus_equal() local
84 TensorMap<Tensor<float, 2>> mat2(data2, 2, 3); in test_plus_equal()
88 data2[i] = -i; in test_plus_equal()
Dcxx11_tensor_of_strings.cpp21 std::string data2[6]; in test_assign() local
22 const TensorMap<Tensor<const std::string, 2>> mat2(data2, 2, 3); in test_assign()
30 data2[i] = s2.str(); in test_assign()
47 VERIFY_IS_EQUAL(rslt2(i,j), data2[i+2*j]); in test_assign()
49 VERIFY_IS_EQUAL(rslt4(i,j), data2[i+2*j]); in test_assign()
51 VERIFY_IS_EQUAL(rslt6(i,j), data2[i+2*j]); in test_assign()
116 Tensor<std::string, 1> data2(3); in test_additions() local
121 data2(i) = s1.str(); in test_additions()
124 Tensor<std::string, 1> sum = data1 + data2; in test_additions()
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/data/
DExecutionDataStoreTest.java143 final boolean[] data2 = new boolean[] { false, true, true, false }; in testMerge()
144 store.visitClassExecution(new ExecutionData(1000, "Sample", data2)); in testMerge()
157 final boolean[] data2 = new boolean[] { false, false, false }; in testMergeNegative()
158 store.visitClassExecution(new ExecutionData(1000, "Sample", data2)); in testMergeNegative()
165 final boolean[] data2 = new boolean[] { false, false, true, true }; in testSubtract()
166 store.subtract(new ExecutionData(1000, "Sample", data2)); in testSubtract()
179 final boolean[] data2 = new boolean[] { true, true }; in testSubtractOtherId()
180 store.subtract(new ExecutionData(2000, "Sample2", data2)); in testSubtractOtherId()
195 final boolean[] data2 = new boolean[] { false, false, true, true }; in testSubtractStore()
196 store2.put(new ExecutionData(1000, "Sample", data2)); in testSubtractStore()
[all …]
/external/adhd/cras/src/dsp/tests/
Dcrossover_test.c30 float *data2) in process() argument
35 data0 + start, data1 + start, data2 + start); in process()
41 float *data0, *data1, *data2; in main() local
57 data2 = (float *)malloc(sizeof(float) * frames * 2); in main()
61 process(&xo, frames, data0, data1, data2); in main()
69 data2 + frames); in main()
77 write_raw(argv[5], data2, frames); in main()
82 data0[i] += data1[i] + data2[i]; in main()
87 free(data2); in main()
Dcmpraw.c25 float *data1, *data2; in main() local
36 data2 = read_raw(argv[2], &frame2); in main()
46 if (data1[i] != data2[i]) { in main()
48 diff += fabs(data1[i] - data2[i]); in main()
49 maxdiff = max(fabs(data1[i] - data2[i]), maxdiff); in main()
56 free(data2); in main()
Dcrossover2_test.c43 float *data0, *data1, *data2; in main() local
59 data2 = (float *)malloc(sizeof(float) * frames * 2); in main()
64 data2, data2 + frames); in main()
72 write_raw(argv[5], data2, frames); in main()
77 data0[i] += data1[i] + data2[i]; in main()
82 free(data2); in main()
/external/libopus/silk/float/
Dinner_product_FLP.c37 const silk_float *data2, in silk_inner_product_FLP() argument
47 result += data1[ i + 0 ] * (double)data2[ i + 0 ] + in silk_inner_product_FLP()
48 data1[ i + 1 ] * (double)data2[ i + 1 ] + in silk_inner_product_FLP()
49 data1[ i + 2 ] * (double)data2[ i + 2 ] + in silk_inner_product_FLP()
50 data1[ i + 3 ] * (double)data2[ i + 3 ]; in silk_inner_product_FLP()
55 result += data1[ i ] * (double)data2[ i ]; in silk_inner_product_FLP()
/external/adhd/cras/src/server/
Daudio_thread_log.h19 #define ATLOG(log,event,data1,data2,data3) \ argument
20 audio_thread_event_log_data(log,event,data1,data2,data3);
22 #define ATLOG(log,event,data1,data2,data3) argument
51 uint32_t data2, in audio_thread_event_log_data() argument
61 log->log[log->write_pos].data2 = data2; in audio_thread_event_log_data()
/external/tensorflow/tensorflow/core/kernels/
Dsparse_matmul_op_test.cc273 data2[i] = internal::random<float>() / RealFloat(PacketSize); in SparseMatmulOpTest()
321 EIGEN_ALIGN_MAX float data2[kMaxPacketSize]; member in Eigen::internal::SparseMatmulOpTest
331 internal::pstoreu(data2, internal::pbroadcast_first<Packet>( in TEST_F()
333 ASSERT_TRUE(areApprox(ref, data2, PacketSize)); in TEST_F()
336 internal::pstoreu(data2, internal::pbroadcast_second<Packet>( in TEST_F()
338 ASSERT_TRUE(areApprox(ref, data2, PacketSize)); in TEST_F()
342 internal::pstoreu(data2, internal::pbroadcast_third<Packet>( in TEST_F()
344 ASSERT_TRUE(areApprox(ref, data2, PacketSize)); in TEST_F()
348 internal::pstoreu(data2, internal::pbroadcast_fourth<Packet>( in TEST_F()
350 ASSERT_TRUE(areApprox(ref, data2, PacketSize)); in TEST_F()
[all …]
/external/compiler-rt/lib/tsan/tests/rtl/
Dtsan_string.cc43 char *data2 = new char[10]; in TEST() local
46 t2.Memcpy(data, data2, 10, true); in TEST()
52 char *data2 = new char[10]; in TEST() local
55 t2.Memcpy(data+3, data2, 4, true); in TEST()
61 char *data2 = new char[10]; in TEST() local
64 t2.Memcpy(data1, data2, 10, true); in TEST()
/external/expat/tests/
Dstructdata.c86 int data2) in StructData_AddItem() argument
106 entry->data2 = data2; in StructData_AddItem()
140 got->data2 != want->data2) { in StructData_CheckItems()
145 want->data0, want->data1, want->data2, in StructData_CheckItems()
146 got->data0, got->data1, got->data2); in StructData_CheckItems()
/external/llvm/unittests/ExecutionEngine/MCJIT/
DMCJITMemoryManagerTest.cpp23 uint8_t *data2 = MemMgr->allocateDataSection(256, 0, 4, "", false); in TEST() local
28 EXPECT_NE((uint8_t*)nullptr, data2); in TEST()
35 data2[i] = 4; in TEST()
43 EXPECT_EQ(4, data2[i]); in TEST()
56 uint8_t *data2 = MemMgr->allocateDataSection(0x100000, 0, 4, "", false); in TEST() local
61 EXPECT_NE((uint8_t*)nullptr, data2); in TEST()
68 data2[i] = 4; in TEST()
76 EXPECT_EQ(4, data2[i]); in TEST()
/external/adhd/cras/src/tests/
Dcras_test_client.c391 unsigned int data2 = log->log[tag_idx].data2; in show_alog_tag() local
406 "SLEEP", (int)data1, (int)data2, (int)data3); in show_alog_tag()
410 "READ_AUDIO", data1, data2, data3); in show_alog_tag()
414 "READ_AUDIO_TSTAMP", data1, (int)data2, (int)data3); in show_alog_tag()
421 "READ_AUDIO_OVERRUN", data1, data2, data3); in show_alog_tag()
425 "FILL_AUDIO", data1, data2); in show_alog_tag()
429 "FILL_AUDIO_TSTAMP", data1, (int)data2, (int)data3); in show_alog_tag()
433 "FILL_AUDIO_DONE", data1, data2, data3); in show_alog_tag()
443 "WRITE_STREAMS_MIX", data1, data2); in show_alog_tag()
450 "WRITE_STREAMS_STREAM", data1, data2, data3); in show_alog_tag()
[all …]
Dalert_unittest.cc71 const char *data2 = "ThisIsMyData2"; in TEST() local
76 cras_alert_pending_data(alert, (void *)data2, strlen(data2) + 1); in TEST()
80 EXPECT_EQ(0, strcmp(data2, (const char *)cb1_data)); in TEST()
88 const char *data2 = "ThisIsMyData2"; in TEST() local
93 cras_alert_pending_data(alert, (void *)data2, strlen(data2) + 1); in TEST()
97 EXPECT_EQ(0, strcmp(data2, (const char *)cb1_data)); in TEST()
/external/llvm/test/CodeGen/ARM/
Dsaxpy10-a9.ll64 define float @saxpy10(float* nocapture readonly %data1, float* nocapture readonly %data2, float %a)…
68 %1 = load float, float* %data2, align 4
74 %arrayidx1.1 = getelementptr inbounds float, float* %data2, i32 1
81 %arrayidx1.2 = getelementptr inbounds float, float* %data2, i32 2
88 %arrayidx1.3 = getelementptr inbounds float, float* %data2, i32 3
95 %arrayidx1.4 = getelementptr inbounds float, float* %data2, i32 4
102 %arrayidx1.5 = getelementptr inbounds float, float* %data2, i32 5
109 %arrayidx1.6 = getelementptr inbounds float, float* %data2, i32 6
116 %arrayidx1.7 = getelementptr inbounds float, float* %data2, i32 7
123 %arrayidx1.8 = getelementptr inbounds float, float* %data2, i32 8
[all …]

12345678910>>...12