Home
last modified time | relevance | path

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

/device/google/dragon/audio/hal/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()
/device/google/dragon/audio/hal/dsp/
Ddrc.c58 drc->data2[i] = (float *)calloc(1, size); in init_data_buffer()
69 free(drc->data2[i]); in free_data_buffer()
261 static void sum3(float *data, float *data1, float *data2, int n) in sum3() argument
281 "=r"(data2), in sum3()
289 [data2]"2"(data2), in sum3()
298 data[i] += data1[i] + data2[i]; in sum3()
302 static void sum3(float *data, float *data1, float *data2, int n) in sum3() argument
325 "=r"(data2), in sum3()
333 [data2]"2"(data2), in sum3()
342 data[i] += data1[i] + data2[i]; in sum3()
[all …]
Dcrossover.h64 float *data1, float *data2);
Ddrc.h133 float *data2[DRC_NUM_CHANNELS]; member
Dcrossover.c183 float *data1, float *data2) in crossover_process() argument
187 lr4_split(&xo->lp[2], &xo->hp[2], count, data1, data2); in crossover_process()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_audioop.py68 data2 = []
73 data2.append(str)
74 self.assertEqual(audioop.add(data[0], data[0], 1), data2[0])
75 self.assertEqual(audioop.add(data[1], data[1], 2), data2[1])
76 self.assertEqual(audioop.add(data[2], data[2], 4), data2[2])
124 data2 = []
129 data2.append(str)
130 self.assertEqual(audioop.mul(data[0], 1, 2), data2[0])
131 self.assertEqual(audioop.mul(data[1],2, 2), data2[1])
132 self.assertEqual(audioop.mul(data[2], 4, 2), data2[2])
[all …]
Dtest_macostools.py34 data2 = fp.read()
36 if data1 != data2:
42 data2 = rfp.read(1000)
44 if data1 != data2:
Dtest_macos.py84 data2 = rfp.read(100)
87 self.assertEqual(data2, '')
Dtest_mmap.py581 data2 = "abcdefghij"
582 assert len(data1) == len(data2)
587 m2 = mmap.mmap(-1, len(data2), tagname="foo")
588 m2[:] = data2
589 self.assertEqual(m1[:], data2)
590 self.assertEqual(m2[:], data2)
597 m2 = mmap.mmap(-1, len(data2), tagname="boo")
598 m2[:] = data2
600 self.assertEqual(m2[:], data2)
Dtest_plistlib.py135 data2 = plistlib.writePlistToString(pl2)
136 self.assertEqual(data, data2)
Dtest_gzip.py19 data2 = """/* zlibmodule.c -- gzip-compatible data compression */ variable
82 f.write(data2 * 15)
86 self.assertEqual(d, (data1*50) + (data2*15))
Dtest_zipfile.py184 data2 = ''
188 data2 += line
190 self.assertEqual(data, data2.replace('\n', '\r\n'))
993 data2 = ( variable in DecryptionTests
1011 fp.write(self.data2)
1159 data2 = zopen2.read(500)
1161 data2 += zopen2.read(500)
1162 self.assertEqual(data1, data2)
1170 data2 = zopen2.read(500)
1172 data2 += zopen2.read(500)
[all …]
Dtest_struct.py491 data2 = buffer('......\x12\x34\x56\x78......', 6, 4)
492 for data in [data1, data2]:
Dpickletester.py1243 data2 = ["abcdefg", 44, 44]
1246 pickler.dump(data2)
1259 self.assertEqual(unpickler.load(), data2)
/device/huawei/angler/power/
Dlist.h33 int (*compare)(void *data1, void *data2);
/device/lge/bullhead/power/
Dlist.h33 int (*compare)(void *data1, void *data2);
/device/google/marlin/power/
Dlist.h33 int (*compare)(void *data1, void *data2);
/device/linaro/bootloader/edk2/BaseTools/Source/C/LzmaCompress/Sdk/C/
DLzmaEnc.c1003 const Byte *data2; in GetOptimum() local
1005 data2 = data - (reps[i] + 1); in GetOptimum()
1006 if (data[0] != data2[0] || data[1] != data2[1]) in GetOptimum()
1011 for (lenTest = 2; lenTest < numAvail && data[lenTest] == data2[lenTest]; lenTest++); in GetOptimum()
1306 const Byte *data2 = data - (reps[0] + 1); in GetOptimum() local
1311 for (temp = 1; temp < limit && data[temp] == data2[temp]; temp++); in GetOptimum()
1349 const Byte *data2 = data - (reps[repIndex] + 1); in GetOptimum() local
1350 if (data[0] != data2[0] || data[1] != data2[1]) in GetOptimum()
1352 for (lenTest = 2; lenTest < numAvail && data[lenTest] == data2[lenTest]; lenTest++); in GetOptimum()
1382 for (; lenTest2 < limit && data[lenTest2] == data2[lenTest2]; lenTest2++); in GetOptimum()
[all …]
/device/linaro/bootloader/edk2/EmulatorPkg/Unix/
Dlldbefi.py39 data2 = data2_val.GetValueAsUnsigned(0)
42 str = "%x-%x-%x-" % (data1, data2, data3)
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/RegularExpressionDxe/Oniguruma/
Dregparse.c1935 OnigCodePoint i, j, n1, n2, *data1, *data2; in and_code_range_buf() local
1954 data2 = (OnigCodePoint* )(bbuf2->p); in and_code_range_buf()
1956 GET_CODE_POINT(n2, data2); in and_code_range_buf()
1958 data2++; in and_code_range_buf()
1965 from2 = data2[j*2]; in and_code_range_buf()
1966 to2 = data2[j*2+1]; in and_code_range_buf()
1980 r = and_code_range1(pbuf, from1, to1, data2, n2); in and_code_range_buf()