/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/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/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/toybox/toys/pending/ |
D | bootchartd.c | 199 struct utsname uts; in stop_logging() local 211 if (uname(&uts) < 0) perror_exit("uname"); in stop_logging() 212 fprintf(hdr_fp, "system.uname = %s %s %s %s\n", uts.sysname, uts.release, in stop_logging() 213 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 | syslogd.c | 318 struct utsname uts; in logmsg() local 353 if (!uname(&uts)) p = uts.nodename; in logmsg()
|
D | modprobe.c | 500 struct utsname uts; in modprobe_main() local 519 uname(&uts); in modprobe_main() 521 TT.dirs->arg = xmprintf("/lib/modules/%s", uts.release); in modprobe_main()
|
/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/openssl/crypto/ |
D | ppccap.c | 278 struct utsname uts; in OPENSSL_cpuid_setup() local 283 if (uname(&uts) != 0 || atoi(uts.version) < 6) in OPENSSL_cpuid_setup() 394 struct utsname uts; in OPENSSL_cpuid_setup() local 395 if (uname(&uts) == 0 && strcmp(uts.machine, "ppc64") == 0) in OPENSSL_cpuid_setup()
|
/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/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/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/e2fsprogs/e2fsck/ |
D | util.c | 693 struct utsname uts; in check_for_modules() local 698 if (uname(&uts)) in check_for_modules() 700 snprintf(buf, sizeof(buf), "/lib/modules/%s/modules.dep", uts.release); in check_for_modules()
|
/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/selinux/libselinux/src/ |
D | selinux_restorecon.c | 230 struct utsname uts; in exclude_non_seclabel_mounts() local 238 if (uname(&uts) == 0 && strverscmp(uts.release, "2.6.30") < 0) in exclude_non_seclabel_mounts()
|
/third_party/libusb/libusb/os/ |
D | linux_usbfs.c | 298 struct utsname uts; in get_kernel_version() local 301 if (uname(&uts) < 0) { in get_kernel_version() 306 atoms = sscanf(uts.release, "%d.%d.%d", &ver->major, &ver->minor, &ver->sublevel); in get_kernel_version() 308 usbi_err(ctx, "failed to parse uname release '%s'", uts.release); in get_kernel_version() 315 usbi_dbg("reported kernel version is %s", uts.release); in get_kernel_version()
|
/third_party/e2fsprogs/lib/blkid/ |
D | probe.c | 208 struct utsname uts; in check_for_modules() local 213 if (uname(&uts)) in check_for_modules() 215 snprintf(buf, sizeof(buf), "/lib/modules/%s/modules.dep", uts.release); in check_for_modules()
|
/third_party/iptables/libxtables/ |
D | xtables.c | 2311 static struct utsname uts; in get_kernel_version() local 2314 if (uname(&uts) == -1) { in get_kernel_version() 2320 sscanf(uts.release, "%d.%d.%d", &x, &y, &z); in get_kernel_version()
|
/third_party/libevdev/build-aux/ |
D | config.sub | 1438 ctix* | uts*)
|