Searched refs:bitmask (Results 1 – 10 of 10) sorted by relevance
41 PolicyBitmask bitmask = 0; in PoliciesToBitmask() local45 bitmask |= iter->second; in PoliciesToBitmask()51 return Result<PolicyBitmask>(bitmask); in PoliciesToBitmask()54 std::vector<std::string> BitmaskToPolicies(const PolicyBitmask& bitmask) { in BitmaskToPolicies() argument57 if ((bitmask & PolicyFlags::POLICY_ODM_PARTITION) != 0) { in BitmaskToPolicies()61 if ((bitmask & PolicyFlags::POLICY_OEM_PARTITION) != 0) { in BitmaskToPolicies()65 if ((bitmask & PolicyFlags::POLICY_PUBLIC) != 0) { in BitmaskToPolicies()69 if ((bitmask & PolicyFlags::POLICY_PRODUCT_PARTITION) != 0) { in BitmaskToPolicies()73 if ((bitmask & PolicyFlags::POLICY_SIGNATURE) != 0) { in BitmaskToPolicies()77 if ((bitmask & PolicyFlags::POLICY_SYSTEM_PARTITION) != 0) { in BitmaskToPolicies()[all …]
87 static bool ConvertPriorityTypeToBitmask(const String16& type, int& bitmask) { in ConvertPriorityTypeToBitmask() argument89 bitmask = IServiceManager::DUMP_FLAG_PRIORITY_CRITICAL; in ConvertPriorityTypeToBitmask()93 bitmask = IServiceManager::DUMP_FLAG_PRIORITY_HIGH; in ConvertPriorityTypeToBitmask()97 bitmask = IServiceManager::DUMP_FLAG_PRIORITY_NORMAL; in ConvertPriorityTypeToBitmask()103 String16 ConvertBitmaskToPriorityType(int bitmask) { in ConvertBitmaskToPriorityType() argument104 if (bitmask == IServiceManager::DUMP_FLAG_PRIORITY_CRITICAL) { in ConvertBitmaskToPriorityType()107 if (bitmask == IServiceManager::DUMP_FLAG_PRIORITY_HIGH) { in ConvertBitmaskToPriorityType()110 if (bitmask == IServiceManager::DUMP_FLAG_PRIORITY_NORMAL) { in ConvertBitmaskToPriorityType()
44 std::vector<std::string> BitmaskToPolicies(const PolicyBitmask& bitmask);
261 int bitmask = 0; in getBitmaskFromString() local268 bitmask |= OVERRIDE_CONDITION_STRING_MAP.get(conditionStr); in getBitmaskFromString()272 return bitmask; in getBitmaskFromString()
16 // The value here is a bitmask indicating only "pass 10"
119 …<type{{if $e.Entries}} requires="{{$bits}}"{{end}} category="bitmask">typedef <type>VkFlags</type>…199 attributes of "enum" or "bitmask" indicate that these values should275 <enums namespace="VK" name="{{Macro "EnumName" $ | TrimRight "s"}}Bits" type="bitmask">»
1154 uint8_t* bitmask = reinterpret_cast<uint8_t*>(word_array + 4); in emitGNUHashTab() local1177 uint32_t* maskval = reinterpret_cast<uint32_t*>(bitmask); in emitGNUHashTab()1181 uint64_t* maskval = reinterpret_cast<uint64_t*>(bitmask); in emitGNUHashTab()1184 bucket = reinterpret_cast<uint32_t*>(bitmask + in emitGNUHashTab()1201 bucket = reinterpret_cast<uint32_t*>(bitmask + maskbits / 8); in emitGNUHashTab()1250 uint32_t* maskval = reinterpret_cast<uint32_t*>(bitmask); in emitGNUHashTab()1255 uint64_t* maskval = reinterpret_cast<uint64_t*>(bitmask); in emitGNUHashTab()
901 uint16_t bitmask = (1 << (8 * propIndexSize - 1)); in parse() local904 .essential = !!(propIndex & bitmask), in parse()905 .index = (uint16_t) (propIndex & ~bitmask) in parse()
411 // A bitmask of types that this XML attribute accepts. Corresponds to the flags in the
1476 // A bitmask for the capabilities of this connection.7804 // A bitmask of all codecs used during the call.7902 // A bitmask of supported radio technologies.