Home
last modified time | relevance | path

Searched defs:Writer (Results 1 – 25 of 1448) sorted by relevance

12345678910>>...58

/aosp_15_r20/prebuilts/go/linux-x86/src/text/tabwriter/
Dtabwriter.go90 type Writer struct { struct
92 output io.Writer
93 minwidth int
94 tabwidth int
95 padding int
96 padbytes [8]byte
97 flags uint
100 buf []byte // collected text excluding tabs or line breaks
101 pos int // buffer position up to which cell.width of incomplete cell has been computed
102 …ell cell // current incomplete cell; cell.width is up to buf[pos] excluding ignored sections
[all …]
/aosp_15_r20/prebuilts/go/linux-x86/src/compress/lzw/
Dwriter.go36 type Writer struct { struct
38 w writer
40 litWidth uint
43 order Order
44 write func(*Writer, uint32) error
45 nBits uint
46 width uint
47 bits uint32
50 hi, overflow uint32
53 savedCode uint32
[all …]
/aosp_15_r20/prebuilts/go/linux-x86/src/runtime/
Dmkduff.go45 func gen(arch string, tags, zero, copy func(io.Writer)) {
63 func notags(w io.Writer) { fmt.Fprintln(w) }
65 func zeroAMD64(w io.Writer) {
81 func copyAMD64(w io.Writer) {
99 func zero386(w io.Writer) {
110 func copy386(w io.Writer) {
128 func zeroARM(w io.Writer) {
139 func copyARM(w io.Writer) {
153 func zeroARM64(w io.Writer) {
165 func copyARM64(w io.Writer) {
[all …]
/aosp_15_r20/prebuilts/go/linux-x86/src/cmd/internal/gcprog/
Dgcprog.go37 type Writer struct { struct
38 writeByte func(byte)
39 index int64
40 b [progMaxLiteral]byte
41 nb int
42 debug io.Writer
43 debugBuf []byte
48 func (w *Writer) Init(writeByte func(byte)) {
55 func (w *Writer) Debug(out io.Writer) {
60 func (w *Writer) BitIndex() int64 {
[all …]
/aosp_15_r20/prebuilts/go/linux-x86/src/compress/gzip/
Dgzip.go28 type Writer struct { struct
29 Header // written at first call to Write, Flush, or Close
30 w io.Writer
31 level int
32 wroteHeader bool
33 closed bool
34 buf [10]byte
35 compressor *flate.Writer
36 digest uint32 // CRC-32, IEEE polynomial (section 8)
37 size uint32 // Uncompressed size (section 2.3.1)
[all …]
/aosp_15_r20/prebuilts/go/linux-x86/src/archive/zip/
Dwriter.go25 type Writer struct { struct
26 cw *countWriter
27 dir []*header
28 last *fileWriter
29 closed bool
30 compressors map[uint16]Compressor
31 comment string
35 testHookCloseSizeOffset func(size, offset uint64)
45 func NewWriter(w io.Writer) *Writer {
53 func (w *Writer) SetOffset(n int64) {
[all …]
/aosp_15_r20/prebuilts/go/linux-x86/src/compress/zlib/
Dwriter.go28 type Writer struct { struct
29 w io.Writer
30 level int
31 dict []byte
32 compressor *flate.Writer
33 digest hash.Hash32
34 err error
35 scratch [4]byte
36 wroteHeader bool
44 func NewWriter(w io.Writer) *Writer {
[all …]
/aosp_15_r20/prebuilts/go/linux-x86/src/archive/tar/
Dwriter.go21 type Writer struct { struct
22 w io.Writer
23 pad int64 // Amount of padding to write after current file entry
24 curr fileWriter // Writer for current file entry
25 hdr Header // Shallow copy of Header that is safe for mutations
26 blk block // Buffer to use as temporary local storage
31 err error
35 func NewWriter(w io.Writer) *Writer {
51 func (tw *Writer) Flush() error {
69 func (tw *Writer) WriteHeader(hdr *Header) error {
[all …]
/aosp_15_r20/prebuilts/go/linux-x86/src/log/syslog/
Dsyslog.go76 type Writer struct { struct
77 priority Priority
78 tag string
79 hostname string
80 network string
81 raddr string
83 mu sync.Mutex // guards conn
84 conn serverConn
148 func (w *Writer) connect() (err error) {
177 func (w *Writer) Write(b []byte) (int, error) {
[all …]
/aosp_15_r20/prebuilts/go/linux-x86/src/mime/quotedprintable/
Dwriter.go12 type Writer struct { struct
15 Binary bool
17 w io.Writer
18 i int
19 line [78]byte
20 cr bool
24 func NewWriter(w io.Writer) *Writer {
31 func (w *Writer) Write(p []byte) (n int, err error) {
67 func (w *Writer) Close() error {
76 func (w *Writer) write(p []byte) error {
[all …]
/aosp_15_r20/prebuilts/go/linux-x86/src/bufio/
Dbufio.go576 type Writer struct { struct
577 err error
578 buf []byte
579 n int
580 wr io.Writer
586 func NewWriterSize(w io.Writer, size int) *Writer {
604 func NewWriter(w io.Writer) *Writer {
609 func (b *Writer) Size() int { return len(b.buf) }
616 func (b *Writer) Reset(w io.Writer) {
632 func (b *Writer) Flush() error {
[all …]
/aosp_15_r20/build/soong/third_party/zip/
H A Dwriter.go19 type Writer struct { struct
20 cw *countWriter
21 dir []*header
22 last *fileWriter
23 closed bool
24 compressors map[uint16]Compressor
33 func NewWriter(w io.Writer) *Writer {
41 func (w *Writer) SetOffset(n int64) {
50 func (w *Writer) Flush() error {
56 func (w *Writer) Close() error {
[all …]
/aosp_15_r20/external/rust/android-crates-io/crates/tracing-subscriber/src/fmt/
Dwriter.rs100 type Writer: io::Write; typedef
115 fn make_writer(&'a self) -> Self::Writer; in make_writer()
205 fn make_writer_for(&'a self, meta: &Metadata<'_>) -> Self::Writer { in make_writer_for()
485 Self: MakeWriter<'a, Writer = OptionalWriter<W>> + Sized, in or_else() argument
677 type Writer = W; typedef
679 fn make_writer(&'a self) -> Self::Writer { in make_writer()
688 type Writer = &'a W; typedef
689 fn make_writer(&'a self) -> Self::Writer { in make_writer()
695 type Writer = &'a std::fs::File; typedef
696 fn make_writer(&'a self) -> Self::Writer { in make_writer()
[all …]
/aosp_15_r20/prebuilts/go/linux-x86/src/mime/multipart/
Dwriter.go19 type Writer struct { struct
20 w io.Writer
21 boundary string
22 lastpart *part
27 func NewWriter(w io.Writer) *Writer {
35 func (w *Writer) Boundary() string {
45 func (w *Writer) SetBoundary(boundary string) error {
74 func (w *Writer) FormDataContentType() string {
97 func (w *Writer) CreatePart(header textproto.MIMEHeader) (io.Writer, error) {
140 func (w *Writer) CreateFormFile(fieldname, filename string) (io.Writer, error) {
[all …]
/aosp_15_r20/prebuilts/go/linux-x86/src/internal/coverage/stringtab/
Dstringtab.go19 type Writer struct { struct
26 // InitWriter initializes a stringtab.Writer.
27 func (stw *Writer) InitWriter() {
53 // version of a stringtab.Writer.
54 func (stw *Writer) Size() uint32 {
70 func (stw *Writer) Write(w io.Writer) error {
101 func (stw *Writer) Freeze() {
/aosp_15_r20/prebuilts/go/linux-x86/src/encoding/csv/
Dwriter.go32 type Writer struct { struct
33 Comma rune // Field delimiter (set to ',' by NewWriter)
34 UseCRLF bool // True to use \r\n as the line terminator
35 w *bufio.Writer
39 func NewWriter(w io.Writer) *Writer {
50 func (w *Writer) Write(record []string) error {
125 func (w *Writer) Flush() {
131 func (w *Writer) Error() error {
138 func (w *Writer) WriteAll(records [][]string) error {
160 func (w *Writer) fieldNeedsQuotes(field string) bool {
/aosp_15_r20/external/tink/go/streamingaead/subtle/noncebased/
H A Dnoncebased.go81 type Writer struct { struct
82 w io.Writer
83 segmentEncrypter SegmentEncrypter
84 encryptedSegmentCnt uint64
85 firstCiphertextSegmentOffset int
86 nonceSize int
87 noncePrefix []byte
88 plaintext []byte
89 plaintextPos int
90 ciphertext []byte
[all …]
/aosp_15_r20/prebuilts/go/linux-x86/src/runtime/pprof/
Dpprof.go430 func printCountCycleProfile(w io.Writer, countName, cycleName string, records []profilerecord.Block…
458 func printCountProfile(w io.Writer, debug int, name string, p countProfile) error {
546 func printStackRecord(w io.Writer, stk []uintptr, allFrames bool) {
578 func WriteHeapProfile(w io.Writer) error {
589 func writeHeap(w io.Writer, debug int) error {
595 func writeAlloc(w io.Writer, debug int) error {
599 func writeHeapInternal(w io.Writer, debug int, defaultSampleType string) error {
733 func writeThreadCreate(w io.Writer, debug int) error {
748 func writeGoroutine(w io.Writer, debug int) error {
755 func writeGoroutineStacks(w io.Writer) error {
[all …]
/aosp_15_r20/external/brotli/go/cbrotli/
H A Dwriter.go63 type Writer struct { struct
64 dst io.Writer
65 state *C.BrotliEncoderState
66 buf, encoded []byte
76 func NewWriter(dst io.Writer, options WriterOptions) *Writer {
90 func (w *Writer) writeChunk(p []byte, op C.BrotliEncoderOperation) (n int, err error) {
129 func (w *Writer) Flush() error {
135 func (w *Writer) Close() error {
146 func (w *Writer) Write(p []byte) (n int, err error) {
/aosp_15_r20/prebuilts/go/linux-x86/src/cmd/internal/goobj/
Dobjfile.go343 func (s *Sym) SetName(x string, w *Writer) {
355 func (s *Sym) Write(w *Writer) { w.Bytes(s[:]) }
418 func (r *Reloc) Write(w *Writer) { w.Bytes(r[:]) }
464 func (a *Aux) Write(w *Writer) { w.Bytes(a[:]) }
495 func (r *RefFlags) Write(w *Writer) { w.Bytes(r[:]) }
527 func (n *RefName) SetName(x string, w *Writer) {
532 func (n *RefName) Write(w *Writer) { w.Bytes(n[:]) }
534 type Writer struct { struct
535 wr *bio.Writer
536 stringMap map[string]uint32
[all …]
/aosp_15_r20/external/rust/android-crates-io/crates/csv-core/src/
Dwriter.rs35 pub fn build(&self) -> Writer { in build()
179 pub struct Writer { struct
180 state: WriterState, argument
191 impl Clone for Writer { argument
192 fn clone(&self) -> Writer { in clone()
211 impl fmt::Debug for Writer { implementation
242 impl Writer { implementation
500 impl Default for Writer { implementation
/aosp_15_r20/frameworks/libs/native_bridge_support/android_api/libvulkan/proxy/
Dgen_vulkan.go363 func printAliasTypes(w io.Writer, sorted_type_names []string, types map[string]cpp_types.Type) (err…
422 func printAliasVerification(w io.Writer, sorted_type_names []string, types map[string]cpp_types.Typ…
463 func printEnums(w io.Writer, sorted_type_names []string, types map[string]cpp_types.Type) (err erro…
515 func printEnumVerification(w io.Writer, sorted_type_names []string, types map[string]cpp_types.Type…
605 func printEnumAliases(w io.Writer, sorted_type_names []string, types map[string]cpp_types.Type) (er…
713 func printHostStructTypes(w io.Writer, sorted_type_names []string, types map[string]cpp_types.Type)…
768 func printFunctionPointerTypes(w io.Writer, sorted_command_names []string, commands map[string]cpp_…
979 func printGuestStructTypes(w io.Writer, sorted_type_names []string, types map[string]cpp_types.Type…
1026 func printGuestStructType(w io.Writer, name string, typе cpp_types.Type, host_arch cpp_types.Arch, …
1118 func printGuestStructPointerType(w io.Writer, name string, typе cpp_types.Type, host_arch cpp_types…
[all …]
/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0.u1/lib/rustlib/src/rust/library/proc_macro/src/bridge/
H A Drpc.rs8 pub(super) type Writer = super::buffer::Buffer; typedef
11 fn encode(self, w: &mut Writer, s: &mut S); in encode()
108 fn encode(self, _: &mut Writer, _: &mut S) {} in encode()
116 fn encode(self, w: &mut Writer, _: &mut S) { in encode()
133 fn encode(self, w: &mut Writer, s: &mut S) { in encode()
149 fn encode(self, w: &mut Writer, s: &mut S) { in encode()
161 fn encode(self, w: &mut Writer, s: &mut S) { in encode()
173 fn encode(self, w: &mut Writer, s: &mut S) { in encode()
188 fn encode(self, w: &mut Writer, s: &mut S) { in encode()
204 fn encode(self, w: &mut Writer, s: &mut S) { in encode()
[all …]
/aosp_15_r20/prebuilts/rust/linux-musl-x86/1.80.1/lib/rustlib/src/rust/library/proc_macro/src/bridge/
H A Drpc.rs8 pub(super) type Writer = super::buffer::Buffer; typedef
11 fn encode(self, w: &mut Writer, s: &mut S); in encode()
108 fn encode(self, _: &mut Writer, _: &mut S) {} in encode()
116 fn encode(self, w: &mut Writer, _: &mut S) { in encode()
133 fn encode(self, w: &mut Writer, s: &mut S) { in encode()
149 fn encode(self, w: &mut Writer, s: &mut S) { in encode()
161 fn encode(self, w: &mut Writer, s: &mut S) { in encode()
173 fn encode(self, w: &mut Writer, s: &mut S) { in encode()
188 fn encode(self, w: &mut Writer, s: &mut S) { in encode()
204 fn encode(self, w: &mut Writer, s: &mut S) { in encode()
[all …]
/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0/lib/rustlib/src/rust/library/proc_macro/src/bridge/
H A Drpc.rs8 pub(super) type Writer = super::buffer::Buffer; typedef
11 fn encode(self, w: &mut Writer, s: &mut S); in encode()
108 fn encode(self, _: &mut Writer, _: &mut S) {} in encode()
116 fn encode(self, w: &mut Writer, _: &mut S) { in encode()
133 fn encode(self, w: &mut Writer, s: &mut S) { in encode()
149 fn encode(self, w: &mut Writer, s: &mut S) { in encode()
161 fn encode(self, w: &mut Writer, s: &mut S) { in encode()
173 fn encode(self, w: &mut Writer, s: &mut S) { in encode()
188 fn encode(self, w: &mut Writer, s: &mut S) { in encode()
204 fn encode(self, w: &mut Writer, s: &mut S) { in encode()
[all …]

12345678910>>...58