/external/ltp/testcases/kernel/uevents/ |
D | uevent03.c | 72 char *handlers, *handler1, *handler2, *sysname; in verify_uevent() local 167 sysname = get_input_field_value('S'); in verify_uevent() 170 if (!sysname) in verify_uevent() 173 tst_res(TINFO, "Sysname: %s", sysname); in verify_uevent() 190 snprintf(add_msg, sizeof(add_msg), "add@%s", sysname); in verify_uevent() 192 snprintf(rem_msg, sizeof(rem_msg), "remove@%s", sysname); in verify_uevent() 194 snprintf(dev_path, sizeof(dev_path), "DEVPATH=%s", sysname); in verify_uevent() 197 "add@%s/%s", sysname, handler1); in verify_uevent() 200 "remove@%s/%s", sysname, handler1); in verify_uevent() 203 "DEVPATH=%s/%s", sysname, handler1); in verify_uevent() [all …]
|
/external/rust/crates/nix/src/sys/ |
D | utsname.rs | 11 pub fn sysname(&self) -> &str { in sysname() method 12 to_str(&(&self.0.sysname as *const c_char ) as *const *const c_char) in sysname() 53 assert_eq!(super::uname().sysname(), "Linux"); in test_uname_linux() 59 assert_eq!(super::uname().sysname(), "Darwin"); in test_uname_darwin() 65 assert_eq!(super::uname().sysname(), "FreeBSD"); in test_uname_freebsd()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_init/speculative/ |
D | 5-2.c | 94 output("Implementation is: \n\t%s\n\t%s\n\t%s\n", un.sysname, in main() 99 if (strcmp(un.sysname, "Linux") == 0) { in main() 108 if (strcmp(un.sysname, "AIX") == 0) { in main() 112 if (strcmp(un.sysname, "SunOS") == 0) { in main()
|
/external/adhd/cras/src/server/ |
D | cras_udev.c | 127 unsigned *card_number, const char **sysname) in is_card_device() argument 134 *sysname = udev_device_get_sysname(dev); in is_card_device() 281 static void device_add_alsa(struct udev_device *dev, const char *sysname, in device_add_alsa() argument 299 void device_remove_alsa(const char *sysname, unsigned card) in device_remove_alsa() argument 327 const char *sysname; in change_udev_device_if_alsa_device() local 329 if (is_card_device(dev, &internal, &card_number, &sysname) && in change_udev_device_if_alsa_device() 334 device_add_alsa(dev, sysname, card_number, internal); in change_udev_device_if_alsa_device() 342 const char *sysname; in remove_device_if_card() local 344 if (is_card_device(dev, &internal, &card_number, &sysname)) in remove_device_if_card() 345 device_remove_alsa(sysname, card_number); in remove_device_if_card()
|
/external/kernel-headers/original/uapi/linux/ |
D | utsname.h | 8 char sysname[9]; member 18 char sysname[65]; member 26 char sysname[__NEW_UTS_LEN + 1]; member
|
/external/ltp/testcases/kernel/syscalls/newuname/ |
D | newuname01.c | 127 TEST(strcmp(name.sysname, "Linux")); //Linux ? in main() 130 name.sysname); in main() 135 name.sysname, name.machine); in main()
|
/external/llvm-project/libcxx/utils/libcxx/test/ |
D | features.py | 188 (sysname, version) = re.match(r'([^0-9]+)([0-9\.]*)', platform).groups() 190 AddFeature('with_system_cxx_lib={}-{}-{}{}'.format(arch, vendor, sysname, version)), 191 AddFeature('with_system_cxx_lib={}{}'.format(sysname, version)), 192 AddFeature('with_system_cxx_lib={}'.format(sysname)),
|
/external/rust/crates/grpcio-sys/grpc/third_party/re2/benchlog/ |
D | mktable | 13 …printf "<tr><td>%s</td><td>%.1f µs</td><td>%.1f µs</td></tr>\n", $sysname{$sys}, $ns_pcre/1000., $… 110 %sysname = (
|
/external/libsrtp2/crypto/ |
D | Makefile.in | 53 ifdef sysname 54 DEFS += -D$(sysname)=1
|
/external/libchrome/base/ |
D | sys_info_posix.cc | 180 return std::string(info.sysname); in OperatingSystemName() 232 } else if (std::string(info.sysname) == "AIX") { in OperatingSystemArchitecture()
|
/external/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Posix/ |
D | uname.c | 11 printf("%s %s %s %s %s\n", buf.sysname, buf.nodename, buf.release, in main()
|
/external/strace/ |
D | uname.c | 45 PRINT_FIELD_CSTRING("{", uname, sysname); in SYS_FUNC()
|
/external/strace/tests-mx32/ |
D | uname.c | 16 print_quoted_string(uname->sysname); in main()
|
/external/strace/tests/ |
D | uname.c | 16 print_quoted_string(uname->sysname); in main()
|
/external/strace/tests-m32/ |
D | uname.c | 16 print_quoted_string(uname->sysname); in main()
|
/external/toybox/toys/posix/ |
D | uname.c | 60 char *c = ((char *) &u)+(sizeof(u.sysname)*i); in uname_main()
|
/external/ltp/testcases/kernel/syscalls/uname/ |
D | uname03.c | 97 if ((strcmp(buf->sysname, LINUX)) == 0) { in main()
|
D | uname04.c | 54 CHECK_FIELD(sysname) | in try_leak_bytes()
|
/external/perfetto/src/tracing/ipc/ |
D | memfd.cc | 58 if (uname(&uts) == 0 && strcmp(uts.sysname, "Linux") == 0 && in HasMemfdSupport()
|
/external/ltp/testcases/kernel/syscalls/sysctl/ |
D | sysctl01.c | 33 {"KERN_OSTYPE", {CTL_KERN, KERN_OSTYPE}, buf.sysname},
|
/external/rust/crates/libc/src/unix/bsd/ |
D | mod.rs | 127 pub sysname: [::c_char; 256], 129 pub sysname: [::c_char; 32], 186 self.sysname 188 .zip(other.sysname.iter()) 229 self.sysname.hash(state);
|
/external/deqp/framework/platform/osx/ |
D | tcuOSXVulkanPlatform.cpp | 135 dst << "OS: " << sysInfo.sysname << " " << sysInfo.release << " " << sysInfo.version << "\n"; in describePlatform()
|
/external/perfetto/protos/perfetto/trace/ |
D | system_info.proto | 22 optional string sysname = 1; field
|
/external/walt/ios/WALT/ |
D | WALTAppDelegate.m | 43 systemInfo.sysname,
|
/external/rust/crates/nix/test/common/ |
D | mod.rs | 101 println!("{}", uname.sysname());
|