Home
last modified time | relevance | path

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

123

/external/fio/os/
Dos-openbsd.h94 struct utsname uts; in shm_attach_to_open_removed() local
97 if (uname(&uts) == -1) in shm_attach_to_open_removed()
104 if (uts.release[0] > '9' || uts.release[0] < '0') in shm_attach_to_open_removed()
106 if (uts.release[1] != '.') in shm_attach_to_open_removed()
108 if (uts.release[2] > '9' || uts.release[2] < '0') in shm_attach_to_open_removed()
111 major = uts.release[0] - '0'; in shm_attach_to_open_removed()
112 minor = uts.release[2] - '0'; in shm_attach_to_open_removed()
/external/scapy/test/configs/
Dtravis.utsc3 "*.uts",
4 "../scapy/contrib/*.uts"
8 "../scapy/contrib/*.uts": "load_contrib(\"%name%\")",
9 "cert.uts": "load_layer(\"tls\")",
10 "sslv2.uts": "load_layer(\"tls\")",
11 "tls*.uts": "load_layer(\"tls\")"
Dwindows2.utsc3 "*.uts",
4 "..\\scapy\\contrib\\*.uts"
8 "..\\scapy\\contrib\\*.uts": "load_contrib(\"%name%\")",
9 "cert.uts": "load_layer(\"tls\")",
10 "sslv2.uts": "load_layer(\"tls\")",
11 "tls*.uts": "load_layer(\"tls\")"
Dwindows.utsc3 "test\\*.uts",
4 "scapy\\contrib\\*.uts"
8 "scapy\\contrib\\*.uts": "load_contrib(\"%name%\")",
9 "test\\cert.uts": "load_layer(\"tls\")",
10 "test\\sslv2.uts": "load_layer(\"tls\")",
11 "test\\tls*.uts": "load_layer(\"tls\")"
/external/ltp/testcases/kernel/syscalls/setns/
Dsetns02.c66 struct utsname uts, uts_parent; in do_child_newuts() local
76 if (uname(&uts) == -1) in do_child_newuts()
79 tst_resm(TINFO, CP"hostname changed to: %s", uts.nodename); in do_child_newuts()
80 if (strcmp(uts_parent.nodename, uts.nodename) == 0) { in do_child_newuts()
92 if (uname(&uts) == -1) in do_child_newuts()
95 tst_resm(TINFO, CP"hostname: %s", uts.nodename); in do_child_newuts()
96 if (strcmp(uts_parent.nodename, uts.nodename) != 0) { in do_child_newuts()
/external/google-breakpad/src/client/solaris/handler/
Dminidump_generator.cc313 struct utsname uts; in WriteCPUInformation() local
318 if (uname(&uts) != -1) { in WriteCPUInformation()
320 if (strcmp(uts.machine, "i86pc") == 0) in WriteCPUInformation()
322 else if (strcmp(uts.machine, "sun4u") == 0) in WriteCPUInformation()
326 major = uts.release; in WriteCPUInformation()
333 build = strchr(uts.version, '_'); in WriteCPUInformation()
344 struct utsname uts; in WriteOSInformation() local
345 if (uname(&uts) != -1) { in WriteOSInformation()
350 uts.sysname, in WriteOSInformation()
351 uts.release, in WriteOSInformation()
[all …]
/external/toybox/toys/pending/
Dbootchartd.c214 struct utsname uts; in stop_logging() local
226 if (uname(&uts) < 0) perror_exit("uname"); in stop_logging()
227 fprintf(hdr_fp, "system.uname = %s %s %s %s\n", uts.sysname, uts.release, in stop_logging()
228 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()
Dsyslogd.c318 struct utsname uts; in logmsg() local
353 if (!uname(&uts)) p = uts.nodename; in logmsg()
Dmodprobe.c499 struct utsname uts; in modprobe_main() local
518 uname(&uts); in modprobe_main()
520 TT.dirs->arg = xmprintf("/lib/modules/%s", uts.release); in modprobe_main()
/external/valgrind/coregrind/m_coredump/
Dcoredump-solaris.c607 static void fill_utsname(struct vki_utsname *uts) in fill_utsname() argument
609 VG_(memset)(uts, 0, sizeof(*uts)); in fill_utsname()
612 (UWord) &uts->sysname, sizeof(uts->sysname)); in fill_utsname()
614 (UWord) &uts->nodename, sizeof(uts->nodename)); in fill_utsname()
616 (UWord) &uts->release, sizeof(uts->release)); in fill_utsname()
618 (UWord) &uts->version, sizeof(uts->version)); in fill_utsname()
620 (UWord) &uts->machine, sizeof(uts->machine)); in fill_utsname()
985 struct vki_utsname uts; in VG_() local
986 fill_utsname(&uts); in VG_()
987 add_note(&new_notes, VKI_NT_UTSNAME, &uts, in VG_()
/external/toybox/toys/other/
Dmodinfo.c110 struct utsname uts; in modinfo_main() local
112 if (uname(&uts) < 0) perror_exit("bad uname"); in modinfo_main()
115 (toys.optflags & FLAG_k) ? TT.knam : uts.release) >= sizeof(toybuf)) in modinfo_main()
/external/google-breakpad/src/client/linux/microdump_writer/
Dmicrodump_writer.cc147 struct utsname uts; in DumpOSInformation() local
148 if (uname(&uts)) in DumpOSInformation()
181 LogAppend(uts.machine); in DumpOSInformation()
183 LogAppend(uts.release); in DumpOSInformation()
185 LogAppend(uts.version); in DumpOSInformation()
/external/scapy/test/
Drun_tests_py2.bat6 …python "%MYDIR%\scapy\tools\UTscapy.py" -c configs\\windows2.utsc -T bpf.uts -T linux.uts -o scapy…
Drun_tests_py3.bat7 …python3 "%MYDIR%\scapy\tools\UTscapy.py" -c configs\\windows2.utsc -T bpf.uts -T linux.uts -o scap…
Drun_tests7 …PYTHONPATH=$DIR exec $PYTHON ${DIR}/scapy/tools/UTscapy.py -t regression.uts -f html -K ipv6 -l -o…
/external/honggfuzz/linux/
Darch.c444 struct utsname uts; in arch_archInit() local
445 if (uname(&uts) == -1) { in arch_archInit()
450 p = uts.release; in arch_archInit()
453 LOG_F("Unsupported kernel version (%s)", uts.release); in arch_archInit()
459 LOG_E("Kernel version '%s' not supporting chosen perf method", uts.release); in arch_archInit()
/external/tensorflow/tensorflow/contrib/lite/toco/
Dtoco_port.cc58 Status ToStatus(const ::util::Status& uts) { in ToStatus() argument
59 return Status(uts.ok(), uts.error_message()); in ToStatus()
/external/scapy/.travis/
Dtest.sh109 PYTHON="$PYTHON" $SCAPY_SUDO ./run_tests -q -F -t bpf.uts $UT_FLAGS || exit $?
126 PYTHON="$PYTHON" $SCAPY_SUDO ./run_tests -q -F -t tls/tests_tls_netaccess.uts $UT_FLAGS || exit $?
/external/selinux/libselinux/src/
Dload_policy.c63 struct utsname uts; in selinux_mkload_policy() local
162 if (preservebools && uname(&uts) == 0 && strverscmp(uts.release, "2.6.22") >= 0) in selinux_mkload_policy()
/external/valgrind/coregrind/
Dm_libcprint.c287 struct vki_utsname uts; in VG_() local
289 SysRes res = VG_(do_syscall1)(__NR_uname, (UWord)&uts); in VG_()
294 uts.sysname, uts.release, uts.version, uts.machine); in VG_()
/external/google-breakpad/src/client/linux/minidump_writer/
Dminidump_writer.cc1192 struct utsname uts; in WriteOSInformation() local
1193 if (uname(&uts)) in WriteOSInformation()
1200 uts.sysname, in WriteOSInformation()
1201 uts.release, in WriteOSInformation()
1202 uts.version, in WriteOSInformation()
1203 uts.machine, in WriteOSInformation()
/external/e2fsprogs/e2fsck/
Dutil.c683 struct utsname uts; in check_for_modules() local
688 if (uname(&uts)) in check_for_modules()
690 snprintf(buf, sizeof(buf), "/lib/modules/%s/modules.dep", uts.release); in check_for_modules()
/external/scapy/scapy/contrib/
Dmpls.uts4 # $ test/run_tests -P "load_contrib('mpls')" -t scapy/contrib/mpls.uts
/external/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()

123