/external/libcxx/test/input.output/iostreams.base/std.ios.manip/error.reporting/ |
make_error_code.pass.cpp | 20 std::error_code ec = make_error_code(std::io_errc::stream); 21 assert(ec.value() == static_cast<int>(std::io_errc::stream));
|
make_error_condition.pass.cpp | 20 const std::error_condition ec1 = std::make_error_condition(std::io_errc::stream); 21 assert(ec1.value() == static_cast<int>(std::io_errc::stream));
|
/external/libcxx/test/iterators/stream.iterators/ |
Android.mk | 17 test_makefile := external/libcxx/test/iterators/stream.iterators/Android.mk 19 test_name := iterators/stream.iterators/nothing_to_do
|
/external/lzma/CPP/7zip/Common/ |
StreamUtils.cpp | 9 HRESULT ReadStream(ISequentialInStream *stream, void *data, size_t *processedSize)
17 HRESULT res = stream->Read(data, curSize, &processedSizeLoc);
28 HRESULT ReadStream_FALSE(ISequentialInStream *stream, void *data, size_t size)
31 RINOK(ReadStream(stream, data, &processedSize));
35 HRESULT ReadStream_FAIL(ISequentialInStream *stream, void *data, size_t size)
38 RINOK(ReadStream(stream, data, &processedSize));
42 HRESULT WriteStream(ISequentialOutStream *stream, const void *data, size_t size)
48 HRESULT res = stream->Write(data, curSize, &processedSizeLoc);
|
/external/nanopb-c/examples/using_union_messages/ |
encode.c | 17 bool encode_unionmessage(pb_ostream_t *stream, const pb_field_t messagetype[], const void *message) 25 if (!pb_encode_tag_for_field(stream, field)) 28 return pb_encode_submessage(stream, messagetype, message); 45 pb_ostream_t stream = pb_ostream_from_buffer(buffer, sizeof(buffer)); local 53 status = encode_unionmessage(&stream, MsgType1_fields, &msg); 59 status = encode_unionmessage(&stream, MsgType2_fields, &msg); 65 status = encode_unionmessage(&stream, MsgType3_fields, &msg); 80 fwrite(buffer, 1, stream.bytes_written, stdout);
|
/external/pdfium/core/src/fxcodec/fx_libopenjpeg/libopenjpeg20/ |
opj_includes.h | 78 # define OPJ_FSEEK(stream,offset,whence) _fseeki64(stream,/* __int64 */ offset,whence) 80 # define OPJ_FTELL(stream) /* __int64 */ _ftelli64(stream) 84 # define OPJ_FSEEK(stream,offset,whence) fseek(stream,offset,whence) 86 # define OPJ_FTELL(stream) ftell(stream)
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/util/ |
StringsTest.java | 13 InputStream stream = new ByteArrayInputStream("some random string".getBytes()); local 14 assertEquals("some random string", Strings.fromStream(stream));
|
/external/stlport/test/unit/ |
strstream_buffer_read_test.cpp | 30 strstream stream(hello, sizeof(hello), ios_base::in); 32 stream >> cur;
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/iostreams.base/std.ios.manip/error.reporting/ |
make_error_code.pass.cpp | 20 std::error_code ec = make_error_code(std::io_errc::stream); 21 assert(ec.value() == static_cast<int>(std::io_errc::stream));
|
make_error_condition.pass.cpp | 20 const std::error_condition ec1 = std::make_error_condition(std::io_errc::stream); 21 assert(ec1.value() == static_cast<int>(std::io_errc::stream));
|
/ndk/tests/device/test-gnustl-full/unit/ |
strstream_buffer_read_test.cpp | 30 strstream stream(hello, sizeof(hello), ios_base::in); 32 stream >> cur;
|
/ndk/tests/device/test-stlport/unit/ |
strstream_buffer_read_test.cpp | 30 strstream stream(hello, sizeof(hello), ios_base::in); 32 stream >> cur;
|
/external/chromium_org/third_party/icu/source/io/ |
ustream.cpp | 41 operator<<(STD_OSTREAM& stream, const UnicodeString& str) 62 stream << buffer; 69 /* stream.flush();*/ 70 return stream; 74 operator>>(STD_ISTREAM& stream, UnicodeString& str) 77 if (stream.fail()) { 78 return stream; 101 ch = stream.get(); 102 if (stream.eof()) { 105 stream.clear(stream.eofbit) [all...] |
/external/icu/icu4c/source/io/ |
ustream.cpp | 37 operator<<(STD_OSTREAM& stream, const UnicodeString& str) 58 stream << buffer; 65 /* stream.flush();*/ 66 return stream; 70 operator>>(STD_ISTREAM& stream, UnicodeString& str) 73 if (stream.fail()) { 74 return stream; 97 ch = stream.get(); 98 if (stream.eof()) { 101 stream.clear(stream.eofbit) [all...] |
/libcore/luni/src/main/java/java/security/cert/ |
CertificateRevokedException.java | 127 private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException { 128 stream.defaultReadObject(); 130 int size = stream.readInt(); 133 String oid = (String) stream.readObject(); 134 boolean critical = stream.readBoolean(); 135 int valueLen = stream.readInt(); 137 stream.read(value); 143 private void writeObject(ObjectOutputStream stream) throws IOException { 144 stream.defaultWriteObject(); 146 stream.writeInt(extensions.size()) [all...] |
/ndk/sources/host-tools/sed-4.2.1/lib/ |
stdio-write.c | 1 /* POSIX compatible FILE stream write function. 30 which flushes the buffer of a FILE stream. */ 42 if (ferror (stream)) \ 49 if (FAILED && GetLastError () == ERROR_NO_DATA && ferror (stream)) \ 51 int fd = fileno (stream); \ 82 fprintf (FILE *stream, const char *format, ...) 88 retval = vfprintf (stream, format, args); 105 vfprintf (FILE *stream, const char *format, va_list args) 108 CALL_WITH_SIGPIPE_EMULATION (int, vfprintf (stream, format, args), ret == EOF) 119 fputc (int c, FILE *stream) 136 FILE *stream = stdout; local [all...] |
/external/chromium_org/net/spdy/ |
spdy_write_queue.h | 35 // priority associated with the given stream, which may be NULL if 36 // the frame producer is not associated with a stream. If |stream| 42 const base::WeakPtr<SpdyStream>& stream); 45 // enqueued the earliest and its associated stream. Returns true and 46 // fills in |frame_type|, |frame_producer|, and |stream| if 50 base::WeakPtr<SpdyStream>* stream); 52 // Removes all pending writes for the given stream, which must be 54 void RemovePendingWritesForStream(const base::WeakPtr<SpdyStream>& stream); 57 // and streams with no stream id 70 base::WeakPtr<SpdyStream> stream; member in struct:net::SpdyWriteQueue::PendingWrite [all...] |
/external/chromium_org/third_party/angle/src/compiler/translator/ |
InfoSink.cpp | 35 TPersistStringStream stream; local 37 stream << file << ":" << line; 39 stream << file << ":? "; 40 stream << ": "; 42 sink.append(stream.str());
|
/external/chromium_org/third_party/freetype/src/truetype/ |
ttpload.h | 32 FT_Stream stream ); 44 FT_Stream stream ); 48 FT_Stream stream ); 53 FT_Stream stream ); 58 FT_Stream stream );
|
/external/chromium_org/third_party/skia/gm/ |
cmykjpeg.cpp | 36 SkFILEStream stream(resourcePath.c_str()); 37 if (!stream.isValid()) { 42 SkImageDecoder* codec = SkImageDecoder::Factory(&stream); 44 stream.rewind(); 46 codec->decode(&stream, &fBitmap, kN32_SkColorType, SkImageDecoder::kDecodePixels_Mode);
|
/external/chromium_org/third_party/skia/src/pdf/ |
SkPDFStream.h | 22 A stream object in a PDF. Note, all streams must be indirect objects (via 30 /** Create a PDF stream. A Length entry is automatically added to the 31 * stream dictionary. The stream may be retained (stream->ref() may be 33 * @param data The data part of the stream. 37 explicit SkPDFStream(SkStream* stream); 38 /** Create a PDF stream with the same content and dictionary entries 45 virtual void emitObject(SkWStream* stream, SkPDFCatalog* catalog, 51 kUnused_State, //!< The stream hasn't been requested yet [all...] |
/external/chromium_org/third_party/skia/src/ports/ |
SkFontHost_fontconfig.cpp | 19 bool find_name_and_attributes(SkStream* stream, SkString* name, 136 SkTypeface* SkFontHost::CreateTypefaceFromStream(SkStream* stream) { 137 if (!stream) { 140 const size_t length = stream->getLength(); 151 if (!find_name_and_attributes(stream, NULL, &style, &isFixedWidth)) { 155 SkTypeface* face = SkNEW_ARGS(FontConfigTypeface, (style, isFixedWidth, stream)); 160 SkAutoTUnref<SkStream> stream(SkStream::NewFromFile(path)); 161 return stream.get() ? CreateTypefaceFromStream(stream) : NULL; 169 SkStream* stream = this->getLocalStream() local [all...] |
/external/chromium_org/third_party/webrtc/modules/media_file/source/ |
media_file_utility.h | 81 // Stop recording to file or stream. 87 // Prepare for playing audio from stream. 90 int32_t InitWavReading(InStream& stream, 94 // Put 10-60ms of audio data from stream into the audioBuffer depending on 100 int32_t ReadWavDataAsMono(InStream& stream, int8_t* audioBuffer, 116 // Prepare for recording audio to stream. 120 int32_t InitWavWriting(OutStream& stream, const CodecInst& codecInst); 126 int32_t WriteWavData(OutStream& stream, 131 // written to stream. 132 // Note: this API must be called before closing stream to ensure that th [all...] |
/external/freetype/src/truetype/ |
ttpload.h | 32 FT_Stream stream ); 44 FT_Stream stream ); 48 FT_Stream stream ); 53 FT_Stream stream ); 58 FT_Stream stream );
|
/external/lldb/source/Host/macosx/cfcpp/ |
CFCData.cpp | 74 CFCReleaser<CFWriteStreamRef> stream (::CFWriteStreamCreateWithAllocatedBuffers (alloc, alloc)); 75 ::CFWriteStreamOpen (stream.get()); 76 CFIndex len = ::CFPropertyListWriteToStream (plist, stream.get(), format, NULL); 78 reset((CFDataRef)::CFWriteStreamCopyProperty (stream.get(), kCFStreamPropertyDataWritten)); 79 ::CFWriteStreamClose (stream.get());
|