Searched defs:stream (Results 251 - 275 of 1084) sorted by relevance

<<11121314151617181920>>

/external/marisa-trie/tests/
H A Dtrie-test.cc287 std::stringstream stream; local
288 trie.write(stream);
290 trie.read(stream);
487 std::stringstream stream; local
488 trie.write(stream);
490 trie.read(stream);
/external/marisa-trie/v0_1_5/lib/marisa_alpha/
H A Dwriter.cc23 Writer::Writer(std::ostream *stream) argument
24 : file_(NULL), fd_(-1), stream_(stream), needs_fclose_(false) {}
/external/mesa3d/src/gallium/auxiliary/util/
H A Du_debug_refcnt.c45 FILE* stream; variable
120 fprintf(stream, "%s\n", symbols[i]);
122 fprintf(stream, "\n");
134 stream = fopen(filename, "wt");
136 if(stream)
166 fprintf(stream, "<%s> %p %u Create\n", buf, (void *) p, serial);
172 fprintf(stream, "<%s> %p %u AddRef %u\n", buf, (void *) p,
180 fprintf(stream, "<%s> %p %u %s %u\n", buf, (void *) p, serial,
188 fprintf(stream, "<%s> %p %u Destroy\n", buf, (void *) p, serial);
192 fflush(stream);
[all...]
/external/okhttp/src/main/java/com/squareup/okhttp/internal/http/
H A DSpdyTransport.java31 private SpdyStream stream; field in class:SpdyTransport
41 return stream.getOutputStream();
45 if (stream != null) {
56 stream = spdyConnection.newStream(requestHeaders.toNameValueBlock(), hasRequestBody,
58 stream.setReadTimeout(httpEngine.client.getReadTimeout());
66 stream.getOutputStream().close();
70 List<String> nameValueBlock = stream.getResponseHeaders();
80 return new UnknownLengthHttpInputStream(stream.getInputStream(), cacheRequest, httpEngine);
86 if (stream != null) {
87 stream
[all...]
/external/okhttp/src/test/java/com/squareup/okhttp/internal/spdy/
H A DSpdyServer.java82 @Override public void receive(final SpdyStream stream) throws IOException { argument
83 List<String> requestHeaders = stream.getRequestHeaders();
101 serveDirectory(stream, file.list());
103 serveFile(stream, file);
105 send404(stream, path);
109 private void send404(SpdyStream stream, String path) throws IOException { argument
112 stream.reply(responseHeaders, true);
113 OutputStream out = stream.getOutputStream();
119 private void serveDirectory(SpdyStream stream, String[] files) throws IOException { argument
123 stream
132 serveFile(SpdyStream stream, File file) argument
[all...]
/external/oprofile/libutil++/
H A Dbfd_spu_support.cpp27 FILE * stream; member in struct:spu_elf
52 spu_bfd_iovec_close(bfd * nbfd, void * stream) argument
54 spu_elf * my_stream = (spu_elf *) stream;
56 fclose(my_stream->stream);
68 spu_bfd_iovec_pread(bfd * abfd, void * stream, void * buf, argument
71 spu_elf * my_stream = (spu_elf *) stream;
72 fseek(my_stream->stream, my_stream->spu_offset + offset,
74 nbytes = fread(buf, sizeof(char), nbytes, my_stream->stream);
94 spu_elf_stream->stream = fp;
/external/qemu/distrib/sdl-1.2.15/src/audio/nds/
H A DSDL_ndsaudio.c48 //void SoundMixCallback(void *stream,u32 size)
76 // //memcpy((Sint16 *)stream,buffer, size);
85 // s32 *stream32 = (s32 *)stream;
88 // // ((s8*)stream)[i]=(buffer[i]^0x80);
94 // //((short*)stream)[i] =(short)buffer[i] << 8; // sound 8bit ---> buffer 16bit
96 // //((Sint16*)stream)[i] = 0xff00 | buffer[i];
97 // ((Sint16*)stream)[i] = (buffer[i] - 128) << 8;
100 // // ((Sint16*)stream)[i] = buffer[i];
103 // //register short *pDest =stream;
112 // //memcpy((Sint16 *)stream,buffe
116 SoundMixCallback(void *stream,u32 len) argument
[all...]
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
H A DShadowLog.java14 public static PrintStream stream; field in class:ShadowLog
84 return stream != null || level >= Log.INFO;
88 if (stream != null) {
89 logToStream(stream, level, tag, msg, throwable);
/external/skia/gm/
H A Dgm_expectations.h33 void gm_fprintf(FILE *stream, const char format[], ...);
221 * Read as many bytes as possible (up to maxBytes) from the stream into
230 * stream, but the stream has not been closed yet, this call will block
231 * until there are enough bytes to read or the stream has been closed.
239 * SkAutoDataUnref dataRef(readIntoSkData(stream, maxBytes));
251 static SkData* ReadIntoSkData(SkStream &stream, size_t maxBytes);
257 static SkData* ReadFileIntoSkData(SkFILEStream &stream) { argument
258 return ReadIntoSkData(stream, stream
[all...]
/external/skia/src/images/
H A DSkImageEncoder_argb.cpp16 virtual bool onEncode(SkWStream* stream, const SkBitmap& bm, int quality) SK_OVERRIDE;
89 bool SkARGBImageEncoder::onEncode(SkWStream* stream, const SkBitmap& bitmap, int) { argument
110 stream->write(argb, argbStride);
H A DSkImageRef.cpp21 SkImageRef::SkImageRef(SkStream* stream, SkBitmap::Config config, argument
24 SkASSERT(stream);
25 stream->ref();
26 fStream = stream;
35 this, config, (int)stream->getLength());
82 bool SkImageRef::onDecode(SkImageDecoder* codec, SkStream* stream, argument
85 return codec->decode(stream, bitmap, config, mode);
111 SkDEBUGF(("Failed to rewind SkImageRef stream!"));
194 SkDEBUGF(("Failed to rewind SkImageRef stream!"));
H A DSkImageRef_GlobalPool.cpp27 SkImageRef_GlobalPool::SkImageRef_GlobalPool(SkStream* stream, argument
30 : SkImageRef(stream, config, sampleSize, &gGlobalPoolMutex) {
47 bool SkImageRef_GlobalPool::onDecode(SkImageDecoder* codec, SkStream* stream, argument
50 if (!this->INHERITED::onDecode(codec, stream, bitmap, config, mode)) {
H A DSkJpegUtility.cpp98 skjpeg_source_mgr::skjpeg_source_mgr(SkStream* stream, SkImageDecoder* decoder) argument
99 : fStream(SkRef(stream))
154 skjpeg_destination_mgr::skjpeg_destination_mgr(SkWStream* stream) argument
155 : fStream(stream) {
/external/skia/tools/skpdiff/
H A DSkCLImageDiffer.cpp47 bool SkCLImageDiffer::loadKernelStream(SkStream* stream, const char name[], cl_kernel* kernel) { argument
50 sourceString.resize(stream->getLength());
51 size_t bytesRead = stream->read(sourceString.writable_str(), sourceString.size());
/external/svox/PicoLangInstallerDeuDeu/src/com/svox/pico/voice/deu/deu/
H A DInstallerActivity.java59 InputStream stream = langPackFd.createInputStream();
61 (new Thread(new unzipper(stream))).start();
70 private boolean unzipLangPack(InputStream stream) { argument
74 ZipInputStream zis = new ZipInputStream(stream);
115 public InputStream stream; field in class:InstallerActivity.unzipper
118 stream = is;
122 boolean result = unzipLangPack(stream);
/external/svox/PicoLangInstallerEngGbr/src/com/svox/pico/voice/eng/gbr/
H A DInstallerActivity.java59 InputStream stream = langPackFd.createInputStream();
61 (new Thread(new unzipper(stream))).start();
70 private boolean unzipLangPack(InputStream stream) { argument
74 ZipInputStream zis = new ZipInputStream(stream);
115 public InputStream stream; field in class:InstallerActivity.unzipper
118 stream = is;
122 boolean result = unzipLangPack(stream);
/external/svox/PicoLangInstallerEngUsa/src/com/svox/pico/voice/eng/usa/
H A DInstallerActivity.java59 InputStream stream = langPackFd.createInputStream();
61 (new Thread(new unzipper(stream))).start();
70 private boolean unzipLangPack(InputStream stream) { argument
74 ZipInputStream zis = new ZipInputStream(stream);
115 public InputStream stream; field in class:InstallerActivity.unzipper
118 stream = is;
122 boolean result = unzipLangPack(stream);
/external/svox/PicoLangInstallerFraFra/src/com/svox/pico/voice/fra/fra/
H A DInstallerActivity.java59 InputStream stream = langPackFd.createInputStream();
61 (new Thread(new unzipper(stream))).start();
70 private boolean unzipLangPack(InputStream stream) { argument
74 ZipInputStream zis = new ZipInputStream(stream);
115 public InputStream stream; field in class:InstallerActivity.unzipper
118 stream = is;
122 boolean result = unzipLangPack(stream);
/external/svox/PicoLangInstallerItaIta/src/com/svox/pico/voice/ita/ita/
H A DInstallerActivity.java59 InputStream stream = langPackFd.createInputStream();
61 (new Thread(new unzipper(stream))).start();
70 private boolean unzipLangPack(InputStream stream) { argument
74 ZipInputStream zis = new ZipInputStream(stream);
115 public InputStream stream; field in class:InstallerActivity.unzipper
118 stream = is;
122 boolean result = unzipLangPack(stream);
/external/svox/PicoLangInstallerSpaEsp/src/com/svox/pico/voice/spa/esp/
H A DInstallerActivity.java59 InputStream stream = langPackFd.createInputStream();
61 (new Thread(new unzipper(stream))).start();
70 private boolean unzipLangPack(InputStream stream) { argument
74 ZipInputStream zis = new ZipInputStream(stream);
115 public InputStream stream; field in class:InstallerActivity.unzipper
118 stream = is;
122 boolean result = unzipLangPack(stream);
/external/svox/picolanginstaller/src/com/svox/langpack/installer/
H A DInstallerActivity.java60 InputStream stream = langPackFd.createInputStream();
62 (new Thread(new unzipper(stream))).start();
71 private boolean unzipLangPack(InputStream stream) { argument
75 ZipInputStream zis = new ZipInputStream(stream);
116 public InputStream stream; field in class:InstallerActivity.unzipper
119 stream = is;
123 boolean result = unzipLangPack(stream);
/external/v8/src/
H A Dlithium.cc35 void LOperand::PrintTo(StringStream* stream) { argument
39 stream->Add("(0)");
43 stream->Add("v%d", unalloc->virtual_register());
50 stream->Add("(=%s)", register_name);
56 stream->Add("(=%s)", double_register_name);
60 stream->Add("(=%dS)", unalloc->fixed_index());
63 stream->Add("(R)");
66 stream->Add("(WR)");
69 stream->Add("(1)");
72 stream
152 PrintTo(StringStream* stream) argument
197 PrintTo(StringStream* stream) argument
[all...]
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/
H A DXMPMetaParser.java108 * Latin-1/ISO-8859-1 can be accepted when the input is a byte stream
109 * (some old toolkits versions such packets). The stream is
110 * then wrapped in another stream that converts Latin-1 to UTF-8.
113 * (if the input is a byte stream is has to be read as character stream).
145 * @param stream an <code>InputStream</code>
150 private static Document parseXmlFromInputStream(InputStream stream, ParseOptions options) argument
155 return parseInputSource(new InputSource(stream));
159 // load stream into bytebuffer
162 ByteBuffer buffer = new ByteBuffer(stream);
[all...]
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/
H A DOutputStreamTesterTest.java97 private ByteArrayOutputStream stream; field in class:OutputStreamTesterTest.ByteArrayOutputStreamSinkTester
104 stream = new ByteArrayOutputStream(size);
105 return stream;
109 return stream.toByteArray();
/external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/
H A DMyKeyStore.java177 public void engineStore(OutputStream stream, char[] password) argument
179 if (!(stream instanceof ByteArrayOutputStream)) {
180 throw new IOException("Incorrect stream");
200 public void engineLoad(InputStream stream, char[] password) argument

Completed in 1731 milliseconds

<<11121314151617181920>>