Home
last modified time | relevance | path

Searched refs:byteData (Results 1 – 6 of 6) sorted by relevance

/external/oboe/src/flowgraph/
DSourceI24.cpp44 const uint8_t *byteData = &byteBase[mFrameIndex * channelCount * kBytesPerI24Packed]; in onProcess() local
47 memcpy_to_float_from_p24(floatData, byteData, numSamples); in onProcess()
52 int32_t pad = byteData[2]; in onProcess()
54 pad |= byteData[1]; in onProcess()
56 pad |= byteData[0]; in onProcess()
58 byteData += kBytesPerI24Packed; in onProcess()
DSinkI24.cpp34 uint8_t *byteData = (uint8_t *) data; in read() local
47 memcpy_to_p24_from_float(byteData, floatData, numSamples); in read()
49 byteData += numSamples * kBytesPerI24Packed; in read()
58 *byteData++ = (uint8_t) n; in read()
59 *byteData++ = (uint8_t) (n >> 8); in read()
60 *byteData++ = (uint8_t) (n >> 16); in read()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DSQLiteCursorTest.java205 byte[] byteData = sql.getBytes(UTF_8); in testGetBlob()
207 database.execSQL(sql, new Object[]{byteData}); in testGetBlob()
212 assertThat(byteData.length).isEqualTo(retrievedByteData.length); in testGetBlob()
214 for (int i = 0; i < byteData.length; i++) { in testGetBlob()
215 assertThat(byteData[i]).isEqualTo(retrievedByteData[i]); in testGetBlob()
275 byte[] byteData = sql.getBytes(UTF_8); in testGetStringWhenBlob()
277 database.execSQL(sql, new Object[]{byteData}); in testGetStringWhenBlob()
287 byte[] byteData = sql.getBytes(UTF_8); in testGetIntWhenBlob()
289 database.execSQL(sql, new Object[]{byteData}); in testGetIntWhenBlob()
431 byte[] byteData = sql.getBytes(UTF_8); in testGetTypeWhenBlob()
[all …]
/external/flatbuffers/dart/test/
Dflat_buffers_test.dart161 ByteData byteData = byteList.buffer.asByteData(byteList.offsetInBytes);
163 int tableDataLoc = byteData.getUint32(0, Endian.little);
165 expect(byteData.getUint8(4), 65); // 'a'
166 expect(byteData.getUint8(5), 122); // 'z'
167 expect(byteData.getUint8(6), 126); // '~'
168 expect(byteData.getUint8(7), 255); // 'ÿ'
171 byteData.getInt32(tableDataLoc, Endian.little);
174 expect(byteData.getUint16(vTableLoc, Endian.little), 4);
177 expect(byteData.getUint16(vTableLoc + 2, Endian.little), 4);
230 ByteData byteData = byteList.buffer.asByteData(byteList.offsetInBytes);
[all …]
/external/angle/src/tests/egl_tests/
DEGLPresentPathD3D11Test.cpp264 angle::GLColor *byteData = reinterpret_cast<angle::GLColor *>(mappedSubresource.pData); in checkPixelsUsingD3D() local
283 EXPECT_EQ(expectedTopLeftPixel, byteData[0]); in checkPixelsUsingD3D()
284 EXPECT_EQ(expectedTopRightPixel, byteData[(mWindowWidth - 1)]); in checkPixelsUsingD3D()
285 EXPECT_EQ(expectedBottomLeftPixel, byteData[(mWindowWidth - 1) * mWindowWidth]); in checkPixelsUsingD3D()
287 byteData[(mWindowWidth - 1) * mWindowWidth + (mWindowWidth - 1)]); in checkPixelsUsingD3D()
/external/llvm-project/libunwind/src/
DUnwind-EHABI.cpp33 const uint8_t* byteData = reinterpret_cast<const uint8_t*>(data); in getByte() local
35 return byteData[(offset & ~(size_t)0x03) + (3 - (offset & (size_t)0x03))]; in getByte()
37 return byteData[offset]; in getByte()