/third_party/musl/src/unistd/ |
D | gethostname.c | 7 struct utsname uts; in gethostname() local 8 if (uname(&uts)) return -1; in gethostname() 9 if (len > sizeof uts.nodename) len = sizeof uts.nodename; in gethostname() 10 for (i=0; i<len && (name[i] = uts.nodename[i]); i++); in gethostname()
|
/third_party/ltp/testcases/kernel/syscalls/setns/ |
D | setns02.c | 43 struct utsname uts, uts_parent; in do_child_newuts() local 53 if (uname(&uts) == -1) in do_child_newuts() 56 tst_res(TINFO, CP"hostname changed to: %s", uts.nodename); in do_child_newuts() 57 if (strcmp(uts_parent.nodename, uts.nodename) == 0) { in do_child_newuts() 69 if (uname(&uts) == -1) in do_child_newuts() 72 tst_res(TINFO, CP"hostname: %s", uts.nodename); in do_child_newuts() 73 if (strcmp(uts_parent.nodename, uts.nodename) != 0) { in do_child_newuts()
|
/third_party/cJSON/tests/unity/auto/ |
D | unity_test_summary.rb | 117 uts = UnityTestSummary.new(opts) 125 uts.targets = results 129 uts.root = ARGV[1] 132 puts uts.run 134 uts.usage e.message
|
D | unity_test_summary.py | 117 uts = UnityTestSummary() variable 127 uts.set_targets(targets) 134 uts.set_root_path(root_path) 137 print(uts.run()) 139 uts.usage(e)
|
D | unity_to_junit.py | 124 uts = UnityTestSummary() variable 134 uts.set_targets(targets) 141 uts.set_root_path(root_path) 144 print(uts.run())
|
/third_party/unity/auto/ |
D | unity_test_summary.rb | 114 uts = UnityTestSummary.new(opts) 124 uts.targets = results 128 uts.root = ARGV[1] 131 puts uts.run 133 uts.usage e.message
|
D | unity_test_summary.py | 117 uts = UnityTestSummary() variable 127 uts.set_targets(targets) 134 uts.set_root_path(root_path) 137 print(uts.run()) 139 uts.usage(e)
|
D | unity_to_junit.py | 124 uts = UnityTestSummary() variable 134 uts.set_targets(targets) 141 uts.set_root_path(root_path) 144 print(uts.run())
|
/third_party/openssl/crypto/ |
D | ppccap.c | 156 struct utsname uts; in OPENSSL_cpuid_setup() local 161 if (uname(&uts) != 0 || atoi(uts.version) < 6) in OPENSSL_cpuid_setup() 272 struct utsname uts; in OPENSSL_cpuid_setup() local 273 if (uname(&uts) == 0 && strcmp(uts.machine, "ppc64") == 0) in OPENSSL_cpuid_setup()
|
/third_party/toybox/toys/pending/ |
D | bootchartd.c | 175 struct utsname uts; in stop_logging() local 187 if (uname(&uts) < 0) perror_exit("uname"); in stop_logging() 188 fprintf(hdr_fp, "system.uname = %s %s %s %s\n", uts.sysname, uts.release, in stop_logging() 189 uts.version, uts.machine); in stop_logging()
|
D | getty.c | 207 struct utsname uts; in print_prompt() local 209 uname(&uts); in print_prompt() 210 hostname = xstrdup(uts.nodename); in print_prompt()
|
D | modprobe.c | 476 struct utsname uts; in modprobe_main() local 478 uname(&uts); in modprobe_main() 480 TT.dirs->arg = xmprintf("/lib/modules/%s", uts.release); in modprobe_main()
|
D | syslogd.c | 318 struct utsname uts; in logmsg() local 353 if (!uname(&uts)) p = uts.nodename; in logmsg()
|
/third_party/ltp/lib/ |
D | tst_kernel.c | 101 struct utsname uts; in tst_search_driver() local 103 if (uname(&uts)) { in tst_search_driver() 107 SAFE_ASPRINTF(NULL, &path, "/lib/modules/%s/%s", uts.release, file); in tst_search_driver()
|
/third_party/musl/src/misc/ |
D | uname.c | 4 int uname(struct utsname *uts) in uname() argument 6 return syscall(SYS_uname, uts); in uname()
|
/third_party/toybox/toys/other/ |
D | modinfo.c | 109 struct utsname uts; in modinfo_main() local 117 uname(&uts); in modinfo_main() 119 if (!TT.k) TT.k = uts.release; in modinfo_main()
|
/third_party/f2fs-tools/mkfs/ |
D | f2fs_format_main.c | 119 struct utsname uts; in kernel_version_over() local 121 if ((uname(&uts) != 0) || in kernel_version_over() 122 (sscanf(uts.release, "%u.%u", &major, &minor) != 2)) in kernel_version_over()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
D | MachO.h | 1659 } uts; member 1699 swapStruct(x.uts.ts64); in swapStruct() 1774 } uts; member 1795 swapStruct(x.uts.ts32); in swapStruct() 1899 } uts; member 1920 swapStruct(x.uts.ts32); in swapStruct()
|
/third_party/toybox/kconfig/ |
D | symbol.c | 48 struct utsname uts; in sym_init() local 56 uname(&uts); in sym_init() 77 sym_add_default(sym, uts.release); in sym_init()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/BinaryFormat/ |
D | MachO.h | 1724 } uts; member 1764 swapStruct(x.uts.ts64); in swapStruct() 1842 } uts; member 1863 swapStruct(x.uts.ts32); in swapStruct() 1967 } uts; member 1988 swapStruct(x.uts.ts32); in swapStruct()
|
/third_party/elfutils/debuginfod/ |
D | debuginfod-client.c | 387 struct utsname uts; in add_default_headers() local 389 rc = uname (&uts); in add_default_headers() 391 rc = asprintf(& utspart, "%s/%s", uts.sysname, uts.machine); in add_default_headers()
|
/third_party/selinux/libselinux/src/ |
D | selinux_restorecon.c | 241 struct utsname uts; in exclude_non_seclabel_mounts() local 250 if (uname(&uts) == 0 && strverscmp(uts.release, "2.6.30") < 0) in exclude_non_seclabel_mounts()
|
/third_party/freetype/builds/unix/ |
D | config.sub | 1457 ctix* | uts*)
|
/third_party/python/ |
D | config.sub | 1452 ctix* | uts*)
|
/third_party/libbpf/src/ |
D | libbpf.c | 2059 struct utsname uts; local 2063 uname(&uts); 2064 len = snprintf(buf, PATH_MAX, "/boot/config-%s", uts.release);
|