Searched refs:stream (Results 51 - 75 of 2457) sorted by relevance

1234567891011>>

/external/mesa3d/src/gallium/drivers/i915/
H A Di915_debug_fp.c37 struct debug_stream *stream,
133 print_reg_type_nr(struct debug_stream *stream, unsigned type, unsigned nr) argument
139 PRINTF(stream, "T_DIFFUSE");
142 PRINTF(stream, "T_SPECULAR");
145 PRINTF(stream, "T_FOG_W");
148 PRINTF(stream, "T_TEX%d", nr);
153 PRINTF(stream, "oC");
159 PRINTF(stream, "oD");
167 PRINTF(stream, "%s[%d]", regname[type], nr);
180 print_reg_neg_swizzle(struct debug_stream *stream, unsigne argument
36 PRINTF( struct debug_stream *stream, const char *fmt, ... ) argument
222 print_src_reg(struct debug_stream *stream, unsigned dword) argument
232 print_dest_reg(struct debug_stream *stream, unsigned dword) argument
257 print_arith_op(struct debug_stream *stream, unsigned opcode, const unsigned * program) argument
291 print_tex_op(struct debug_stream *stream, unsigned opcode, const unsigned * program) argument
309 print_texkil_op(struct debug_stream *stream, unsigned opcode, const unsigned * program) argument
322 print_dcl_op(struct debug_stream *stream, unsigned opcode, const unsigned * program) argument
333 i915_disassemble_program(struct debug_stream *stream, const unsigned * program, unsigned sz) argument
[all...]
/external/bison/lib/
H A Dclose-stream.c1 /* Close a stream, with nicer error checking than fclose's.
20 #include "close-stream.h"
43 printf can succeed in writing to the internal stream buffer, and yet
52 that writes to STREAM -- just let the internal stream state record
56 close_stream (FILE *stream) argument
58 const bool some_pending = (__fpending (stream) != 0);
59 const bool prev_fail = (ferror (stream) != 0);
60 const bool fclose_fail = (fclose (stream) != 0);
/external/ltrace/
H A Dread_config_file.h26 int read_config_file(FILE *stream, const char *name, struct protolib *plib);
H A Dmemstream.c35 memstream->stream = open_memstream(&memstream->buf,
38 memstream->stream = tmpfile();
41 return memstream->stream != NULL ? 0 : -1;
48 if (fseek(memstream->stream, 0, SEEK_END) < 0) {
50 fclose(memstream->stream);
53 memstream->size = ftell(memstream->stream);
60 rewind(memstream->stream);
61 if (fread(memstream->buf, 1, memstream->size, memstream->stream)
66 return fclose(memstream->stream) == 0 ? 0 : -1;
/external/lzma/CPP/7zip/Common/
H A DStreamUtils.h8 HRESULT ReadStream(ISequentialInStream *stream, void *data, size_t *size);
9 HRESULT ReadStream_FALSE(ISequentialInStream *stream, void *data, size_t size);
10 HRESULT ReadStream_FAIL(ISequentialInStream *stream, void *data, size_t size);
11 HRESULT WriteStream(ISequentialOutStream *stream, const void *data, size_t size);
/external/nanopb-c/examples/simple/
H A Dsimple.c21 /* Create a stream that will write to our buffer. */
22 pb_ostream_t stream = pb_ostream_from_buffer(buffer, sizeof(buffer)); local
28 status = pb_encode(&stream, SimpleMessage_fields, &message);
29 message_length = stream.bytes_written;
34 printf("Encoding failed: %s\n", PB_GET_ERROR(&stream));
49 /* Create a stream that reads from the buffer. */
50 pb_istream_t stream = pb_istream_from_buffer(buffer, message_length); local
53 status = pb_decode(&stream, SimpleMessage_fields, &message);
58 printf("Decoding failed: %s\n", PB_GET_ERROR(&stream));
/external/chromium_org/third_party/skia/src/images/
H A DSkImageDecoder_FactoryDefault.cpp15 SkImageDecoder* SkImageDecoder::Factory(SkStreamRewindable* stream) { argument
16 return image_decoder_from_stream(stream);
23 SkMovie* SkMovie::DecodeStream(SkStreamRewindable* stream) { argument
26 SkMovie* movie = curr->factory()(stream);
30 // we must rewind only if we got NULL, since we gave the stream to the
32 stream->rewind();
H A DSkStreamHelpers.cpp13 size_t CopyStreamToStorage(SkAutoMalloc* storage, SkStream* stream) { argument
15 SkASSERT(stream != NULL);
17 if (stream->hasLength()) {
18 const size_t length = stream->getLength();
20 if (stream->read(dst, length) != length) {
32 size_t bytesRead = stream->read(buffer, bufferSize);
36 } while (!stream->isAtEnd());
43 SkData *CopyStreamToData(SkStream* stream) { argument
44 SkASSERT(stream != NULL);
46 if (stream
[all...]
/external/nanopb-c/tests/basic_buffer/
H A Dencode_buffer.c14 pb_ostream_t stream; local
23 stream = pb_ostream_from_buffer(buffer, sizeof(buffer));
26 if (pb_encode(&stream, Person_fields, &person))
30 fwrite(buffer, 1, stream.bytes_written, stdout);
35 fprintf(stderr, "Encoding failed: %s\n", PB_GET_ERROR(&stream));
/external/skia/src/images/
H A DSkImageDecoder_FactoryDefault.cpp15 SkImageDecoder* SkImageDecoder::Factory(SkStreamRewindable* stream) { argument
16 return image_decoder_from_stream(stream);
23 SkMovie* SkMovie::DecodeStream(SkStreamRewindable* stream) { argument
26 SkMovie* movie = curr->factory()(stream);
30 // we must rewind only if we got NULL, since we gave the stream to the
32 stream->rewind();
H A DSkStreamHelpers.cpp13 size_t CopyStreamToStorage(SkAutoMalloc* storage, SkStream* stream) { argument
15 SkASSERT(stream != NULL);
17 if (stream->hasLength()) {
18 const size_t length = stream->getLength();
20 if (stream->read(dst, length) != length) {
32 size_t bytesRead = stream->read(buffer, bufferSize);
36 } while (!stream->isAtEnd());
43 SkData *CopyStreamToData(SkStream* stream) { argument
44 SkASSERT(stream != NULL);
46 if (stream
[all...]
/external/chromium_org/third_party/zlib/
H A Dcompress.c29 z_stream stream; local
32 stream.next_in = (Bytef*)source;
33 stream.avail_in = (uInt)sourceLen;
36 if ((uLong)stream.avail_in != sourceLen) return Z_BUF_ERROR;
38 stream.next_out = dest;
39 stream.avail_out = (uInt)*destLen;
40 if ((uLong)stream.avail_out != *destLen) return Z_BUF_ERROR;
42 stream.zalloc = (alloc_func)0;
43 stream.zfree = (free_func)0;
44 stream
[all...]
/external/deqp/framework/delibs/destream/
H A DdeOutStream.h23 * \brief Output stream abstraction.
32 /* Output stream struct, implemented as a wrapper to io stream */
38 DE_INLINE deStreamResult deOutStream_write (deOutStream* stream, const void* buf, deInt32 bufSize, deInt32* numWritten);
39 DE_INLINE deStreamResult deOutStream_flush (deOutStream* stream);
40 DE_INLINE deStreamResult deOutStream_deinit (deOutStream* stream);
41 DE_INLINE const char* deOutStream_getError (deOutStream* stream);
42 DE_INLINE deStreamStatus deOutStream_getStatus (deOutStream* stream);
45 DE_INLINE deStreamResult deOutStream_write (deOutStream* stream, const void* buf, deInt32 bufSize, deInt32* numWritten) argument
47 return deIOStream_write(&(stream
50 deOutStream_flush(deOutStream* stream) argument
55 deOutStream_deinit(deOutStream* stream) argument
60 deOutStream_getError(deOutStream* stream) argument
65 deOutStream_getStatus(deOutStream* stream) argument
[all...]
/external/pdfium/core/src/fxcodec/fx_zlib/zlib_v128/
H A Dfx_zlib_compress.c29 z_stream stream; local
32 stream.next_in = (z_const Bytef *)source;
33 stream.avail_in = (uInt)sourceLen;
36 if ((uLong)stream.avail_in != sourceLen) return Z_BUF_ERROR;
38 stream.next_out = dest;
39 stream.avail_out = (uInt)*destLen;
40 if ((uLong)stream.avail_out != *destLen) return Z_BUF_ERROR;
42 stream.zalloc = (alloc_func)0;
43 stream.zfree = (free_func)0;
44 stream
[all...]
/external/qemu/distrib/zlib-1.2.8/
H A Dcompress.c29 z_stream stream; local
32 stream.next_in = (z_const Bytef *)source;
33 stream.avail_in = (uInt)sourceLen;
36 if ((uLong)stream.avail_in != sourceLen) return Z_BUF_ERROR;
38 stream.next_out = dest;
39 stream.avail_out = (uInt)*destLen;
40 if ((uLong)stream.avail_out != *destLen) return Z_BUF_ERROR;
42 stream.zalloc = (alloc_func)0;
43 stream.zfree = (free_func)0;
44 stream
[all...]
/external/zlib/src/
H A Dcompress.c29 z_stream stream; local
32 stream.next_in = (z_const Bytef *)source;
33 stream.avail_in = (uInt)sourceLen;
36 if ((uLong)stream.avail_in != sourceLen) return Z_BUF_ERROR;
38 stream.next_out = dest;
39 stream.avail_out = (uInt)*destLen;
40 if ((uLong)stream.avail_out != *destLen) return Z_BUF_ERROR;
42 stream.zalloc = (alloc_func)0;
43 stream.zfree = (free_func)0;
44 stream
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/
H A Du_dump.h94 util_dump_template(FILE *stream,
98 util_dump_rasterizer_state(FILE *stream,
102 util_dump_poly_stipple(FILE *stream,
106 util_dump_viewport_state(FILE *stream,
110 util_dump_scissor_state(FILE *stream,
114 util_dump_clip_state(FILE *stream,
118 util_dump_shader_state(FILE *stream,
122 util_dump_depth_stencil_alpha_state(FILE *stream,
126 util_dump_rt_blend_state(FILE *stream,
130 util_dump_blend_state(FILE *stream,
[all...]
/external/mesa3d/src/gallium/auxiliary/util/
H A Du_dump.h94 util_dump_template(FILE *stream,
98 util_dump_rasterizer_state(FILE *stream,
102 util_dump_poly_stipple(FILE *stream,
106 util_dump_viewport_state(FILE *stream,
110 util_dump_scissor_state(FILE *stream,
114 util_dump_clip_state(FILE *stream,
118 util_dump_shader_state(FILE *stream,
122 util_dump_depth_stencil_alpha_state(FILE *stream,
126 util_dump_rt_blend_state(FILE *stream,
130 util_dump_blend_state(FILE *stream,
[all...]
/external/nanopb-c/tests/callbacks/
H A Dencode_callbacks.c9 bool encode_string(pb_ostream_t *stream, const pb_field_t *field, void * const *arg) argument
13 if (!pb_encode_tag_for_field(stream, field))
16 return pb_encode_string(stream, (uint8_t*)str, strlen(str));
19 bool encode_int32(pb_ostream_t *stream, const pb_field_t *field, void * const *arg) argument
21 if (!pb_encode_tag_for_field(stream, field))
24 return pb_encode_varint(stream, 42);
27 bool encode_fixed32(pb_ostream_t *stream, const pb_field_t *field, void * const *arg) argument
31 if (!pb_encode_tag_for_field(stream, field))
34 return pb_encode_fixed32(stream, &value);
37 bool encode_fixed64(pb_ostream_t *stream, cons argument
47 encode_repeatedstring(pb_ostream_t *stream, const pb_field_t *field, void * const *arg) argument
66 pb_ostream_t stream; local
[all...]
/external/chromium_org/third_party/freetype/src/base/
H A Dftsystem.c152 /* system-specific stream handle from a given FreeType stream object */
153 #define STREAM_FILE( stream ) ( (FT_FILE*)stream->descriptor.pointer )
162 /* The function to close a stream. */
165 /* stream :: A pointer to the stream object. */
168 ft_ansi_stream_close( FT_Stream stream )
170 ft_fclose( STREAM_FILE( stream ) );
172 stream
201 ft_ansi_stream_io( FT_Stream stream, unsigned long offset, unsigned char* buffer, unsigned long count ) argument
[all...]
/external/freetype/src/base/
H A Dftsystem.c152 /* system-specific stream handle from a given FreeType stream object */
153 #define STREAM_FILE( stream ) ( (FT_FILE*)stream->descriptor.pointer )
162 /* The function to close a stream. */
165 /* stream :: A pointer to the stream object. */
168 ft_ansi_stream_close( FT_Stream stream )
170 ft_fclose( STREAM_FILE( stream ) );
172 stream
201 ft_ansi_stream_io( FT_Stream stream, unsigned long offset, unsigned char* buffer, unsigned long count ) argument
[all...]
/external/nanopb-c/examples/network_server/
H A Dcommon.c11 static bool write_callback(pb_ostream_t *stream, const uint8_t *buf, size_t count) argument
13 int fd = (intptr_t)stream->state;
17 static bool read_callback(pb_istream_t *stream, uint8_t *buf, size_t count) argument
19 int fd = (intptr_t)stream->state;
25 stream->bytes_left = 0; /* EOF */
32 pb_ostream_t stream = {&write_callback, (void*)(intptr_t)fd, SIZE_MAX, 0}; local
33 return stream;
38 pb_istream_t stream = {&read_callback, (void*)(intptr_t)fd, SIZE_MAX}; local
39 return stream;
/external/antlr/antlr-3.4/tool/src/test/java/org/antlr/test/
H A DTestTreeNodeStream.java35 /** Test the tree node stream. */
38 /** Build new stream; let's us override to test other streams. */
43 public String toTokenTypeString(TreeNodeStream stream) { argument
44 return ((CommonTreeNodeStream)stream).toTokenTypeString();
50 TreeNodeStream stream = newStream(t);
52 String found = toNodesOnlyString(stream);
56 found = toTokenTypeString(stream);
67 TreeNodeStream stream = newStream(t);
69 String found = toNodesOnlyString(stream);
73 found = toTokenTypeString(stream);
[all...]
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/cm/
H A Dpython.js60 function tokenBase(stream, state) {
62 if (stream.sol()) {
64 if (stream.eatSpace()) {
65 var lineOffset = stream.indentation();
74 dedent(stream, state);
78 if (stream.eatSpace()) {
82 var ch = stream.peek();
86 stream.skipToEnd();
91 if (stream.match(/^[0-9\.]/, false)) {
94 if (stream
[all...]
/external/chromium-trace/trace-viewer/third_party/pywebsocket/src/test/
H A Dtest_stream.py33 """Tests for stream module."""
41 from mod_pywebsocket import stream namespace
45 """A unittest for stream module."""
49 header = stream.create_header(common.OPCODE_TEXT, 1, 1, 1, 1, 1, 1)
53 header = stream.create_header(
59 stream.create_header,
64 stream.create_header,
69 stream.create_header,

Completed in 5310 milliseconds

1234567891011>>