6#if defined(DART_HOST_OS_WINDOWS)
23#if defined(HOST_ARCH_IA32) || defined(HOST_ARCH_X64)
34#elif defined(HOST_ARCH_ARM) || defined(HOST_ARCH_ARM64)
39#error Unrecognized target architecture
54 if (field ==
nullptr)
return false;
55 bool contains = (strstr(field, search_string) !=
nullptr);
56 free(
const_cast<char*
>(field));
68 return "Generic ARM64";
static const char * field(CpuInfoIndices idx)
static bool FieldContains(CpuInfoIndices idx, const char *search_string)
static bool HasField(const char *field)
constexpr bool contains(std::string_view str, std::string_view needle)