Searched refs:slashIndex (Results 1 – 2 of 2) sorted by relevance
371 final int slashIndex = name.indexOf('/'); /* must contain '/' */ in ensureValidResourceName() local376 slashIndex >= 0 /* It must contain the type name */ in ensureValidResourceName()378 && (slashIndex - colonIndex) > 2 /* The shortest length of type is "id" */, in ensureValidResourceName()
424 int slashIndex = mimeType.indexOf('/'); in createMime() local425 if (slashIndex == 0) throw new IllegalArgumentException("mimeType must have major type"); in createMime()426 if (slashIndex == mimeType.length() - 1) { in createMime()