Home
last modified time | relevance | path

Searched refs:uts (Results 1 – 25 of 88) 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/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/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/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.c189 struct utsname uts; in stop_logging() local
201 if (uname(&uts) < 0) perror_exit("uname"); in stop_logging()
202 fprintf(hdr_fp, "system.uname = %s %s %s %s\n", uts.sysname, uts.release, in stop_logging()
203 uts.version, uts.machine); in stop_logging()
Dsyslogd.c318 struct utsname uts; in logmsg() local
353 if (!uname(&uts)) p = uts.nodename; in logmsg()
Dmodprobe.c506 struct utsname uts; in modprobe_main() local
508 uname(&uts); in modprobe_main()
510 TT.dirs->arg = xmprintf("/lib/modules/%s", uts.release); in modprobe_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/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/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/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/toybox/toys/other/
Dmodinfo.c104 struct utsname uts; in modinfo_main() local
112 uname(&uts); in modinfo_main()
114 if (!TT.k) TT.k = uts.release; in modinfo_main()
/external/tensorflow/tensorflow/lite/toco/
Dtoco_port.cc74 tensorflow::Status ToStatus(const absl::Status& uts) { in ToStatus() argument
75 if (!uts.ok()) { in ToStatus()
77 tensorflow::errors::Code(::util::RetrieveErrorCode(uts)), in ToStatus()
78 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.c117 struct utsname uts; in is_ppc64le() local
121 rc = uname(&uts); in is_ppc64le()
127 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/adhd/sound_card_init/
Dsound_card_init.conf59 --uts \
/external/adhd/init/
Dcras.sh44 exec minijail0 -u cras -g cras -G --uts -v -l \
/external/scapy/scapy/contrib/
Dmpls.uts4 # $ test/run_tests -P "load_contrib('mpls')" -t scapy/contrib/mpls.uts
/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