| /frameworks/minikin/tests/ |
| D | WordBreakerTests.cpp | 39 uint16_t buf[] = {'h', 'e', 'l', 'l' ,'o', ' ', 'w', 'o', 'r', 'l', 'd'}; in TEST_F() local 57 uint16_t buf[] = {'h', 'e', 'l', 0x00AD, 'l' ,'o', ' ', 'w', 'o', 'r', 'l', 'd'}; in TEST_F() local 73 uint16_t buf[] = {'U', 'S', 0x00A2, ' ', 'J', 'P', 0x00A5}; // US¢ JP¥ in TEST_F() local 89 uint16_t buf[] = {0x1004, 0x103A, 0x1039, 0x1000, 0x102C}; // NGA, ASAT, VIRAMA, KA, UU in TEST_F() local 102 uint16_t buf[] = { in TEST_F() local 131 uint16_t buf[] = { in TEST_F() local 148 uint16_t buf[] = {0x00A1, 0x00A1, 'h', 'e', 'l', 'l' ,'o', ',', ' ', 'w', 'o', 'r', 'l', 'd', in TEST_F() local 165 uint16_t buf[] = {'f', 'o', 'o', '@', 'e', 'x', 'a', 'm', 'p', 'l', 'e', '.', 'c', 'o', 'm', in TEST_F() local 184 uint16_t buf[] = {'m', 'a', 'i', 'l', 't', 'o', ':', 'f', 'o', 'o', '@', in TEST_F() local 208 uint16_t buf[] = {'f', 'o', 'o', '@', 'e', 'x', 'a', 'm', 'p', 'l', 'e', '.', 'c', 'o', 'm', in TEST_F() local [all …]
|
| D | UnicodeUtils.cpp | 23 void ParseUnicode(uint16_t* buf, size_t buf_size, const char* src, size_t* result_size, in ParseUnicode() 86 uint16_t buf[BUF_SIZE]; in TEST() local
|
| D | LayoutUtilsTest.cpp | 26 uint16_t buf[BUF_SIZE]; in ExpectNextWordBreakForCache() local 38 uint16_t buf[BUF_SIZE]; in ExpectPrevWordBreakForCache() local
|
| /frameworks/native/libs/binder/ |
| D | TextOutput.cpp | 49 char buf[16]; in operator <<() local 57 char buf[16]; in operator <<() local 65 char buf[16]; in operator <<() local 73 char buf[16]; in operator <<() local 81 char buf[32]; in operator <<() local 89 char buf[32]; in operator <<() local 97 char buf[64]; in print_float() local 119 char buf[32]; in operator <<() local 148 HexDump::HexDump(const void *buf, size_t size, size_t bytesPerLine) in HexDump()
|
| /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/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 | 220 ANativeWindowBuffer* buf; in TEST_F() local 230 ANativeWindowBuffer* buf; in TEST_F() local 242 ANativeWindowBuffer* buf; in TEST_F() local 254 ANativeWindowBuffer* buf; in TEST_F() local 266 ANativeWindowBuffer* buf; in TEST_F() local 285 ANativeWindowBuffer* buf; in TEST_F() local 304 ANativeWindowBuffer* buf; in TEST_F() local 314 ANativeWindowBuffer* buf[2]; in TEST_F() local 335 ANativeWindowBuffer* buf[2]; in TEST_F() local 362 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(new GraphicBuffer(anb, false)); in produceOneRGBA8Frame() local
|
| /frameworks/compile/libbcc/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/native/opengl/tests/EGLTest/ |
| D | egl_cache_test.cpp | 44 uint8_t buf[4] = { 0xee, 0xee, 0xee, 0xee }; in TEST_F() local 54 uint8_t buf[4] = { 0xee, 0xee, 0xee, 0xee }; in TEST_F() local 65 uint8_t buf[4] = { 0xee, 0xee, 0xee, 0xee }; in TEST_F() local 97 uint8_t buf[4] = { 0xee, 0xee, 0xee, 0xee }; in TEST_F() local
|
| /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/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
|
| D | Asset.cpp | 112 char buf[64]; in getAssetAllocations() local 455 ssize_t _FileAsset::read(void* buf, size_t count) in read() 592 unsigned char* buf; in getBuffer() local 678 unsigned char* buf = new unsigned char[mLength]; in ensureAlignment() local 780 ssize_t _CompressedAsset::read(void* buf, size_t count) in read() 868 unsigned char* buf = NULL; in getBuffer() 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/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 | 387 unsigned char buf[kLFHLen]; in read() local 453 unsigned char buf[kLFHLen]; in write() local 521 unsigned char buf[kCDELen]; in read() local 611 unsigned char buf[kCDELen]; in write() local
|
| /frameworks/base/services/core/jni/ |
| D | com_android_server_am_ActivityManagerService.cpp | 67 char buf[17]; in migrateToBoost() local 112 char buf[17]; in migrateFromBoost() local
|
| D | com_android_server_am_BatteryStatsService.cpp | 59 char buf[80]; in wakeup_callback() local 78 char buf[80]; in nativeWaitWakeup() local 92 char buf[80]; in nativeWaitWakeup() local
|
| /frameworks/minikin/libs/minikin/ |
| D | Measurement.cpp | 31 static float getRunAdvance(const float* advances, const uint16_t* buf, size_t layoutStart, in getRunAdvance() 70 float getRunAdvance(const float* advances, const uint16_t* buf, size_t start, size_t count, in getRunAdvance() 83 size_t getOffsetForAdvance(const float* advances, const uint16_t* buf, size_t start, size_t count, in getOffsetForAdvance()
|
| D | GraphemeBreak.cpp | 69 bool GraphemeBreak::isGraphemeBreak(const uint16_t* buf, size_t start, size_t count, in isGraphemeBreak() 180 size_t GraphemeBreak::getTextRunCursor(const uint16_t* buf, size_t start, size_t count, in getTextRunCursor()
|
| /frameworks/rs/cpu_ref/ |
| D | rsCpuIntrinsicColorMatrix.cpp | 397 static uint8_t * addVMLAL_S16(uint8_t *buf, uint32_t dest_q, uint32_t src_d1, uint32_t src_d2, uint… in addVMLAL_S16() 404 static uint8_t * addVMULL_S16(uint8_t *buf, uint32_t dest_q, uint32_t src_d1, uint32_t src_d2, uint… in addVMULL_S16() 411 static uint8_t * addVQADD_S32(uint8_t *buf, uint32_t dest_q, uint32_t src_q1, uint32_t src_q2) { in addVQADD_S32() 418 static uint8_t * addVMLAL_F32(uint8_t *buf, uint32_t dest_q, uint32_t src_d1, uint32_t src_d2, uint… in addVMLAL_F32() 425 static uint8_t * addVMULL_F32(uint8_t *buf, uint32_t dest_q, uint32_t src_d1, uint32_t src_d2, uint… in addVMULL_F32() 432 static uint8_t * addVORR_32(uint8_t *buf, uint32_t dest_q, uint32_t src_q1, uint32_t src_q2) { in addVORR_32() 439 static uint8_t * addVMOV_32(uint8_t *buf, uint32_t dest_q, uint32_t imm) { in addVMOV_32() 447 static uint8_t * addVADD_F32(uint8_t *buf, uint32_t dest_q, uint32_t src_q1, uint32_t src_q2) { in addVADD_F32() 492 uint8_t *buf = mBuf; in build() local
|
| /frameworks/base/services/net/java/android/net/dhcp/ |
| D | DhcpPacket.java | 356 Inet4Address srcIp, short destUdp, short srcUdp, ByteBuffer buf, in fillInPacket() 483 private int checksum(ByteBuffer buf, int seed, int start, int end) { in checksum() 525 protected static void addTlv(ByteBuffer buf, byte type, byte value) { in addTlv() 534 protected static void addTlv(ByteBuffer buf, byte type, byte[] payload) { in addTlv() 549 protected static void addTlv(ByteBuffer buf, byte type, Inet4Address addr) { in addTlv() 558 protected static void addTlv(ByteBuffer buf, byte type, List<Inet4Address> addrs) { in addTlv() 578 protected static void addTlv(ByteBuffer buf, byte type, Short value) { in addTlv() 589 protected static void addTlv(ByteBuffer buf, byte type, Integer value) { in addTlv() 600 protected static void addTlv(ByteBuffer buf, byte type, String str) { in addTlv() 611 protected static void addTlvEnd(ByteBuffer buf) { in addTlvEnd() [all …]
|