/external/linux-kselftest/android/patches/ |
D | 0005-psock-tpacket-version-check.patch | 20 +#include <sys/utsname.h> 31 + struct utsname utsname; 33 + ret = uname(&utsname); 39 + ret = sscanf(utsname.release, "%d.%d.%d", version, patchlevel, 45 + printf("Malformed kernel version %s\n", &utsname.release);
|
/external/linux-kselftest/tools/testing/selftests/arm64/tags/ |
D | tags_test.c | 18 struct utsname *ptr; in main() 23 ptr = (struct utsname *)malloc(sizeof(*ptr)); in main() 26 ptr = (struct utsname *)SET_TAG(ptr, tag); in main()
|
/external/iputils/ninfod/ |
D | ninfod_name.c | 137 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()
|
/external/libchrome/base/ |
D | sys_info_posix.cc | 175 struct utsname info; in OperatingSystemName() 187 struct utsname info; in OperatingSystemVersion() 201 struct utsname info; in OperatingSystemVersionNumbers() 222 struct utsname info; in OperatingSystemArchitecture()
|
/external/ltp/m4/ |
D | ltp-uname.m4 | 5 AC_CHECK_MEMBERS([struct utsname.domainname],,,[ 7 #include <sys/utsname.h>
|
/external/perfetto/src/trace_processor/importers/proto/ |
D | system_probes_parser.cc | 345 ConstBytes utsname_blob = packet.utsname(); in ParseSystemInfo() 346 protos::pbzero::Utsname::Decoder utsname(utsname_blob.data, in ParseSystemInfo() local 348 base::StringView machine = utsname.machine(); in ParseSystemInfo() 362 system_info_tracker->SetKernelVersion(utsname.sysname(), utsname.release()); in ParseSystemInfo() 365 context_->storage->InternString(utsname.sysname()); in ParseSystemInfo() 367 context_->storage->InternString(utsname.version()); in ParseSystemInfo() 369 context_->storage->InternString(utsname.release()); in ParseSystemInfo() 371 context_->storage->InternString(utsname.machine()); in ParseSystemInfo()
|
/external/kmod/testsuite/ |
D | uname.c | 28 TS_EXPORT int uname(struct utsname *u) in uname() 31 static int (*nextlib_uname)(struct utsname *u); in uname()
|
/external/ltp/testcases/kernel/syscalls/uname/ |
D | uname03.c | 71 struct utsname *buf; in main() 79 if ((buf = malloc((size_t)sizeof(struct utsname))) == NULL) { in main()
|
D | uname04.c | 20 static struct utsname saved_buf; 39 struct utsname buf; in try_leak_bytes()
|
D | uname01.c | 124 struct utsname un;
|
/external/ltp/lib/ |
D | tst_kernel.c | 23 static int get_kernel_bits_from_uname(struct utsname *buf) in get_kernel_bits_from_uname() 35 struct utsname buf; in tst_kernel_bits()
|
D | tst_kvercmp.c | 100 struct utsname uval; in tst_kvercmp() 149 struct utsname uval; in tst_kvercmp2()
|
/external/ltp/testcases/cve/ |
D | meltdown.c | 275 struct utsname utsname; in find_kernel_symbol() local 282 if (uname(&utsname) < 0) in find_kernel_symbol() 284 sprintf(systemmap, "/boot/System.map-%s", utsname.release); in find_kernel_symbol()
|
/external/ltp/testcases/kernel/containers/ |
D | README | 35 (e.g: utsname etc..) tests and report results. Please refer the following 44 utsname/* 45 Contains all the testcases related to utsname tests.
|
/external/swiftshader/third_party/llvm-subzero/lib/Support/Unix/ |
D | Host.inc | 24 #include <sys/utsname.h> 29 struct utsname info;
|
/external/llvm/lib/Support/Unix/ |
D | Host.inc | 24 #include <sys/utsname.h> 29 struct utsname info;
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/Unix/ |
D | Host.inc | 24 #include <sys/utsname.h> 29 struct utsname info;
|
/external/walt/ios/WALT/ |
D | WALTAppDelegate.m | 19 #include <sys/utsname.h> 32 struct utsname systemInfo;
|
/external/ltp/testcases/kernel/syscalls/mlockall/ |
D | mlockall03.c | 114 struct utsname *buf; in main() 119 if ((buf = malloc((size_t)sizeof(struct utsname))) == NULL) { in main()
|
/external/rust/crates/libc/src/unix/redox/ |
D | mod.rs | 50 pub struct utsname { 946 pub fn uname(utsname: *mut utsname) -> ::c_int; in uname() 1054 impl PartialEq for utsname { 1055 fn eq(&self, other: &utsname) -> bool { 1088 impl Eq for utsname {} 1090 impl ::fmt::Debug for utsname { 1103 impl ::hash::Hash for utsname {
|
/external/rust/crates/libc/src/unix/bsd/ |
D | mod.rs | 113 pub struct utsname { 172 impl PartialEq for utsname { 173 fn eq(&self, other: &utsname) -> bool { 201 impl Eq for utsname {} 203 impl ::fmt::Debug for utsname { 215 impl ::hash::Hash for utsname {
|
/external/strace/ |
D | uname.c | 39 struct utsname uname; in SYS_FUNC()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_init/speculative/ |
D | 5-2.c | 86 struct utsname un; in main()
|
/external/strace/tests-m32/ |
D | uname.c | 13 TAIL_ALLOC_OBJECT_CONST_PTR(struct utsname, uname); in main()
|
/external/strace/tests-mx32/ |
D | uname.c | 13 TAIL_ALLOC_OBJECT_CONST_PTR(struct utsname, uname); in main()
|