/external/antlr/antlr-3.4/runtime/Delphi/Sources/Antlr3.Runtime.Tests/ |
Antlr.Runtime.Tests.pas | 47 Stream: IANTLRStringStream; 49 Stream := TANTLRStringStream.Create('One'#13#10'Two'); 50 CheckEquals(0, Stream.Index); 51 CheckEquals(0, Stream.CharPositionInLine); 52 CheckEquals(1, Stream.Line); 54 Stream.Consume; // O 55 CheckEquals(1, Stream.Index); 56 CheckEquals(1, Stream.CharPositionInLine); 57 CheckEquals(1, Stream.Line); 59 Stream.Consume; // [all...] |
/external/llvm/lib/IR/ |
DiagnosticPrinter.cpp | 24 Stream << C; 29 Stream << C; 34 Stream << C; 39 Stream << Str; 44 Stream << Str; 50 Stream << Str; 55 Stream << N; 59 Stream << N; 65 Stream << N; 70 Stream << N [all...] |
/external/webrtc/webrtc/ |
stream.h | 23 class Stream { 25 // Starts stream activity. 26 // When a stream is active, it can receive, process and deliver packets. 28 // Stops stream activity. 29 // When a stream is stopped, it can't receive, process or deliver packets. 31 // Called to notify that network state has changed, so that the stream can 38 virtual ~Stream() {} 42 class ReceiveStream : public Stream { 51 // A tag class that denotes send stream type. 52 class SendStream : public Stream {}; [all...] |
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/ |
ANTLRInputStream.cs | 35 using Stream = System.IO.Stream; 45 public ANTLRInputStream(Stream input) 49 public ANTLRInputStream(Stream input, int size) 53 public ANTLRInputStream(Stream input, Encoding encoding) 57 public ANTLRInputStream(Stream input, int size, Encoding encoding) 61 public ANTLRInputStream(Stream input, int size, int readBufferSize, Encoding encoding) 65 private static StreamReader GetStreamReader(Stream input, Encoding encoding) {
|
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/ |
ANTLRInputStream.cs | 36 using Stream = System.IO.Stream; 47 public ANTLRInputStream( Stream input ) 52 public ANTLRInputStream( Stream input, int size ) 57 public ANTLRInputStream( Stream input, Encoding encoding ) 62 public ANTLRInputStream( Stream input, int size, Encoding encoding ) 67 public ANTLRInputStream( Stream input, int size, int readBufferSize, Encoding encoding ) 72 private static StreamReader GetStreamReader(Stream input, Encoding encoding)
|
/external/libbrillo/brillo/streams/ |
openssl_stream_bio.h | 15 class Stream; 17 // Creates a new BIO that uses the brillo::Stream as the back-end storage. 18 // The created BIO does *NOT* own the |stream| and the stream must out-live 22 // The returned BIO performs *NON-BLOCKING* IO on the underlying stream. 23 BRILLO_EXPORT BIO* BIO_new_stream(brillo::Stream* stream);
|
stream_utils.h | 10 #include <brillo/streams/stream.h> 15 // Generates "Stream closed" error and returns false. 23 // Generates "Read past end of stream" error and returns false. 32 // signed int64_t type. We use uint64_t for absolute stream pointer positions, 45 // Helper function to calculate the stream position based on the current 46 // stream position and offset. Returns true and the new calculated stream 47 // position in |new_position| if successful. In case of invalid stream 55 Stream::Whence whence, 62 inline bool IsReadAccessMode(Stream::AccessMode mode) [all...] |
/frameworks/ex/framesequence/jni/ |
Registry.h | 25 class Stream; 30 FrameSequence* (*createFrameSequence)(Stream* stream); 31 Decoder* (*createDecoder)(Stream* stream); 46 static const RegistryEntry* Find(Stream* stream);
|
/external/llvm/lib/DebugInfo/PDB/Raw/ |
SymbolStream.cpp | 1 //===- SymbolStream.cpp - PDB Symbol Stream Access ------------------------===// 27 SymbolStream::SymbolStream(std::unique_ptr<MappedBlockStream> Stream) 28 : Stream(std::move(Stream)) {} 33 codeview::StreamReader Reader(*Stream); 35 if (auto EC = Reader.readArray(SymbolRecords, Stream->getLength()))
|
NameMap.cpp | 22 Error NameMap::load(codeview::StreamReader &Stream) { 24 // This is some sort of weird string-set/hash table encoded in the stream. 27 if (auto EC = Stream.readInteger(NumberOfBytes)) 31 if (Stream.bytesRemaining() < NumberOfBytes) 36 uint32_t StringsOffset = Stream.getOffset(); 37 Stream.setOffset(StringsOffset + NumberOfBytes); 42 if (auto EC = Stream.readInteger(HashSize)) 50 if (auto EC = Stream.readInteger(MaxNumberOfStrings)) 64 if (auto EC = Stream.readInteger(NumPresentWords)) 76 if (auto EC = Stream.readInteger(Word) [all...] |
/external/llvm/include/llvm/DebugInfo/CodeView/ |
StreamRef.h | 1 //===- StreamRef.h - A copyable reference to a stream -----------*- C++ -*-===// 21 StreamRef() : Stream(nullptr), ViewOffset(0), Length(0) {} 22 StreamRef(const StreamInterface &Stream) 23 : Stream(&Stream), ViewOffset(0), Length(Stream.getLength()) {} 24 StreamRef(const StreamInterface &Stream, uint32_t Offset, uint32_t Length) 25 : Stream(&Stream), ViewOffset(Offset), Length(Length) {} 36 return Stream->readBytes(ViewOffset + Offset, Size, Buffer) [all...] |
StreamArray.h | 1 //===- StreamArray.h - Array backed by an arbitrary stream ----------------===// 28 /// the underlying stream, and it should fill out the fields of the value type 37 Error operator()(StreamRef Stream, uint32_t &Len, T &Item) const = delete; 41 /// stream. This could be a contiguous sequence of bytes in memory, it could 42 /// be a file on disk, or it could be a PDB stream where bytes are stored as 46 /// re-ordering of stream data to be contiguous before iterating over it. By 86 explicit VarStreamArray(StreamRef Stream) : Stream(Stream) {} 87 VarStreamArray(StreamRef Stream, const Extractor &E) : Stream(Stream), E(E) { [all...] |
/external/clang/test/Sema/ |
parentheses.cpp | 32 class Stream { 35 Stream &operator<<(int); 36 Stream &operator<<(const char*); 37 Stream &operator>>(int); 38 Stream &operator>>(const char*); 41 void f(Stream& s, bool b) { 98 Stream() << b + c; 99 Stream() >> b + c; // expected-warning {{operator '>>' has lower precedence than '+'; '+' will be evaluated first}} \
|
/external/llvm/include/llvm/DebugInfo/PDB/Raw/ |
SymbolStream.h | 1 //===- SymbolStream.cpp - PDB Symbol Stream Access --------------*- C++ -*-===// 25 SymbolStream(std::unique_ptr<MappedBlockStream> Stream); 36 std::unique_ptr<MappedBlockStream> Stream;
|
/external/vogar/test/vogar/testing/ |
InterceptOutputStreamsTest.java | 27 import vogar.testing.InterceptOutputStreams.Stream; 40 public InterceptOutputStreams iosRule = new InterceptOutputStreams(Stream.OUT, Stream.ERR); 52 assertTrue(iosRule.contents(Stream.OUT).endsWith("\nAfter Tests OUT\n")); 53 assertTrue(iosRule.contents(Stream.ERR).endsWith("\nAfter Tests ERR\n")); 59 final InterceptOutputStreams ios = new InterceptOutputStreams(Stream.OUT, Stream.ERR); 66 assertEquals("Hello\n", ios.contents(Stream.OUT)); 67 assertEquals("World\n", ios.contents(Stream.ERR)); 70 assertEquals("Before Tests OUT\n", iosRule.contents(Stream.OUT)) [all...] |
/external/clang/lib/Frontend/ |
SerializedDiagnosticReader.cpp | 32 llvm::BitstreamCursor Stream(StreamFile); 35 if (Stream.Read(8) != 'D' || 36 Stream.Read(8) != 'I' || 37 Stream.Read(8) != 'A' || 38 Stream.Read(8) != 'G') 42 while (!Stream.AtEndOfStream()) { 43 if (Stream.ReadCode() != llvm::bitc::ENTER_SUBBLOCK) 47 switch (Stream.ReadSubBlockID()) { 49 if (Stream.ReadBlockInfoBlock()) 53 if ((EC = readMetaBlock(Stream))) [all...] |
/device/linaro/bootloader/edk2/StdLib/LibC/Uefi/Devices/Console/ |
daConsole.c | 76 @param[in,out] Cs Pointer to the character state object for this stream
116 @retval -1 filp is not associated with a valid console stream.
117 @retval -1 This console stream is attached to stdin.
129 ConInstance *Stream;
133 Stream = BASE_CR(filp->f_ops, ConInstance, Abstraction);
134 // Quick check to see if Stream looks reasonable
135 if(Stream->Cookie != CON_COOKIE) { // Cookie == 'IoAb'
139 if(Stream->InstanceNum == STDIN_FILENO) {
145 Proto = (EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL *)Stream->Dev;
183 ConInstance *Stream;
[all...] |
/external/lzma/CS/7zip/Compress/RangeCoder/ |
RangeCoder.cs | 9 System.IO.Stream Stream;
18 public void SetStream(System.IO.Stream stream)
20 Stream = stream;
25 Stream = null;
30 StartPosition = Stream.Position;
46 Stream.Flush();
51 Stream.Close(); [all...] |
/external/lzma/Java/SevenZip/Compression/RangeCoder/ |
Decoder.java | 15 java.io.InputStream Stream;
17 public final void SetStream(java.io.InputStream stream)
19 Stream = stream;
24 Stream = null;
32 Code = (Code << 8) | Stream.read();
47 Code = (Code << 8) | Stream.read();
64 Code = (Code << 8) | Stream.read();
76 Code = (Code << 8) | Stream.read();
|
/hardware/interfaces/audio/2.0/default/ |
Stream.cpp | 30 #include "Stream.h" 38 Stream::Stream(audio_stream_t* stream) 39 : mStream(stream) { 42 Stream::~Stream() { 47 Result Stream::analyzeStatus(const char* funcName, int status) { 58 Result Stream::analyzeStatus(const char* funcName, int status, 61 ALOGW("Error from HAL stream in function %s: %s", funcName, strerror(-status)) [all...] |
/hardware/libhardware/modules/usbcamera/ |
Stream.h | 27 // Stream represents a single input or output stream for a camera device. 28 class Stream { 30 Stream(int id, camera3_stream_t *s); 31 ~Stream(); 33 // validate that a stream's parameters match this stream's parameters 46 // This stream is being reused. Used in stream configuration passes 50 // The camera device id this stream belongs t [all...] |
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/ |
SequentialOpTest.java | 23 package org.openjdk.tests.java.util.stream; 25 import org.openjdk.testlib.java.util.stream.LambdaTestHelpers; 26 import org.openjdk.testlib.java.util.stream.OpTestCase; 27 import org.openjdk.testlib.java.util.stream.StreamTestDataProvider; 28 import org.openjdk.testlib.java.util.stream.TestData; 39 import java.util.stream.Stream; 56 Supplier<Stream<Integer>>[] suppliers = new Supplier[] { () -> data.stream(), () -> data.parallelStream() }; 57 UnaryOperator<Stream<Integer>>[] config 75 Stream<Integer> stream = config.apply(supp.get()); local [all...] |
/external/llvm/unittests/Support/ |
YAMLParserTest.cpp | 34 yaml::Stream Stream(Input, SM); 36 EXPECT_FALSE(Stream.validate()) << Message << ": " << Input; 37 EXPECT_TRUE(Stream.failed()) << Message << ": " << Input; 43 yaml::Stream Stream(Input, SM); 44 EXPECT_TRUE(Stream.validate()) << Message << ": " << Input; 161 yaml::Stream Stream("test: |\n Hello\n World\n", SM); 162 yaml::Document &Doc = *Stream.begin() [all...] |
/libcore/ojluni/src/test/java/util/stream/boottest/java/util/stream/ |
StreamFlagsTest.java | 23 package java.util.stream; 28 import java.util.stream.Stream; 29 import java.util.stream.StreamOpFlag; 30 import java.util.stream.Streams; 32 import static java.util.stream.StreamOpFlag.*; 43 Stream<String> arrayList = new ArrayList<String>().stream(); 44 Stream<String> linkedList = new LinkedList<String>().stream(); [all...] |
/external/antlr/antlr-3.4/runtime/Perl5/lib/ANTLR/Runtime/ |
Stream.pm | 1 package ANTLR::Runtime::Stream;
|