Home | History | Annotate | Download | only in libc

Lines Matching refs:libc

28     """A basic test of the libc API."""
36 target_filename="libc.so",
38 handler_name="libc",
46 result = self.dut.lib.libc.socket(self.dut.lib.libc.PF_UNIX,
47 self.dut.lib.libc.SOCK_STREAM, 0)
49 "libc.socket: could not create socket.")
51 result = self.dut.lib.libc.close(
54 "libc.close: unable to close socket.")
61 result = self.dut.lib.libc.socket(self.dut.lib.libc.PF_UNIX,
62 self.dut.lib.libc.SOCK_DGRAM, 0)
64 "libc.socket: could not create socket.")
66 result = self.dut.lib.libc.close(
69 "libc.close: unable to close socket.")
76 result = self.dut.lib.libc.socket(self.dut.lib.libc.PF_UNIX,
77 self.dut.lib.libc.SOCK_RAW, 0)
79 "libc.socket: could not create socket.")
81 result = self.dut.lib.libc.close(
84 "libc.close: unable to close socket.")
91 result = self.dut.lib.libc.socket(self.dut.lib.libc.PF_UNIX,
92 self.dut.lib.libc.SOCK_SEQPACKET, 0)
94 "libc.socket: could not create socket.")
96 result = self.dut.lib.libc.close(
99 "libc.close: unable to close socket.")
106 result = self.dut.lib.libc.socket(self.dut.lib.libc.PF_INET,
107 self.dut.lib.libc.SOCK_STREAM, 0)
109 "libc.socket: could not create socket.")
111 result = self.dut.lib.libc.close(
114 "libc.close: unable to close socket.")
121 result = self.dut.lib.libc.socket(self.dut.lib.libc.PF_INET,
122 self.dut.lib.libc.SOCK_DGRAM, 0)
124 "libc.socket: could not create socket.")
126 result = self.dut.lib.libc.close(
129 "libc.close: unable to close socket.")