Lines Matching refs:name
23 __cpuid(): MSVC and GCC/CLANG use same function/macro name
713 static void Print_sysctlbyname(const char *name)
717 int res = sysctlbyname(name, &buf, &bufSize, NULL, 0);
720 printf("\nres = %d : %s : '%s' : bufSize = %d, numeric", res, name, buf, (unsigned)bufSize);
732 static BoolInt z7_sysctlbyname_Get_BoolInt(const char *name)
735 if (z7_sysctlbyname_Get_UInt32(name, &val) == 0 && val == 1)
775 #define MY_HWCAP_CHECK_FUNC(name) \
776 MY_HWCAP_CHECK_FUNC_2(name, name)
780 #define MY_HWCAP_CHECK_FUNC(name) \
781 BoolInt CPU_IsSupported_ ## name() { return (getauxval(AT_HWCAP2) & (HWCAP2_ ## name)) ? 1 : 0; }
787 #define MY_HWCAP_CHECK_FUNC(name) \
788 BoolInt CPU_IsSupported_ ## name() { return 0; }
809 int z7_sysctlbyname_Get(const char *name, void *buf, size_t *bufSize)
811 return sysctlbyname(name, buf, bufSize, NULL, 0);
814 int z7_sysctlbyname_Get_UInt32(const char *name, UInt32 *val)
817 const int res = z7_sysctlbyname_Get(name, val, &bufSize);