Home
last modified time | relevance | path

Searched refs:sysname (Results 1 – 25 of 65) sorted by relevance

123

/external/ltp/testcases/kernel/uevents/
Duevent03.c72 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/
Dutsname.rs11 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/
D5-2.c94 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/
Dcras_udev.c127 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/
Dutsname.h8 char sysname[9]; member
18 char sysname[65]; member
26 char sysname[__NEW_UTS_LEN + 1]; member
/external/ltp/testcases/kernel/syscalls/newuname/
Dnewuname01.c127 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/
Dfeatures.py188 (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/
Dmktable13 …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/
DMakefile.in53 ifdef sysname
54 DEFS += -D$(sysname)=1
/external/libchrome/base/
Dsys_info_posix.cc180 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/
Duname.c11 printf("%s %s %s %s %s\n", buf.sysname, buf.nodename, buf.release, in main()
/external/strace/
Duname.c45 PRINT_FIELD_CSTRING("{", uname, sysname); in SYS_FUNC()
/external/strace/tests-mx32/
Duname.c16 print_quoted_string(uname->sysname); in main()
/external/strace/tests/
Duname.c16 print_quoted_string(uname->sysname); in main()
/external/strace/tests-m32/
Duname.c16 print_quoted_string(uname->sysname); in main()
/external/toybox/toys/posix/
Duname.c60 char *c = ((char *) &u)+(sizeof(u.sysname)*i); in uname_main()
/external/ltp/testcases/kernel/syscalls/uname/
Duname03.c97 if ((strcmp(buf->sysname, LINUX)) == 0) { in main()
Duname04.c54 CHECK_FIELD(sysname) | in try_leak_bytes()
/external/perfetto/src/tracing/ipc/
Dmemfd.cc58 if (uname(&uts) == 0 && strcmp(uts.sysname, "Linux") == 0 && in HasMemfdSupport()
/external/ltp/testcases/kernel/syscalls/sysctl/
Dsysctl01.c33 {"KERN_OSTYPE", {CTL_KERN, KERN_OSTYPE}, buf.sysname},
/external/rust/crates/libc/src/unix/bsd/
Dmod.rs127 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/
DtcuOSXVulkanPlatform.cpp135 dst << "OS: " << sysInfo.sysname << " " << sysInfo.release << " " << sysInfo.version << "\n"; in describePlatform()
/external/perfetto/protos/perfetto/trace/
Dsystem_info.proto22 optional string sysname = 1; field
/external/walt/ios/WALT/
DWALTAppDelegate.m43 systemInfo.sysname,
/external/rust/crates/nix/test/common/
Dmod.rs101 println!("{}", uname.sysname());

123