Home
last modified time | relevance | path

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

1234567891011

/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/av/media/libstagefright/webm/
DWebmElement.cpp83 int WebmElement::serializePayloadSize(uint8_t *buf) { in serializePayloadSize()
87 uint64_t WebmElement::serializeInto(uint8_t *buf) { in serializeInto()
99 uint8_t buf[8]; in totalSize() local
106 uint8_t *buf = new uint8_t[size]; in serialize() local
112 uint8_t buf[8]; in write() local
139 void WebmUnsigned::serializePayload(uint8_t *buf) { in serializePayload()
153 void WebmFloat::serializePayload(uint8_t *buf) { in serializePayload()
173 void WebmBinary::serializePayload(uint8_t *buf) { in serializePayload()
183 void WebmString::serializePayload(uint8_t *buf) { in serializePayload()
204 void WebmSimpleBlock::serializePayload(uint8_t *buf) { in serializePayload()
[all …]
/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/native/libs/gui/tests/
DSurfaceTextureClient_test.cpp219 ANativeWindowBuffer* buf; in TEST_F() local
228 ANativeWindowBuffer* buf; in TEST_F() local
238 ANativeWindowBuffer* buf; in TEST_F() local
248 ANativeWindowBuffer* buf; in TEST_F() local
258 ANativeWindowBuffer* buf; in TEST_F() local
274 ANativeWindowBuffer* buf; in TEST_F() local
291 ANativeWindowBuffer* buf; in TEST_F() local
301 ANativeWindowBuffer* buf[2]; in TEST_F() local
321 ANativeWindowBuffer* buf[2]; in TEST_F() local
346 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
DCpuConsumer_test.cpp165 void checkPixel(const CpuConsumer::LockedBuffer &buf, in checkPixel()
225 void fillGreyscaleBuffer(T* buf, int w, int h, int stride, int bpp) { in fillGreyscaleBuffer()
254 void fillRgba8888Buffer(uint8_t* buf, int w, int h, int stride) in fillRgba8888Buffer()
281 void fillBayerRawBuffer(uint8_t* buf, int w, int h, int stride) { in fillBayerRawBuffer()
307 void checkGreyscaleBuffer(const CpuConsumer::LockedBuffer &buf) { in checkGreyscaleBuffer()
346 void checkRgba8888Buffer(const CpuConsumer::LockedBuffer &buf) { in checkRgba8888Buffer()
389 void checkBayerRawBuffer(const CpuConsumer::LockedBuffer &buf) { in checkBayerRawBuffer()
430 void checkAnyBuffer(const CpuConsumer::LockedBuffer &buf, int format) { in checkAnyBuffer()
495 sp<GraphicBuffer> buf(new GraphicBuffer(anb, false)); in produceOneFrame() 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 char buf[4] = { 0xee, 0xee, 0xee, 0xee }; in TEST_F() local
54 char buf[4] = { 0xee, 0xee, 0xee, 0xee }; in TEST_F() local
65 char buf[4] = { 0xee, 0xee, 0xee, 0xee }; in TEST_F() local
97 char 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()
171 public void format(ByteArrayOutputStream buf) { in format()
209 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.cpp69 char buf[64]; in getAssetAllocations() local
436 ssize_t _FileAsset::read(void* buf, size_t count) in read()
573 unsigned char* buf; in getBuffer() local
659 unsigned char* buf = new unsigned char[mLength]; in ensureAlignment() local
760 ssize_t _CompressedAsset::read(void* buf, size_t count) in read()
848 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/tools/aapt/
DZipEntry.cpp405 unsigned char buf[kLFHLen]; in read() local
471 unsigned char buf[kLFHLen]; in write() local
539 unsigned char buf[kCDELen]; in read() local
629 unsigned char buf[kCDELen]; in write() local
/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/minikin/libs/minikin/
DGraphemeBreak.cpp25 bool GraphemeBreak::isGraphemeBreak(const uint16_t* buf, size_t start, size_t count, in isGraphemeBreak()
100 size_t GraphemeBreak::getTextRunCursor(const uint16_t* buf, size_t start, size_t count, in getTextRunCursor()
/frameworks/base/services/core/jni/
Dcom_android_server_am_BatteryStatsService.cpp56 char buf[80]; in wakeup_callback() local
78 char buf[80]; in nativeWaitWakeup() local
93 char buf[80]; in nativeWaitWakeup() local
/frameworks/rs/
DrsGrallocConsumer.cpp84 int buf = b.mBuf; in lockNextBuffer() local
177 int buf = mAcquiredBuffer.mSlot; in releaseAcquiredBufferLocked() local
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiParser.java88 ByteBuffer buf = ByteBuffer.wrap(ie.data); in parse_akm() local
199 ByteBuffer buf = ByteBuffer.wrap(ie.data); in parse_akm() local
/frameworks/rs/cpu_ref/
DrsCpuIntrinsicColorMatrix.cpp400 static uint8_t * addVMLAL_S16(uint8_t *buf, uint32_t dest_q, uint32_t src_d1, uint32_t src_d2, uint… in addVMLAL_S16()
407 static uint8_t * addVMULL_S16(uint8_t *buf, uint32_t dest_q, uint32_t src_d1, uint32_t src_d2, uint… in addVMULL_S16()
414 static uint8_t * addVQADD_S32(uint8_t *buf, uint32_t dest_q, uint32_t src_q1, uint32_t src_q2) { in addVQADD_S32()
421 static uint8_t * addVMLAL_F32(uint8_t *buf, uint32_t dest_q, uint32_t src_d1, uint32_t src_d2, uint… in addVMLAL_F32()
428 static uint8_t * addVMULL_F32(uint8_t *buf, uint32_t dest_q, uint32_t src_d1, uint32_t src_d2, uint… in addVMULL_F32()
435 static uint8_t * addVORR_32(uint8_t *buf, uint32_t dest_q, uint32_t src_q1, uint32_t src_q2) { in addVORR_32()
442 static uint8_t * addVMOV_32(uint8_t *buf, uint32_t dest_q, uint32_t imm) { in addVMOV_32()
450 static uint8_t * addVADD_F32(uint8_t *buf, uint32_t dest_q, uint32_t src_q1, uint32_t src_q2) { in addVADD_F32()
495 uint8_t *buf = mBuf; in build() local
/frameworks/base/tests/touchlag/
Dtouchlag.cpp50 void clearBuffer(Buffer* buf, uint32_t pixel) { in clearBuffer() argument
54 void drawTwoPixels(Buffer* buf, uint32_t pixel, ssize_t x, ssize_t y, size_t w) { in drawTwoPixels()
67 void drawHLine(Buffer* buf, uint32_t pixel, ssize_t x, ssize_t y, size_t w) { in drawHLine()
84 void drawRect(Buffer* buf, uint32_t pixel, ssize_t x, ssize_t y, size_t w, size_t h) { in drawRect()
105 void drawCircle(Buffer* buf, uint32_t pixel, in drawCircle()
/frameworks/base/core/java/android/net/dhcp/
DDhcpPacket.java248 InetAddress srcIp, short destUdp, short srcUdp, ByteBuffer buf, in fillInPacket()
373 private int checksum(ByteBuffer buf, int seed, int start, int end) { in checksum()
415 protected void addTlv(ByteBuffer buf, byte type, byte value) { in addTlv()
424 protected void addTlv(ByteBuffer buf, byte type, byte[] payload) { in addTlv()
435 protected void addTlv(ByteBuffer buf, byte type, InetAddress addr) { in addTlv()
444 protected void addTlv(ByteBuffer buf, byte type, List<InetAddress> addrs) { in addTlv()
458 protected void addTlv(ByteBuffer buf, byte type, Integer value) { in addTlv()
469 protected void addTlv(ByteBuffer buf, byte type, String str) { in addTlv()
483 protected void addTlvEnd(ByteBuffer buf) { in addTlvEnd()
537 private static String readAsciiString(ByteBuffer buf, int byteCount) { in readAsciiString()
/frameworks/rs/tests/cppbasic/
Dcompute.cpp59 uint32_t *buf = new uint32_t[t->getCount()]; in test_compute() local
88 int *buf = new int[t->getCount()]; in test_compute() local
/frameworks/rs/tests/cppbasic-shared/
Dcompute.cpp59 uint32_t *buf = new uint32_t[t->getCount()]; in test_compute() local
88 int *buf = new int[t->getCount()]; in test_compute() local

1234567891011