Home
last modified time | relevance | path

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

1234

/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/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()
/external/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()
/external/toybox/toys/pending/
Dgetty.c137 void write_issue(char *file, struct utsname *uts) in write_issue() argument
148 if (*ch == 's') fputs(uts->sysname, stdout); in write_issue()
149 if (*ch == 'n'|| *ch == 'h') fputs(uts->nodename, stdout); in write_issue()
150 if (*ch == 'r') fputs(uts->release, stdout); in write_issue()
151 if (*ch == 'm') fputs(uts->machine, stdout); in write_issue()
162 struct utsname uts; in read_login_name() local
165 uname(&uts); in read_login_name()
167 if (!FLAG(i)) write_issue(TT.f, &uts); in read_login_name()
169 printf("%s login: ", uts.nodename); in read_login_name()
Dbootchartd.c172 struct utsname uts; in stop_logging() local
184 if (uname(&uts) < 0) perror_exit("uname"); in stop_logging()
185 fprintf(hdr_fp, "system.uname = %s %s %s %s\n", uts.sysname, uts.release, in stop_logging()
186 uts.version, uts.machine); in stop_logging()
/external/perfetto/src/tracing/ipc/
Dmemfd.cc56 struct utsname uts; in HasMemfdSupport() local
58 if (uname(&uts) == 0 && strcmp(uts.sysname, "Linux") == 0 && in HasMemfdSupport()
59 sscanf(uts.release, "%d.%d", &major, &minor) == 2 && in HasMemfdSupport()
/external/android-clat/
Dmain.c173 struct utsname uts = {}; in main() local
174 if (uname(&uts)) exit(1); // only possible error is EFAULT, but 'uts' is on stack in main()
178 uts.sysname, uts.release, uts.machine, was_linux32 ? " (was spoofed)" : ""); in main()
/external/iperf3/src/
Diperf_util.c230 struct utsname uts; in get_system_info() local
233 uname(&uts); in get_system_info()
235 snprintf(buf, sizeof(buf), "%s %s %s %s %s", uts.sysname, uts.nodename, in get_system_info()
236 uts.release, uts.version, uts.machine); in get_system_info()
/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/musl/src/misc/
Duname.c4 int uname(struct utsname *uts) in uname() argument
6 return syscall(SYS_uname, uts); in uname()
/external/igt-gpu-tools/tests/i915/
Dgem_reg_read.c65 struct utsname uts; in check_kernel_x86_64() local
67 ret = uname(&uts); in check_kernel_x86_64()
70 if (!strcmp(uts.machine, "x86_64")) in check_kernel_x86_64()
/external/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()
/external/toybox/toys/other/
Dmodinfo.c105 struct utsname uts; in modinfo_main() local
113 uname(&uts); in modinfo_main()
115 if (!TT.k) TT.k = uts.release; in modinfo_main()
/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/tensorflow/tensorflow/lite/toco/
Dtoco_port.cc75 tensorflow::Status ToStatus(const absl::Status& uts) { in ToStatus() argument
76 if (!uts.ok()) { in ToStatus()
78 tensorflow::errors::Code(::util::RetrieveErrorCode(uts)), in ToStatus()
79 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/linux-kselftest/tools/testing/selftests/powerpc/
Dutils.c129 struct utsname uts; in is_ppc64le() local
133 rc = uname(&uts); in is_ppc64le()
139 return strcmp(uts.machine, "ppc64le") == 0; in is_ppc64le()
/external/google-breakpad/src/client/linux/microdump_writer/
Dmicrodump_writer.cc353 struct utsname uts; in DumpOSInformation() local
354 const bool has_uts_info = (uname(&uts) == 0); in DumpOSInformation()
355 const char* hwArch = has_uts_info ? uts.machine : "unknown_hw_arch"; in DumpOSInformation()
364 LogAppend(uts.release); in DumpOSInformation()
366 LogAppend(uts.version); in DumpOSInformation()
/external/libiio/src/
Dlocal.c1975 struct utsname uts; in local_create_context() local
1991 uname(&uts); in local_create_context()
1992 len = strlen(uts.sysname) + strlen(uts.nodename) + strlen(uts.release) in local_create_context()
1993 + strlen(uts.version) + strlen(uts.machine); in local_create_context()
2001 iio_snprintf(ctx->description, len + 5, "%s %s %s %s %s", uts.sysname, in local_create_context()
2002 uts.nodename, uts.release, uts.version, uts.machine); in local_create_context()
2021 ret = iio_context_add_attr(ctx, "local,kernel", uts.release); in local_create_context()
/external/f2fs-tools/mkfs/
Df2fs_format_main.c117 struct utsname uts; in kernel_version_over() local
119 if ((uname(&uts) != 0) || in kernel_version_over()
120 (sscanf(uts.release, "%u.%u", &major, &minor) != 2)) in kernel_version_over()
/external/google-breakpad/src/client/linux/minidump_writer/
Dminidump_writer.cc1280 struct utsname uts; in WriteOSInformation() local
1281 if (uname(&uts)) in WriteOSInformation()
1288 uts.sysname, in WriteOSInformation()
1289 uts.release, in WriteOSInformation()
1290 uts.version, in WriteOSInformation()
1291 uts.machine, in WriteOSInformation()

1234