Home
last modified time | relevance | path

Searched refs:stream (Results 1 – 25 of 31) sorted by relevance

12

/sdk/emulator/opengl/host/libs/libOpenglRender/
DRenderServer.cpp84 SocketStream *stream = m_listenSock->accept(); in Main() local
85 if (!stream) { in Main()
91 if (!stream->readFully(&clientFlags, sizeof(unsigned int))) { in Main()
93 delete stream; in Main()
105 RenderThread *rt = RenderThread::create(stream); in Main()
108 delete stream; in Main()
109 stream = NULL; in Main()
Drender_api.cpp331 SocketStream* stream = NULL; in createRenderThread() local
334 stream = new TcpStream(p_stream_buffer_size); in createRenderThread()
337 stream = new Win32PipeStream(p_stream_buffer_size); in createRenderThread()
339 stream = new UnixStream(p_stream_buffer_size); in createRenderThread()
343 if (!stream) { in createRenderThread()
347 if (stream->connect(s_renderAddr) < 0) { in createRenderThread()
349 delete stream; in createRenderThread()
357 (unsigned int *)stream->allocBuffer(sizeof(unsigned int)); in createRenderThread()
359 stream->commitBuffer(sizeof(unsigned int)); in createRenderThread()
361 return stream; in createRenderThread()
DReadBuffer.cpp22 ReadBuffer::ReadBuffer(IOStream *stream, size_t bufsize) in ReadBuffer() argument
25 m_stream = stream; in ReadBuffer()
DReadBuffer.h23 ReadBuffer(IOStream *stream, size_t bufSize);
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/binaryxml/
DFileStorage.java60 InputStream stream = null; in getContents() local
62 stream = new FileInputStream(mFile); in getContents()
67 return stream; in getContents()
/sdk/emulator/opengl/tests/ut_renderer/
DReadBuffer.cpp20 ReadBuffer::ReadBuffer(SocketStream *stream, size_t bufsize) in ReadBuffer() argument
23 m_stream = stream; in ReadBuffer()
DReadBuffer.h23 ReadBuffer(SocketStream *stream, size_t bufSize);
DRenderingThread.h41 RenderingThread(SocketStream *stream);
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/
DTraceFileWriter.java129 private void writeTraceData(byte[] buffer, DataOutputStream stream) throws IOException { in writeTraceData() argument
130 stream.writeInt(buffer.length); in writeTraceData()
131 stream.write(buffer); in writeTraceData()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/
DAndroidPrintStream.java44 public AndroidPrintStream(IProject project, String prefix, OutputStream stream) { in AndroidPrintStream() argument
45 super(stream); in AndroidPrintStream()
DAdtPlugin.java807 BufferedInputStream stream = new BufferedInputStream(is);
810 int avail = stream.available();
814 stream.read(buffer);
819 stream.close();
1872 public static synchronized void printToStream(MessageConsoleStream stream, String tag,
1877 stream.print(dateTag);
1878 stream.print(" "); //$NON-NLS-1$
1880 stream.println((String)obj);
1882 stream.println("(null)"); //$NON-NLS-1$
1884 stream.println(obj.toString());
/sdk/eclipse/plugins/com.android.ide.eclipse.hierarchyviewer/src/com/android/ide/eclipse/hierarchyviewer/
DHierarchyViewerPlugin.java177 private static synchronized void printToStream(MessageConsoleStream stream, String tag, in printToStream() argument
181 stream.print(dateTag); in printToStream()
182 stream.println(message); in printToStream()
/sdk/emulator/opengl/
DREADME9 EGL/GLES command stream used between the guest and the host during emulation.
16 - sources to encode commands into a byte stream.
17 - sources to decode the byte stream into commands.
21 guest, and implement the marshalling of EGL/GLES commands into a stream of
33 host, and implement the decoding of the command stream, translation of
DDESIGN36 into a custom wire protocol stream that is sent to the emulator program
64 the wire protocol stream to a special rendering library or process (called
82 protocol stream, and dispatches them to the translator libraries
102 - In reality, the protocol stream flows in both directions, even though most
183 protocol byte stream. It only acts as a dumb proxy between the guest
309 1/ call stream->allocBuffer(size), which returns the address of a
315 3/ call stream->commitBuffer() to send it.
318 stream->alloc() and stream->flush(), as in:
320 1/ buf1 = stream->alloc(size1)
322 3/ buf2 = stream->alloc(size2)
[all …]
/sdk/emulator/opengl/shared/OpenglCodecCommon/
DglUtils.cpp353 IOStream* stream = reinterpret_cast<IOStream*>(_stream); in glUtilsWritePackPointerData() local
359 stream->writeFully(src, datalen); in glUtilsWritePackPointerData()
362 stream->writeFully(src, (size_t)vsize); in glUtilsWritePackPointerData()
DglUtils.h54 void glUtilsWritePackPointerData(void* stream, unsigned char *src,
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/assetstudio/
DCreateAssetSetWizard.java147 ByteArrayOutputStream stream = new ByteArrayOutputStream(); in performFinish() local
149 ImageIO.write(image, "PNG", stream); //$NON-NLS-1$ in performFinish()
150 byte[] bytes = stream.toByteArray(); in performFinish()
/sdk/emulator/qtools/
Dcallstack.h70 void showStack(FILE *stream);
761 void CallStack<FRAME, BASE>::showStack(FILE *stream) in showStack() argument
763 fprintf(stream, "mTop: %d skippedTime: %llu\n", mTop, mSkippedTime); in showStack()
767 fprintf(stream, " %d: t %d gt %d f %x 0x%08x 0x%08x %s\n", in showStack()
/sdk/eclipse/plugins/com.android.ide.eclipse.ddms/src/com/android/ide/eclipse/ddms/
DDdmsPlugin.java794 private static synchronized void printToStream(MessageConsoleStream stream, String tag, in printToStream() argument
798 stream.print(dateTag); in printToStream()
800 stream.print(" "); //$NON-NLS-1$ in printToStream()
802 stream.println(message); in printToStream()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/newproject/
DNewProjectCreator.java1068 InputStream stream = new ByteArrayInputStream( in addManifest() local
1070 file.create(stream, false /* force */, new SubProgressMonitor(monitor, 10)); in addManifest()
1129 InputStream stream = new ByteArrayInputStream( in addStringDictionaryFile() local
1131 file.create(stream, false /* force */, new SubProgressMonitor(monitor, 10)); in addStringDictionaryFile()
1207 InputStream stream = new ByteArrayInputStream(source); in addFile() local
1208 dest.create(stream, false /* force */, new SubProgressMonitor(monitor, 10)); in addFile()
1367 FileInputStream stream = new FileInputStream(source); in addLocalFile() local
1368 dest.create(stream, false /* force */, new SubProgressMonitor(monitor, 10)); in addLocalFile()
1462 InputStream stream = new ByteArrayInputStream(template.getBytes("UTF-8")); //$NON-NLS-1$ in copyFile() local
1463 destFile.create(stream, false /* force */, new SubProgressMonitor(monitor, 10)); in copyFile()
/sdk/emulator/opengl/host/tools/emugen/
DREADME6 the wire stream and calls server matching API.
52 …aller is expected to read back the return packet from the server->client stream. The return value …
303 description: provide an expression to pack data into the stream.
304 format: custom_pack <var name> <c++ expression that pack data from var into the stream>
305 The stream is represented by a (unsigned char *)ptr. The expression may also refer
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DImageUtils.java682 InputStream stream = ImageUtils.class.getResourceAsStream("/icons/" + name); //$NON-NLS-1$ in readImage() local
683 if (stream != null) { in readImage()
685 return ImageIO.read(stream); in readImage()
690 stream.close(); in readImage()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
DAdtProjectTest.java91 InputStream stream = in getTestResource() local
93 if (!expectExists && stream == null) { in getTestResource()
96 return stream; in getTestResource()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/tests/functests/sampleProjects/
DAndroidManifestWriter.java43 import javax.xml.transform.stream.StreamResult;
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/ui/util/
DPsdFile.java65 public void write(OutputStream stream) { in write() argument
68 DataOutputStream out = new DataOutputStream(new BufferedOutputStream(stream)); in write()

12