/system/webservd/libwebserv/ |
H A D | request_fake.h | 29 #include <brillo/streams/stream.h>
|
H A D | response.h | 25 #include <brillo/streams/stream.h>
|
H A D | response_impl.h | 23 #include <brillo/streams/stream.h>
|
H A D | dbus_protocol_handler.cc | 39 // Copies the data from |src_stream| to the destination stream represented 283 auto stream = brillo::FileStream::FromFileDescriptor(dupfd, true, &error); 284 if (!stream) 286 callbacks->on_success.Run(std::move(stream));
|
H A D | dbus_protocol_handler.h | 29 #include <brillo/streams/stream.h>
|
H A D | request.h | 29 #include <brillo/streams/stream.h> 78 // Gets the request body data stream. Note that the stream is available 82 // pre-parsed by the server, the returned stream will be empty. 83 // The stream returned is valid for as long as the Request object itself is 84 // alive. Accessing the stream after the Request object is destroyed will lead
|
/system/core/adb/ |
H A D | sysdeps_win32.cpp | 1333 // Returns a console handle if |stream| is a console, otherwise returns nullptr. 1334 static HANDLE _get_console_handle(FILE* const stream) { argument 1337 const int fd = fileno(stream); 2489 static int _console_write_utf8(const char* const buf, const size_t buf_size, FILE* stream, argument 2530 // Flush any stream buffering so that our output is afterwards which 2532 (void)fflush(stream); 2549 static int _console_vfprintf(const HANDLE console, FILE* stream, 2555 static int _console_vfprintf(const HANDLE console, FILE* stream, argument 2564 const int result = _console_write_utf8(output_utf8.c_str(), output_utf8.length(), stream, 2576 int adb_vfprintf(FILE *stream, cons argument 2600 adb_fprintf(FILE *stream, const char *format, ...) argument 2622 adb_fputs(const char* buf, FILE* stream) argument 2631 adb_fputc(int ch, FILE* stream) argument 2655 _console_fwrite(const void* ptr, size_t size, size_t nmemb, FILE* stream, HANDLE console) argument 2667 adb_fwrite(const void* ptr, size_t size, size_t nmemb, FILE* stream) argument [all...] |
H A D | sysdeps.h | 339 extern int adb_vfprintf(FILE *stream, const char *format, va_list ap) 343 extern int adb_fprintf(FILE *stream, const char *format, ...) 348 extern int adb_fputs(const char* buf, FILE* stream); 349 extern int adb_fputc(int ch, FILE* stream); 353 FILE* stream);
|
H A D | adb.cpp | 520 std::unique_ptr<FILE, decltype(&fclose)> stream(nullptr, fclose); 527 // If fileno() is -2, stdout/stderr is not associated with an output stream, so we should read, 549 stream.reset(fdopen(fd, "wb")); 550 if (stream.get() == nullptr) { 551 fprintf(stderr, "Failed to open duplicate stream for %s: %s\n", output_name, 557 // Unbuffer the stream because it will be buffered by default and we want subprocess output 559 if (setvbuf(stream.get(), NULL, _IONBF, 0) == -1) { 564 // fd will be closed when stream is closed. 584 if (stream) { 586 const size_t bytes_written = fwrite(buf, 1, bytes_read, stream [all...] |
/system/connectivity/shill/ |
H A D | error.h | 122 // stream operator provided to facilitate logging 123 std::ostream& operator<<(std::ostream& stream, const shill::Error& error);
|
/system/sepolicy/tools/ |
H A D | checkfc.c | 131 static void dump_char_array(FILE *stream, const char * const *strings) argument 136 fprintf(stream, "\""); 141 fprintf(stream, fmt, s);
|
/system/bt/stack/btu/ |
H A D | btu_hcif.c | 359 uint8_t *stream = p_buf->data + p_buf->offset; local 362 STREAM_TO_UINT16(opcode, stream); 909 uint8_t *stream = hack->response->data + hack->response->offset + 3; // 2 to skip the event headers, 1 to skip the command credits local 910 STREAM_TO_UINT16(opcode, stream); 914 stream, 1106 uint8_t *stream = hack->command->data + hack->command->offset; local 1107 STREAM_TO_UINT16(opcode, stream); 1112 stream,
|
/system/extras/verity/ |
H A D | KeystoreSigner.java | 125 ASN1InputStream stream = new ASN1InputStream(input); 126 ASN1Sequence sequence = (ASN1Sequence) stream.readObject();
|
H A D | BootSignature.java | 93 ASN1InputStream stream = new ASN1InputStream(signature); 94 ASN1Sequence sequence = (ASN1Sequence) stream.readObject();
|
/system/weaved/buffet/ |
H A D | socket_stream.cc | 163 SocketStream* stream = static_cast<SocketStream*>(socket.get()); local 165 std::move(stream->ptr_), host, base::Bind(&OnSuccess, callback),
|
/system/core/libziparchive/ |
H A D | zip_writer.cc | 80 static void DeleteZStream(z_stream* stream) { argument 81 deflateEnd(stream); 82 delete stream;
|
H A D | zip_archive_test.cc | 503 std::unique_ptr<ZipArchiveStreamEntry> stream; local 505 stream.reset(ZipArchiveStreamEntry::CreateRaw(handle, *entry)); 512 stream.reset(ZipArchiveStreamEntry::Create(handle, *entry)); 516 ASSERT_TRUE(stream.get() != nullptr); 519 while ((data = stream->Read()) != nullptr) { 524 ASSERT_EQ(verified, stream->Verify());
|
H A D | zip_archive.cc | 77 // We encountered a Zlib error when inflating a stream from this file. 877 static inline int zlib_inflateInit2(z_stream* stream, int window_bits) { argument 878 return inflateInit2(stream, window_bits); 891 * Initialize the zlib stream struct. 919 auto zstream_deleter = [](z_stream* stream) { 920 inflateEnd(stream); /* free up any allocated structures */ 968 // stream.adler holds the crc32 value for such streams.
|
/system/webservd/webservd/ |
H A D | request.h | 28 #include <brillo/streams/stream.h> 112 // Returns the output end of the body data stream pipe. The file descriptor 190 // Data stream for the input/write end of the request data pipe. 208 // Data stream for the output/read end of the response data pipe.
|
/system/weaved/ |
H A D | Android.mk | 46 libbrillo-stream \
|
/system/core/base/ |
H A D | logging.cpp | 408 std::ostream& LogMessage::stream() { function in class:android::base::LogMessage
|
/system/update_engine/payload_generator/ |
H A D | payload_signer.cc | 27 #include <brillo/streams/stream.h>
|
/system/media/audio/include/system/ |
H A D | audio.h | 55 /* Audio stream types */ 187 /* session for effects attached to a particular output stream 193 * be moved by audio policy manager to another output stream 299 * the encoded audio stream (e.g. octet alignement for AMR). 773 * output stream with attributes corresponding to the specified flags 775 * hardware module, they indicate that an output stream can be opened that 778 * (when getOuput() is called) to an available output stream. 783 // to one output stream: no software mixer 802 AUDIO_OUTPUT_FLAG_IEC958_NONAUDIO = 0x400, // Audio stream contains compressed audio in 808 * to indicate a preference to be connected to an input stream wit 1008 audio_stream_type_t stream; member in union:audio_port_config_mix_ext::__anon1824 [all...] |
/system/update_engine/ |
H A D | Android.mk | 67 libbrillo-stream \
|
/system/update_engine/common/ |
H A D | http_fetcher_unittest.cc | 41 #include <brillo/streams/stream.h>
|