• Home
  • Raw
  • Download

Lines Matching refs:kind

130   static const char* PrettyDescriptor(Kind kind) {  in PrettyDescriptor()  argument
131 switch (kind) { in PrettyDescriptor()
151 static bool IsShortLocationKind(Kind kind) { in IsShortLocationKind() argument
152 switch (kind) { in IsShortLocationKind()
172 static Kind ConvertToSurfaceKind(Kind kind) { in ConvertToSurfaceKind() argument
173 switch (kind) { in ConvertToSurfaceKind()
179 return kind; in ConvertToSurfaceKind()
195 DexRegisterLocation(Kind kind, int32_t value) : kind_(kind), value_(value) {} in DexRegisterLocation() argument
242 DexRegisterLocation::Kind kind = ComputeCompressedKind(dex_register_location); in SetRegisterInfo() local
244 if (DexRegisterLocation::IsShortLocationKind(kind)) { in SetRegisterInfo()
246 if (kind == DexRegisterLocation::Kind::kInStack) { in SetRegisterInfo()
257 region_.StoreUnaligned<ShortLocation>(offset, MakeShortLocation(kind, value)); in SetRegisterInfo()
262 if (kind == DexRegisterLocation::Kind::kInStackLargeOffset) { in SetRegisterInfo()
271 region_.StoreUnaligned<DexRegisterLocation::Kind>(offset, kind); in SetRegisterInfo()
283 DexRegisterLocation::Kind kind = ExtractKindAtOffset(offset); in FindLocationOffset() local
284 if (DexRegisterLocation::IsShortLocationKind(kind)) { in FindLocationOffset()
311 DexRegisterLocation::Kind kind = ExtractKindFromShortLocation(first_byte); in GetDexRegisterLocation() local
312 if (DexRegisterLocation::IsShortLocationKind(kind)) { in GetDexRegisterLocation()
315 if (kind == DexRegisterLocation::Kind::kInStack) { in GetDexRegisterLocation()
319 return DexRegisterLocation(kind, value); in GetDexRegisterLocation()
323 if (kind == DexRegisterLocation::Kind::kInStackLargeOffset) { in GetDexRegisterLocation()
327 return DexRegisterLocation(kind, value); in GetDexRegisterLocation()
431 static ShortLocation MakeShortLocation(DexRegisterLocation::Kind kind, int32_t value) { in MakeShortLocation() argument
432 uint8_t kind_integer_value = static_cast<uint8_t>(kind); in MakeShortLocation()
440 uint8_t kind = (location >> kKindOffset) & kKindMask; in ExtractKindFromShortLocation() local
441 DCHECK_LE(kind, static_cast<uint8_t>(DexRegisterLocation::Kind::kLastLocationKind)); in ExtractKindFromShortLocation()
443 DCHECK_NE(kind, static_cast<uint8_t>(DexRegisterLocation::Kind::kNone)); in ExtractKindFromShortLocation()
444 return static_cast<DexRegisterLocation::Kind>(kind); in ExtractKindFromShortLocation()
1063 DexRegisterLocation::Kind kind = in ComputeDexRegisterLocationCatalogSize() local
1065 if (DexRegisterLocation::IsShortLocationKind(kind)) { in ComputeDexRegisterLocationCatalogSize()