Home
last modified time | relevance | path

Searched refs:firstChar (Results 1 – 25 of 50) sorted by relevance

12

/external/guava/guava/src/com/google/common/primitives/
DParseRequest.java38 char firstChar = stringValue.charAt(0); in fromString() local
42 } else if (firstChar == '#') { in fromString()
45 } else if (firstChar == '0' && stringValue.length() > 1) { in fromString()
/external/guava/android/guava/src/com/google/common/primitives/
DParseRequest.java38 char firstChar = stringValue.charAt(0); in fromString() local
42 } else if (firstChar == '#') { in fromString()
45 } else if (firstChar == '0' && stringValue.length() > 1) { in fromString()
/external/llvm-project/flang/lib/Parser/
Dtoken-sequence.cpp205 bool TokenSequence::HasBlanks(std::size_t firstChar) const { in HasBlanks()
208 if (start_[j] >= firstChar && TokenAt(j).IsBlank()) { in HasBlanks()
215 bool TokenSequence::HasRedundantBlanks(std::size_t firstChar) const { in HasRedundantBlanks()
220 if (isBlank && lastWasBlank && start_[j] >= firstChar) { in HasRedundantBlanks()
228 TokenSequence &TokenSequence::RemoveBlanks(std::size_t firstChar) { in RemoveBlanks() argument
232 if (!TokenAt(j).IsBlank() || start_[j] < firstChar) { in RemoveBlanks()
240 TokenSequence &TokenSequence::RemoveRedundantBlanks(std::size_t firstChar) { in RemoveRedundantBlanks() argument
246 if (!isBlank || !lastWasBlank || start_[j] < firstChar) { in RemoveRedundantBlanks()
Dtoken-sequence.h115 bool HasBlanks(std::size_t firstChar = 0) const;
116 bool HasRedundantBlanks(std::size_t firstChar = 0) const;
117 TokenSequence &RemoveBlanks(std::size_t firstChar = 0);
118 TokenSequence &RemoveRedundantBlanks(std::size_t firstChar = 0);
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/util/
DMethodUtil.java90 int firstChar = paramType.charAt(0); in getParameterRegisterCount() local
91 if (firstChar == 'J' || firstChar == 'D') { in getParameterRegisterCount()
/external/nist-sip/java/gov/nist/javax/sip/parser/
DStringMsgParser.java185 char firstChar = currentLine.charAt(0); in parseSIPMessage() local
186 if (firstChar == '\t' || firstChar == ' ') { in parseSIPMessage()
296 char firstChar = currentLine.charAt(0); in parseSIPMessage() local
297 if (firstChar == '\t' || firstChar == ' ') { in parseSIPMessage()
/external/icu/android_icu4j/src/main/java/android/icu/lang/
DCharSequences.java142 char firstChar = string.charAt(0); in compare() local
146 int result = firstChar - codePoint; in compare()
154 int result = firstChar - lead; in compare()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/lang/
DCharSequences.java140 char firstChar = string.charAt(0); in compare() local
144 int result = firstChar - codePoint; in compare()
152 int result = firstChar - lead; in compare()
/external/desugar/java/com/google/devtools/build/android/desugar/io/
DHeaderClassLoader.java115 char firstChar = type.charAt(0); in isNonPrimitiveType() local
116 return firstChar == '[' || firstChar == 'L'; in isNonPrimitiveType()
/external/skia/modules/skparagraph/src/
DRun.cpp19 size_t firstChar, in Run() argument
25 , fTextRange(firstChar + info.utf8Range.begin(), firstChar + info.utf8Range.end()) in Run()
28 , fClusterStart(firstChar) in Run()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/rbbi/
DRBBITest.java876 char firstChar = 0;
878 firstChar = (char) (STARTING_CHAR + ruleNum*2);
879 rules.append('\'') .append(firstChar) .append((char)(firstChar+1)) .append('\'')
881 … .append('\'') .append((char)(firstChar+2)) .append((char)(firstChar+4)) .append('\'')
887 String rulesStr = rules.toString().replace((char)(firstChar+4), (char)(firstChar+3));
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/rbbi/
DRBBITest.java879 char firstChar = 0;
881 firstChar = (char) (STARTING_CHAR + ruleNum*2);
882 rules.append('\'') .append(firstChar) .append((char)(firstChar+1)) .append('\'')
884 … .append('\'') .append((char)(firstChar+2)) .append((char)(firstChar+4)) .append('\'')
890 String rulesStr = rules.toString().replace((char)(firstChar+4), (char)(firstChar+3));
/external/escapevelocity/src/main/java/com/google/escapevelocity/
DParser.java281 int firstChar = c; in parseNonDirective() local
283 return parsePlainText(firstChar); in parseNonDirective()
540 private Node parsePlainText(int firstChar) throws IOException { in parsePlainText() argument
542 sb.appendCodePoint(firstChar); in parsePlainText()
847 char firstChar = Chars.checkedCast(c); in nextOperator() local
861 "Expected " + Iterables.getOnlyElement(possibleOperators) + ", not just " + firstChar); in nextOperator()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/lang/
DTestUScript.java231 int firstChar = sample.codePointAt(0); in TestScriptMetadata() local
234 charScript, UScript.getScript(firstChar)); in TestScriptMetadata()
235 … assertEquals(sn + " RTL vs. set", rtl.contains(firstChar), UScript.isRightToLeft(sc)); in TestScriptMetadata()
236 assertEquals(sn + " cased vs. set", cased.contains(firstChar), UScript.isCased(sc)); in TestScriptMetadata()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/
DTestUScript.java228 int firstChar = sample.codePointAt(0); in TestScriptMetadata() local
231 charScript, UScript.getScript(firstChar)); in TestScriptMetadata()
232 … assertEquals(sn + " RTL vs. set", rtl.contains(firstChar), UScript.isRightToLeft(sc)); in TestScriptMetadata()
233 assertEquals(sn + " cased vs. set", cased.contains(firstChar), UScript.isCased(sc)); in TestScriptMetadata()
/external/swiftshader/src/Reactor/
DLLVMAsm.cpp70 auto firstChar = [&] { in fixupAsmFile() local
77 if(!lines.empty() && firstChar() == '#') in fixupAsmFile()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/text/tx3g/
DTx3gDecoder.java172 char firstChar = parsableByteArray.peekChar(); in readSubtitleText() local
173 if (firstChar == BOM_UTF16_BE || firstChar == BOM_UTF16_LE) { in readSubtitleText()
/external/lz4/programs/
Ddatagen.c74 BYTE const firstChar = ld <= 0.0 ? 0 : '('; in RDG_fillLiteralDistrib() local
87 if (character > lastChar) character = firstChar; in RDG_fillLiteralDistrib()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DNFRule.java291 char firstChar = descriptor.charAt(0); in parseRuleDescriptor() local
293 if (firstChar >= '0' && firstChar <= '9' && lastChar != 'x') { in parseRuleDescriptor()
372 if (firstChar == '0' && lastChar == 'x') { in parseRuleDescriptor()
376 else if (firstChar == 'x' && lastChar == 'x') { in parseRuleDescriptor()
380 else if (firstChar == 'x' && lastChar == '0') { in parseRuleDescriptor()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DNFRule.java292 char firstChar = descriptor.charAt(0); in parseRuleDescriptor() local
294 if (firstChar >= '0' && firstChar <= '9' && lastChar != 'x') { in parseRuleDescriptor()
373 if (firstChar == '0' && lastChar == 'x') { in parseRuleDescriptor()
377 else if (firstChar == 'x' && lastChar == 'x') { in parseRuleDescriptor()
381 else if (firstChar == 'x' && lastChar == '0') { in parseRuleDescriptor()
/external/tagsoup/templates/org/ccil/cowan/tagsoup/
DHTMLScanner.java172 int firstChar = r.read(); // Remove any leading BOM in scan() local
173 if (firstChar != '\uFEFF') unread(r, firstChar); in scan()
/external/zstd/programs/
Ddatagen.c62 BYTE const firstChar = (ld<=0.0) ? 0 : '('; in RDG_fillLiteralDistrib() local
73 if (character > lastChar) character = firstChar; in RDG_fillLiteralDistrib()
/external/doclava/src/com/google/doclava/
DKeywordEntry.java34 public char firstChar() { in firstChar() method in KeywordEntry
/external/icu/icu4c/source/test/intltest/
Ducdtest.cpp476 UChar32 firstChar = sample.char32At(0); in TestScriptMetadata() local
479 (int32_t)charScript, (int32_t)uscript_getScript(firstChar, errorCode)); in TestScriptMetadata()
480 … assertEquals("RTL vs. set", (UBool)rtl.contains(firstChar), (UBool)uscript_isRightToLeft(sc)); in TestScriptMetadata()
481 … assertEquals("cased vs. set", (UBool)cased.contains(firstChar), (UBool)uscript_isCased(sc)); in TestScriptMetadata()
/external/icu/icu4c/source/i18n/
Dnfrule.cpp273 UChar firstChar = descriptor.charAt(0); in parseRuleDescriptor() local
275 if (firstChar >= gZero && firstChar <= gNine && lastChar != gX) { in parseRuleDescriptor()
370 if (firstChar == gZero && lastChar == gX) { in parseRuleDescriptor()
374 else if (firstChar == gX && lastChar == gX) { in parseRuleDescriptor()
378 else if (firstChar == gX && lastChar == gZero) { in parseRuleDescriptor()

12