/external/scapy/test/configs/ |
D | travis.utsc | 3 "*.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\")"
|
D | windows2.utsc | 3 "*.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\")"
|
D | windows.utsc | 3 "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/ |
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()
|
/external/ltp/testcases/kernel/syscalls/setns/ |
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()
|
/external/toybox/toys/pending/ |
D | getty.c | 137 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()
|
D | bootchartd.c | 172 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/ |
D | memfd.cc | 56 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/ |
D | main.c | 173 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/ |
D | iperf_util.c | 230 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/ |
D | minidump_generator.cc | 313 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/ |
D | uname.c | 4 int uname(struct utsname *uts) in uname() argument 6 return syscall(SYS_uname, uts); in uname()
|
/external/igt-gpu-tools/tests/i915/ |
D | gem_reg_read.c | 65 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/ |
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()
|
/external/toybox/toys/other/ |
D | modinfo.c | 105 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/ |
D | run_tests_py2.bat | 6 …python "%MYDIR%\scapy\tools\UTscapy.py" -c configs\\windows2.utsc -T bpf.uts -T linux.uts -o scapy…
|
D | run_tests_py3.bat | 7 …python3 "%MYDIR%\scapy\tools\UTscapy.py" -c configs\\windows2.utsc -T bpf.uts -T linux.uts -o scap…
|
D | run_tests | 7 …PYTHONPATH=$DIR exec $PYTHON ${DIR}/scapy/tools/UTscapy.py -t regression.uts -f html -K ipv6 -l -o…
|
/external/tensorflow/tensorflow/lite/toco/ |
D | toco_port.cc | 75 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/ |
D | test.sh | 109 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/ |
D | utils.c | 129 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/ |
D | microdump_writer.cc | 353 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/ |
D | local.c | 1975 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/ |
D | f2fs_format_main.c | 117 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/ |
D | minidump_writer.cc | 1280 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()
|