Searched refs:mib_len (Results 1 – 3 of 3) sorted by relevance
/external/llvm-project/compiler-rt/test/sanitizer_common/TestCases/NetBSD/ |
D | sysctlgetmibinfo.cpp | 14 unsigned int mib_len = __arraycount(mib); in test_sysctlgetmibinfo() local 15 int rv = sysctlgetmibinfo("kern.ostype", &mib[0], &mib_len, NULL, NULL, NULL, in test_sysctlgetmibinfo() 21 rv = sysctl(mib, mib_len, buf, &len, NULL, 0); in test_sysctlgetmibinfo()
|
/external/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Posix/ |
D | sysctl.cpp | 39 size_t mib_len = __arraycount(mib); in test_sysctlnametomib() local 40 int rv = sysctlnametomib("kern.ostype", &mib[0], &mib_len); in test_sysctlnametomib() 45 rv = sysctl(mib, mib_len, buf, &len, NULL, 0); in test_sysctlnametomib()
|
/external/llvm-project/lldb/source/Host/macosx/objcxx/ |
D | Host.mm | 415 size_t mib_len = CTL_MAXNAME; 416 if (::sysctlnametomib("sysctl.proc_cputype", mib, &mib_len)) 419 mib[mib_len] = process_info.GetProcessID(); 420 mib_len++; 424 if (::sysctl(mib, mib_len, &cpu, &len, 0, 0) == 0) {
|