• Home
  • Raw
  • Download

Lines Matching refs:s

99 std::string MangleForJni(const std::string& s) {  in MangleForJni()  argument
101 size_t char_count = CountModifiedUtf8Chars(s.c_str()); in MangleForJni()
102 const char* cp = &s[0]; in MangleForJni()
271 bool IsValidMemberName(const char* s) { in IsValidMemberName() argument
274 switch (*s) { in IsValidMemberName()
280 s++; in IsValidMemberName()
285 switch (*s) { in IsValidMemberName()
289 return angle_name && s[1] == '\0'; in IsValidMemberName()
292 if (!IsValidPartOfMemberNameUtf8(&s)) { in IsValidMemberName()
300 static bool IsValidClassName(const char* s) { in IsValidClassName() argument
302 while (*s == '[') { in IsValidClassName()
304 s++; in IsValidClassName()
329 switch (*(s++)) { in IsValidClassName()
339 return (*s == '\0'); in IsValidClassName()
342 return (arrayCount == 0) && (*s == '\0'); in IsValidClassName()
360 uint8_t c = (uint8_t) *s; in IsValidClassName()
378 return (type == kDescriptor) && !sepOrFirst && (s[1] == '\0'); in IsValidClassName()
390 s++; in IsValidClassName()
393 if (!IsValidPartOfMemberNameUtf8(&s)) { in IsValidClassName()
402 bool IsValidBinaryClassName(const char* s) { in IsValidBinaryClassName() argument
403 return IsValidClassName<kName, '.'>(s); in IsValidBinaryClassName()
406 bool IsValidJniClassName(const char* s) { in IsValidJniClassName() argument
407 return IsValidClassName<kName, '/'>(s); in IsValidJniClassName()
410 bool IsValidDescriptor(const char* s) { in IsValidDescriptor() argument
411 return IsValidClassName<kDescriptor, '/'>(s); in IsValidDescriptor()