/external/clang/lib/Frontend/ |
SerializedDiagnosticPrinter.cpp | 191 : DiagOpts(diags), Stream(Buffer), OS(os), EmittedAnyDiagBlocks(false) { } 200 llvm::BitstreamWriter Stream; 251 llvm::BitstreamWriter &Stream, 255 Stream.EmitRecord(llvm::bitc::BLOCKINFO_CODE_SETBID, Record); 266 Stream.EmitRecord(llvm::bitc::BLOCKINFO_CODE_BLOCKNAME, Record); 271 llvm::BitstreamWriter &Stream, 279 Stream.EmitRecord(llvm::bitc::BLOCKINFO_CODE_SETRECORDNAME, Record); 331 State->Stream.EmitRecordWithBlob(State->Abbrevs.get(RECORD_FILENAME), Record, 342 State->Stream.EmitRecordWithAbbrev(State->Abbrevs.get(RECORD_SOURCE_RANGE), 349 State->Stream.Emit((unsigned)'D', 8) [all...] |
/external/harfbuzz_ng/src/hb-old/ |
Makefile.am | 7 harfbuzz-stream.c \ 33 harfbuzz-stream.h 38 harfbuzz-stream-private.h \
|
/external/icu4c/io/unicode/ |
ustream.h | 26 * 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);
|
/external/junit/src/org/junit/experimental/results/ |
PrintableResult.java | 52 ByteArrayOutputStream stream = new ByteArrayOutputStream(); local 53 new TextListener(new PrintStream(stream)).testRunFinished(result); 54 return stream.toString();
|
/external/llvm/examples/OCaml-Kaleidoscope/Chapter2/ |
toy.ml | 15 let stream = Lexer.lex (Stream.of_channel stdin) in 18 Toplevel.main_loop stream;
|
/external/llvm/examples/OCaml-Kaleidoscope/Chapter3/ |
toy.ml | 17 let stream = Lexer.lex (Stream.of_channel stdin) in 20 Toplevel.main_loop stream;
|
/external/lzma/CPP/7zip/ |
IStream.h | 19 then there are no more bytes in stream.
20 if (size > 0) && there are bytes in stream,
22 This function is allowed to read less than number of remaining bytes in stream.
|
/external/skia/include/utils/ios/ |
SkStream_NSData.h | 14 /** Returns an NSData with a copy of the stream's data. The caller must call 18 NSData* NSData_dataWithStream(SkStream* stream); 27 /** Wrap a stream around NSData.
|
/external/skia/src/doc/ |
SkDocument.cpp | 13 SkDocument::SkDocument(SkWStream* stream, void (*doneProc)(SkWStream*)) { 14 fStream = stream; // we do not own this object. 73 // we don't own the stream, but we mark it NULL since we can
|
/external/skia/src/utils/ios/ |
SkFontHost_iOS.mm | 58 SkTypeface_Stream(SkStream* stream, Style style); 72 SkTypeface_Stream::SkTypeface_Stream(SkStream* stream, Style style) 74 fStream = stream; 83 SkStream* stream = SkStream_NSData::CreateFromResource(res.fName, "ttf"); 84 SkAutoUnref aur(stream); 86 return SkNEW_ARGS(SkTypeface_Stream, (stream, res.fStyle)); 174 SkTypeface* SkFontHost::CreateTypefaceFromStream(SkStream* stream) { 200 void SkFontHost::Serialize(const SkTypeface* face, SkWStream* stream) { 204 SkTypeface* SkFontHost::Deserialize(SkStream* stream) { 205 int style = stream->readU8() [all...] |
/external/skia/tools/ |
PdfRenderer.h | 32 virtual void init(SkPicture* pict, SkWStream* stream); 43 void write(SkWStream* stream) const; 46 SkCanvas* setupCanvas(SkWStream* stream, int width, int height);
|
/external/smack/src/org/jivesoftware/smackx/filetransfer/ |
FaultTolerantNegotiator.java | 39 * The fault tolerant negotiator takes two stream negotiators, the primary and the secondary 40 * negotiator. If the primary negotiator fails during the stream negotiaton process, the second 68 "stream method."); 86 InputStream stream = null; local 93 while (stream == null && i < futures.size()) { 108 stream = future.get(); 125 if (stream == null) { 134 return stream; 143 OutputStream stream; local 145 stream = primaryNegotiator.createOutgoingStream(streamID, initiator, target) [all...] |
/frameworks/base/core/tests/coretests/src/com/android/internal/util/ |
FastXmlSerializerTest.java | 30 final ByteArrayOutputStream stream = new ByteArrayOutputStream(); local 33 out.setOutput(stream, "utf-8"); 45 + "<string name=\"meow\"></string>", stream.toString());
|
/frameworks/base/graphics/java/android/graphics/ |
Picture.java | 114 * Create a new picture (already recorded) from the data in the stream. This 120 * <strong>Note:</strong> a picture created from an input stream cannot be 129 public static Picture createFromStream(InputStream stream) { 130 return new Picture(nativeCreateFromStream(stream, new byte[WORKING_STREAM_STORAGE]), true); 134 * Write the picture contents to a stream. The data can be used to recreate 136 * The resulting stream is NOT to be persisted across device restarts as 140 * <strong>Note:</strong> a picture created from an input stream cannot be 148 public void writeToStream(OutputStream stream) { 150 if (stream == null) { 153 if (!nativeWriteToStream(mNativePicture, stream, [all...] |
/frameworks/base/obex/javax/obex/ |
PrivateOutputStream.java | 40 * This object provides an output stream to the Operation objects used in this 56 * @param p the connection that this stream runs over 66 * Determines how many bytes have been written to the output stream. 67 * @return the number of bytes written to the output stream 74 * Writes the specified byte to this output stream. The general contract for 75 * write is that one byte is written to the output stream. The byte to be 123 * Reads the bytes that have been written to this stream. 143 * Verifies that this stream is open 144 * @throws IOException if the stream is not open 149 throw new IOException("Output stream is closed") [all...] |
/libcore/crypto/src/main/java/org/conscrypt/ |
OpenSSLDSAPrivateKey.java | 205 private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException { 206 stream.defaultReadObject(); 208 final BigInteger g = (BigInteger) stream.readObject(); 209 final BigInteger p = (BigInteger) stream.readObject(); 210 final BigInteger q = (BigInteger) stream.readObject(); 211 final BigInteger x = (BigInteger) stream.readObject(); 221 private void writeObject(ObjectOutputStream stream) throws IOException { 226 stream.defaultWriteObject(); 229 stream.writeObject(params.getG()); 230 stream.writeObject(params.getP()) [all...] |
/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...] |
/libcore/luni/src/main/java/java/util/ |
HashSet.java | 186 private void writeObject(ObjectOutputStream stream) throws IOException { 187 stream.defaultWriteObject(); 188 stream.writeInt(backingMap.table.length); 189 stream.writeFloat(HashMap.DEFAULT_LOAD_FACTOR); 190 stream.writeInt(size()); 192 stream.writeObject(e); 197 private void readObject(ObjectInputStream stream) throws IOException, 199 stream.defaultReadObject(); 200 int length = stream.readInt(); 201 float loadFactor = stream.readFloat() [all...] |
/packages/apps/Contacts/tests/src/com/android/contacts/detail/ |
StreamItemAdapterTest.java | 61 // The header and title are gone when there are no stream items. 79 /** Returns a stream item builder with basic information in it. */ 94 /** Checks that the stream item view has a click listener. */ 101 /** Checks that the stream item view does not have a click listener. */ 108 /** Checks that the stream item view is clickable. */ 110 assertNotNull("should have a stream item", mView); 114 /** Asserts that there is a stream item but it is not clickable. */ 116 assertNotNull("should have a stream item", mView); 120 /** Checks that the stream item view has the given stream item as its tag. * [all...] |
/hardware/libhardware/include/hardware/ |
camera2.h | 59 * Input/output stream buffer queue interface definitions 64 * Output image stream queue interface. A set of these methods is provided to 66 * gralloc buffer queue for that stream. They may not be called until after 72 * are fixed for a given stream (defined in allocate_stream), and the stride 81 * Push a filled buffer to the stream to be used by the consumer. 88 * capture produces buffers for multiple streams, each stream must have the 118 * specific format based on the usage flags from the camera and the stream 129 * To capture JPEG images, a stream is created using the pixel format 133 * structure inside the output stream buffer. The JPEG blob ID field must be set 136 * Transport header should be at the end of the JPEG output stream buffer. Tha [all...] |
/external/chromium_org/media/audio/ |
audio_manager_base.cc | 159 AudioOutputStream* stream; local 162 stream = MakeLinearOutputStream(params); 165 stream = MakeLowLatencyOutputStream(params, input_device_id); 168 stream = FakeAudioOutputStream::MakeFakeStream(this, params); 171 stream = NULL; 175 if (stream) { 179 return stream; 201 AudioInputStream* stream; local 204 stream = MakeLinearInputStream(params, device_id); 207 stream = MakeLowLatencyInputStream(params, device_id) [all...] |
audio_io.h | 41 // Models an audio stream that gets rendered to the audio hardware output. 44 // An audio stream allocates several buffers for audio data and calls 47 // by |samples_per_packet| specified in AudioParameters when the stream is 74 virtual void OnError(AudioOutputStream* stream) = 0; 82 // Open the stream. false is returned if the stream cannot be opened. Open() 90 // The output stream does not take ownership of this callback. 103 // Close the stream. This also generates AudioSourceCallback::OnClose(). 116 virtual void OnData(AudioInputStream* stream, const uint8* src, 120 // The stream is done with this callback, the last call received by thi [all...] |
/packages/apps/UnifiedEmail/src/org/apache/commons/io/output/ |
ByteArrayOutputStream.java | 27 * This class implements an output stream in which the data is
35 * this class can be called after the stream has been closed without
68 * Creates a new byte array output stream. The buffer capacity is
76 * Creates a new byte array output stream, with a buffer capacity of
183 * Writes the entire contents of the specified input stream to this
184 * byte stream. Bytes from the input stream are read directly into the
187 * @param in the input stream to read from
188 * @return total number of bytes read from the input stream
189 * (and written to this stream)
[all...] |
/art/runtime/base/ |
histogram_test.cc | 124 std::stringstream stream; local 126 hist->PrintConfidenceIntervals(stream, 0.99, data); 128 EXPECT_EQ(expected, stream.str()); 167 std::stringstream stream; local 169 hist->PrintConfidenceIntervals(stream, 0.99, data); 171 EXPECT_EQ(expected, stream.str()); 206 std::stringstream stream; local 208 hist->PrintConfidenceIntervals(stream, 0.99, data); 210 EXPECT_EQ(expected, stream.str()); 221 std::stringstream stream; local 264 std::stringstream stream; local [all...] |
/external/chromium_org/content/common/gpu/media/ |
h264_parser.h | 5 // This file contains an implementation of an H264 Annex-B video stream parser. 243 // Class to parse an Annex-B H.264 stream, 249 kInvalidStream, // error in stream 250 kUnsupportedStream, // stream not supported by the parser 251 kEOStream, // end of stream 258 // Set current stream pointer to |stream| of |stream_size| in bytes, 259 // |stream| owned by caller. 260 void SetStream(const uint8* stream, off_t stream_size); 262 // Read the stream to find the next NALU, identify it and retur [all...] |