/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/manifest/pages/ |
H A D | OverviewLinksPart.java | 50 StringBuffer buf = new StringBuffer(); 51 buf.append(String.format("<form><li style=\"image\" value=\"app_img\"><a href=\"page:%1$s\">", //$NON-NLS-1$ 53 buf.append("Application"); 54 buf.append("</a>"); //$NON-NLS-1$ 55 buf.append(": Activities, intent filters, providers, services and receivers."); 56 buf.append("</li>"); //$NON-NLS-1$ 58 buf.append(String.format("<li style=\"image\" value=\"perm_img\"><a href=\"page:%1$s\">", //$NON-NLS-1$ 60 buf.append("Permission"); 61 buf.append("</a>"); //$NON-NLS-1$ 62 buf [all...] |
H A D | OverviewExportPart.java | 72 StringBuffer buf = new StringBuffer(); 73 buf.append("<form><li><a href=\"wizard\">"); //$NON-NLS-1$ 74 buf.append("Use the Export Wizard"); 75 buf.append("</a>"); //$NON-NLS-1$ 76 buf.append(" to export and sign an APK"); 77 buf.append("</li>"); //$NON-NLS-1$ 78 buf.append("<li><a href=\"manual\">"); //$NON-NLS-1$ 79 buf.append("Export an unsigned APK"); 80 buf.append("</a>"); //$NON-NLS-1$ 81 buf [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/export/ |
H A D | ExportLinksPart.java | 49 StringBuffer buf = new StringBuffer(); 50 buf.append("<form>"); //$NON-NLS-1$ 52 buf.append("<li style=\"image\" value=\"android_img\"><a href=\"action_dosomething\">"); 53 buf.append("TODO Custom Action"); 54 buf.append("</a>"); //$NON-NLS-1$ 55 buf.append(": blah blah do something (like build/export)."); 56 buf.append("</li>"); //$NON-NLS-1$ 58 buf.append(String.format("<li style=\"image\" value=\"android_img\"><a href=\"page:%1$s\">", //$NON-NLS-1$ 60 buf.append("XML Source"); 61 buf [all...] |
/sdk/ddms/libs/ddmlib/src/com/android/ddmlib/ |
H A D | JdwpPacket.java | 68 * 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...] |
H A D | RawImage.java | 45 * @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 D | HandleExit.java | 67 ByteBuffer buf = getChunkDataBuf(rawBuf); 69 buf.putInt(status); 71 finishChunkPacket(packet, CHUNK_EXIT, buf.position());
|
H A D | HandleProfiling.java | 101 ByteBuffer buf = getChunkDataBuf(rawBuf); 103 buf.putInt(bufferSize); 104 buf.putInt(flags); 105 buf.putInt(fileName.length()); 106 putString(buf, fileName); 108 finishChunkPacket(packet, CHUNK_MPRS, buf.position()); 127 ByteBuffer buf = getChunkDataBuf(rawBuf); 131 finishChunkPacket(packet, CHUNK_MPRE, buf.position()); 181 ByteBuffer buf = getChunkDataBuf(rawBuf); 183 buf [all...] |
H A D | ChunkHandler.java | 97 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 D | AdbHelper.java | 298 ByteBuffer buf = ByteBuffer.wrap(reply); 299 buf.order(ByteOrder.LITTLE_ENDIAN); 301 int version = buf.getInt(); 310 buf = ByteBuffer.wrap(reply); 311 buf.order(ByteOrder.LITTLE_ENDIAN); 314 if (imageParams.readHeader(version, buf) == false) { 385 ByteBuffer buf = ByteBuffer.wrap(data); 395 count = adbChan.read(buf); 419 rcvr.addOutput(buf.array(), buf [all...] |
H A D | HandleHeap.java | 151 ByteBuffer buf = getChunkDataBuf(rawBuf); 153 buf.put((byte)when); 155 finishChunkPacket(packet, CHUNK_HPIF, buf.position()); 203 ByteBuffer buf = getChunkDataBuf(rawBuf); 205 buf.put((byte)when); 206 buf.put((byte)what); 208 finishChunkPacket(packet, CHUNK_HPSG, buf.position()); 221 ByteBuffer buf = getChunkDataBuf(rawBuf); 225 finishChunkPacket(packet, CHUNK_HPGC, buf.position()); 242 ByteBuffer buf [all...] |
H A D | HandleHello.java | 157 ByteBuffer buf = getChunkDataBuf(rawBuf); 159 buf.putInt(serverProtocolVersion); 161 finishChunkPacket(packet, CHUNK_HELO, buf.position()); 190 ByteBuffer buf = getChunkDataBuf(rawBuf); 194 finishChunkPacket(packet, CHUNK_FEAT, buf.position());
|
/sdk/emulator/opengl/shared/OpenglCodecCommon/ |
H A D | SocketStream.h | 36 virtual const unsigned char *readFully(void *buf, size_t len); 37 virtual const unsigned char *read(void *buf, size_t *inout_len); 40 virtual int recv(void *buf, size_t len); 41 virtual int writeFully(const void *buf, size_t len);
|
H A D | SocketStream.cpp | 113 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 D | Win32PipeStream.h | 31 virtual const unsigned char *readFully(void *buf, size_t len); 32 virtual const unsigned char *read(void *buf, size_t *inout_len);
|
H A D | Win32PipeStream.cpp | 194 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...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/binaryxml/ |
H A D | BinaryXMLDescriber.java | 58 ByteBuffer buf = ByteBuffer.wrap(bytes); 59 buf.order(ByteOrder.LITTLE_ENDIAN); 60 short type = buf.getShort(); 61 short headerSize = buf.getShort(); 62 int size = buf.getInt(); // chunk size
|
/sdk/emulator/opengl/host/include/libOpenglRender/ |
H A D | IOStream.h | 35 virtual const unsigned char *readFully( void *buf, size_t len) = 0; 36 virtual const unsigned char *read( void *buf, size_t *inout_len) = 0; 37 virtual int writeFully(const void* buf, size_t len) = 0; 81 const unsigned char *readback(void *buf, size_t len) { 83 return readFully(buf, len);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
H A D | SimpleXmlTransfer.java | 125 byte[] buf = data.getBytes("UTF-8"); //$NON-NLS-1$ 126 super.javaToNative(buf, transferData); 141 byte[] buf = (byte[]) super.nativeToJava(transferData); 142 if (buf != null && buf.length > 0) { 144 String s = new String(buf, "UTF-8"); //$NON-NLS-1$
|
/sdk/emulator/opengl/host/libs/libOpenglRender/ |
H A D | ReadBuffer.h | 26 unsigned char *buf() { return m_readPtr; } // return the next read location function in class:ReadBuffer
|
H A D | RenderThread.cpp | 101 fwrite(readBuf.buf()+skip, 1, readBuf.validData()-skip, dumpFP); 112 size_t last = tInfo->m_glDec.decode(readBuf.buf(), readBuf.validData(), m_stream); 121 last = tInfo->m_gl2Dec.decode(readBuf.buf(), readBuf.validData(), m_stream); 131 last = m_rcDec.decode(readBuf.buf(), readBuf.validData(), m_stream);
|
/sdk/emulator/opengl/tests/ut_renderer/ |
H A D | ReadBuffer.h | 26 unsigned char *buf() { return m_readPtr; } // return the next read location function in class:ReadBuffer
|
/sdk/emulator/opengl/tests/event_injector/ |
H A D | sockets.c | 283 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...] |
H A D | sockets.h | 370 int socket_recv ( int fd, void* buf, int buflen ); 371 int socket_recvfrom( int fd, void* buf, int buflen, SockAddress* from ); 373 int socket_send ( int fd, const void* buf, int buflen ); 374 int socket_send_oob( int fd, const void* buf, int buflen ); 375 int socket_sendto( int fd, const void* buf, int buflen, const SockAddress* to );
|
/sdk/emulator/qtools/ |
H A D | read_trace.cpp | 64 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);
|
/sdk/find_lock/ |
H A D | find_lock.cpp | 246 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...] |