Home
last modified time | relevance | path

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

123456789

/frameworks/native/libs/utils/
DTextOutput.cpp46 char buf[16]; in operator <<() local
54 char buf[16]; in operator <<() local
62 char buf[16]; in operator <<() local
70 char buf[16]; in operator <<() local
78 char buf[32]; in operator <<() local
86 char buf[32]; in operator <<() local
94 char buf[64]; in print_float() local
116 char buf[16]; in operator <<() local
133 HexDump::HexDump(const void *buf, size_t size, size_t bytesPerLine) in HexDump()
DString16.cpp46 SharedBuffer* buf = SharedBuffer::alloc(sizeof(char16_t)); in initialize_string16() local
75 SharedBuffer* buf = SharedBuffer::alloc(sizeof(char16_t)*(u16len+1)); in allocFromUTF8() local
114 SharedBuffer* buf = SharedBuffer::alloc((len+1)*sizeof(char16_t)); in String16() local
128 SharedBuffer* buf = SharedBuffer::alloc((len+1)*sizeof(char16_t)); in String16() local
196 SharedBuffer* buf = SharedBuffer::bufferFromData(mString) in setTo() local
219 SharedBuffer* buf = SharedBuffer::bufferFromData(mString) in append() local
240 SharedBuffer* buf = SharedBuffer::bufferFromData(mString) in append() local
275 SharedBuffer* buf = SharedBuffer::bufferFromData(mString) in insert() local
344 SharedBuffer* buf = SharedBuffer::bufferFromData(mString)->edit(); in makeLower() local
365 SharedBuffer* buf = SharedBuffer::bufferFromData(mString)->edit(); in replaceAll() local
[all …]
DString8.cpp63 SharedBuffer* buf = SharedBuffer::alloc(1); in initialize_string8() local
82 SharedBuffer* buf = SharedBuffer::alloc(len+1); in allocFromUTF8() local
105 SharedBuffer* buf = SharedBuffer::alloc(bytes+1); in allocFromUTF16() local
127 SharedBuffer* buf = SharedBuffer::alloc(bytes+1); in allocFromUTF32() local
318 char* buf = lockBuffer(oldLength + n); in appendFormatV() local
332 SharedBuffer* buf = SharedBuffer::bufferFromData(mString) in real_append() local
347 SharedBuffer* buf = SharedBuffer::bufferFromData(mString) in lockBuffer() local
365 SharedBuffer* buf = SharedBuffer::bufferFromData(mString) in unlockBuffer() local
404 char* buf = lockBuffer(len); in toLower() local
428 char* buf = lockBuffer(len); in toUpper() local
[all …]
DZipUtils.cpp42 /*static*/ bool ZipUtils::inflateToBuffer(int fd, void* buf, in inflateToBuffer()
154 /*static*/ bool ZipUtils::inflateToBuffer(FILE* fp, void* buf, in inflateToBuffer()
329 unsigned char buf[8]; in examineGzip() local
/frameworks/native/libs/utils/tests/
DBlobCache_test.cpp47 char buf[4] = { 0xee, 0xee, 0xee, 0xee }; in TEST_F() local
57 char buf[2] = { 0xee, 0xee }; in TEST_F() local
69 char buf[6] = { 0xee, 0xee, 0xee, 0xee, 0xee, 0xee }; in TEST_F() local
81 char buf[3] = { 0xee, 0xee, 0xee }; in TEST_F() local
95 char buf[4] = { 0xee, 0xee, 0xee, 0xee }; in TEST_F() local
106 char buf[MAX_VALUE_SIZE+1] = { 0xee, 0xee, 0xee, 0xee }; in TEST_F() local
118 char buf[4] = { 0xee, 0xee, 0xee, 0xee }; in TEST_F() local
131 char buf[MAX_VALUE_SIZE+1]; in TEST_F() local
154 char buf[bufSize]; in TEST_F() local
168 char buf[4] = { 0xee, 0xee, 0xee, 0xee }; in TEST_F() local
[all …]
/frameworks/native/libs/gui/tests/
DSurfaceTextureClient_test.cpp182 ANativeWindowBuffer* buf; in TEST_F() local
191 ANativeWindowBuffer* buf; in TEST_F() local
201 ANativeWindowBuffer* buf; in TEST_F() local
211 ANativeWindowBuffer* buf; in TEST_F() local
221 ANativeWindowBuffer* buf; in TEST_F() local
237 ANativeWindowBuffer* buf; in TEST_F() local
254 ANativeWindowBuffer* buf; in TEST_F() local
264 ANativeWindowBuffer* buf[2]; in TEST_F() local
284 ANativeWindowBuffer* buf[2]; in TEST_F() local
309 android_native_buffer_t* buf[3]; in TEST_F() local
[all …]
/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/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/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()
DCatService.java356 ByteArrayOutputStream buf = new ByteArrayOutputStream(); in sendTerminalResponse() local
416 ResultCode resultCode, Input cmdInput, ByteArrayOutputStream buf) { in encodeOptionalTags()
444 private void getInKeyResponse(ByteArrayOutputStream buf, Input cmdInput) { in getInKeyResponse()
453 private void getPliResponse(ByteArrayOutputStream buf) { in getPliResponse()
469 ByteArrayOutputStream buf = new ByteArrayOutputStream(); in sendMenuSelection() local
512 ByteArrayOutputStream buf = new ByteArrayOutputStream(); in eventDownload() local
/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_server_Watchdog.cpp32 char buf[64]; in dumpOneStack() local
56 char buf[128]; in dumpKernelStacks() 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
/frameworks/native/libs/gui/
DISurfaceTexture.cpp54 virtual status_t requestBuffer(int bufferIdx, sp<GraphicBuffer>* buf) { in requestBuffer()
84 virtual status_t dequeueBuffer(int *buf, sp<Fence>& fence, in dequeueBuffer()
107 virtual status_t queueBuffer(int buf, in queueBuffer()
122 virtual void cancelBuffer(int buf, sp<Fence> fence) { in cancelBuffer()
218 int buf; in onTransact() local
232 int buf = data.readInt32(); in onTransact() local
243 int buf = data.readInt32(); in onTransact() local
/frameworks/compile/linkloader/include/
DELFSectionStrTab.h32 std::vector<char> buf; variable
/frameworks/native/include/utils/
DTrace.h104 char buf[1024]; in traceCounter() local
112 char buf[1024]; in traceBegin() local
120 char buf = 'E'; in traceEnd() local
DZipFileRO.h195 static inline unsigned short get2LE(const unsigned char* buf) { in get2LE()
198 static inline unsigned long get4LE(const unsigned char* buf) { in get4LE()
/frameworks/base/services/jni/
Dcom_android_server_BatteryService.cpp136 static int readFromFile(const char* path, char* buf, size_t size) in readFromFile()
162 char buf[SIZE]; in setBooleanField() local
176 char buf[SIZE]; in setIntField() local
188 char buf[SIZE]; in setVoltageField() local
211 char buf[SIZE]; in android_server_BatteryService_update() local
248 char buf[20]; in register_android_server_BatteryService() local
/frameworks/base/libs/androidfw/
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/compile/linkloader/android/
Dlibrsloader.cpp39 extern "C" RSExecRef rsloaderCreateExec(unsigned char const *buf, in rsloaderCreateExec()
56 extern "C" RSExecRef rsloaderLoadExecutable(unsigned char const *buf, in rsloaderLoadExecutable()
79 unsigned char *buf) { in rsloaderUpdateSectionHeaders()
/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/support/renderscript/v8/rs_support/
DrsThreadIO.cpp81 uint32_t buf; in coreSetReturn() local
91 uint32_t buf; in coreGetReturn() local
108 uint8_t buf[2 * 1024]; in playCoreCommands() local
/frameworks/rs/
DrsThreadIO.cpp81 uint32_t buf; in coreSetReturn() local
91 uint32_t buf; in coreGetReturn() local
108 uint8_t buf[2 * 1024]; in playCoreCommands() local
/frameworks/base/core/java/android/net/dhcp/
DDhcpPacket.java251 InetAddress srcIp, short destUdp, short srcUdp, ByteBuffer buf, in fillInPacket()
376 private int checksum(ByteBuffer buf, int seed, int start, int end) { in checksum()
418 protected void addTlv(ByteBuffer buf, byte type, byte value) { in addTlv()
427 protected void addTlv(ByteBuffer buf, byte type, byte[] payload) { in addTlv()
438 protected void addTlv(ByteBuffer buf, byte type, InetAddress addr) { in addTlv()
447 protected void addTlv(ByteBuffer buf, byte type, List<InetAddress> addrs) { in addTlv()
461 protected void addTlv(ByteBuffer buf, byte type, Integer value) { in addTlv()
472 protected void addTlv(ByteBuffer buf, byte type, String str) { in addTlv()
486 protected void addTlvEnd(ByteBuffer buf) { in addTlvEnd()
540 private static String readAsciiString(ByteBuffer buf, int byteCount) { in readAsciiString()

123456789