HomeSort by relevance Sort by last modified time
    Searched defs:Write (Results 151 - 175 of 714) sorted by null

1 2 3 4 5 67 8 91011>>

  /prebuilts/go/linux-x86/src/net/http/cgi/
matryoshka_test.go 68 func (r *customWriterRecorder) Write(p []byte) (n int, err error) {
69 return r.w.Write(p)
77 func (w *limitWriter) Write(p []byte) (n int, err error) {
82 n, err = w.w.Write(p)
86 err = errors.New("past write limit")
107 req, _ := http.NewRequest("GET", "http://example.com/test.cgi?write-forever=1", nil)
206 if req.FormValue("write-forever") == "1" {
  /prebuilts/go/linux-x86/src/net/http/
filetransport.go 114 func (pr *populateResponse) Write(p []byte) (n int, err error) {
122 return pr.pw.Write(p)
response.go 80 // ReadResponse nor Response.Write ever closes a connection.
223 // Write writes r to w in the HTTP/1.x server response format,
239 func (r *Response) Write(w io.Writer) error {
321 // Write body and trailer
  /prebuilts/go/linux-x86/src/net/http/httptest/
recorder.go 21 // Note that if a Handler never calls WriteHeader or Write,
33 // Body is the buffer to which the Handler's Write calls are sent.
41 snapHeader http.Header // snapshot of HeaderMap at first Write
97 // Write always succeeds and writes to rw.Body, if not nil.
98 func (rw *ResponseRecorder) Write(buf []byte) (int, error) {
101 rw.Body.Write(buf)
155 // first write call, or at the time of this call, if the handler never
156 // did a write.
  /prebuilts/go/linux-x86/src/net/http/httputil/
persist.go 38 mu sync.Mutex // read-write protects the following fields
41 re, we error // read/write errors
64 // should not call Hijack while Read or Write is in progress.
109 if sc.we != nil { // no point receiving if write-side broken or closed
172 // Write writes resp in response to req. To close the connection gracefully, set the
173 // Response.Close field to true. Write should be considered operational until
175 func (sc *ServerConn) Write(req *http.Request, resp *http.Response) error {
213 err := resp.Write(c)
231 mu sync.Mutex // read-write protects the following fields
234 re, we error // read/write error
    [all...]
  /prebuilts/go/linux-x86/src/net/textproto/
writer.go 32 w.W.Write(crnl)
36 // DotWriter returns a writer that can be used to write a dot-encoding to w.
66 func (d *dotWriter) Write(b []byte) (n int, err error) {
115 bw.Write(dotcrnl)
  /prebuilts/go/linux-x86/src/strings/
builder.go 12 // A Builder is used to efficiently build a string using Write methods.
80 // Write appends the contents of p to b's buffer.
81 // Write always returns len(p), nil.
82 func (b *Builder) Write(p []byte) (int, error) {
  /prebuilts/go/linux-x86/src/testing/
sub_test.go 571 func (fw funcWriter) Write(b []byte) (int, error) { return fw(b) }
577 // Check if some other goroutine is concurrently calling Write.
  /prebuilts/go/linux-x86/src/text/tabwriter/
tabwriter_test.go 21 func (b *buffer) Write(buf []byte) (written int, err error) {
30 panic("buffer.Write: buffer too small")
37 func write(t *testing.T, testname string, w *Writer, src string) { func
40 t.Errorf("--- test: %s\n--- src:\n%q\n--- write error: %v\n", testname, src, err)
66 // write all at once
69 write(t, title, &w, src)
72 // write byte-by-byte
76 write(t, title, &w, src[i:i+1])
80 // write using Fibonacci slice sizes
84 write(t, title, &w, src[i:i+d]
    [all...]
  /system/update_engine/
fake_file_writer.h 28 // calls to Open(), Close(), but not do any work. All calls to Write()
44 virtual ssize_t Write(const void* bytes, size_t count) {
  /system/update_engine/payload_consumer/
cached_file_descriptor.cc 51 ssize_t CachedFileDescriptor::Write(const void* buf, size_t count) {
65 // Cache is full; write it to the |fd_| as long as you can.
87 auto bytes_wrote = fd_->Write(cache_.data() + begin, bytes_cached_ - begin);
file_descriptor.cc 46 ssize_t EintrSafeFileDescriptor::Write(const void* buf, size_t count) {
53 ssize_t ret = HANDLE_EINTR(write(fd_, char_buf, count));
102 // Ensure the |fd_| is in O_DIRECT mode during this operation, so the write
file_writer.h 30 // FileWriter is a class that is used to (synchronously, for now) write to
31 // a file. This file is a thin wrapper around open/write/close system calls,
42 // Wrapper around write. Returns true if all requested bytes
44 virtual bool Write(const void* bytes, size_t count) = 0;
46 // Same as the Write method above but returns a detailed |error| code
50 virtual bool Write(const void* bytes,
54 return Write(bytes, count);
72 bool Write(const void* bytes, size_t count) override;
xz_extent_writer.cc 65 bool XzExtentWriter::Write(const void* bytes, size_t count) {
97 underlying_writer_->Write(output_buffer.data(), request.out_pos));
  /build/soong/third_party/zip/
register.go 42 mu sync.Mutex // guards Close and Write
46 func (w *pooledFlateWriter) Write(p []byte) (n int, err error) {
50 return 0, errors.New("Write after Close")
52 return w.fw.Write(p)
  /cts/tools/utils/cts/
tools.py 104 """Write the description as XML to the given writer."""
193 def Write(self, file_name):
194 """Write the test plan to the given file.
  /device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Efi/Protocol/DebugPort/
DebugPort.h 75 EFI_DEBUGPORT_WRITE Write;
  /device/linaro/bootloader/edk2/MdePkg/Include/Protocol/
DebugPort.h 57 @param Timeout The number of microseconds to wait before timing out a write operation.
58 @param BufferSize On input, the requested number of bytes of data to write. On output, the
60 @param Buffer A pointer to a buffer containing the data to write.
64 @retval EFI_TIMEOUT The data write was stopped due to a timeout.
121 EFI_DEBUGPORT_WRITE Write;
  /external/boringssl/src/ssl/test/runner/
packet_adapter.go 84 func (p *packetAdaptor) Write(b []byte) (int, error) {
89 if _, err := p.Conn.Write(payload); err != nil {
104 if _, err := p.Conn.Write(payload); err != nil {
140 // write.
145 func (r *replayAdaptor) Write(b []byte) (int, error) {
146 n, err := r.Conn.Write(b)
151 r.Conn.Write(r.prevWrite)
164 // optionally damages the final byte of every Write() call.
173 func (d *damageAdaptor) Write(b []byte) (int, error) {
178 return d.Conn.Write(b
    [all...]
  /external/brotli/csharp/org/brotli/dec/
RunningState.cs 35 internal const int Write = 12;
  /external/bsdiff/
extents_file.cc 39 bool ExtentsFile::Write(const void* buf, size_t count, size_t* bytes_written) {
40 return IOOperation(&FileInterface::Write, buf, count, bytes_written);
  /external/google-breakpad/src/processor/
map_serializers.h 61 // NOTE: caller has to allocate enough memory before invoke Write() method.
62 char* Write(const std::map<Key, Value> &m, char* dest) const;
86 // Write the serialized data to specified memory location. Return the "end"
88 // NOTE: caller has to allocate enough memory before invoke Write() method.
89 char* Write(const AddressMap<Addr, Entry> &m, char *dest) const {
90 return std_map_serializer_.Write(m.map_, dest);
115 // Write the serialized data to specified memory location. Return the "end"
117 // NOTE: caller has to allocate enough memory before invoke Write() method.
118 char* Write(const RangeMap<Address, Entry> &m, char* dest) const;
144 // Write the serialized data to specified memory location. Return the "end
    [all...]
module_serializer.cc 83 char *ModuleSerializer::Write(const BasicSourceLineResolver::Module &module,
85 // Write the is_corrupt flag.
86 dest = SimpleSerializer<bool>::Write(module.is_corrupt_, dest);
87 // Write header.
90 // Write each map.
91 dest = files_serializer_.Write(module.files_, dest);
92 dest = functions_serializer_.Write(module.functions_, dest);
93 dest = pubsym_serializer_.Write(module.public_symbols_, dest);
95 dest = wfi_serializer_.Write(&(module.windows_frame_info_[i]), dest);
96 dest = cfi_init_rules_serializer_.Write(module.cfi_initial_rules_, dest)
    [all...]
  /external/libbrillo/brillo/streams/
memory_containers.cc 57 bool ContiguousBufferBase::Write(const void* buffer,
76 bool ContiguousReadOnlyBufferBase::Write(const void* /* buffer */,
  /external/libmojo/mojo/public/tools/bindings/pylib/mojom/generate/
generator.py 34 f.write(contents)
77 def Write(self, contents, filename):

Completed in 480 milliseconds

1 2 3 4 5 67 8 91011>>