• Home
  • Raw
  • Download

Lines Matching refs:s

115 bool dexIsValidMemberName(const char* s) {  in dexIsValidMemberName()  argument
118 switch (*s) { in dexIsValidMemberName()
129 s++; in dexIsValidMemberName()
135 switch (*s) { in dexIsValidMemberName()
140 return angleName && s[1] == '\0'; in dexIsValidMemberName()
143 if (!dexIsValidMemberNameUtf8(&s)) { in dexIsValidMemberName()
151 static bool isValidTypeDescriptorOrClassName(const char* s, bool isClassName, in isValidTypeDescriptorOrClassName() argument
155 while (*s == '[') { in isValidTypeDescriptorOrClassName()
157 s++; in isValidTypeDescriptorOrClassName()
181 switch (*(s++)) { in isValidTypeDescriptorOrClassName()
191 return (*s == '\0'); in isValidTypeDescriptorOrClassName()
195 return (arrayCount == 0) && (*s == '\0'); in isValidTypeDescriptorOrClassName()
216 u1 c = (u1) *s; in isValidTypeDescriptorOrClassName()
235 return !isClassName && !sepOrFirst && (s[1] == '\0'); in isValidTypeDescriptorOrClassName()
248 s++; in isValidTypeDescriptorOrClassName()
252 if (!dexIsValidMemberNameUtf8(&s)) { in isValidTypeDescriptorOrClassName()
263 bool dexIsValidTypeDescriptor(const char* s) { in dexIsValidTypeDescriptor() argument
264 return isValidTypeDescriptorOrClassName(s, false, false); in dexIsValidTypeDescriptor()
268 bool dexIsValidClassName(const char* s, bool dotSeparator) { in dexIsValidClassName() argument
269 return isValidTypeDescriptorOrClassName(s, true, dotSeparator); in dexIsValidClassName()
275 bool dexIsReferenceDescriptor(const char* s) { in dexIsReferenceDescriptor() argument
276 if (!dexIsValidTypeDescriptor(s)) { in dexIsReferenceDescriptor()
280 return (s[0] == 'L') || (s[0] == '['); in dexIsReferenceDescriptor()
286 bool dexIsClassDescriptor(const char* s) { in dexIsClassDescriptor() argument
287 if (!dexIsValidTypeDescriptor(s)) { in dexIsClassDescriptor()
291 return s[0] == 'L'; in dexIsClassDescriptor()
297 bool dexIsFieldDescriptor(const char* s) { in dexIsFieldDescriptor() argument
298 if (!dexIsValidTypeDescriptor(s)) { in dexIsFieldDescriptor()
302 return s[0] != 'V'; in dexIsFieldDescriptor()