HomeSort by relevance Sort by last modified time
    Searched refs:CopyBuffer (Results 1 - 23 of 23) sorted by null

  /device/linaro/bootloader/edk2/OvmfPkg/Library/LockBoxLib/
LockBoxLib.c 130 VOID *CopyBuffer;
152 CopyBuffer = AllocateAcpiNvsPool (Length);
153 if (CopyBuffer == NULL) {
162 Header->CopyAddress = (UINTN) CopyBuffer;
169 CopyMem (CopyBuffer, Buffer, Length);
  /prebuilts/go/darwin-x86/src/compress/flate/
writer_test.go 70 copyBuffer := make([]byte, 128)
79 n, err := io.CopyBuffer(w, struct{ io.Reader }{bytes.NewBuffer(in)}, copyBuffer)
148 _, err = io.CopyBuffer(w, struct{ io.Reader }{br}, cbuf)
163 _, err = io.CopyBuffer(w2, struct{ io.Reader }{br2}, cbuf)
example_test.go 45 if _, err := io.CopyBuffer(zw, &r, buf); err != nil {
56 if _, err := io.CopyBuffer(os.Stdout, zr, buf); err != nil {
  /prebuilts/go/linux-x86/src/compress/flate/
writer_test.go 70 copyBuffer := make([]byte, 128)
79 n, err := io.CopyBuffer(w, struct{ io.Reader }{bytes.NewBuffer(in)}, copyBuffer)
148 _, err = io.CopyBuffer(w, struct{ io.Reader }{br}, cbuf)
163 _, err = io.CopyBuffer(w2, struct{ io.Reader }{br2}, cbuf)
example_test.go 45 if _, err := io.CopyBuffer(zw, &r, buf); err != nil {
56 if _, err := io.CopyBuffer(os.Stdout, zr, buf); err != nil {
  /prebuilts/go/darwin-x86/src/io/
io_test.go 23 // Simple tests, primarily to verify the ReadFrom and WriteTo callouts inside Copy, CopyBuffer and CopyN.
39 CopyBuffer(wb, rb, make([]byte, 1)) // Tiny buffer to keep it honest.
41 t.Errorf("CopyBuffer did not work properly")
49 CopyBuffer(wb, rb, nil) // Should allocate a buffer.
51 t.Errorf("CopyBuffer did not work properly")
example_test.go 34 if _, err := io.CopyBuffer(os.Stdout, r1, buf); err != nil {
39 if _, err := io.CopyBuffer(os.Stdout, r2, buf); err != nil {
io.go 360 return copyBuffer(dst, src, nil)
363 // CopyBuffer is identical to Copy except that it stages through the
366 // zero length, CopyBuffer panics.
367 func CopyBuffer(dst Writer, src Reader, buf []byte) (written int64, err error) {
369 panic("empty buffer in io.CopyBuffer")
371 return copyBuffer(dst, src, buf)
374 // copyBuffer is the actual implementation of Copy and CopyBuffer.
376 func copyBuffer(dst Writer, src Reader, buf []byte) (written int64, err error) {
  /prebuilts/go/linux-x86/src/io/
io_test.go 23 // Simple tests, primarily to verify the ReadFrom and WriteTo callouts inside Copy, CopyBuffer and CopyN.
39 CopyBuffer(wb, rb, make([]byte, 1)) // Tiny buffer to keep it honest.
41 t.Errorf("CopyBuffer did not work properly")
49 CopyBuffer(wb, rb, nil) // Should allocate a buffer.
51 t.Errorf("CopyBuffer did not work properly")
example_test.go 34 if _, err := io.CopyBuffer(os.Stdout, r1, buf); err != nil {
39 if _, err := io.CopyBuffer(os.Stdout, r2, buf); err != nil {
io.go 360 return copyBuffer(dst, src, nil)
363 // CopyBuffer is identical to Copy except that it stages through the
366 // zero length, CopyBuffer panics.
367 func CopyBuffer(dst Writer, src Reader, buf []byte) (written int64, err error) {
369 panic("empty buffer in io.CopyBuffer")
371 return copyBuffer(dst, src, buf)
374 // copyBuffer is the actual implementation of Copy and CopyBuffer.
376 func copyBuffer(dst Writer, src Reader, buf []byte) (written int64, err error) {
  /device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Universal/SectionExtractionDxe/
SectionExtraction.c     [all...]
  /device/linaro/bootloader/edk2/MdeModulePkg/Core/Dxe/SectionExtraction/
CoreSectionExtraction.c     [all...]
  /external/webrtc/webrtc/common_video/
i420_video_frame_unittest.cc 188 TEST(TestVideoFrame, CopyBuffer) {
  /prebuilts/go/darwin-x86/src/net/http/httputil/
reverseproxy.go 54 // get byte slices for use by io.CopyBuffer when
65 // byte slices for use by io.CopyBuffer.
278 p.copyBuffer(dst, src, buf)
284 func (p *ReverseProxy) copyBuffer(dst io.Writer, src io.Reader, buf []byte) (int64, error) {
  /prebuilts/go/linux-x86/src/net/http/httputil/
reverseproxy.go 54 // get byte slices for use by io.CopyBuffer when
65 // byte slices for use by io.CopyBuffer.
278 p.copyBuffer(dst, src, buf)
284 func (p *ReverseProxy) copyBuffer(dst io.Writer, src io.Reader, buf []byte) (int64, error) {
  /prebuilts/go/darwin-x86/src/crypto/tls/
tls_test.go 679 if _, err := io.CopyBuffer(srv, srv, buf); err != nil {
  /prebuilts/go/linux-x86/src/crypto/tls/
tls_test.go 679 if _, err := io.CopyBuffer(srv, srv, buf); err != nil {
  /external/deqp/external/vulkancts/modules/vulkan/synchronization/
vktSynchronizationOperation.cpp 562 namespace CopyBuffer
661 } // CopyBuffer ns
    [all...]
  /prebuilts/go/darwin-x86/src/archive/tar/
reader_test.go 381 _, err = io.CopyBuffer(h, tr, rdbuf) // Effectively an incremental read
  /prebuilts/go/linux-x86/src/archive/tar/
reader_test.go 381 _, err = io.CopyBuffer(h, tr, rdbuf) // Effectively an incremental read
  /prebuilts/go/darwin-x86/src/net/http/
server.go 559 return io.CopyBuffer(writerOnly{w}, src, *bufp)
    [all...]
  /prebuilts/go/linux-x86/src/net/http/
server.go 559 return io.CopyBuffer(writerOnly{w}, src, *bufp)
    [all...]

Completed in 325 milliseconds