Searched defs:buf (Results 1 - 25 of 31) sorted by relevance

12

/sdk/emulator/opengl/host/libs/libOpenglRender/
H A DReadBuffer.h26 unsigned char *buf() { return m_readPtr; } // return the next read location function in class:ReadBuffer
/sdk/emulator/opengl/tests/ut_renderer/
H A DReadBuffer.h26 unsigned char *buf() { return m_readPtr; } // return the next read location function in class:ReadBuffer
/sdk/emulator/opengl/shared/OpenglCodecCommon/
H A DSocketStream.cpp113 const unsigned char *SocketStream::readFully(void *buf, size_t len) argument
117 if (!buf) {
118 return NULL; // do not allow NULL buf in that implementation
122 ssize_t stat = ::recv(m_sock, (char *)(buf) + len - res, res, 0);
131 return (const unsigned char *)buf;
134 const unsigned char *SocketStream::read( void *buf, size_t *inout_len) argument
137 if (!buf) {
138 return NULL; // do not allow NULL buf in that implementation
143 n = recv(buf, *inout_len);
148 return (const unsigned char *)buf;
154 recv(void *buf, size_t len) argument
[all...]
H A DWin32PipeStream.cpp194 const unsigned char *Win32PipeStream::readFully(void *buf, size_t len) argument
201 if (!buf) {
202 return NULL; // do not allow NULL buf in that implementation
208 if (! ::ReadFile(m_pipe, (char *)buf + (len - res), res, &readcount, NULL) || readcount == 0) {
214 return (const unsigned char *)buf;
217 const unsigned char *Win32PipeStream::read( void *buf, size_t *inout_len) argument
225 if (!buf) {
226 return NULL; // do not allow NULL buf in that implementation
229 if (!::ReadFile(m_pipe, (char *)buf, len, &readcount, NULL)) {
235 return (const unsigned char *)buf;
[all...]
H A DGLSharedGroup.cpp252 BufferData * buf = m_buffers.valueFor(bufferId); local
253 if ((!buf) || (buf->m_size < offset+size) || (offset < 0) || (size<0)) return GL_INVALID_VALUE;
256 memcpy((char*)buf->m_fixedBuffer.ptr() + offset, data, size);
/sdk/ddms/libs/ddmlib/src/com/android/ddmlib/
H A DChunkHandler.java97 static String getString(ByteBuffer buf, int len) { argument
100 data[i] = buf.getChar();
107 static void putString(ByteBuffer buf, String str) { argument
110 buf.putChar(str.charAt(i));
154 ByteBuffer buf =
156 buf.order(CHUNK_ORDER);
157 return buf;
183 ByteBuffer buf = packet.getPayload();
185 buf.putInt(0x00, type);
186 buf
[all...]
H A DRawImage.java45 * @param buf the buffer to read from.
48 public boolean readHeader(int version, ByteBuffer buf) { argument
56 this.size = buf.getInt();
57 this.width = buf.getInt();
58 this.height = buf.getInt();
70 this.bpp = buf.getInt();
71 this.size = buf.getInt();
72 this.width = buf.getInt();
73 this.height = buf.getInt();
74 this.red_offset = buf
[all...]
H A DJdwpPacket.java68 * Create a new, empty packet, in "buf".
70 JdwpPacket(ByteBuffer buf) { argument
71 mBuffer = buf;
131 ByteBuffer buf;
135 buf = mBuffer.slice(); // goes from position to limit
139 buf.limit(mLength - JDWP_HEADER_LEN);
142 buf.order(ChunkHandler.CHUNK_ORDER);
143 return buf;
227 * buf at the current position.
229 void movePacket(ByteBuffer buf) { argument
285 findPacket(ByteBuffer buf) argument
335 findHandshake(ByteBuffer buf) argument
355 consumeHandshake(ByteBuffer buf) argument
367 putHandshake(ByteBuffer buf) argument
[all...]
/sdk/emulator/opengl/host/libs/Translator/GLcommon/
H A DGLESpointer.cpp95 void GLESpointer::setBuffer(GLint size,GLenum type,GLsizei stride,GLESbuffer* buf,GLuint bufferName,int offset,bool normalize) { argument
100 m_buffer = buf;
/sdk/emulator/qtools/
H A Dread_trace.cpp64 char buf[1024]; local
117 sprintf(buf, "%s+%02x: %s", vm_name, offset, sym->name);
119 sprintf(buf, "%s+%02x", sym->name, offset);
142 sim_time, event.pid, addr, insn, insn2, buf, disasm);
145 sim_time, event.pid, addr, insn, buf, disasm);
151 sim_time, event.pid, addr, insn, buf, disasm);
H A Dthumbdis.cpp271 static char buf[80]; local
277 result = buf;
H A Darmdis.cpp41 static char buf[80]; local
44 ptr = result ? result : buf;
H A Dtrace_reader.cpp847 char buf[kBufSize]; local
885 while (fgets(buf, kBufSize, fstream)) {
886 if (buf[0] != '#')
889 match = strstr(buf + 1, mmap_dexfile);
892 // We add one to the length of the mmap_dexfile because buf[]
901 while (fgets(buf, kBufSize, fstream)) {
902 if (buf[0] == '#')
915 int prefix_len = match - buf;
937 while (fgets(buf, kBufSize, fstream)) {
939 if (buf[
[all...]
/sdk/emulator/opengl/host/tools/emugen/
H A DApiGen.cpp706 fprintf(fp, "\tsize_t decode(void *buf, size_t bufsize, IOStream *stream);\n");
768 fprintf(fp, "size_t %s::decode(void *buf, size_t len, IOStream *stream)\n{\n", classname.c_str());
773 \tunsigned char *ptr = (unsigned char *)buf;\n\
984 char buf[1000]; local
990 while (fgets(buf, sizeof(buf), fp) != NULL) {
992 std::string line(buf);
/sdk/emulator/opengl/tests/translator_tests/GLES_V2/
H A DtriangleV2.cpp155 char *buf = (char *)malloc(bSize); local
158 n = fread(&buf[0], 1, bSize, fp);
162 buf = (char *)realloc(buf, bSize * nBufs);
163 n = fread(&buf[len], 1, bSize, fp);
167 buf[len] = '\0';
168 return (const char *)buf;
/sdk/find_lock/
H A Dfind_lock.cpp246 char *buf = new char[size]; local
247 status = sNtQueryObjectFunc(h, 2, buf, size, NULL);
257 const char *c = buf + 96;
258 const char *e = buf + 96 + size;
260 char *dest = buf;
266 type->set(buf, dest - buf);
270 free(buf);
285 char *buf = new char[size]; local
286 status = sNtQueryObjectFunc(handle, 2, buf, siz
326 char buf[MAX_PATH*2 + 4]; local
413 char buf[MAX_PATH]; local
[all...]
/sdk/emulator/opengl/tests/event_injector/
H A Dsockets.c283 format_char( char* buf, char* end, int c ) argument
285 if (buf < end) {
286 if (buf+1 == end) {
287 *buf++ = 0;
289 *buf++ = (char) c;
290 *buf = 0;
293 return buf;
297 format_str( char* buf, char* end, const char* str ) argument
300 int avail = end - buf;
305 memcpy( buf, st
317 format_unsigned( char* buf, char* end, unsigned val ) argument
338 format_hex( char* buf, char* end, unsigned val, int ndigits ) argument
351 format_ip4( char* buf, char* end, uint32_t ip ) argument
364 format_ip6( char* buf, char* end, const uint8_t* ip6 ) argument
383 char *buf = buf0, *end = buf + sizeof(buf0); local
968 socket_send(int fd, const void* buf, int buflen) argument
974 socket_send_oob( int fd, const void* buf, int buflen ) argument
980 socket_sendto(int fd, const void* buf, int buflen, const SockAddress* to) argument
992 socket_recv(int fd, void* buf, int len) argument
998 socket_recvfrom(int fd, void* buf, int len, SockAddress* from) argument
1545 static char buf[256]; /* 255 is the max host name length supported by DNS */ local
[all...]
/sdk/emulator/opengl/host/libs/Translator/GLES_V2/
H A DGLESv2Imp.cpp595 const unsigned char* buf = static_cast<unsigned char *>(ctx->getBindedBuffer(GL_ELEMENT_ARRAY_BUFFER)); local
596 indices = buf+reinterpret_cast<uintptr_t>(elementsIndices);
/sdk/emulator/opengl/host/libs/Translator/GLES_CM/
H A DGLEScmImp.cpp584 const unsigned char* buf = static_cast<unsigned char *>(ctx->getBindedBuffer(GL_ELEMENT_ARRAY_BUFFER)); local
585 indices = buf+reinterpret_cast<uintptr_t>(elementsIndices);
/sdk/testapps/jarCheckTests1/app/libs/
H A Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/support/v4/ android/support/v4/accessibilityservice/ ...
/sdk/testapps/jarCheckTests1/lib1/libs/
H A Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/support/v4/ android/support/v4/accessibilityservice/ ...
/sdk/testapps/jarCheckTests1/lib2/libs/
H A Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/support/v4/ android/support/v4/accessibilityservice/ ...
/sdk/testapps/jarCheckTests2/lib1/libs/
H A Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/support/v4/ android/support/v4/accessibilityservice/ ...
/sdk/testapps/jarCheckTests2/lib2/libs/
H A Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/support/v4/ android/support/v4/accessibilityservice/ ...
/sdk/testapps/jarCheckTests3/lib1/libs/
H A Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/support/v4/ android/support/v4/accessibilityservice/ ...

Completed in 334 milliseconds

12