Home
last modified time | relevance | path

Searched refs:data0 (Results 1 – 25 of 39) sorted by relevance

12

/external/skia/tests/
DRefDictTest.cpp19 TestRC data0, data1; in DEF_TEST() local
26 dict.set("foo", &data0); in DEF_TEST()
27 REPORTER_ASSERT(reporter, &data0 == dict.find("foo")); in DEF_TEST()
28 REPORTER_ASSERT(reporter, !data0.unique()); in DEF_TEST()
30 dict.set("foo", &data0); in DEF_TEST()
31 REPORTER_ASSERT(reporter, &data0 == dict.find("foo")); in DEF_TEST()
32 REPORTER_ASSERT(reporter, !data0.unique()); in DEF_TEST()
36 REPORTER_ASSERT(reporter, data0.unique()); in DEF_TEST()
41 REPORTER_ASSERT(reporter, data0.unique()); in DEF_TEST()
44 dict.set("foo", &data0); in DEF_TEST()
[all …]
/external/opencv/cv/src/
Dcvcalccontrasthistogram.cpp106 uchar *data0 = img[0];
113 for( y = 0; y < size.height; y++, data0 += step )
117 int v1_r = MIN( data0[x], data0[x + 1] );
118 int v2_r = MAX( data0[x], data0[x + 1] );
131 int v1_d = MIN( data0[x], data0[x + step] );
132 int v2_d = MAX( data0[x], data0[x + step] );
220 uchar *data0 = img[0];
228 for( y = 0; y < size.height; y++, data0 += step, maskp += mask_step )
236 int v1_r = MIN( data0[x], data0[x + 1] );
237 int v2_r = MAX( data0[x], data0[x + 1] );
[all …]
/external/strace/tests/
Daio.c53 static char data0[4096]; in main() local
60 .aio_buf = (unsigned long) data0, in main()
62 .aio_nbytes = sizeof(data0) in main()
74 .iov_base = data0, in main()
75 .iov_len = sizeof(data0) / 4 in main()
78 .iov_base = data0 + sizeof(data0) / 4, in main()
79 .iov_len = sizeof(data0) / 4 * 3 in main()
149 (unsigned long long) cb[0].aio_data, data0, in main()
150 (unsigned int) sizeof(data0), (long long) cb[0].aio_offset, in main()
162 (unsigned int) sizeof(data0), in main()
/external/compiler-rt/test/tsan/
Dmemcmp_race.cc5 char *data0 = new char[10]; variable
12 sink = memcmp(data0+5, data1, size); in Thread1()
20 memcpy(data0+5, data2, size); in Thread2()
26 print_address("addr=", 1, &data0[5]); in main()
/external/opencv3/modules/core/src/
Dkmeans.cpp223 Mat data0 = _data.getMat(); in kmeans() local
224 bool isrow = data0.rows == 1 && data0.channels() > 1; in kmeans()
225 int N = !isrow ? data0.rows : data0.cols; in kmeans()
226 int dims = (!isrow ? data0.cols : 1)*data0.channels(); in kmeans()
227 int type = data0.depth(); in kmeans()
230 CV_Assert( data0.dims <= 2 && type == CV_32F && K > 0 ); in kmeans()
233 …Mat data(N, dims, CV_32F, data0.ptr(), isrow ? dims * sizeof(float) : static_cast<size_t>(data0.st… in kmeans()
Dcuda_host_mem.cpp62 void* data0, size_t* step, in allocate() argument
70 if (data0 && step[i] != CV_AUTOSTEP) in allocate()
87 if (data0) in allocate()
89 u->data = u->origdata = static_cast<uchar*>(data0); in allocate()
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/
DChapter2_5Test.java36 Map<String, Object> data0 = (Map<String, Object>) list.get(0); in testExample_2_28() local
37 Date date = (Date) data0.get("Time"); in testExample_2_28()
39 assertEquals("ed", data0.get("User")); in testExample_2_28()
40 assertEquals("This is an error message for the log file", data0.get("Warning")); in testExample_2_28()
/external/opencv3/modules/core/perf/
Dperf_math.cpp44 Mat data0(N0, dims, CV_32F);
45 rng.fill(data0, RNG::UNIFORM, -1, 1);
49 data0.row(rng.uniform(0, N0)).copyTo(data.row(i));
/external/compiler-rt/lib/tsan/tests/rtl/
Dtsan_string.cc20 char data0[7] = {1, 2, 3, 4, 5, 6, 7}; in TEST() local
22 MainThread().Memcpy(data+1, data0+1, 5); in TEST()
/external/opencv3/modules/imgproc/src/
Dconvhull.cpp149 Point* data0 = points.ptr<Point>(); in convexHull() local
156 pointer[i] = &data0[i]; in convexHull()
209 hullbuf[nout++] = int(pointer[tl_stack[i]] - data0); in convexHull()
211 hullbuf[nout++] = int(pointer[tr_stack[i]] - data0); in convexHull()
247 hullbuf[nout++] = int(pointer[bl_stack[i]] - data0); in convexHull()
249 hullbuf[nout++] = int(pointer[br_stack[i]] - data0); in convexHull()
260 *(Point*)(hull.ptr() + i*step) = data0[hullbuf[i]]; in convexHull()
/external/libopus/src/
Dopus.c181 const unsigned char *data0 = data; in opus_packet_parse_impl() local
304 *payload_offset = (int)(data-data0); in opus_packet_parse_impl()
314 *packet_offset = pad+(opus_int32)(data-data0); in opus_packet_parse_impl()
/external/opencv3/modules/imgproc/src/opencl/
Dresize.cl154 WT data0 = convertToWT(loadpix(srcptr + src_index0));
159 WT val = ( (((data0 * a0 + data1 * a1) >> 4) * b0) >> 16) +
200 WT data0 = convertToWT(loadpix(srcptr + mad24(y, src_step, mad24(x, TSIZE, src_offset))));
205 WT val = mul24((WT)mul24(U1, V1), data0) + mul24((WT)mul24(U, V1), data1) +
212 WT data0 = convertToWT(loadpix(srcptr + mad24(y, src_step, mad24(x, TSIZE, src_offset))));
217 T uval = u1 * v1 * data0 + u * v1 * data1 + u1 * v *data2 + u * v *data3;
/external/libxml2/
Dlist.c79 xmlLinkCompare(const void *data0, const void *data1) in xmlLinkCompare() argument
81 if (data0 < data1) in xmlLinkCompare()
83 else if (data0 == data1) in xmlLinkCompare()
Dxmlwriter.c106 static int xmlCmpTextWriterStackEntry(const void *data0,
110 static int xmlCmpTextWriterNsStackEntry(const void *data0,
4285 xmlCmpTextWriterStackEntry(const void *data0, const void *data1) in xmlCmpTextWriterStackEntry() argument
4290 if (data0 == data1) in xmlCmpTextWriterStackEntry()
4293 if (data0 == 0) in xmlCmpTextWriterStackEntry()
4299 p0 = (xmlTextWriterStackEntry *) data0; in xmlCmpTextWriterStackEntry()
4387 xmlCmpTextWriterNsStackEntry(const void *data0, const void *data1) in xmlCmpTextWriterNsStackEntry() argument
4393 if (data0 == data1) in xmlCmpTextWriterNsStackEntry()
4396 if (data0 == 0) in xmlCmpTextWriterNsStackEntry()
4402 p0 = (xmlTextWriterNsStackEntry *) data0; in xmlCmpTextWriterNsStackEntry()
/external/llvm/lib/Target/AMDGPU/
DVIInstrFormats.td18 bits<8> data0;
29 let Inst{47-40} = data0;
DSILoadStoreOptimizer.cpp311 const MachineOperand *Data0 = TII->getNamedOperand(*I, AMDGPU::OpName::data0); in mergeWrite2Pair()
313 = TII->getNamedOperand(*Paired, AMDGPU::OpName::data0); in mergeWrite2Pair()
DSIInstrInfo.td2040 let data0 = 0, data1 = 0 in {
2054 let data0 = 0, data1 = 0, AsmMatchConverter = "cvtDSOffset01" in {
2062 dag ins = (ins VGPR_32:$addr, rc:$data0, ds_offset:$offset, gds:$gds),
2063 string asm = opName#" $addr, $data0"#"$offset$gds"> {
2076 dag ins = (ins VGPR_32:$addr, rc:$data0, rc:$data1,
2078 string asm = opName#" $addr, $data0, $data1"#"$offset0"#"$offset1"#"$gds"> {
2091 dag ins = (ins VGPR_32:$addr, rc:$data0, ds_offset:$offset, gds:$gds),
2092 string asm = opName#" $vdst, $addr, $data0"#"$offset$gds"> {
2108 string asm = opName#" $vdst, $addr, $data0, $data1"#"$offset"#"$gds"> {
2122 (ins VGPR_32:$addr, src:$data0, src:$data1,
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DCurrency.java821 int data0 = digits.fractionDigits; in getRoundingIncrement() local
824 if (data0 < 0 || data0 >= POW10.length) { in getRoundingIncrement()
830 return (double) data1 / POW10[data0]; in getRoundingIncrement()
/external/icu/android_icu4j/src/main/java/android/icu/util/
DCurrency.java791 int data0 = digits.fractionDigits; in getRoundingIncrement() local
794 if (data0 < 0 || data0 >= POW10.length) { in getRoundingIncrement()
800 return (double) data1 / POW10[data0]; in getRoundingIncrement()
/external/libopus/celt/
Dcelt_decoder.c720 int data0=data[0]; local
724 data0 = fromOpus(data0);
725 if (data0<0)
728 st->end = IMAX(1, mode->effEBands-2*(data0>>5));
729 LM = (data0>>3)&0x3;
730 C = 1 + ((data0>>2)&0x1);
/external/fonttools/Lib/fontTools/
DcffLib.py829 data0 = packCharset0(charset, isCID, strings)
831 if len(data) < len(data0):
834 self.data = data0
937 data0 = packEncoding0(parent.dictObj.charset, encoding, parent.strings)
939 if len(data0) < len(data1):
940 self.data = data0
1185 data0 = packFDSelect0(fdSelectArray)
1187 if len(data0) < len(data3):
1188 self.data = data0
/external/libxml2/include/libxml/
Dlist.h42 typedef int (*xmlListDataCompare) (const void *data0, const void *data1);
/external/wpa_supplicant_8/src/crypto/
Dcrypto_module_tests.c1010 static const u8 data0[] = "Hi There"; variable
1203 if (sha1_prf(key0, sizeof(key0), "prefix", data0, sizeof(data0) - 1, in test_sha1()
/external/opencv3/modules/core/test/
Dtest_math.cpp2665 std::vector<cv::Point2f> data0(N0); in run() local
2666 rng.fill(data0, RNG::UNIFORM, -1, 1); in run()
2670 data[i] = data0[rng.uniform(0, N0)]; in run()
2677 Mat data0(N0, dims, CV_32F); in run() local
2678 rng.fill(data0, RNG::UNIFORM, -1, 1); in run()
2687 data0.row(rng.uniform(0, N0)).copyTo(data.row(i)); in run()
2693 … memcpy(data.ptr(i), data0.ptr(rng.uniform(0, N0)), dims * sizeof(float)); in run()
2699 …memcpy(data.ptr() + i * dims * sizeof(float), data0.ptr(rng.uniform(0, N0)), dims * sizeof(float)); in run()
2706 data0.row(rng.uniform(0, N0)).copyTo(data.row(i)); in run()
2713 … memcpy(data.ptr(i), data0.ptr(rng.uniform(0, N0)), dims * sizeof(float)); in run()
/external/opencv3/modules/core/src/cuda/
Dgpu_mat.cu275 uchar* data0 = _dst.getGpuMat().data; in copyTo() local
281 if (dst.data != data0) in copyTo()

12