/third_party/musl/src/unistd/ |
H A 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/ |
H A 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() 158 ns_uts_fd = get_ns_fd(getpid(), "uts"); in setup()
|
/third_party/cJSON/tests/unity/auto/ |
H A 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
|
H A D | unity_test_summary.py | 117 uts = UnityTestSummary() variable in UnityTestSummary 127 uts.set_targets(targets) 134 uts.set_root_path(root_path) 137 print(uts.run()) 139 uts.usage(e)
|
H A 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/ |
H A D | unity_test_summary.rb | 118 uts = UnityTestSummary.new(opts) 128 uts.targets = results 132 uts.root = ARGV[1] 135 puts uts.run 137 uts.usage e.message
|
H A D | stylize_as_junit.py | 131 uts = UnityTestSummary() variable 152 uts.set_targets(targets) 155 uts.set_root_path(args.root_path) 158 uts.set_output(args.output) 161 print(uts.run())
|
H A D | unity_test_summary.py | 117 uts = UnityTestSummary() variable in UnityTestSummary 127 uts.set_targets(targets) 134 uts.set_root_path(root_path) 137 print(uts.run()) 139 uts.usage(e)
|
/third_party/node/deps/openssl/openssl/crypto/ |
H A 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/openssl/crypto/ |
H A 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/ |
H A 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()
|
H A 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()
|
H A 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()
|
H A D | syslogd.c | 318 struct utsname uts; in logmsg() local 353 if (!uname(&uts)) p = uts.nodename; in logmsg()
|
/third_party/musl/src/misc/ |
H A D | uname.c | 4 int uname(struct utsname *uts) in uname() argument 6 return syscall(SYS_uname, uts); in uname()
|
/third_party/ltp/lib/ |
H A 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/ |
H A 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/ |
H A 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/toybox/kconfig/ |
H A 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/elfutils/debuginfod/ |
H A 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/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
H A 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/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/BinaryFormat/ |
H A 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/ |
H A D | selinux_restorecon.c | 244 struct utsname uts; in exclude_non_seclabel_mounts() local 253 if (uname(&uts) == 0 && strverscmp(uts.release, "2.6.30") < 0) in exclude_non_seclabel_mounts()
|
/third_party/libbpf/src/ |
H A D | libbpf.c | 2072 struct utsname uts; local 2076 uname(&uts); 2077 len = snprintf(buf, PATH_MAX, "/boot/config-%s", uts.release);
|