/frameworks/minikin/tests/unittest/ |
D | WordBreakerTests.cpp | 40 uint16_t buf[] = {'h', 'e', 'l', 'l' ,'o', ' ', 'w', 'o', 'r', 'l', 'd'}; in TEST_F() local 58 uint16_t buf[] = {'h', 'e', 'l', 0x00AD, 'l' ,'o', ' ', 'w', 'o', 'r', 'l', 'd'}; in TEST_F() local 75 uint16_t buf[] = {'s', 'u', 'g', 'a', 'r', '-', 'f', 'r', 'e', 'e'}; in TEST_F() local 87 uint16_t buf[] = {'U', 'S', 0x00A2, ' ', 'J', 'P', 0x00A5}; // US¢ JP¥ in TEST_F() local 103 uint16_t buf[] = {0x1004, 0x103A, 0x1039, 0x1000, 0x102C}; // NGA, ASAT, VIRAMA, KA, UU in TEST_F() local 116 uint16_t buf[] = { in TEST_F() local 145 uint16_t buf[] = { in TEST_F() local 163 uint16_t buf[] = { in TEST_F() local 217 uint16_t buf[BUF_SIZE]; in TEST_F() local 242 uint16_t buf[BUF_SIZE]; in TEST_F() local [all …]
|
D | LayoutUtilsTest.cpp | 26 uint16_t buf[BUF_SIZE]; in ExpectNextWordBreakForCache() local 38 uint16_t buf[BUF_SIZE]; in ExpectPrevWordBreakForCache() local
|
/frameworks/base/services/net/java/android/net/util/ |
D | IpUtils.java | 46 private static int checksum(ByteBuffer buf, int seed, int start, int end) { in checksum() 83 ByteBuffer buf, int headerOffset, int protocol, int transportLen) { in pseudoChecksumIPv4() 93 ByteBuffer buf, int headerOffset, int protocol, int transportLen) { in pseudoChecksumIPv6() 101 private static byte ipversion(ByteBuffer buf, int headerOffset) { in ipversion() 105 public static short ipChecksum(ByteBuffer buf, int headerOffset) { in ipChecksum() 110 private static short transportChecksum(ByteBuffer buf, int protocol, in transportChecksum() 132 public static short udpChecksum(ByteBuffer buf, int ipOffset, int transportOffset) { in udpChecksum() 137 public static short tcpChecksum(ByteBuffer buf, int ipOffset, int transportOffset, in tcpChecksum()
|
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/java/ |
D | IntegralToString.java | 379 sb.append(buf, cursor, bufLen - cursor); in sb.append() argument 393 private static int intIntoCharArray(char[] buf, int cursor, int n) { in intIntoCharArray() 423 char[] buf = new char[bufLen]; in intToBinaryString() local 440 char[] buf = new char[bufLen]; in longToBinaryString() local 459 char[] buf = new char[2]; // We always want two digits. in byteToHexString() local 467 char[] buf = new char[bytes.length * 2]; in bytesToHexString() local 478 char[] buf = new char[bufLen]; in intToHexString() local 496 char[] buf = new char[bufLen]; in longToHexString() local 508 char[] buf = new char[bufLen]; in intToOctalString() local 524 char[] buf = new char[bufLen]; in longToOctalString() local
|
/frameworks/native/opengl/libs/EGL/ |
D | BlobCache_test.cpp | 56 unsigned char buf[4] = { 0xee, 0xee, 0xee, 0xee }; in TEST_F() local 66 unsigned char buf[2] = { 0xee, 0xee }; in TEST_F() local 78 unsigned char buf[6] = { 0xee, 0xee, 0xee, 0xee, 0xee, 0xee }; in TEST_F() local 90 unsigned char buf[3] = { 0xee, 0xee, 0xee }; in TEST_F() local 104 unsigned char buf[4] = { 0xee, 0xee, 0xee, 0xee }; in TEST_F() local 115 unsigned char buf[MAX_VALUE_SIZE+1] = { 0xee, 0xee, 0xee, 0xee }; in TEST_F() local 127 unsigned char buf[4] = { 0xee, 0xee, 0xee, 0xee }; in TEST_F() local 140 char buf[MAX_VALUE_SIZE+1]; in TEST_F() local 163 char buf[bufSize]; in TEST_F() local 177 unsigned char buf[4] = { 0xee, 0xee, 0xee, 0xee }; in TEST_F() local [all …]
|
/frameworks/av/media/libstagefright/webm/ |
D | WebmElement.cpp | 85 int WebmElement::serializePayloadSize(uint8_t *buf) { in serializePayloadSize() 89 uint64_t WebmElement::serializeInto(uint8_t *buf) { in serializeInto() 101 uint8_t buf[8]; in totalSize() local 108 uint8_t *buf = new uint8_t[size]; in serialize() local 114 uint8_t buf[8]; in write() local 141 void WebmUnsigned::serializePayload(uint8_t *buf) { in serializePayload() 155 void WebmFloat::serializePayload(uint8_t *buf) { in serializePayload() 175 void WebmBinary::serializePayload(uint8_t *buf) { in serializePayload() 185 void WebmString::serializePayload(uint8_t *buf) { in serializePayload() 206 void WebmSimpleBlock::serializePayload(uint8_t *buf) { in serializePayload() [all …]
|
/frameworks/native/libs/gui/tests/ |
D | SurfaceTextureClient_test.cpp | 221 ANativeWindowBuffer* buf; in TEST_F() local 231 ANativeWindowBuffer* buf; in TEST_F() local 243 ANativeWindowBuffer* buf; in TEST_F() local 255 ANativeWindowBuffer* buf; in TEST_F() local 267 ANativeWindowBuffer* buf; in TEST_F() local 286 ANativeWindowBuffer* buf; in TEST_F() local 305 ANativeWindowBuffer* buf; in TEST_F() local 315 ANativeWindowBuffer* buf[2]; in TEST_F() local 336 ANativeWindowBuffer* buf[2]; in TEST_F() local 363 android_native_buffer_t* buf[3]; in TEST_F() local [all …]
|
D | FillBuffer.cpp | 25 void fillYV12Buffer(uint8_t* buf, int w, int h, int stride) { in fillYV12Buffer() 54 void fillYV12BufferRect(uint8_t* buf, int w, int h, int stride, in fillYV12BufferRect() 78 void fillRGBA8Buffer(uint8_t* buf, int w, int h, int stride) { in fillRGBA8Buffer() 98 sp<GraphicBuffer> buf(GraphicBuffer::from(anb)); in produceOneRGBA8Frame() local
|
/frameworks/av/media/mtp/tests/ |
D | AsyncIO_test.cpp | 52 char buf[TEST_PACKET_SIZE + 1]; in TEST_F() local 69 char buf[TEST_PACKET_SIZE + 1]; in TEST_F() local 86 char buf[TEST_PACKET_SIZE + 1]; in TEST_F() local 102 char buf[TEST_PACKET_SIZE + 1]; in TEST_F() local 123 char buf[TEST_PACKET_SIZE + 1]; in TEST_F() local 144 char buf[TEST_PACKET_SIZE * POOL_COUNT + 1]; in TEST_F() local 168 char buf[TEST_PACKET_SIZE * POOL_COUNT + 1]; in TEST_F() local
|
D | MtpFfsHandle_test.cpp | 92 char buf[TEST_PACKET_SIZE + 1]; in TEST_F() local 99 char buf[TEST_PACKET_SIZE + 1]; in TEST_F() local 110 char buf[size + 1]; in TEST_F() local 130 char buf[size + 1]; in TEST_F() local 153 char buf[size + sizeof(mtp_data_header) + 1]; in TEST_F() local 182 char buf[size + sizeof(mtp_data_header) + 1]; in TEST_F() local 211 char buf[size + 1]; in TEST_F() local 250 char buf[size + sizeof(mtp_data_header) + 1]; in TEST_F() local 272 char buf[TEST_PACKET_SIZE + 1]; in TEST_F() local
|
/frameworks/native/opengl/tests/EGLTest/ |
D | egl_cache_test.cpp | 48 uint8_t buf[4] = { 0xee, 0xee, 0xee, 0xee }; in TEST_F() local 58 uint8_t buf[4] = { 0xee, 0xee, 0xee, 0xee }; in TEST_F() local 69 uint8_t buf[4] = { 0xee, 0xee, 0xee, 0xee }; in TEST_F() local 98 uint8_t buf[4] = { 0xee, 0xee, 0xee, 0xee }; in TEST_F() local
|
/frameworks/compile/libbcc/bcinfo/include/bcinfo/Wrap/ |
D | BCHeaderField.h | 48 bool Write(uint8_t* buf, size_t buf_len) { in Write() 68 bool Read(const uint8_t* buf, size_t buf_len) { in Read() 89 static size_t GetDataSizeFromSerialized(const uint8_t* buf) { in GetDataSizeFromSerialized() 106 static void WriteFixedSubfield(FixedSubfield value, uint8_t* buf) { in WriteFixedSubfield() 110 static void ReadFixedSubfield(FixedSubfield* value, const uint8_t* buf) { in ReadFixedSubfield()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
D | ResponseData.java | 36 public abstract void format(ByteArrayOutputStream buf); in format() 38 public static void writeLength(ByteArrayOutputStream buf, int length) { in writeLength() 59 public void format(ByteArrayOutputStream buf) { in format() 98 public void format(ByteArrayOutputStream buf) { in format() 182 public void format(ByteArrayOutputStream buf) { in format() 220 public void format(ByteArrayOutputStream buf) { in format()
|
/frameworks/base/cmds/incidentd/src/ |
D | protobuf.cpp | 20 write_raw_varint(uint8_t* buf, uint32_t val) in write_raw_varint() 35 write_length_delimited_tag_header(uint8_t* buf, uint32_t fieldId, size_t size) in write_length_delimited_tag_header()
|
D | Reporter.cpp | 41 write_all(int fd, uint8_t const* buf, size_t size) in write_all() 95 ReportRequestSet::write(uint8_t const* buf, size_t size) in write() 131 char buf[100]; in Reporter() local 196 for (vector<vector<int8_t>>::const_iterator buf=headers.begin(); buf!=headers.end(); in runReport() local
|
D | FdBuffer.cpp | 46 uint8_t* buf = mBuffers[i]; in ~FdBuffer() local 62 uint8_t* buf = NULL; in read() local
|
/frameworks/base/libs/androidfw/ |
D | ZipUtils.cpp | 36 static inline unsigned long get4LE(const unsigned char* buf) { in get4LE() 54 /*static*/ template<typename T> bool inflateToBuffer(T& reader, void* buf, in inflateToBuffer() 216 /*static*/ bool ZipUtils::inflateToBuffer(FILE* fp, void* buf, in inflateToBuffer() 224 /*static*/ bool ZipUtils::inflateToBuffer(int fd, void* buf, in inflateToBuffer() 232 /*static*/ bool ZipUtils::inflateToBuffer(void* in, void* buf, in inflateToBuffer() 316 unsigned char buf[8]; in examineGzip() local
|
/frameworks/av/media/img_utils/src/ |
D | EndianUtils.cpp | 48 status_t EndianOutput::write(const uint8_t* buf, size_t offset, size_t count) { in write() 56 status_t EndianOutput::write(const int8_t* buf, size_t offset, size_t count) { in write() 77 status_t EndianOutput::write(const double* buf, size_t offset, size_t count) { in write()
|
/frameworks/native/libs/vr/libbufferhubqueue/ |
D | buffer_hub_queue_client.cpp | 255 int BufferHubQueue::AddBuffer(const std::shared_ptr<BufferHubBuffer>& buf, in AddBuffer() 287 auto& buf = buffers_[slot]; in DetachBuffer() local 307 void BufferHubQueue::Enqueue(const std::shared_ptr<BufferHubBuffer>& buf, in Enqueue() 333 std::shared_ptr<BufferHubBuffer> buf; in Dequeue() local 432 int ProducerQueue::AddBuffer(const std::shared_ptr<BufferProducer>& buf, in AddBuffer() 474 int ProducerQueue::OnBufferReady(const std::shared_ptr<BufferHubBuffer>& buf, in OnBufferReady() 554 int ConsumerQueue::AddBuffer(const std::shared_ptr<BufferConsumer>& buf, in AddBuffer() 609 int ConsumerQueue::OnBufferReady(const std::shared_ptr<BufferHubBuffer>& buf, in OnBufferReady()
|
/frameworks/base/core/jni/ |
D | android_hardware_SerialPort.cpp | 172 jbyte* buf = (jbyte *)malloc(length); in android_hardware_SerialPort_read_array() local 195 jbyte* buf = (jbyte *)env->GetDirectBufferAddress(buffer); in android_hardware_SerialPort_read_direct() local 211 jbyte* buf = (jbyte *)malloc(length); in android_hardware_SerialPort_write_array() local 229 jbyte* buf = (jbyte *)env->GetDirectBufferAddress(buffer); in android_hardware_SerialPort_write_direct() local
|
D | android_os_SystemProperties.cpp | 35 char buf[PROPERTY_VALUE_MAX]; in SystemProperties_getSS() local 71 char buf[PROPERTY_VALUE_MAX]; in SystemProperties_get_int() local 101 char buf[PROPERTY_VALUE_MAX]; in SystemProperties_get_long() local 131 char buf[PROPERTY_VALUE_MAX]; in SystemProperties_get_boolean() local
|
D | android_server_Watchdog.cpp | 32 char buf[64]; in dumpOneStack() local 56 char buf[128]; in dumpKernelStacks() local
|
/frameworks/base/tools/aapt/ |
D | ZipEntry.cpp | 388 unsigned char buf[kLFHLen]; in read() local 454 unsigned char buf[kLFHLen]; in write() local 522 unsigned char buf[kCDELen]; in read() local 612 unsigned char buf[kCDELen]; in write() local
|
/frameworks/native/libs/ui/ |
D | HdrCapabilities.cpp | 45 int32_t* const buf = static_cast<int32_t*>(buffer); in flatten() local 67 int32_t const * const buf = static_cast<int32_t const *>(buffer); in unflatten() local
|
/frameworks/minikin/libs/minikin/ |
D | Measurement.cpp | 32 static float getRunAdvance(const float* advances, const uint16_t* buf, size_t layoutStart, in getRunAdvance() 72 float getRunAdvance(const float* advances, const uint16_t* buf, size_t start, size_t count, in getRunAdvance() 85 size_t getOffsetForAdvance(const float* advances, const uint16_t* buf, size_t start, size_t count, in getOffsetForAdvance()
|