/external/chromium_org/base/strings/ |
H A D | string16_unittest.cc | 19 // Basic stream test. 21 std::ostringstream stream; local 22 stream << "Empty '" << string16() << "' standard '" 25 stream.str().c_str()); 47 std::ostringstream stream; local 48 stream << initial_surrogate << "," << final_surrogate << "," 52 stream.str().c_str());
|
/external/nanopb-c/tests/basic_stream/ |
H A D | encode_stream.c | 9 /* This binds the pb_ostream_t into the stdout stream */ 10 bool streamcallback(pb_ostream_t *stream, const uint8_t *buf, size_t count) argument 12 FILE *file = (FILE*) stream->state; 25 /* Prepare the stream, output goes directly to stdout */ 26 pb_ostream_t stream = {&streamcallback, NULL, SIZE_MAX, 0}; local 27 stream.state = stdout; 31 if (pb_encode(&stream, Person_fields, &person)) 37 fprintf(stderr, "Encoding failed: %s\n", PB_GET_ERROR(&stream));
|
/external/antlr/antlr-3.4/runtime/C/include/ |
H A D | antlr3rewritestreams.h | 60 /// TODO: add mechanism to detect/puke on modification after reading from stream 82 /// The element or stream description; usually has name of the token or 88 /// Pointer to the tree adaptor in use for this stream 92 /// Once a node / subtree has been used in a stream, it must be dup'ed 99 // Pointer to the recognizer shared state to which this stream belongs 105 /// Reset the condition of this stream so that it appears we have 108 void (*reset) (struct ANTLR3_REWRITE_RULE_ELEMENT_STREAM_struct * stream); 110 /// Add a new pANTLR3_BASE_TREE to this stream 112 void (*add) (struct ANTLR3_REWRITE_RULE_ELEMENT_STREAM_struct * stream, void *el, void (ANTLR3_CDECL *freePtr)(void *)); 114 /// Return the next element in the stream [all...] |
/external/nanopb-c/ |
H A D | pb_decode.h | 2 * The main function is pb_decode. You also need an input stream, and the 25 * is different than from the main stream. Don't use bytes_left to compute 37 bool (*callback)(pb_istream_t *stream, uint8_t *buf, size_t count); 52 /* Decode a single protocol buffers message from input stream into a C structure. 61 * pb_istream_t stream; 65 * stream = pb_istream_from_buffer(buffer, count); 66 * pb_decode(&stream, MyMessage_fields, &msg); 68 bool pb_decode(pb_istream_t *stream, const pb_field_t fields[], void *dest_struct); 80 bool pb_decode_noinit(pb_istream_t *stream, const pb_field_t fields[], void *dest_struct); 82 /* Same as pb_decode, except expects the stream t [all...] |
H A D | pb_encode.c | 22 typedef bool (*pb_encoder_t)(pb_ostream_t *stream, const pb_field_t *field, const void *src) checkreturn; 24 static bool checkreturn buf_write(pb_ostream_t *stream, const uint8_t *buf, size_t count); 25 static bool checkreturn encode_array(pb_ostream_t *stream, const pb_field_t *field, const void *pData, size_t count, pb_encoder_t func); 26 static bool checkreturn encode_field(pb_ostream_t *stream, const pb_field_t *field, const void *pData); 27 static bool checkreturn default_extension_encoder(pb_ostream_t *stream, const pb_extension_t *extension); 28 static bool checkreturn encode_extension_field(pb_ostream_t *stream, const pb_field_t *field, const void *pData); 29 static bool checkreturn pb_enc_varint(pb_ostream_t *stream, const pb_field_t *field, const void *src); 30 static bool checkreturn pb_enc_uvarint(pb_ostream_t *stream, const pb_field_t *field, const void *src); 31 static bool checkreturn pb_enc_svarint(pb_ostream_t *stream, const pb_field_t *field, const void *src); 32 static bool checkreturn pb_enc_fixed32(pb_ostream_t *stream, cons 58 buf_write(pb_ostream_t *stream, const uint8_t *buf, size_t count) argument 71 pb_ostream_t stream; local 86 pb_write(pb_ostream_t *stream, const uint8_t *buf, size_t count) argument 111 encode_array(pb_ostream_t *stream, const pb_field_t *field, const void *pData, size_t count, pb_encoder_t func) argument 200 encode_basic_field(pb_ostream_t *stream, const pb_field_t *field, const void *pData) argument 261 encode_callback_field(pb_ostream_t *stream, const pb_field_t *field, const void *pData) argument 281 encode_field(pb_ostream_t *stream, const pb_field_t *field, const void *pData) argument 300 default_extension_encoder(pb_ostream_t *stream, const pb_extension_t *extension) argument 309 encode_extension_field(pb_ostream_t *stream, const pb_field_t *field, const void *pData) argument 336 pb_encode(pb_ostream_t *stream, const pb_field_t fields[], const void *src_struct) argument 376 pb_encode_delimited(pb_ostream_t *stream, const pb_field_t fields[], const void *src_struct) argument 383 pb_ostream_t stream = PB_OSTREAM_SIZING; local 395 pb_encode_varint(pb_ostream_t *stream, uint64_t value) argument 414 pb_encode_svarint(pb_ostream_t *stream, int64_t value) argument 425 pb_encode_fixed32(pb_ostream_t *stream, const void *value) argument 440 pb_encode_fixed64(pb_ostream_t *stream, const void *value) argument 459 pb_encode_tag(pb_ostream_t *stream, pb_wire_type_t wiretype, uint32_t field_number) argument 465 pb_encode_tag_for_field(pb_ostream_t *stream, const pb_field_t *field) argument 497 pb_encode_string(pb_ostream_t *stream, const uint8_t *buffer, size_t size) argument 505 pb_encode_submessage(pb_ostream_t *stream, const pb_field_t fields[], const void *src_struct) argument 557 pb_enc_varint(pb_ostream_t *stream, const pb_field_t *field, const void *src) argument 575 pb_enc_uvarint(pb_ostream_t *stream, const pb_field_t *field, const void *src) argument 589 pb_enc_svarint(pb_ostream_t *stream, const pb_field_t *field, const void *src) argument 603 pb_enc_fixed64(pb_ostream_t *stream, const pb_field_t *field, const void *src) argument 609 pb_enc_fixed32(pb_ostream_t *stream, const pb_field_t *field, const void *src) argument 615 pb_enc_bytes(pb_ostream_t *stream, const pb_field_t *field, const void *src) argument 634 pb_enc_string(pb_ostream_t *stream, const pb_field_t *field, const void *src) argument 660 pb_enc_submessage(pb_ostream_t *stream, const pb_field_t *field, const void *src) argument [all...] |
H A D | pb_encode.h | 2 * The main function is pb_encode. You also need an output stream, and the 33 * Also, NULL pointer marks a 'sizing stream' that does not 38 bool (*callback)(pb_ostream_t *stream, const uint8_t *buf, size_t count); 53 /* Encode a single protocol buffers message from C structure into a stream. 61 * pb_ostream_t stream; 64 * stream = pb_ostream_from_buffer(buffer, sizeof(buffer)); 65 * pb_encode(&stream, MyMessage_fields, &msg); 67 bool pb_encode(pb_ostream_t *stream, const pb_field_t fields[], const void *src_struct); 72 bool pb_encode_delimited(pb_ostream_t *stream, const pb_field_t fields[], const void *src_struct); 82 /* Create an output stream fo [all...] |
/external/bison/lib/ |
H A D | getline.c | 24 getline (char **lineptr, size_t *n, FILE *stream) argument 26 return getdelim (lineptr, n, '\n', stream);
|
/external/chromium_org/content/browser/streams/ |
H A D | stream_write_observer.h | 14 // Sent when space becomes available in the stream, and the source should 16 virtual void OnSpaceAvailable(Stream* stream) = 0; 18 // Sent when the stream is closed, and the writer should stop sending data. 19 virtual void OnClose(Stream* stream) = 0;
|
/external/chromium_org/skia/ext/ |
H A D | SkTypeface_fake.cpp | 14 void SkTypeface::serialize(SkWStream* stream) const { 17 SkTypeface* SkTypeface::Deserialize(SkStream* stream) { argument
|
/external/chromium_org/third_party/WebKit/Source/modules/mediastream/ |
H A D | MediaStreamEvent.idl | 28 [InitializedByEventConstructor] readonly attribute MediaStream? stream;
|
H A D | URLMediaStream.idl | 34 [CallWith=ExecutionContext, TreatReturnedNullStringAs=Null] static DOMString createObjectURL(MediaStream stream);
|
/external/chromium_org/third_party/WebKit/Source/modules/webaudio/ |
H A D | MediaStreamAudioDestinationNode.idl | 28 readonly attribute MediaStream stream;
|
/external/chromium_org/third_party/angle/src/compiler/preprocessor/ |
H A D | numeric_lex.h | 39 std::istringstream stream(str); 42 stream.setf(numeric_base_int(str), std::ios::basefield); 44 stream >> (*value); 45 return !stream.fail(); 51 std::istringstream stream(str); 54 stream.imbue(std::locale::classic()); 56 stream >> (*value); 57 return !stream.fail();
|
/external/chromium_org/third_party/skia/src/images/ |
H A D | SkStreamHelpers.h | 16 * Copy the provided stream to memory allocated by storage. 19 * enough to hold the entire stream. Upon successful return, 22 * @param stream SkStream to be copied into storage. 26 size_t CopyStreamToStorage(SkAutoMalloc* storage, SkStream* stream); 29 * Copy the provided stream to an SkData variable. Used by SkImageDecoder_libktx. 30 * @param stream SkStream to be copied into data. 34 SkData *CopyStreamToData(SkStream* stream);
|
/external/chromium_org/third_party/skia/third_party/harfbuzz/src/ |
H A D | harfbuzz-dump.h | 36 void HB_Dump_GSUB_Table (HB_GSUB gsub, FILE *stream); 37 void HB_Dump_GPOS_Table (HB_GPOS gpos, FILE *stream);
|
/external/deqp/framework/delibs/destream/ |
H A D | deThreadStream.h | 34 void deThreadInStream_init (deInStream* stream, deInStream* input, int ringbufferBlockSize, int ringbufferBlockCount); 35 void deThreadOutStream_init (deOutStream* stream, deOutStream* output, int ringbufferBlockSize, int ringbufferBlockCount);
|
H A D | deFileStream.h | 36 void deFileIOStream_init (deIOStream* stream, const char* filename, deFileMode mode); 37 void deFileInStream_init (deInStream* stream, const char* filename, deFileMode mode); 38 void deFileOutStream_init (deOutStream* stream, const char* filename, deFileMode mode);
|
/external/skia/src/images/ |
H A D | SkStreamHelpers.h | 16 * Copy the provided stream to memory allocated by storage. 19 * enough to hold the entire stream. Upon successful return, 22 * @param stream SkStream to be copied into storage. 26 size_t CopyStreamToStorage(SkAutoMalloc* storage, SkStream* stream); 29 * Copy the provided stream to an SkData variable. Used by SkImageDecoder_libktx. 30 * @param stream SkStream to be copied into data. 34 SkData *CopyStreamToData(SkStream* stream);
|
/external/chromium_org/third_party/angle/tests/preprocessor_tests/ |
H A D | PreprocessorTest.cpp | 16 std::stringstream stream; local 22 stream << "\n"; 24 stream << token; 27 std::string actual = stream.str();
|
/external/guava/guava/src/com/google/common/hash/ |
H A D | AbstractNonStreamingHashFunction.java | 31 * In-memory stream-based implementation of Hasher. 34 final ExposedByteArrayOutputStream stream; field in class:AbstractNonStreamingHashFunction.BufferingHasher 38 this.stream = new ExposedByteArrayOutputStream(expectedInputSize); 43 stream.write(b); 50 stream.write(bytes); 59 stream.write(bytes, off, len); 65 stream.write(s & BOTTOM_BYTE); 66 stream.write((s >>> 8) & BOTTOM_BYTE); 72 stream.write(i & BOTTOM_BYTE); 73 stream [all...] |
/external/antlr/antlr-3.4/tool/src/test/java/org/antlr/test/ |
H A D | TestBufferedTreeNodeStream.java | 44 public String toTokenTypeString(TreeNodeStream stream) { argument 45 return ((BufferedTreeNodeStream)stream).toTokenTypeString(); 50 // stream has 7 real + 6 nav nodes 62 TreeNodeStream stream = newStream(r0); 63 stream.consume(); // consume 101 64 stream.consume(); // consume DN 65 stream.consume(); // consume 102 66 stream.seek(7); // seek to 107 67 assertEquals(107, ((Tree)stream.LT(1)).getType()); 68 stream [all...] |
/external/chromium_org/native_client_sdk/src/examples/api/media_stream_audio/ |
H A D | example.js | 5 var stream; variable 8 stream = s; 9 common.naclModule.postMessage({track: stream.getAudioTracks()[0]});
|
/external/nanopb-c/examples/using_double_on_avr/ |
H A D | encode_double.c | 18 pb_ostream_t stream = pb_ostream_from_buffer(buffer, sizeof(buffer)); local 20 pb_encode(&stream, AVRDoubleMessage_fields, &message); 21 fwrite(buffer, 1, stream.bytes_written, stdout);
|
/external/nanopb-c/examples/using_union_messages/ |
H A D | decode.c | 11 /* This function reads manually the first tag from the stream and finds the 17 const pb_field_t* decode_unionmessage_type(pb_istream_t *stream) argument 23 while (pb_decode_tag(stream, &wire_type, &tag, &eof)) 39 pb_skip_field(stream, wire_type); 45 bool decode_unionmessage_contents(pb_istream_t *stream, const pb_field_t fields[], void *dest_struct) argument 49 if (!pb_make_string_substream(stream, &substream)) 53 pb_close_string_substream(stream, &substream); 62 pb_istream_t stream = pb_istream_from_buffer(buffer, count); local 64 const pb_field_t *type = decode_unionmessage_type(&stream); 70 status = decode_unionmessage_contents(&stream, MsgType1_field [all...] |
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/spdy/ |
H A D | IncomingStreamHandler.java | 21 /** Listener to be notified when a connected peer creates a new stream. */ 24 @Override public void receive(SpdyStream stream) throws IOException { 25 stream.close(ErrorCode.REFUSED_STREAM); 30 * Handle a new stream from this connection's peer. Implementations should 31 * respond by either {@link SpdyStream#reply replying to the stream} or 35 void receive(SpdyStream stream) throws IOException; argument
|