Lines Matching refs:JniKind
72 enum class JniKind { enum
80 static constexpr size_t kJniKindCount = static_cast<size_t>(JniKind::kCount);
82 uint32_t gCurrentJni = static_cast<uint32_t>(JniKind::kNormal);
86 return gCurrentJni == static_cast<uint32_t>(JniKind::kCritical); in IsCurrentJniCritical()
91 return gCurrentJni == static_cast<uint32_t>(JniKind::kFast); in IsCurrentJniFast()
96 return gCurrentJni == static_cast<uint32_t>(JniKind::kNormal); in IsCurrentJniNormal()
100 static void UpdateCurrentJni(JniKind kind) { in UpdateCurrentJni()
107 case static_cast<uint32_t>(JniKind::kNormal): { in CurrentJniStringSuffix()
110 case static_cast<uint32_t>(JniKind::kFast): { in CurrentJniStringSuffix()
113 case static_cast<uint32_t>(JniKind::kCritical): { in CurrentJniStringSuffix()
408 gCurrentJni = static_cast<uint32_t>(JniKind::kNormal); \
414 gCurrentJni = static_cast<uint32_t>(JniKind::kNormal); \
425 gCurrentJni = static_cast<uint32_t>(JniKind::kFast); \
432 gCurrentJni = static_cast<uint32_t>(JniKind::kFast); \
442 gCurrentJni = static_cast<uint32_t>(JniKind::kCritical); \
448 gCurrentJni = static_cast<uint32_t>(JniKind::kCritical); \
2231 UpdateCurrentJni(JniKind::kCritical); in CriticalNativeImpl()