Home
last modified time | relevance | path

Searched refs:vallen (Results 1 – 25 of 38) sorted by relevance

12

/external/ppp/pppd/
Deap.c1317 u_char vallen; local
1413 GETCHAR(vallen, inp);
1415 if (vallen < 8 || vallen > len) {
1417 vallen, len);
1424 if (vallen >= len + sizeof (rhostname)) {
1426 BCOPY(inp + vallen, rhostname, sizeof (rhostname) - 1);
1429 BCOPY(inp + vallen, rhostname, len - vallen);
1430 rhostname[len - vallen] = '\0';
1435 (remote_name[0] != '\0' && vallen == len))
1453 MD5_Update(&mdContext, inp, vallen);
[all …]
/external/syzkaller/vendor/golang.org/x/sys/unix/
Dsyscall_unix.go227 vallen := _Socklen(1)
228 err = getsockopt(fd, level, opt, unsafe.Pointer(&n), &vallen)
234 vallen := _Socklen(4)
235 err = getsockopt(fd, level, opt, unsafe.Pointer(&n), &vallen)
240 vallen := _Socklen(4)
241 err = getsockopt(fd, level, opt, unsafe.Pointer(&value[0]), &vallen)
247 vallen := _Socklen(SizeofIPMreq)
248 err := getsockopt(fd, level, opt, unsafe.Pointer(&value), &vallen)
254 vallen := _Socklen(SizeofIPv6Mreq)
255 err := getsockopt(fd, level, opt, unsafe.Pointer(&value), &vallen)
[all …]
Dsyscall_linux.go779 vallen := _Socklen(SizeofIPMreqn)
780 err := getsockopt(fd, level, opt, unsafe.Pointer(&value), &vallen)
786 vallen := _Socklen(SizeofUcred)
787 err := getsockopt(fd, level, opt, unsafe.Pointer(&value), &vallen)
793 vallen := _Socklen(SizeofTCPInfo)
794 err := getsockopt(fd, level, opt, unsafe.Pointer(&value), &vallen)
802 vallen := _Socklen(len(buf))
803 err := getsockopt(fd, level, opt, unsafe.Pointer(&buf[0]), &vallen)
806 buf = make([]byte, vallen)
807 err = getsockopt(fd, level, opt, unsafe.Pointer(&buf[0]), &vallen)
[all …]
Dsyscall_linux_386.go270 func getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) (err error) {
271 …CKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(unsafe.Pointer(vallen)), 0)
278 func setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error) {
279 _, e := socketcall(_SETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), vallen, 0)
Dsyscall_linux_s390x.go237 func getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) error {
238 …5]uintptr{uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(unsafe.Pointer(vallen))}
246 func setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) error {
Dsyscall_solaris.go122 vallen := _Socklen(len(buf))
123 err := getsockopt(fd, level, opt, unsafe.Pointer(&buf[0]), &vallen)
127 return string(buf[:vallen-1]), nil
Dsyscall_bsd.go318 vallen := _Socklen(len(buf))
319 err := getsockopt(fd, level, opt, unsafe.Pointer(&buf[0]), &vallen)
323 return string(buf[:vallen-1]), nil
Dsyscall_freebsd.go73 vallen := _Socklen(SizeofIPMreqn)
74 errno := getsockopt(fd, level, opt, unsafe.Pointer(&value), &vallen)
Dzsyscall_netbsd_386.go91 func getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) (err error) {
92 …CKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(unsafe.Pointer(vallen)), 0)
101 func setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error) {
102 …scall6(SYS_SETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(vallen), 0)
Dzsyscall_netbsd_amd64.go91 func getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) (err error) {
92 …CKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(unsafe.Pointer(vallen)), 0)
101 func setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error) {
102 …scall6(SYS_SETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(vallen), 0)
Dzsyscall_netbsd_arm.go91 func getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) (err error) {
92 …CKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(unsafe.Pointer(vallen)), 0)
101 func setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error) {
102 …scall6(SYS_SETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(vallen), 0)
Dzsyscall_dragonfly_amd64.go91 func getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) (err error) {
92 …CKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(unsafe.Pointer(vallen)), 0)
101 func setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error) {
102 …scall6(SYS_SETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(vallen), 0)
Dzsyscall_openbsd_amd64.go91 func getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) (err error) {
92 …CKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(unsafe.Pointer(vallen)), 0)
101 func setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error) {
102 …scall6(SYS_SETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(vallen), 0)
Dzsyscall_openbsd_arm.go91 func getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) (err error) {
92 …CKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(unsafe.Pointer(vallen)), 0)
101 func setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error) {
102 …scall6(SYS_SETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(vallen), 0)
Dzsyscall_openbsd_386.go91 func getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) (err error) {
92 …CKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(unsafe.Pointer(vallen)), 0)
101 func setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error) {
102 …scall6(SYS_SETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(vallen), 0)
Dzsyscall_darwin_amd64.go91 func getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) (err error) {
92 …CKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(unsafe.Pointer(vallen)), 0)
101 func setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error) {
102 …scall6(SYS_SETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(vallen), 0)
Dzsyscall_darwin_arm64.go91 func getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) (err error) {
92 …CKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(unsafe.Pointer(vallen)), 0)
101 func setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error) {
102 …scall6(SYS_SETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(vallen), 0)
Dzsyscall_darwin_386.go91 func getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) (err error) {
92 …CKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(unsafe.Pointer(vallen)), 0)
101 func setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error) {
102 …scall6(SYS_SETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(vallen), 0)
Dzsyscall_solaris_amd64.go1662 func getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) (err error) {
1663 …)), 5, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(unsafe.Pointer(vallen)), 0)
1678 func setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error) {
1679 …(&procsetsockopt)), 5, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(vallen), 0)
Dzsyscall_darwin_arm.go91 func getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) (err error) {
92 …CKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(unsafe.Pointer(vallen)), 0)
101 func setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error) {
102 …scall6(SYS_SETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(vallen), 0)
Dzsyscall_freebsd_amd64.go91 func getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) (err error) {
92 …CKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(unsafe.Pointer(vallen)), 0)
101 func setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error) {
102 …scall6(SYS_SETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(vallen), 0)
Dzsyscall_freebsd_arm.go91 func getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) (err error) {
92 …CKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(unsafe.Pointer(vallen)), 0)
101 func setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error) {
102 …scall6(SYS_SETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(vallen), 0)
/external/u-boot/env/
Dcommon.c256 int vallen = strlen(match->key) + 1; in env_complete() local
258 if (found >= maxv - 2 || bufsz < vallen) in env_complete()
262 memcpy(buf, match->key, vallen); in env_complete()
263 buf += vallen; in env_complete()
264 bufsz -= vallen; in env_complete()
/external/linux-kselftest/tools/testing/selftests/net/
Dudpgso.c348 socklen_t vallen; in get_path_mtu() local
352 vallen = sizeof(mtu); in get_path_mtu()
354 ret = getsockopt(fd, SOL_IP, IP_MTU, &mtu, &vallen); in get_path_mtu()
356 ret = getsockopt(fd, SOL_IPV6, IPV6_MTU, &mtu, &vallen); in get_path_mtu()
/external/webrtc/webrtc/base/
Dstringencode.cc293 if (size_t vallen = utf8_decode(&source[srcpos], srclen - srcpos, &val)) { in html_encode() local
294 srcpos += vallen; in html_encode()

12