Home
last modified time | relevance | path

Searched defs:buf (Results 1 – 25 of 318) sorted by relevance

12345678910>>...13

/frameworks/minikin/tests/
DWordBreakerTests.cpp39 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 …]
DUnicodeUtils.cpp23 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
DLayoutUtilsTest.cpp26 uint16_t buf[BUF_SIZE]; in ExpectNextWordBreakForCache() local
38 uint16_t buf[BUF_SIZE]; in ExpectPrevWordBreakForCache() local
/frameworks/native/libs/binder/
DTextOutput.cpp49 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/
DIpUtils.java46 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/
DIntegralToString.java379 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/
DWebmElement.cpp85 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/
DSurfaceTextureClient_test.cpp220 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 …]
DFillBuffer.cpp25 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/
DBCHeaderField.h48 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/
Degl_cache_test.cpp44 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/
DResponseData.java36 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/
DZipUtils.cpp36 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
DAsset.cpp112 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/
DEndianUtils.cpp48 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/
Dandroid_hardware_SerialPort.cpp172 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
Dandroid_os_SystemProperties.cpp35 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
Dandroid_server_Watchdog.cpp32 char buf[64]; in dumpOneStack() local
56 char buf[128]; in dumpKernelStacks() local
/frameworks/base/tools/aapt/
DZipEntry.cpp387 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/
Dcom_android_server_am_ActivityManagerService.cpp67 char buf[17]; in migrateToBoost() local
112 char buf[17]; in migrateFromBoost() local
Dcom_android_server_am_BatteryStatsService.cpp59 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/
DMeasurement.cpp31 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()
DGraphemeBreak.cpp69 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/
DrsCpuIntrinsicColorMatrix.cpp397 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/
DDhcpPacket.java356 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 …]

12345678910>>...13