Home
last modified time | relevance | path

Searched refs:utsname (Results 1 – 25 of 54) sorted by relevance

123

/external/avahi/avahi-core/
Ddomain-util.c118 struct utsname utsname; in avahi_get_host_name() local
120 if (uname(&utsname) >= 0) { in avahi_get_host_name()
121 snprintf(ret_s, size, "%s", utsname.sysname); in avahi_get_host_name()
Dserver.c1132 struct utsname utsname; in register_hinfo() local
1153 if (uname(&utsname) < 0) in register_hinfo()
1157 r->data.hinfo.cpu = avahi_strdup(avahi_strup(utsname.machine)); in register_hinfo()
1158 r->data.hinfo.os = avahi_strdup(avahi_strup(utsname.sysname)); in register_hinfo()
/external/iputils/ninfod/
Dninfod_name.c137 static struct utsname utsname; variable
138 static char *uts_nodename = utsname.nodename;
292 struct utsname newname; in init_nodeinfo_nodename()
299 changed = strcmp(newname.nodename, utsname.nodename); in init_nodeinfo_nodename()
304 memcpy(&utsname, &newname, sizeof(newname)); in init_nodeinfo_nodename()
Dconfig.h.in93 /* Define to 1 if you have the <sys/utsname.h> header file. */
Dconfigure.in83 AC_CHECK_HEADERS(sys/utsname.h arpa/inet.h netdb.h syslog.h)
/external/libchrome/base/
Dsys_info_posix.cc104 struct utsname info; in OperatingSystemName()
116 struct utsname info; in OperatingSystemVersion()
127 struct utsname info; in OperatingSystemArchitecture()
/external/llvm/lib/Support/Unix/
DHost.inc24 #include <sys/utsname.h>
29 struct utsname info;
/external/strace/
Duname.c38 struct utsname uname; in SYS_FUNC()
Dconfigure.ac325 linux/utsname.h
378 AC_CHECK_MEMBERS([struct utsname.domainname],,, [#include <sys/utsname.h>])
/external/elfutils/libdwfl/
Dlinux-kernel-modules.c146 static struct utsname utsname; in kernel_release() local
147 if (utsname.release[0] == '\0' && uname (&utsname) != 0) in kernel_release()
149 return utsname.release; in kernel_release()
/external/deqp/framework/platform/X11/
DtcuX11Platform.cpp85 utsname sysInfo; in describePlatform()
/external/libweave/examples/provider/
Dfile_config_store.cc42 utsname uname_data; in LoadDefaults()
/external/toybox/toys/pending/
Dgetty.c207 struct utsname uts; in print_prompt()
222 struct utsname u; in write_issue()
Dbootchartd.c213 struct utsname uts; in stop_logging()
/external/e2fsprogs/lib/blkid/
Dgetsize.c93 struct utsname ut; in blkid_get_dev_size()
/external/toybox/toys/other/
Dmodinfo.c108 struct utsname uts; in modinfo_main()
/external/compiler-rt/lib/msan/
Dmsan_interceptors.cc895 INTERCEPTOR(int, __xuname, int size, void *utsname) { in INTERCEPTOR() argument
897 int res = REAL(__xuname)(size, utsname); in INTERCEPTOR()
899 __msan_unpoison(utsname, __sanitizer::struct_utsname_sz); in INTERCEPTOR()
904 INTERCEPTOR(int, uname, struct utsname *utsname) { in INTERCEPTOR() argument
906 int res = REAL(uname)(utsname); in INTERCEPTOR()
908 __msan_unpoison(utsname, __sanitizer::struct_utsname_sz); in INTERCEPTOR()
/external/webrtc/webrtc/base/
Dlinux.cc237 struct utsname buf; in ReadLinuxUname()
/external/e2fsprogs/lib/ext2fs/
Dgetsize.c163 struct utsname ut; in ext2fs_get_device_size2()
/external/libpcap/
Dpcap-linux.c3790 struct utsname utsname; local
3792 if (uname(&utsname) == -1) {
3800 if (strcmp(utsname.machine, ISA_64_BIT) == 0) {
6047 struct utsname utsname; local
6159 if (uname(&utsname) < 0 ||
6160 strncmp(utsname.release, "2.0", 3) == 0) {
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_posix.cc74 struct utsname uname_info; in GetKernelAreaSize()
/external/google-breakpad/src/client/solaris/handler/
Dminidump_generator.cc313 struct utsname uts; in WriteCPUInformation()
344 struct utsname uts; in WriteOSInformation()
/external/google-breakpad/src/client/linux/microdump_writer/
Dmicrodump_writer.cc147 struct utsname uts; in DumpOSInformation()
/external/ppp/pppd/
Dsys-linux.c221 static struct utsname utsname; /* for the kernel version */ variable
2041 uname(&utsname); in ppp_available()
2043 sscanf(utsname.release, "%d.%d.%d", &osmaj, &osmin, &ospatch); in ppp_available()
/external/selinux/libselinux/src/
Dload_policy.c56 struct utsname uts; in selinux_mkload_policy()

123