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

1234567891011>>

/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/base/
H A Dfxft_ftsystem.c194 /* system-specific stream handle from a given FreeType stream object */
195 #define STREAM_FILE( stream ) ( (FT_FILE*)stream->descriptor.pointer )
204 /* The function to close a stream. */
207 /* stream :: A pointer to the stream object. */
210 ft_ansi_stream_close( FT_Stream stream )
213 ft_fclose( STREAM_FILE( stream ) );
215 stream
245 ft_ansi_stream_io( FT_Stream stream, unsigned long offset, unsigned char* buffer, unsigned long count ) argument
[all...]
/external/nanopb-c/tests/alltypes_callback/
H A Dencode_alltypes_callback.c13 static bool write_varint(pb_ostream_t *stream, const pb_field_t *field, void * const *arg) argument
15 return pb_encode_tag_for_field(stream, field) &&
16 pb_encode_varint(stream, (long)*arg);
19 static bool write_svarint(pb_ostream_t *stream, const pb_field_t *field, void * const *arg) argument
21 return pb_encode_tag_for_field(stream, field) &&
22 pb_encode_svarint(stream, (long)*arg);
25 static bool write_fixed32(pb_ostream_t *stream, const pb_field_t *field, void * const *arg) argument
27 return pb_encode_tag_for_field(stream, field) &&
28 pb_encode_fixed32(stream, *arg);
31 static bool write_fixed64(pb_ostream_t *stream, cons argument
37 write_string(pb_ostream_t *stream, const pb_field_t *field, void * const *arg) argument
43 write_submsg(pb_ostream_t *stream, const pb_field_t *field, void * const *arg) argument
50 write_emptymsg(pb_ostream_t *stream, const pb_field_t *field, void * const *arg) argument
57 write_repeated_varint(pb_ostream_t *stream, const pb_field_t *field, void * const *arg) argument
71 write_repeated_svarint(pb_ostream_t *stream, const pb_field_t *field, void * const *arg) argument
85 write_repeated_fixed32(pb_ostream_t *stream, const pb_field_t *field, void * const *arg) argument
99 write_repeated_fixed64(pb_ostream_t *stream, const pb_field_t *field, void * const *arg) argument
113 write_repeated_string(pb_ostream_t *stream, const pb_field_t *field, void * const *arg) argument
127 write_repeated_submsg(pb_ostream_t *stream, const pb_field_t *field, void * const *arg) argument
143 write_limits(pb_ostream_t *stream, const pb_field_t *field, void * const *arg) argument
161 write_repeated_emptymsg(pb_ostream_t *stream, const pb_field_t *field, void * const *arg) argument
382 pb_ostream_t stream = pb_ostream_from_buffer(buffer, sizeof(buffer)); local
[all...]
/external/chromium_org/chrome/test/chromedriver/
H A Dutil.cc185 DataInputStream stream(bytes.c_str(), bytes.length());
188 if (!stream.ReadUInt32(&signature) || signature != kFileHeaderSignature) {
192 if (!stream.ReadUInt16(&zip->version_needed)) {
196 if (!stream.ReadUInt16(&zip->bit_flag)) {
200 if (!stream.ReadUInt16(&zip->compression_method)) {
204 if (!stream.ReadUInt16(&zip->mod_time)) {
208 if (!stream.ReadUInt16(&zip->mod_date)) {
212 if (!stream.ReadUInt32(&zip->crc)) {
217 if (!stream.ReadUInt32(&compressed_size)) {
221 if (!stream
292 DataOutputStream stream; local
[all...]
/external/chromium_org/third_party/WebKit/Source/platform/mediastream/
H A DMediaStreamCenter.cpp83 bool MediaStreamCenter::didAddMediaStreamTrack(MediaStreamDescriptor* stream, MediaStreamComponent* component) argument
85 return m_private && m_private->didAddMediaStreamTrack(stream, component);
88 bool MediaStreamCenter::didRemoveMediaStreamTrack(MediaStreamDescriptor* stream, MediaStreamComponent* component) argument
90 return m_private && m_private->didRemoveMediaStreamTrack(stream, component);
93 void MediaStreamCenter::didStopLocalMediaStream(MediaStreamDescriptor* stream) argument
96 m_private->didStopLocalMediaStream(stream);
104 void MediaStreamCenter::didCreateMediaStreamAndTracks(MediaStreamDescriptor* stream) argument
109 for (size_t i = 0; i < stream->numberOfAudioComponents(); ++i)
110 didCreateMediaStreamTrack(stream->audioComponent(i));
112 for (size_t i = 0; i < stream
119 didCreateMediaStream(MediaStreamDescriptor* stream) argument
146 MediaStreamDescriptor* stream = webStream; local
[all...]
/external/chromium_org/third_party/skia/src/images/
H A DSkImageDecoder_wbmp.cpp25 virtual bool onDecode(SkStream* stream, SkBitmap* bm, Mode) SK_OVERRIDE;
31 static bool read_byte(SkStream* stream, uint8_t* data) argument
33 return stream->read(data, 1) == 1;
36 static bool read_mbf(SkStream* stream, int* value) argument
41 if (!read_byte(stream, &data)) {
55 bool init(SkStream* stream) argument
59 if (!read_byte(stream, &data) || data != 0) { // unknown type
62 if (!read_byte(stream, &data) || (data & 0x9F)) { // skip fixed header
65 if (!read_mbf(stream, &fWidth) || (unsigned)fWidth > 0xFFFF) {
68 if (!read_mbf(stream,
102 onDecode(SkStream* stream, SkBitmap* decodedBitmap, Mode mode) argument
155 sk_wbmp_dfactory(SkStreamRewindable* stream) argument
164 get_format_wbmp(SkStreamRewindable* stream) argument
[all...]
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/skia/src/images/
H A DSkImageDecoder_wbmp.cpp25 virtual bool onDecode(SkStream* stream, SkBitmap* bm, Mode) SK_OVERRIDE;
31 static bool read_byte(SkStream* stream, uint8_t* data) argument
33 return stream->read(data, 1) == 1;
36 static bool read_mbf(SkStream* stream, int* value) argument
41 if (!read_byte(stream, &data)) {
55 bool init(SkStream* stream) argument
59 if (!read_byte(stream, &data) || data != 0) { // unknown type
62 if (!read_byte(stream, &data) || (data & 0x9F)) { // skip fixed header
65 if (!read_mbf(stream, &fWidth) || (unsigned)fWidth > 0xFFFF) {
68 if (!read_mbf(stream,
102 onDecode(SkStream* stream, SkBitmap* decodedBitmap, Mode mode) argument
155 sk_wbmp_dfactory(SkStreamRewindable* stream) argument
164 get_format_wbmp(SkStreamRewindable* stream) argument
[all...]
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/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/WebKit/Source/devtools/front_end/cm/
H A Dshell.js25 function tokenBase(stream, state) {
27 var sol = stream.sol();
28 var ch = stream.next();
32 return tokenize(stream, state);
35 if (sol && stream.eat('!')) {
36 stream.skipToEnd();
39 stream.skipToEnd();
44 return tokenize(stream, state);
50 stream.eat('-');
51 stream
[all...]
/external/chromium_org/third_party/libjingle/source/talk/base/
H A Dfilelock.cc33 #include "talk/base/stream.h"
60 FileStream* stream = new FileStream(); local
64 ok = stream->OpenShare(path, "a", _SH_DENYRW, NULL);
66 ok = stream->Open(path, "a", NULL) && stream->TryLock();
69 return new FileLock(path, stream);
74 delete stream;
/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/chromium_org/tools/valgrind/asan/
H A Dasan_symbolize.py22 def __init__(self, stream):
23 self.stream = stream
26 self.stream.write(data)
28 self.stream.flush()
31 return getattr(self.stream, attr)
/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/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/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/chrome/common/extensions/docs/examples/api/desktopCapture/
H A Dapp.js5 function gotStream(stream) {
6 console.log("Received local stream");
8 video.src = URL.createObjectURL(stream);
9 localstream = stream;
10 stream.onended = function() { console.log("Ended"); };
/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/icu/source/io/unicode/
H A Dustream.h26 * C++ I/O stream API.
46 U_IO_API std::ostream & U_EXPORT2 operator<<(std::ostream& stream, const UnicodeString& s);
54 U_IO_API std::istream & U_EXPORT2 operator>>(std::istream& stream, UnicodeString& s);
62 U_IO_API ostream & U_EXPORT2 operator<<(ostream& stream, const UnicodeString& s);
64 U_IO_API istream & U_EXPORT2 operator>>(istream& stream, UnicodeString& s);
/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);

Completed in 735 milliseconds

1234567891011>>