Lines Matching refs:part
281 String8 part = parts[currentIndex]; in initFromDirName() local
282 if (part[0] == 'b' && part[1] == '+') { in initFromDirName()
285 Vector<String8> subtags = AaptUtil::splitAndLowerCase(part, '+'); in initFromDirName()
312 part.string()); in initFromDirName()
328 fprintf(stderr, "ERROR: Invalid BCP 47 tag in directory name %s\n", part.string()); in initFromDirName()
345 fprintf(stderr, "ERROR: Invalid BCP 47 tag in directory name: %s\n", part.string()); in initFromDirName()
351 if ((part.length() == 2 || part.length() == 3) in initFromDirName()
352 && isAlpha(part) && strcmp("car", part.string())) { in initFromDirName()
353 setLanguage(part); in initFromDirName()
361 part = parts[currentIndex]; in initFromDirName()
362 if (part.string()[0] == 'r' && part.length() == 3) { in initFromDirName()
363 setRegion(part.string() + 1); in initFromDirName()