HomeSort by relevance Sort by last modified time
    Searched refs:oob (Results 1 - 25 of 50) sorted by null

1 2

  /external/strace/tests/
ioctl_mtd.c 144 struct mtd_oob_buf *const oob = tail_alloc(sizeof(*oob)); local
145 fill_memory(oob, sizeof(*oob));
147 ioctl(-1, MEMWRITEOOB, oob);
149 " = -1 EBADF (%m)\n", oob->start, oob->length, oob->ptr);
151 ioctl(-1, MEMREADOOB, oob);
153 " = -1 EBADF (%m)\n", oob->start, oob->length, oob->ptr)
    [all...]
  /external/strace/tests-m32/
ioctl_mtd.c 144 struct mtd_oob_buf *const oob = tail_alloc(sizeof(*oob)); local
145 fill_memory(oob, sizeof(*oob));
147 ioctl(-1, MEMWRITEOOB, oob);
149 " = -1 EBADF (%m)\n", oob->start, oob->length, oob->ptr);
151 ioctl(-1, MEMREADOOB, oob);
153 " = -1 EBADF (%m)\n", oob->start, oob->length, oob->ptr)
    [all...]
  /external/strace/tests-mx32/
ioctl_mtd.c 144 struct mtd_oob_buf *const oob = tail_alloc(sizeof(*oob)); local
145 fill_memory(oob, sizeof(*oob));
147 ioctl(-1, MEMWRITEOOB, oob);
149 " = -1 EBADF (%m)\n", oob->start, oob->length, oob->ptr);
151 ioctl(-1, MEMREADOOB, oob);
153 " = -1 EBADF (%m)\n", oob->start, oob->length, oob->ptr)
    [all...]
  /prebuilts/go/darwin-x86/src/syscall/
