Searched refs:byteData (Results 1 – 6 of 6) sorted by relevance
/external/oboe/src/flowgraph/ |
D | SourceI24.cpp | 44 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()
|
D | SinkI24.cpp | 34 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/ |
D | SQLiteCursorTest.java | 205 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/ |
D | flat_buffers_test.dart | 161 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/ |
D | EGLPresentPathD3D11Test.cpp | 264 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/ |
D | Unwind-EHABI.cpp | 33 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()
|