Home
last modified time | relevance | path

Searched full:uname (Results 1 – 25 of 1390) sorted by relevance

12345678910>>...56

/external/strace/tests-m32/
Duname.c13 TAIL_ALLOC_OBJECT_CONST_PTR(struct utsname, uname); in main()
14 int rc = syscall(__NR_uname, uname); in main()
15 printf("uname({sysname="); in main()
16 print_quoted_string(uname->sysname); in main()
18 print_quoted_string(uname->nodename); in main()
23 print_quoted_string(uname->release); in main()
25 print_quoted_string(uname->version); in main()
27 print_quoted_string(uname->machine); in main()
30 print_quoted_string(uname->domainname); in main()
/external/strace/tests-mx32/
Duname.c13 TAIL_ALLOC_OBJECT_CONST_PTR(struct utsname, uname); in main()
14 int rc = syscall(__NR_uname, uname); in main()
15 printf("uname({sysname="); in main()
16 print_quoted_string(uname->sysname); in main()
18 print_quoted_string(uname->nodename); in main()
23 print_quoted_string(uname->release); in main()
25 print_quoted_string(uname->version); in main()
27 print_quoted_string(uname->machine); in main()
30 print_quoted_string(uname->domainname); in main()
/external/strace/tests/
Duname.c13 TAIL_ALLOC_OBJECT_CONST_PTR(struct utsname, uname); in main()
14 int rc = syscall(__NR_uname, uname); in main()
15 printf("uname({sysname="); in main()
16 print_quoted_string(uname->sysname); in main()
18 print_quoted_string(uname->nodename); in main()
23 print_quoted_string(uname->release); in main()
25 print_quoted_string(uname->version); in main()
27 print_quoted_string(uname->machine); in main()
30 print_quoted_string(uname->domainname); in main()
/external/rust/android-crates-io/crates/rustix/src/
Dsystem.rs1 //! Uname and other system-level functions.
20 /// `uname()`—Returns high-level information about the runtime OS and
23 /// For `gethostname()`, use [`Uname::nodename`] on the result.
36 /// [POSIX]: https://pubs.opengroup.org/onlinepubs/9699919799/functions/uname.html
37 /// [Linux]: https://man7.org/linux/man-pages/man2/uname.2.html
38 …loper.apple.com/library/archive/documentation/System/Conceptual/ManPages_iPhoneOS/man3/uname.3.html
39 /// [NetBSD]: https://man.netbsd.org/uname.3
40 /// [FreeBSD]: https://man.freebsd.org/cgi/man.cgi?query=uname&sektion=3
41 /// [OpenBSD]: https://man.openbsd.org/uname.3
42 /// [DragonFly BSD]: https://man.dragonflybsd.org/?command=uname&section=3
[all …]
/external/toybox/toys/posix/
Duname.c1 /* uname.c - return system name
5 * See http://opengroup.org/onlinepubs/9699919799/utilities/uname.html
7 USE_UNAME(NEWTOY(uname, "paomvrns", TOYFLAG_BIN))
16 Print machine (hardware) name, same as uname -m.
18 config UNAME
19 bool "uname"
22 usage: uname [-asnrvmo]
45 uname((void *)toybuf); in uname_main()
/external/strace/
Duname.c37 SYS_FUNC(uname) in SYS_FUNC() argument
39 struct utsname uname; in SYS_FUNC() local
44 if (!umove_or_printaddr(tcp, tcp->u_arg[0], &uname)) { in SYS_FUNC()
45 PRINT_FIELD_CSTRING("{", uname, sysname); in SYS_FUNC()
46 PRINT_FIELD_CSTRING(", ", uname, nodename); in SYS_FUNC()
51 PRINT_FIELD_CSTRING(", ", uname, release); in SYS_FUNC()
52 PRINT_FIELD_CSTRING(", ", uname, version); in SYS_FUNC()
53 PRINT_FIELD_CSTRING(", ", uname, machine); in SYS_FUNC()
55 PRINT_FIELD_CSTRING(", ", uname, domainname); in SYS_FUNC()
Dconfig.guess124 # This is needed to find uname on a Pyramid OSx when run in the BSD universe.
126 if (test -f /.attbin/uname) >/dev/null 2>&1 ; then
130 UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown
131 UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown
132 UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown
133 UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
171 UNAME_MACHINE_ARCH=`(uname -p 2>/dev/null || \
312 # 1.2 uses "1.2" for uname -r.
320 # Should we change UNAME_MACHINE based on the output of uname instead
369 case `/usr/bin/uname -p` in
[all …]
/external/python/cpython3/Lib/test/
Dtest_platform.py214 res = platform.uname()
231 uname = os.uname()
232 self.assertEqual(res.node, uname.nodename)
233 self.assertEqual(res.version, uname.version)
234 self.assertEqual(res.machine, uname.machine)
250 self.assertEqual(res.system, uname.sysname)
251 self.assertEqual(res.release, uname.release)
263 res = platform.uname()
271 res = platform.uname()
284 uname = platform.uname()
[all …]
/external/libexif/m4m/
Dgp-check-shell-environment.m425 uname=`uname 2>&1` # ''
26 uname_a=`uname -a 2>&1` # ''
34 * uname=${uname}
35 * uname-a=${uname_a}
/external/zstd/tests/cli-tests/common/
Dplatform.sh3 UNAME=$(uname)
7 case "$UNAME" in
19 case "$UNAME" in
27 case "$UNAME" in
/external/capstone/
Dmake.sh19 HOSTOS=$(uname -s | tr 'LD' 'ld')
20 HOSTARCH=$(uname -m)
72 if [ "$UNAME" = Darwin ]; then
89 if [ "$UNAME" = "Darwin" ]; then
99 if [ "$UNAME" = SunOS ]; then
105 if [ -n "`echo "$UNAME" | grep BSD`" ]; then
110 [ -z "${UNAME}" ] && UNAME=$(uname)
/external/grpc-grpc/tools/dockerfile/grpc_dist_proto/
DDockerfile47 RUN mkdir /tmp/proto-bins_$(cat /version.txt)_linux-$(uname -m)
48 RUN cp -v bins/opt/* /tmp/proto-bins_$(cat /version.txt)_linux-$(uname -m)
49 RUN cp -v /tmp/protoc_static/bin/protoc /tmp/proto-bins_$(cat /version.txt)_linux-$(uname -m)
51 …r -czf proto-bins_$(cat /version.txt)_linux-$(uname -m).tar.gz proto-bins_$(cat /version.txt)_linu…
55 RUN echo 'proto-bins_$(cat /version.txt)_linux-tar-$(uname -m) contents:' && \
56 tar -ztf /tmp/proto-bins_$(cat /version.txt)_linux-$(uname -m).tar.gz
/external/rust/android-crates-io/crates/grpcio-sys/grpc/tools/dockerfile/grpc_dist_proto/
DDockerfile47 RUN mkdir /tmp/proto-bins_$(cat /version.txt)_linux-$(uname -m)
48 RUN cp -v bins/opt/* /tmp/proto-bins_$(cat /version.txt)_linux-$(uname -m)
49 RUN cp -v /tmp/protoc_static/bin/protoc /tmp/proto-bins_$(cat /version.txt)_linux-$(uname -m)
51 …r -czf proto-bins_$(cat /version.txt)_linux-$(uname -m).tar.gz proto-bins_$(cat /version.txt)_linu…
55 RUN echo 'proto-bins_$(cat /version.txt)_linux-tar-$(uname -m) contents:' && \
56 tar -ztf /tmp/proto-bins_$(cat /version.txt)_linux-$(uname -m).tar.gz
/external/AFLplusplus/utils/libtokencap/
DMakefile27 UNAME_S =$(shell uname -s)# GNU make
28 UNAME_S:sh=uname -s # BSD make
48 #ifeq "$(shell uname)" "Linux"
52 #ifeq "$(shell uname)" "Darwin"
56 #ifeq "$(shell uname)" "FreeBSD"
59 #ifeq "$(shell uname)" "OpenBSD"
62 #ifeq "$(shell uname)" "NetBSD"
65 #ifeq "$(shell uname)" "DragonFly"
/external/libnfnetlink/
Dconfig.guess132 # This is needed to find uname on a Pyramid OSx when run in the BSD universe.
134 if (test -f /.attbin/uname) >/dev/null 2>&1 ; then
138 UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown
139 UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown
140 UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown
141 UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
271 # 1.2 uses "1.2" for uname -r.
276 # Should we change UNAME_MACHINE based on the output of uname instead
325 case `/usr/bin/uname -p` in
365 UNAME_RELEASE=`uname -v`
[all …]
/external/libnetfilter_conntrack/
Dconfig.guess132 # This is needed to find uname on a Pyramid OSx when run in the BSD universe.
134 if (test -f /.attbin/uname) >/dev/null 2>&1 ; then
138 UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown
139 UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown
140 UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown
141 UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
271 # 1.2 uses "1.2" for uname -r.
276 # Should we change UNAME_MACHINE based on the output of uname instead
325 case `/usr/bin/uname -p` in
365 UNAME_RELEASE=`uname -v`
[all …]
/external/libexif/
Dconfig.guess131 # This is needed to find uname on a Pyramid OSx when run in the BSD universe.
133 if (test -f /.attbin/uname) >/dev/null 2>&1 ; then
137 UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown
138 UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown
139 UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown
140 UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
270 # 1.2 uses "1.2" for uname -r.
275 # Should we change UNAME_MACHINE based on the output of uname instead
324 case `/usr/bin/uname -p` in
364 UNAME_RELEASE=`uname -v`
[all …]
/external/libffi/
Dconfig.guess124 # This is needed to find uname on a Pyramid OSx when run in the BSD universe.
126 if (test -f /.attbin/uname) >/dev/null 2>&1 ; then
130 UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown
131 UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown
132 UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown
133 UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
171 UNAME_MACHINE_ARCH=`(uname -p 2>/dev/null || \
312 # 1.2 uses "1.2" for uname -r.
320 # Should we change UNAME_MACHINE based on the output of uname instead
369 case `/usr/bin/uname -p` in
[all …]
/external/jemalloc_new/build-aux/
Dconfig.guess124 # This is needed to find uname on a Pyramid OSx when run in the BSD universe.
126 if (test -f /.attbin/uname) >/dev/null 2>&1 ; then
130 UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown
131 UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown
132 UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown
133 UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
171 UNAME_MACHINE_ARCH=`(uname -p 2>/dev/null || \
312 # 1.2 uses "1.2" for uname -r.
320 # Should we change UNAME_MACHINE based on the output of uname instead
369 case `/usr/bin/uname -p` in
[all …]
/external/libsrtp2/
Dconfig.guess124 # This is needed to find uname on a Pyramid OSx when run in the BSD universe.
126 if (test -f /.attbin/uname) >/dev/null 2>&1 ; then
130 UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown
131 UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown
132 UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown
133 UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
171 UNAME_MACHINE_ARCH=`(uname -p 2>/dev/null || \
312 # 1.2 uses "1.2" for uname -r.
320 # Should we change UNAME_MACHINE based on the output of uname instead
369 case `/usr/bin/uname -p` in
[all …]
/external/libevent/build-aux/
Dconfig.guess128 # This is needed to find uname on a Pyramid OSx when run in the BSD universe.
130 if test -f /.attbin/uname ; then
134 UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown
135 UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown
136 UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown
137 UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
182 UNAME_MACHINE_ARCH=`(uname -p 2>/dev/null || \
338 # 1.2 uses "1.2" for uname -r.
386 case `/usr/bin/uname -p` in
426 UNAME_RELEASE=`uname -v`
[all …]
/external/fec/
Dconfig.guess131 # This is needed to find uname on a Pyramid OSx when run in the BSD universe.
133 if (test -f /.attbin/uname) >/dev/null 2>&1 ; then
137 UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown
138 UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown
139 UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown
140 UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
270 # 1.2 uses "1.2" for uname -r.
275 # Should we change UNAME_MACHINE based on the output of uname instead
324 case `/usr/bin/uname -p` in
345 UNAME_RELEASE=`uname -v`
[all …]
/external/cronet/tot/third_party/apache-portable-runtime/src/build/
Dconfig.guess124 # This is needed to find uname on a Pyramid OSx when run in the BSD universe.
126 if (test -f /.attbin/uname) >/dev/null 2>&1 ; then
130 UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown
131 UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown
132 UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown
133 UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
288 # 1.2 uses "1.2" for uname -r.
296 # Should we change UNAME_MACHINE based on the output of uname instead
345 case `/usr/bin/uname -p` in
385 UNAME_RELEASE=`uname -v`
[all …]
/external/libnetfilter_conntrack/build-aux/
Dconfig.guess124 # This is needed to find uname on a Pyramid OSx when run in the BSD universe.
126 if (test -f /.attbin/uname) >/dev/null 2>&1 ; then
130 UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown
131 UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown
132 UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown
133 UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
288 # 1.2 uses "1.2" for uname -r.
296 # Should we change UNAME_MACHINE based on the output of uname instead
345 case `/usr/bin/uname -p` in
385 UNAME_RELEASE=`uname -v`
[all …]
/external/cronet/stable/third_party/apache-portable-runtime/src/build/
Dconfig.guess124 # This is needed to find uname on a Pyramid OSx when run in the BSD universe.
126 if (test -f /.attbin/uname) >/dev/null 2>&1 ; then
130 UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown
131 UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown
132 UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown
133 UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
288 # 1.2 uses "1.2" for uname -r.
296 # Should we change UNAME_MACHINE based on the output of uname instead
345 case `/usr/bin/uname -p` in
385 UNAME_RELEASE=`uname -v`
[all …]

12345678910>>...56