/external/deqp/framework/delibs/destream/ |
deThreadStream.h | 4 * drawElements Stream Library 34 void deThreadInStream_init (deInStream* stream, deInStream* input, int ringbufferBlockSize, int ringbufferBlockCount); 35 void deThreadOutStream_init (deOutStream* stream, deOutStream* output, int ringbufferBlockSize, int ringbufferBlockCount);
|
deFileStream.h | 4 * drawElements Stream Library 23 * \brief Stream wrapper for deFile 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/oprofile/libutil++/ |
stream_util.h | 3 * C++ stream utility 17 /// class which save a stream state and restore it at dtor time 21 * save the stream flags, precision and fill char. 28 io_state(std::ios & stream); 29 /// restore the stream state 32 std::ios & stream; member in class:io_state
|
/external/skia/src/images/ |
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);
|
/frameworks/base/tools/aapt/tests/ |
TestHelper.h | 25 * Stream operator for nicely printing String8's in gtest output. 27 inline std::ostream& operator<<(std::ostream& stream, const String8& str) { 28 return stream << str.string();
|
/libcore/luni/src/main/java/java/sql/ |
SQLData.java | 67 * <li>Utilize the passed input stream to read the attributes or entries of 69 * <li>This is carried out by reading each entry from the input stream, 78 * The supplied input stream is typically initialized by the calling JDBC 81 * @param stream 82 * the {@code SQLInput} stream from which the type map data is 90 public void readSQL(SQLInput stream, String typeName) throws SQLException; 93 * Writes the object to a supplied {@code SQLOutput} data stream, writing it 98 * <li>Write each attribute of the SQL type to the output stream.</li> 99 * <li>Write each item by calling a method on the output stream, in the 106 * @param stream [all...] |
/ndk/sources/host-tools/sed-4.2.1/lib/ |
getline.c | 28 getline (char **lineptr, size_t *n, FILE *stream) 30 return getdelim (lineptr, n, '\n', stream);
|
/external/chromium_org/content/browser/streams/ |
stream_read_observer.h | 12 class Stream; 16 // Sent when there is data available to be read from the stream. 17 virtual void OnDataAvailable(Stream* stream) = 0;
|
/external/chromium_org/third_party/angle/tests/preprocessor_tests/ |
PreprocessorTest.cpp | 16 std::stringstream stream; local 22 stream << "\n"; 24 stream << token; 27 std::string actual = stream.str();
|
/external/chromium_org/third_party/skia/include/utils/ |
SkFrontBufferedStream.h | 14 * 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_t minBufferSize) [all...] |
/external/guava/guava/src/com/google/common/hash/ |
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.write((i >>> 8) & BOTTOM_BYTE) [all...] |
/external/skia/include/utils/ |
SkFrontBufferedStream.h | 14 * 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_t minBufferSize) [all...] |
/external/antlr/antlr-3.4/tool/src/test/java/org/antlr/test/ |
TestBufferedTreeNodeStream.java | 44 public String toTokenTypeString(TreeNodeStream stream) { 45 return ((BufferedTreeNodeStream)stream).toTokenTypeString(); 50 // stream has 7 real + 6 nav nodes 62 TreeNodeStream stream = newStream(r0); local 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.consume(); // consume 10 [all...] |
/external/nanopb-c/examples/using_double_on_avr/ |
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/ |
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) 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) 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_fields, &msg) [all...] |
/external/nanopb-c/ |
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 for writing into a memory buffer [all...] |
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/spdy/ |
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;
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/inc/ |
stream.h | 20 File: stream.h 43 void voAWB_UpdateFrameBuffer(FrameStream *stream, VO_MEM_OPERATOR *pMemOP); 44 void voAWB_InitFrameBuffer(FrameStream *stream); 45 void voAWB_FlushFrameBuffer(FrameStream *stream);
|
/frameworks/base/core/jni/android/graphics/ |
CreateJavaOutputStreamAdaptor.h | 16 * @param stream Pointer to Java InputStream. 24 SkStream* CreateJavaInputStreamAdaptor(JNIEnv* env, jobject stream, 30 * @param stream Pointer to Java InputStream. 33 * @return SkStreamRewindable The data in stream will be copied 36 SkStreamRewindable* CopyJavaInputStream(JNIEnv* env, jobject stream, 39 SkWStream* CreateJavaOutputStreamAdaptor(JNIEnv* env, jobject stream,
|
/frameworks/ex/framesequence/jni/ |
FrameSequence.cpp | 21 FrameSequence* FrameSequence::create(Stream* stream) { 22 const RegistryEntry* entry = Registry::Find(stream); 26 FrameSequence* frameSequence = entry->createFrameSequence(stream);
|
Registry.h | 22 class Stream; 27 FrameSequence* (*createFrameSequence)(Stream* stream); 28 Decoder* (*createDecoder)(Stream* stream); 42 static const RegistryEntry* Find(Stream* stream);
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
bitstream_io.cpp | 54 BitstreamEncVideo *stream; local 55 stream = (BitstreamEncVideo *) M4VENC_MALLOC(sizeof(BitstreamEncVideo)); 56 if (stream == NULL) 60 stream->bufferSize = bufferSize; 61 stream->bitstreamBuffer = (UChar *) M4VENC_MALLOC(stream->bufferSize * sizeof(UChar)); 62 if (stream->bitstreamBuffer == NULL) 64 M4VENC_FREE(stream); 65 stream = NULL; 68 M4VENC_MEMSET(stream->bitstreamBuffer, 0, stream->bufferSize*sizeof(UChar)) [all...] |
/external/chromium_org/third_party/skia/src/pdf/ |
SkPDFStream.cpp | 21 SkPDFStream::SkPDFStream(SkStream* stream) : fState(kUnused_State) { 22 setData(stream); 34 // Don't uncompress an already compressed stream, but we could. 53 void SkPDFStream::emitObject(SkWStream* stream, SkPDFCatalog* catalog, 56 return emitIndirectObject(stream, catalog); 59 return fSubstitute->emitObject(stream, catalog, indirect); 62 this->INHERITED::emitObject(stream, catalog, false); 63 stream->writeText(" stream\n"); 64 stream->writeStream(fData.get(), fData->getLength()) 84 SkMemoryStream* stream = new SkMemoryStream; local 106 SkMemoryStream* stream = new SkMemoryStream; local [all...] |
/external/skia/src/pdf/ |
SkPDFStream.cpp | 21 SkPDFStream::SkPDFStream(SkStream* stream) : fState(kUnused_State) { 22 setData(stream); 34 // Don't uncompress an already compressed stream, but we could. 53 void SkPDFStream::emitObject(SkWStream* stream, SkPDFCatalog* catalog, 56 return emitIndirectObject(stream, catalog); 59 return fSubstitute->emitObject(stream, catalog, indirect); 62 this->INHERITED::emitObject(stream, catalog, false); 63 stream->writeText(" stream\n"); 64 stream->writeStream(fData.get(), fData->getLength()) 84 SkMemoryStream* stream = new SkMemoryStream; local 106 SkMemoryStream* stream = new SkMemoryStream; local [all...] |
/external/chromium_org/components/metrics/ |
compression_utils.cc | 35 z_stream stream; local 37 stream.next_in = bit_cast<Bytef*>(source); 38 stream.avail_in = static_cast<uInt>(source_length); 39 stream.next_out = dest; 40 stream.avail_out = static_cast<uInt>(*dest_length); 41 if (static_cast<uLong>(stream.avail_out) != *dest_length) 44 stream.zalloc = static_cast<alloc_func>(0); 45 stream.zfree = static_cast<free_func>(0); 46 stream.opaque = static_cast<voidpf>(0); 50 int err = deflateInit2(&stream, 81 z_stream stream; local [all...] |