Home
last modified time | relevance | path

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

12345678910>>...20

/frameworks/libs/binary_translation/base/
Dformat_buffer_test.cc33 char buf[128] = "hello"; in TEST() local
40 char buf[128] = "hello"; in TEST() local
48 char buf[128] = "hello"; in TEST() local
55 char buf[128]; in TEST() local
61 char buf[4]; in TEST() local
67 char buf[128]; in TEST() local
74 char buf[128]; in TEST() local
82 char buf[128]; in TEST() local
88 char buf[128]; in TEST() local
94 char buf[128]; in TEST() local
[all …]
/frameworks/minikin/tests/unittest/
DWordBreakerTests.cpp34 uint16_t buf[] = {'h', 'e', 'l', 'l', 'o', ' ', 'w', 'o', 'r', 'l', 'd'}; in TEST() local
52 uint16_t buf[] = {'h', 'e', 'l', 0x00AD, 'l', 'o', ' ', 'w', 'o', 'r', 'l', 'd'}; in TEST() local
71 uint16_t buf[] = {'s', 'u', 'g', 'a', 'r', '-', 'f', 'r', 'e', 'e'}; in TEST() local
85 uint16_t buf[] = {'U', 'S', 0x00A2, ' ', 'J', 'P', 0x00A5}; // US¢ JP¥ in TEST() local
103 uint16_t buf[] = {0x1004, 0x103A, 0x1039, 0x1000, 0x102C}; // NGA, ASAT, VIRAMA, KA, UU in TEST() local
118 uint16_t buf[] = { in TEST() local
149 uint16_t buf[] = { in TEST() local
170 uint16_t buf[] = { in TEST() local
225 uint16_t buf[BUF_SIZE]; in TEST() local
252 uint16_t buf[BUF_SIZE]; in TEST() local
[all …]
/frameworks/native/opengl/tests/EGLTest/
Degl_cache_test.cpp63 uint8_t buf[4] = { 0xee, 0xee, 0xee, 0xee }; in TEST_P() local
73 uint8_t buf[4] = { 0xee, 0xee, 0xee, 0xee }; in TEST_P() local
84 uint8_t buf[4] = { 0xee, 0xee, 0xee, 0xee }; in TEST_P() local
96 uint8_t buf[4] = { 0xee, 0xee, 0xee, 0xee }; in TEST_P() local
155 uint8_t buf[4] = { 0xee, 0xee, 0xee, 0xee }; in TEST_P() local
197 uint8_t buf[16] = { 0xee, 0xee, 0xee, 0xee, in TEST_P() local
242 uint8_t buf[4] = { 0xee, 0xee, 0xee, 0xee }; in TEST_P() local
285 uint8_t buf[4] = { 0xee, 0xee, 0xee, 0xee }; in TEST_P() local
/frameworks/native/libs/gui/tests/
DSurfaceTextureClient_test.cpp208 ANativeWindowBuffer* buf; in TEST_F() local
218 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
273 ANativeWindowBuffer* buf; in TEST_F() local
292 ANativeWindowBuffer* buf; in TEST_F() local
302 ANativeWindowBuffer* buf[2]; in TEST_F() local
323 ANativeWindowBuffer* buf[2]; in TEST_F() local
350 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(GraphicBuffer::from(anb)); in produceOneRGBA8Frame() local
/frameworks/native/opengl/libs/EGL/
DBlobCache_test.cpp51 unsigned char buf[4] = {0xee, 0xee, 0xee, 0xee}; in TEST_F() local
61 unsigned char buf[2] = {0xee, 0xee}; in TEST_F() local
73 unsigned char buf[6] = {0xee, 0xee, 0xee, 0xee, 0xee, 0xee}; in TEST_F() local
85 unsigned char buf[3] = {0xee, 0xee, 0xee}; in TEST_F() local
99 unsigned char buf[4] = {0xee, 0xee, 0xee, 0xee}; in TEST_F() local
110 unsigned char buf[MAX_VALUE_SIZE + 1] = {0xee, 0xee, 0xee, 0xee}; in TEST_F() local
122 unsigned char buf[4] = {0xee, 0xee, 0xee, 0xee}; in TEST_F() local
135 char buf[MAX_VALUE_SIZE + 1]; in TEST_F() local
158 char buf[bufSize]; in TEST_F() local
173 unsigned char buf[4] = {0xee, 0xee, 0xee, 0xee}; in TEST_F() local
[all …]
DMultifileBlobCache_test.cpp73 unsigned char buf[4] = {0xee, 0xee, 0xee, 0xee}; in TEST_F() local
83 unsigned char buf[2] = {0xee, 0xee}; in TEST_F() local
95 unsigned char buf[2] = {0xee, 0xee}; in TEST_F() local
108 unsigned char buf[6] = {0xee, 0xee, 0xee, 0xee, 0xee, 0xee}; in TEST_F() local
120 unsigned char buf[3] = {0xee, 0xee, 0xee}; in TEST_F() local
134 unsigned char buf[4] = {0xee, 0xee, 0xee, 0xee}; in TEST_F() local
145 unsigned char buf[kMaxValueSize + 1] = {0xee, 0xee, 0xee, 0xee}; in TEST_F() local
157 unsigned char buf[4] = {0xee, 0xee, 0xee, 0xee}; in TEST_F() local
170 char buf[kMaxValueSize + 1]; in TEST_F() local
187 unsigned char buf[4] = {0xee, 0xee, 0xee, 0xee}; in TEST_F() local
[all …]
DFileBlobCache.cpp37 uint32_t crc32c(const uint8_t* buf, size_t len) { in crc32c()
87 uint8_t* buf = reinterpret_cast<uint8_t*>(mmap(nullptr, fileSize, in FileBlobCache() local
156 uint8_t* buf = new uint8_t [fileSize]; in writeToFile() 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/av/media/mtp/tests/MtpFfsHandleTest/
DMtpFfsHandle_test.cpp120 char buf[TEST_PACKET_SIZE + 1]; in TYPED_TEST() local
129 char buf[size + 1]; in TYPED_TEST() local
142 char buf[TEST_PACKET_SIZE + 1]; in TYPED_TEST() local
152 char buf[size + 1]; in TYPED_TEST() local
168 char buf[size + 1]; in TYPED_TEST() local
185 char buf[size + 1]; in TYPED_TEST() local
206 char buf[size + 1]; in TYPED_TEST() local
227 char buf[size + 1]; in TYPED_TEST() local
261 char buf[size + sizeof(mtp_data_header) + 1]; in TYPED_TEST() local
290 char buf[size + sizeof(mtp_data_header) + 1]; in TYPED_TEST() local
[all …]
/frameworks/base/libs/androidfw/
DZipUtils.cpp43 bool ReadAtOffset(uint8_t* buf, size_t len, off64_t offset) const override { in ReadAtOffset()
74 bool ReadAtOffset(uint8_t* buf, size_t len, off64_t offset) const override { in ReadAtOffset()
89 bool ReadAtOffset(uint8_t* buf, size_t len, off64_t offset) const override { in ReadAtOffset()
114 bool Append(uint8_t* buf, size_t bufSize) override { in Append()
130 /*static*/ bool ZipUtils::inflateToBuffer(FILE* fp, void* buf, in inflateToBuffer()
138 /*static*/ bool ZipUtils::inflateToBuffer(int fd, void* buf, in inflateToBuffer()
146 /*static*/ bool ZipUtils::inflateToBuffer(incfs::map_ptr<void> in, void* buf, in inflateToBuffer()
154 static inline unsigned long get4LE(const unsigned char* buf) { in get4LE()
232 unsigned char buf[8]; in examineGzip() local
DPathUtils.cpp25 const char*const buf = str.c_str(); in getPathLeaf() local
89 char* buf = s.lockBuffer(len); in setPathName() local
118 char* buf = str.lockBuffer(len+1+newlen); in appendPath() local
/frameworks/compile/libbcc/bcinfo/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.java44 public abstract void format(ByteArrayOutputStream buf); in format()
46 public static void writeLength(ByteArrayOutputStream buf, int length) { in writeLength()
67 public void format(ByteArrayOutputStream buf) { in format()
106 public void format(ByteArrayOutputStream buf) { in format()
190 public void format(ByteArrayOutputStream buf) { in format()
228 public void format(ByteArrayOutputStream buf) { in format()
/frameworks/libs/binary_translation/guest_os_primitives/riscv64/
Dguest_setjmp.cc63 uint64_t CalcJumpBufChecksum(const uint64_t* buf) { in CalcJumpBufChecksum()
74 uint64_t* buf = reinterpret_cast<uint64_t*>(guest_jmp_buf); in SaveRegsToJumpBuf() local
109 const uint64_t* buf = reinterpret_cast<const uint64_t*>(guest_jmp_buf); in RestoreRegsFromJumpBuf() local
151 uint64_t* buf = reinterpret_cast<uint64_t*>(guest_jmp_buf); in GetHostJmpBufPtr() local
/frameworks/native/services/surfaceflinger/
DClientCache.cpp57 ClientCacheBuffer& buf = bufItr->second; in getBuffer() local
127 ClientCacheBuffer* buf = nullptr; in erase() local
154 ClientCacheBuffer* buf = nullptr; in get() local
167 ClientCacheBuffer* buf = nullptr; in registerErasedRecipient() local
180 ClientCacheBuffer* buf = nullptr; in unregisterErasedRecipient() local
/frameworks/av/services/camera/libcameraservice/tests/
DNV12Compressor.h105 static bool checkStartOfFrame(uint8_t* buf) { in checkStartOfFrame()
110 static bool checkJpegStart(uint8_t* buf) { in checkJpegStart()
115 static bool checkJpegEnd(uint8_t *buf) { in checkJpegEnd()
121 static uint8_t checkJpegMarker(uint8_t *buf) { in checkJpegMarker()
/frameworks/av/media/mtp/tests/PosixAsyncIOTest/
DPosixAsyncIO_test.cpp51 char buf[TEST_PACKET_SIZE + 1]; in TEST_F() local
68 char buf[TEST_PACKET_SIZE + 1]; in TEST_F() local
85 char buf[TEST_PACKET_SIZE + 1]; in TEST_F() local
/frameworks/libs/native_bridge_support/android_api/libEGL/proxy/
Degl_trampolines.cc57 void RunGuest_glDebugMessageCallback(GuestAddr pc, GuestArgumentBuffer* buf) { in RunGuest_glDebugMessageCallback()
72 void RunGuest_glGetPointerv(GuestAddr pc, GuestArgumentBuffer* buf) { in RunGuest_glGetPointerv()
175 void RunGuest_eglGetProcAddress(GuestAddr pc, GuestArgumentBuffer* buf) { in RunGuest_eglGetProcAddress()
233 void RunGuestAndroidGLESLayer_Initialize(GuestAddr pc, GuestArgumentBuffer* buf) { in RunGuestAndroidGLESLayer_Initialize()
243 void RunGuestAndroidGLESLayer_GetProcAddress(GuestAddr pc, GuestArgumentBuffer* buf) { in RunGuestAndroidGLESLayer_GetProcAddress()
/frameworks/libs/binary_translation/code_gen_lib/
Dcode_gen_lib_riscv64_test.cc127 void DummyRunner2(GuestAddr pc, GuestArgumentBuffer* buf) { in DummyRunner2()
150 void Run10UInt8(GuestAddr pc, GuestArgumentBuffer* buf) { in Run10UInt8()
183 void Run10Int8(GuestAddr pc, GuestArgumentBuffer* buf) { in Run10Int8()
216 void Run10UInt16(GuestAddr pc, GuestArgumentBuffer* buf) { in Run10UInt16()
257 void Run10Int16(GuestAddr pc, GuestArgumentBuffer* buf) { in Run10Int16()
290 void Run10Int(GuestAddr pc, GuestArgumentBuffer* buf) { in Run10Int()
322 void Run18Fp(GuestAddr pc, GuestArgumentBuffer* buf) { in Run18Fp()
/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/java/android/ddm/
DDdmHandle.java33 public static String getString(ByteBuffer buf, int len) { in getString()
44 public static void putString(ByteBuffer buf, String str) { in putString()
/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
/frameworks/libs/binary_translation/kernel_api/
Dunistd_emulation.cc28 ssize_t ReadLinkAtForGuest(int dirfd, const char* path, char* buf, size_t buf_size) { in ReadLinkAtForGuest()
45 ssize_t ReadLinkForGuest(const char* path, char* buf, size_t buf_size) { in ReadLinkForGuest()
/frameworks/base/tools/aapt/
DZipEntry.cpp377 unsigned char buf[kLFHLen]; in read() local
443 unsigned char buf[kLFHLen]; in write() local
511 unsigned char buf[kCDELen]; in read() local
601 unsigned char buf[kCDELen]; in write() local

12345678910>>...20