Searched refs:stream (Results 126 - 150 of 2435) sorted by relevance

1234567891011>>

/external/chromium_org/third_party/cython/src/Cython/Includes/libc/
H A Dstdio.pxd18 FILE *freopen (const char *filename, const char *opentype, FILE *stream)
20 int fclose (FILE *stream)
31 int setvbuf (FILE *stream, char *buf, int mode, size_t size)
33 void setbuf (FILE *stream, char *buf)
35 size_t fread (void *data, size_t size, size_t count, FILE *stream)
36 size_t fwrite (const void *data, size_t size, size_t count, FILE *stream)
37 int fflush (FILE *stream)
40 void clearerr (FILE *stream)
41 int feof (FILE *stream)
42 int ferror (FILE *stream)
[all...]
/external/chromium_org/chrome/test/chromedriver/
H A Dutil.cc190 DataInputStream stream(bytes.c_str(), bytes.length());
193 if (!stream.ReadUInt32(&signature) || signature != kFileHeaderSignature) {
197 if (!stream.ReadUInt16(&zip->version_needed)) {
201 if (!stream.ReadUInt16(&zip->bit_flag)) {
205 if (!stream.ReadUInt16(&zip->compression_method)) {
209 if (!stream.ReadUInt16(&zip->mod_time)) {
213 if (!stream.ReadUInt16(&zip->mod_date)) {
217 if (!stream.ReadUInt32(&zip->crc)) {
222 if (!stream.ReadUInt32(&compressed_size)) {
226 if (!stream
297 DataOutputStream stream; local
[all...]
/external/chromium_org/third_party/jinja2/
H A Dparser.py32 self.stream = environment._tokenize(source, name, filename, state)
50 lineno = self.stream.current.lineno
100 if self.stream.current.type in ('variable_end', 'block_end', 'rparen'):
103 return self.stream.current.test_any(extra_end_rules)
115 token = self.stream.current
122 return getattr(self, 'parse_' + self.stream.current.value)()
147 reached. Per default the active token in the stream at the end of
152 self.stream.skip_if('colon')
156 self.stream.expect('block_end')
161 if self.stream
[all...]
/external/chromium_org/third_party/skia/tools/skpdiff/
H A DSkDiffContext.cpp295 void SkDiffContext::outputRecords(SkWStream& stream, bool useJSONP) { argument
300 stream.writeText("var SkPDiffRecords = {\n");
302 stream.writeText("{\n");
309 stream.writeText(" \"records\": [\n");
311 stream.writeText(" {\n");
316 stream.writeText(" \"commonName\": \"");
317 stream.writeText(currentRecord->fCommonName.c_str());
318 stream.writeText("\",\n");
320 stream.writeText(" \"differencePath\": \"");
321 stream
402 outputCsv(SkWStream& stream) argument
[all...]
/external/chromium_org/third_party/skia/src/images/
H A DSkImageDecoder_FactoryRegistrar.cpp21 SkImageDecoder* image_decoder_from_stream(SkStreamRewindable* stream) { argument
25 codec = curr->factory()(stream);
27 // the stream will be at its beginning.
28 bool rewindSuceeded = stream->rewind();
31 // if we are given a stream that does not support rewinding.
33 SkDEBUGF(("Unable to rewind the image stream."));
48 SkImageDecoder::Format SkImageDecoder::GetStreamFormat(SkStreamRewindable* stream) { argument
51 Format format = curr->factory()(stream);
52 if (!stream->rewind()) {
54 "Unable to rewind the image stream\
[all...]
H A DSkImageEncoder.cpp15 bool SkImageEncoder::encodeStream(SkWStream* stream, const SkBitmap& bm, argument
18 return this->onEncode(stream, bm, quality);
24 SkFILEWStream stream(file);
25 return this->onEncode(&stream, bm, quality);
29 SkDynamicMemoryWStream stream; local
31 if (this->onEncode(&stream, bm, quality)) {
32 return stream.copyToData();
43 bool SkImageEncoder::EncodeStream(SkWStream* stream, const SkBitmap& bm, Type t, argument
46 return enc.get() && enc.get()->encodeStream(stream, bm, quality);
/external/chromium_org/third_party/webrtc/base/
H A Dfilelock.cc16 #include "webrtc/base/stream.h"
43 FileStream* stream = new FileStream(); local
47 ok = stream->OpenShare(path, "a", _SH_DENYRW, NULL);
49 ok = stream->Open(path, "a", NULL) && stream->TryLock();
52 return new FileLock(path, stream);
57 delete stream;
/external/deqp/framework/delibs/destream/
H A DdeFileStream.c34 static deStreamResult fileIOStream_read (deStreamData* stream, void* buf, deInt32 bufSize, deInt32* numRead) argument
37 FileStream* fileStream = (FileStream*)stream;
67 static deStreamResult fileIOStream_write (deStreamData* stream, const void* buf, deInt32 bufSize, deInt32* numWritten) argument
70 FileStream* fileStream = (FileStream*)stream;
99 static const char* fileIOStream_getError (deStreamData* stream) argument
101 FileStream* fileStream = (FileStream*)stream;
106 static deStreamResult fileIOStream_flush (deStreamData* stream) argument
109 DE_UNREF(stream);
114 static deStreamResult fileIOStream_deinit (deStreamData* stream) argument
116 FileStream* fileStream = (FileStream*)stream;
125 fileIOStrem_getStatus(deStreamData* stream) argument
158 fileIOStream_init(deIOStream* stream, const char* filename, deFileMode mode) argument
178 deFileInStream_init(deInStream* stream, const char* filename, deFileMode mode) argument
198 deFileOutStream_init(deOutStream* stream, const char* filename, deFileMode mode) argument
[all...]
/external/nanopb-c/tests/basic_buffer/
H A Ddecode_buffer.c16 bool print_person(pb_istream_t *stream) argument
21 if (!pb_decode(stream, Person_fields, &person))
64 pb_istream_t stream; local
78 stream = pb_istream_from_buffer(buffer, count);
81 if (!print_person(&stream))
83 printf("Parsing failed: %s\n", PB_GET_ERROR(&stream));
/external/skia/src/images/
H A DSkImageDecoder_FactoryRegistrar.cpp21 SkImageDecoder* image_decoder_from_stream(SkStreamRewindable* stream) { argument
25 codec = curr->factory()(stream);
27 // the stream will be at its beginning.
28 bool rewindSuceeded = stream->rewind();
31 // if we are given a stream that does not support rewinding.
33 SkDEBUGF(("Unable to rewind the image stream."));
48 SkImageDecoder::Format SkImageDecoder::GetStreamFormat(SkStreamRewindable* stream) { argument
51 Format format = curr->factory()(stream);
52 if (!stream->rewind()) {
54 "Unable to rewind the image stream\
[all...]
/external/chromium_org/net/base/
H A Dupload_data_stream_unittest.cc41 // Reads data from the upload data stream, and returns the data as string.
42 std::string ReadFromUploadDataStream(UploadDataStream* stream) { argument
45 while (!stream->IsEOF()) {
48 stream->Read(buf.get(), kTestBufferSize, callback.callback());
145 UploadDataStream stream(element_readers_.Pass(), 0);
146 ASSERT_EQ(OK, stream.Init(CompletionCallback()));
147 EXPECT_TRUE(stream.IsInMemory());
148 EXPECT_EQ(0U, stream.size());
149 EXPECT_EQ(0U, stream.position());
150 EXPECT_TRUE(stream
[all...]
/external/antlr/antlr-3.4/runtime/C/src/
H A Dantlr3commontreenodestream.c2 /// Defines the implementation of the common node stream the default
3 /// tree node stream used by ANTLR.
90 pANTLR3_TREE_NODE_STREAM stream; local
94 stream = (pANTLR3_TREE_NODE_STREAM) ANTLR3_CALLOC(1, sizeof(ANTLR3_TREE_NODE_STREAM));
96 if (stream == NULL)
103 stream->replaceChildren = replaceChildren;
104 stream->free = antlr3TreeNodeStreamFree;
106 return stream;
110 antlr3TreeNodeStreamFree(pANTLR3_TREE_NODE_STREAM stream) argument
112 ANTLR3_FREE(stream);
118 pANTLR3_COMMON_TREE_NODE_STREAM stream; local
134 pANTLR3_COMMON_TREE_NODE_STREAM stream; local
272 pANTLR3_COMMON_TREE_NODE_STREAM stream; local
[all...]
/external/chromium_org/tools/gn/
H A Dninja_toolchain_writer_unittest.cc18 std::ostringstream stream; local
21 std::vector<const Target*>(), stream);
30 stream.str());
/external/ltrace/
H A Dlens.h32 int (*format_cb)(struct lens *lens, FILE *stream, struct value *value,
41 int format_argument(FILE *stream, struct value *value,
45 int lens_format(struct lens *lens, FILE *stream, struct value *value,
/external/chromium_org/content/test/plugin/
H A Dplugin_execute_stream_javascript.h13 // This class tests executes the JavaScript given in the stream URL.
22 virtual NPError NewStream(NPMIMEType type, NPStream* stream,
24 virtual int32 WriteReady(NPStream *stream) OVERRIDE;
25 virtual int32 Write(NPStream *stream, int32 offset, int32 len,
27 virtual NPError DestroyStream(NPStream *stream, NPError reason) OVERRIDE;
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/i915/
H A Di915_debug_private.h42 void i915_disassemble_program(struct debug_stream *stream,
/external/chromium_org/third_party/skia/include/utils/
H A DSkFrontBufferedStream.h14 * Specialized stream that buffers the first X bytes of a stream,
16 * stream APIs, once more bytes than can fit in the buffer are read,
17 * no more buffering is done. This stream is designed for a use case
19 * X bytes (inclusive), and the wrapped stream is not necessarily
25 * Creates a new stream that wraps and buffers an SkStream.
26 * @param stream SkStream to buffer. If stream is NULL, NULL is
29 * stream, so it should be unreffed and no longer used directly.
34 static SkStreamRewindable* Create(SkStream* stream, size_
[all...]
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/isac/main/source/
H A Darith_routines.c16 * terminate and return byte stream;
17 * returns the number of bytes in the stream
24 /* point to the right place in the stream buffer */
25 stream_ptr = streamdata->stream + streamdata->stream_index;
37 stream_ptr = streamdata->stream + streamdata->stream_index;
51 stream_ptr = streamdata->stream + streamdata->stream_index;
58 /* calculate stream length */
59 return (int)(stream_ptr - streamdata->stream);
/external/clang/test/CodeGen/
H A D2002-06-25-FWriteInterfaceFailure.c5 int fprintf(FILE * restrict stream, const char * restrict format, ...);
/external/freetype/src/gzip/
H A Dftgzip.c172 FT_Stream source; /* parent/source stream */
173 FT_Stream stream; /* embedding stream */ member in struct:FT_GZipFileRec_
175 z_stream zstream; /* zlib input stream */
199 ft_gzip_check_header( FT_Stream stream )
274 FT_Stream stream,
281 zip->stream = stream;
283 zip->memory = stream->memory;
291 stream
273 ft_gzip_file_init( FT_GZipFile zip, FT_Stream stream, FT_Stream source ) argument
343 FT_Stream stream = zip->source; local
372 FT_Stream stream = zip->source; local
565 ft_gzip_stream_io( FT_Stream stream, FT_ULong pos, FT_Byte* buffer, FT_ULong count ) argument
699 z_stream stream; local
[all...]
/external/mesa3d/src/gallium/drivers/i915/
H A Di915_debug_private.h42 void i915_disassemble_program(struct debug_stream *stream,
/external/skia/include/utils/
H A DSkFrontBufferedStream.h14 * Specialized stream that buffers the first X bytes of a stream,
16 * stream APIs, once more bytes than can fit in the buffer are read,
17 * no more buffering is done. This stream is designed for a use case
19 * X bytes (inclusive), and the wrapped stream is not necessarily
25 * Creates a new stream that wraps and buffers an SkStream.
26 * @param stream SkStream to buffer. If stream is NULL, NULL is
29 * stream, so it should be unreffed and no longer used directly.
34 static SkStreamRewindable* Create(SkStream* stream, size_
[all...]
/external/webrtc/src/modules/audio_coding/codecs/isac/main/source/
H A Darith_routines.c16 * terminate and return byte stream;
17 * returns the number of bytes in the stream
24 /* point to the right place in the stream buffer */
25 stream_ptr = streamdata->stream + streamdata->stream_index;
37 stream_ptr = streamdata->stream + streamdata->stream_index;
51 stream_ptr = streamdata->stream + streamdata->stream_index;
58 /* calculate stream length */
59 return (int)(stream_ptr - streamdata->stream);
/external/nanopb-c/tests/basic_stream/
H A Ddecode_stream.c12 bool print_person(pb_istream_t *stream) argument
17 if (!pb_decode(stream, Person_fields, &person))
58 bool callback(pb_istream_t *stream, uint8_t *buf, size_t count) argument
60 FILE *file = (FILE*)stream->state;
66 stream->bytes_left = 0;
73 pb_istream_t stream = {&callback, NULL, SIZE_MAX}; local
74 stream.state = stdin;
77 if (!print_person(&stream))
79 printf("Parsing failed: %s\n", PB_GET_ERROR(&stream));
/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;

Completed in 605 milliseconds

1234567891011>>