creds_test.go 57 oob := syscall.UnixCredentials(&ucred)
58 _, _, err := cli.(*net.UnixConn).WriteMsgUnix(nil, oob, nil)
73 oob := syscall.UnixCredentials(&ucred)
76 n, oobn, err := cli.(*net.UnixConn).WriteMsgUnix(nil, oob, nil)
83 if oobn != len(oob) {
84 t.Fatalf("WriteMsgUnix oobn = %d, want %d", oobn, len(oob))
87 oob2 := make([]byte, 10*len(oob))
100 // return zero oob bytes
104 if !bytes.Equal(oob, oob2) {
105 t.Fatal("ReadMsgUnix oob bytes don't match"
    [all...]
syscall_bsd.go 358 func Recvmsg(fd int, p, oob []byte, flags int) (n, oobn int, recvflags int, from Sockaddr, err error) {
369 if len(oob) > 0 {
375 msg.Control = (*byte)(unsafe.Pointer(&oob[0]))
376 msg.SetControllen(len(oob))
394 func Sendmsg(fd int, p, oob []byte, to Sockaddr, flags int) (err error) {
395 _, err = SendmsgN(fd, p, oob, to, flags)
399 func SendmsgN(fd int, p, oob []byte, to Sockaddr, flags int) (n int, err error) {
417 if len(oob) > 0 {
423 msg.Control = (*byte)(unsafe.Pointer(&oob[0]))
424 msg.SetControllen(len(oob))
    [all...]
syscall_solaris.go 355 func Recvmsg(fd int, p, oob []byte, flags int) (n, oobn int, recvflags int, from Sockaddr, err error) {
366 if len(oob) > 0 {
372 msg.Accrights = (*int8)(unsafe.Pointer(&oob[0]))
373 msg.Accrightslen = int32(len(oob))
388 func Sendmsg(fd int, p, oob []byte, to Sockaddr, flags int) (err error) {
389 _, err = SendmsgN(fd, p, oob, to, flags)
395 func SendmsgN(fd int, p, oob []byte, to Sockaddr, flags int) (n int, err error) {
413 if len(oob) > 0 {
419 msg.Accrights = (*int8)(unsafe.Pointer(&oob[0]))
420 msg.Accrightslen = int32(len(oob))
    [all...]
  /prebuilts/go/linux-x86/src/syscall/
creds_test.go 57 oob := syscall.UnixCredentials(&ucred)
58 _, _, err := cli.(*net.UnixConn).WriteMsgUnix(nil, oob, nil)
73 oob := syscall.UnixCredentials(&ucred)
76 n, oobn, err := cli.(*net.UnixConn).WriteMsgUnix(nil, oob, nil)
83 if oobn != len(oob) {
84 t.Fatalf("WriteMsgUnix oobn = %d, want %d", oobn, len(oob))
87 oob2 := make([]byte, 10*len(oob))
100 // return zero oob bytes
104 if !bytes.Equal(oob, oob2) {
105 t.Fatal("ReadMsgUnix oob bytes don't match"
    [all...]
  /external/strace/
dirent.c 119 int oob = d->d_reclen < sizeof(kernel_dirent) || local
121 int d_name_len = oob ? len - i : d->d_reclen;
138 if (oob)
  /prebuilts/go/darwin-x86/src/net/
iprawsock_plan9.go 16 func (c *IPConn) readMsg(b, oob []byte) (n, oobn, flags int, addr *IPAddr, err error) {
24 func (c *IPConn) writeMsg(b, oob []byte, addr *IPAddr) (n, oobn int, err error) {
unixsock_plan9.go 17 func (c *UnixConn) readMsg(b, oob []byte) (n, oobn, flags int, addr *UnixAddr, err error) {
25 func (c *UnixConn) writeMsg(b, oob []byte, addr *UnixAddr) (n, oobn int, err error) {
iprawsock_posix.go 75 func (c *IPConn) readMsg(b, oob []byte) (n, oobn, flags int, addr *IPAddr, err error) {
77 n, oobn, flags, sa, err = c.fd.readMsg(b, oob)
101 func (c *IPConn) writeMsg(b, oob []byte, addr *IPAddr) (n, oobn int, err error) {
112 return c.fd.writeMsg(b, oob, sa)
iprawsock.go 130 // associated out-of-band data into oob. It returns the number of
131 // bytes copied into b, the number of bytes copied into oob, the flags
133 func (c *IPConn) ReadMsgIP(b, oob []byte) (n, oobn, flags int, addr *IPAddr, err error) {
137 n, oobn, flags, addr, err = c.readMsg(b, oob)
179 // b and the associated out-of-band data from oob. It returns the
181 func (c *IPConn) WriteMsgIP(b, oob []byte, addr *IPAddr) (n, oobn int, err error) {
185 n, oobn, err = c.writeMsg(b, oob, addr)
udpsock_posix.go 57 func (c *UDPConn) readMsg(b, oob []byte) (n, oobn, flags int, addr *UDPAddr, err error) {
59 n, oobn, flags, sa, err = c.fd.readMsg(b, oob)
83 func (c *UDPConn) writeMsg(b, oob []byte, addr *UDPAddr) (n, oobn int, err error) {
94 return c.fd.writeMsg(b, oob, sa)
udpsock.go 120 // the associated out-of-band data into oob. It returns the number
121 // of bytes copied into b, the number of bytes copied into oob, the
124 func (c *UDPConn) ReadMsgUDP(b, oob []byte) (n, oobn, flags int, addr *UDPAddr, err error) {
128 n, oobn, flags, addr, err = c.readMsg(b, oob)
172 // out-of-band data is copied from oob. It returns the number of
174 func (c *UDPConn) WriteMsgUDP(b, oob []byte, addr *UDPAddr) (n, oobn int, err error) {
178 n, oobn, err = c.writeMsg(b, oob, addr)
unixsock.go 121 // the associated out-of-band data into oob. It returns the number of
122 // bytes copied into b, the number of bytes copied into oob, the flags
125 // Note that if len(b) == 0 and len(oob) > 0, this function will still
127 func (c *UnixConn) ReadMsgUnix(b, oob []byte) (n, oobn, flags int, addr *UnixAddr, err error) {
131 n, oobn, flags, addr, err = c.readMsg(b, oob)
172 // from b and the associated out-of-band data from oob. It returns
175 // Note that if len(b) == 0 and len(oob) > 0, this function will still
177 func (c *UnixConn) WriteMsgUnix(b, oob []byte, addr *UnixAddr) (n, oobn int, err error) {
181 n, oobn, err = c.writeMsg(b, oob, addr)
udpsock_plan9.go 30 func (c *UDPConn) readMsg(b, oob []byte) (n, oobn, flags int, addr *UDPAddr, err error) {
54 func (c *UDPConn) writeMsg(b, oob []byte, addr *UDPAddr) (n, oobn int, err error) {
  /prebuilts/go/linux-x86/src/net/
iprawsock_plan9.go 16 func (c *IPConn) readMsg(b, oob []byte) (n, oobn, flags int, addr *IPAddr, err error) {
24 func (c *IPConn) writeMsg(b, oob []byte, addr *IPAddr) (n, oobn int, err error) {
unixsock_plan9.go 17 func (c *UnixConn) readMsg(b, oob []byte) (n, oobn, flags int, addr *UnixAddr, err error) {
25 func (c *UnixConn) writeMsg(b, oob []byte, addr *UnixAddr) (n, oobn int, err error) {
iprawsock_posix.go 75 func (c *IPConn) readMsg(b, oob []byte) (n, oobn, flags int, addr *IPAddr, err error) {
77 n, oobn, flags, sa, err = c.fd.readMsg(b, oob)
101 func (c *IPConn) writeMsg(b, oob []byte, addr *IPAddr) (n, oobn int, err error) {
112 return c.fd.writeMsg(b, oob, sa)
iprawsock.go 130 // associated out-of-band data into oob. It returns the number of
131 // bytes copied into b, the number of bytes copied into oob, the flags
133 func (c *IPConn) ReadMsgIP(b, oob []byte) (n, oobn, flags int, addr *IPAddr, err error) {
137 n, oobn, flags, addr, err = c.readMsg(b, oob)
179 // b and the associated out-of-band data from oob. It returns the
181 func (c *IPConn) WriteMsgIP(b, oob []byte, addr *IPAddr) (n, oobn int, err error) {
185 n, oobn, err = c.writeMsg(b, oob, addr)
udpsock_posix.go 57 func (c *UDPConn) readMsg(b, oob []byte) (n, oobn, flags int, addr *UDPAddr, err error) {
59 n, oobn, flags, sa, err = c.fd.readMsg(b, oob)
83 func (c *UDPConn) writeMsg(b, oob []byte, addr *UDPAddr) (n, oobn int, err error) {
94 return c.fd.writeMsg(b, oob, sa)
udpsock.go 120 // the associated out-of-band data into oob. It returns the number
121 // of bytes copied into b, the number of bytes copied into oob, the
124 func (c *UDPConn) ReadMsgUDP(b, oob []byte) (n, oobn, flags int, addr *UDPAddr, err error) {
128 n, oobn, flags, addr, err = c.readMsg(b, oob)
172 // out-of-band data is copied from oob. It returns the number of
174 func (c *UDPConn) WriteMsgUDP(b, oob []byte, addr *UDPAddr) (n, oobn int, err error) {
178 n, oobn, err = c.writeMsg(b, oob, addr)
unixsock.go 121 // the associated out-of-band data into oob. It returns the number of
122 // bytes copied into b, the number of bytes copied into oob, the flags
125 // Note that if len(b) == 0 and len(oob) > 0, this function will still
127 func (c *UnixConn) ReadMsgUnix(b, oob []byte) (n, oobn, flags int, addr *UnixAddr, err error) {
131 n, oobn, flags, addr, err = c.readMsg(b, oob)
172 // from b and the associated out-of-band data from oob. It returns
175 // Note that if len(b) == 0 and len(oob) > 0, this function will still
177 func (c *UnixConn) WriteMsgUnix(b, oob []byte, addr *UnixAddr) (n, oobn int, err error) {
181 n, oobn, err = c.writeMsg(b, oob, addr)
udpsock_plan9.go 30 func (c *UDPConn) readMsg(b, oob []byte) (n, oobn, flags int, addr *UDPAddr, err error) {
54 func (c *UDPConn) writeMsg(b, oob []byte, addr *UDPAddr) (n, oobn int, err error) {
  /packages/apps/Nfc/src/com/android/nfc/handover/
HandoverDataParser.java 49 private static final byte[] TYPE_BT_OOB = "application/vnd.bluetooth.ep.oob"
51 private static final byte[] TYPE_BLE_OOB = "application/vnd.bluetooth.le.oob"
130 payload[2] = 'b'; // carrier data reference: ID for Bluetooth OOB data record
234 // we have a handover request, look for BT OOB record
268 // return BT OOB record so they can perform handover
314 // we just search for a BT OOB record, and try to cross-reference
316 for (NdefRecord oob : m.getRecords()) {
317 if (oob.getTnf() == NdefRecord.TNF_MIME_MEDIA &&
318 Arrays.equals(oob.getType(), TYPE_BT_OOB)) {
319 BluetoothHandoverData data = parseBtOob(ByteBuffer.wrap(oob.getPayload()))
    [all...]

Completed in 1250 milliseconds

1 2