Home
last modified time | relevance | path

Searched refs:uts (Results 1 – 25 of 28) sorted by relevance

12

/third_party/musl/src/unistd/
Dgethostname.c7 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/
Dsetns02.c43 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/
Dunity_test_summary.rb117 uts = UnityTestSummary.new(opts)
125 uts.targets = results
129 uts.root = ARGV[1]
132 puts uts.run
134 uts.usage e.message
Dunity_test_summary.py117 uts = UnityTestSummary() variable
127 uts.set_targets(targets)
134 uts.set_root_path(root_path)
137 print(uts.run())
139 uts.usage(e)
Dunity_to_junit.py124 uts = UnityTestSummary() variable
134 uts.set_targets(targets)
141 uts.set_root_path(root_path)
144 print(uts.run())
/third_party/unity/auto/
Dunity_test_summary.rb114 uts = UnityTestSummary.new(opts)
124 uts.targets = results
128 uts.root = ARGV[1]
131 puts uts.run
133 uts.usage e.message
Dunity_test_summary.py117 uts = UnityTestSummary() variable
127 uts.set_targets(targets)
134 uts.set_root_path(root_path)
137 print(uts.run())
139 uts.usage(e)
Dunity_to_junit.py124 uts = UnityTestSummary() variable
134 uts.set_targets(targets)
141 uts.set_root_path(root_path)
144 print(uts.run())
/third_party/openssl/crypto/
Dppccap.c156 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/
Dbootchartd.c175 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()
Dgetty.c207 struct utsname uts; in print_prompt() local
209 uname(&uts); in print_prompt()
210 hostname = xstrdup(uts.nodename); in print_prompt()
Dmodprobe.c476 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()
Dsyslogd.c318 struct utsname uts; in logmsg() local
353 if (!uname(&uts)) p = uts.nodename; in logmsg()
/third_party/ltp/lib/
Dtst_kernel.c101 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/
Duname.c4 int uname(struct utsname *uts) in uname() argument
6 return syscall(SYS_uname, uts); in uname()
/third_party/toybox/toys/other/
Dmodinfo.c109 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/
Df2fs_format_main.c119 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/
DMachO.h1659 } 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/
Dsymbol.c48 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/
DMachO.h1724 } 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/
Ddebuginfod-client.c387 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/
Dselinux_restorecon.c241 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/
Dconfig.sub1457 ctix* | uts*)
/third_party/python/
Dconfig.sub1452 ctix* | uts*)
/third_party/libbpf/src/
Dlibbpf.c2059 struct utsname uts; local
2063 uname(&uts);
2064 len = snprintf(buf, PATH_MAX, "/boot/config-%s", uts.release);

12