OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:sendFile
(Results
1 - 24
of
24
) sorted by null
/prebuilts/go/darwin-x86/src/net/
sendfile_bsd.go
15
//
sendFile
copies the contents of r to c using the
sendfile
18
// if handled == true,
sendFile
returns the number of bytes copied and any
21
// if handled == false,
sendFile
performed no work.
22
func
sendFile
(c *netFD, r io.Reader) (written int64, err error, handled bool) {
51
// The other quirk with FreeBSD/DragonFly's
sendfile
61
written, err = poll.
SendFile
(&c.pfd, int(f.Fd()), pos, remain)
66
return written, wrapSyscallError("
sendfile
", err), written > 0
sendfile_linux.go
13
//
sendFile
copies the contents of r to c using the
sendfile
16
// if handled == true,
sendFile
returns the number of bytes copied and any
19
// if handled == false,
sendFile
performed no work.
20
func
sendFile
(c *netFD, r io.Reader) (written int64, err error, handled bool) {
35
written, err = poll.
SendFile
(&c.pfd, int(f.Fd()), remain)
40
return written, wrapSyscallError("
sendfile
", err), written > 0
sendfile_solaris.go
13
//
sendFile
copies the contents of r to c using the
sendfile
16
// if handled == true,
sendFile
returns the number of bytes copied and any
19
// if handled == false,
sendFile
performed no work.
20
func
sendFile
(c *netFD, r io.Reader) (written int64, err error, handled bool) {
48
// The other quirk with Solaris's
sendfile
implementation is that it doesn't
57
written, err = poll.
SendFile
(&c.pfd, int(f.Fd()), pos, remain)
62
return written, wrapSyscallError("
sendfile
", err), written > 0
sendfile_stub.go
11
func
sendFile
(c *netFD, r io.Reader) (n int64, err error, handled bool) {
sendfile_windows.go
14
//
sendFile
copies the contents of r to c using the TransmitFile
17
// if handled == true,
sendFile
returns the number of bytes copied and any
20
// if handled == false,
sendFile
performed no work.
22
// Note that
sendfile
for windows does not support >2GB file.
23
func
sendFile
(fd *netFD, r io.Reader) (written int64, err error, handled bool) {
38
done, err := poll.
SendFile
(&fd.pfd, syscall.Handle(f.Fd()), n)
/prebuilts/go/linux-x86/src/net/
sendfile_bsd.go
15
//
sendFile
copies the contents of r to c using the
sendfile
18
// if handled == true,
sendFile
returns the number of bytes copied and any
21
// if handled == false,
sendFile
performed no work.
22
func
sendFile
(c *netFD, r io.Reader) (written int64, err error, handled bool) {
51
// The other quirk with FreeBSD/DragonFly's
sendfile
61
written, err = poll.
SendFile
(&c.pfd, int(f.Fd()), pos, remain)
66
return written, wrapSyscallError("
sendfile
", err), written > 0
sendfile_linux.go
13
//
sendFile
copies the contents of r to c using the
sendfile
16
// if handled == true,
sendFile
returns the number of bytes copied and any
19
// if handled == false,
sendFile
performed no work.
20
func
sendFile
(c *netFD, r io.Reader) (written int64, err error, handled bool) {
35
written, err = poll.
SendFile
(&c.pfd, int(f.Fd()), remain)
40
return written, wrapSyscallError("
sendfile
", err), written > 0
sendfile_solaris.go
13
//
sendFile
copies the contents of r to c using the
sendfile
16
// if handled == true,
sendFile
returns the number of bytes copied and any
19
// if handled == false,
sendFile
performed no work.
20
func
sendFile
(c *netFD, r io.Reader) (written int64, err error, handled bool) {
48
// The other quirk with Solaris's
sendfile
implementation is that it doesn't
57
written, err = poll.
SendFile
(&c.pfd, int(f.Fd()), pos, remain)
62
return written, wrapSyscallError("
sendfile
", err), written > 0
sendfile_stub.go
11
func
sendFile
(c *netFD, r io.Reader) (n int64, err error, handled bool) {
sendfile_windows.go
14
//
sendFile
copies the contents of r to c using the TransmitFile
17
// if handled == true,
sendFile
returns the number of bytes copied and any
20
// if handled == false,
sendFile
performed no work.
22
// Note that
sendfile
for windows does not support >2GB file.
23
func
sendFile
(fd *netFD, r io.Reader) (written int64, err error, handled bool) {
38
done, err := poll.
SendFile
(&fd.pfd, syscall.Handle(f.Fd()), n)
/frameworks/av/media/mtp/
MtpDevHandle.cpp
55
int MtpDevHandle::
sendFile
(mtp_file_range mfr) {
MtpFfsCompatHandle.cpp
246
int MtpFfsCompatHandle::
sendFile
(mtp_file_range mfr) {
MtpFfsHandle.cpp
555
int MtpFfsHandle::
sendFile
(mtp_file_range mfr) {
/platform_testing/libraries/device-collectors/src/main/java/android/device/collectors/util/
SendToInstrumentation.java
43
public static void
sendFile
(Instrumentation instru, String key, File file) {
/cts/tests/tests/location/src/android/location/cts/
EmergencyCallMessageTest.java
194
final File
sendFile
= new File(context.getCacheDir(), fileName);
199
assertTrue(writePdu(
sendFile
, pdu));
211
sendFile
.delete();
/cts/tests/tests/telephony/src/android/telephony/cts/
MmsTest.java
196
final File
sendFile
= new File(context.getCacheDir(), fileName);
201
assertTrue(writePdu(
sendFile
, pdu));
213
sendFile
.delete();
/libcore/support/src/test/java/tests/support/
Support_TestWebServer.java
632
sendFile
(ps);
641
sendFile
(ps);
827
void
sendFile
(PrintStream ps) throws IOException {
833
sendFile
(ps, Support_TestWebData.test0Data);
835
sendFile
(ps, Support_TestWebData.tests[testNum]);
839
void
sendFile
(PrintStream ps, byte[] bytes) throws IOException {
/frameworks/base/tests/CoreTests/android/core/
TestWebServer.java
701
sendFile
(ps);
710
sendFile
(ps);
853
void
sendFile
(PrintStream ps) throws IOException {
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
BluetoothOppObexClientSession.java
324
status =
sendFile
(mFileInfo);
379
private int
sendFile
(BluetoothOppSendFileInfo fileInfo) {
557
"
SendFile
finished send out file " + fileInfo.mFileName + " length "
564
Log.i(TAG, "
SendFile
interrupted when send out file " + fileInfo.mFileName
/external/libvncserver/webclients/java-applet/ssl/
SignedUltraViewerSSL.jar
UltraViewerSSL.jar
/prebuilts/tools/common/m2/repository/com/koushikdutta/async/androidasync/2.1.3/
androidasync-2.1.3.jar
/external/testng/ant/
ivy-2.1.0.jar
/prebuilts/misc/common/robolectric/android-all/
android-all-6.0.1_r3-robolectric-0.jar
Completed in 448 milliseconds