Home
last modified time | relevance | path

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

12

/third_party/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()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/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()
/third_party/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));
/third_party/css-what/src/
Dparse.ts277 const firstChar = selector.charCodeAt(selectorIndex);
279 switch (firstChar) {
557 if (firstChar === CharCode.Asterisk) {
560 } else if (firstChar === CharCode.Pipe) {
/third_party/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()
/third_party/skia/modules/skparagraph/src/
DRun.cpp19 size_t firstChar, in Run() argument
26 , fTextRange(firstChar + info.utf8Range.begin(), firstChar + info.utf8Range.end()) in Run()
29 , fClusterStart(firstChar) in Run()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/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()
/third_party/flutter/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/table/core/
DCMapFormat8.java23 private int firstChar(int groupIndex) { in firstChar() method in CMapFormat8
76 firstCharInGroup = firstChar(groupIndex); in hasNext()
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/table/core/
DCMapFormat8.java23 private int firstChar(int groupIndex) { in firstChar() method in CMapFormat8
76 firstCharInGroup = firstChar(groupIndex); in hasNext()
/third_party/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()
DUnicodeSet.java937 char firstChar = text.charAt(offset[0]); in matches()
952 if (forward && c > firstChar) break; in matches()
953 if (c != firstChar) continue; in matches()
1041 char firstChar = text.charAt(offset); in matchesAt() local
1048 if (firstStringChar < firstChar) continue; in matchesAt()
1049 if (firstStringChar > firstChar) break strings; in matchesAt()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/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()
DUnicodeSet.java918 char firstChar = text.charAt(offset[0]); in matches()
934 if (forward && c > firstChar) break; in matches()
935 if (c != firstChar) continue; in matches()
1024 char firstChar = text.charAt(offset); in matchesAt() local
1031 if (firstStringChar < firstChar) continue; in matchesAt()
1032 if (firstStringChar > firstChar) break strings; in matchesAt()
/third_party/skia/third_party/externals/swiftshader/src/Reactor/
DLLVMAsm.cpp70 auto firstChar = [&] { in fixupAsmFile() local
77 if(!lines.empty() && firstChar() == '#') in fixupAsmFile()
/third_party/lz4/programs/
Ddatagen.c74 BYTE const firstChar = ld <= 0.0 ? 0 : '('; in RDG_fillLiteralDistrib() local
87 if (character > lastChar) character = firstChar; in RDG_fillLiteralDistrib()
/third_party/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()
/third_party/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()
/third_party/skia/third_party/externals/icu/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()
Dtzfmt.cpp1651 UChar firstChar = text.charAt(start); in parseOffsetISO8601() local
1652 if (firstChar == ISO8601_UTC || firstChar == (UChar)(ISO8601_UTC + 0x20)) { in parseOffsetISO8601()
1659 if (firstChar == PLUS) { in parseOffsetISO8601()
1661 } else if (firstChar == MINUS) { in parseOffsetISO8601()
/third_party/node/deps/icu-small/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()
/third_party/flutter/skia/third_party/externals/icu/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()
Dtzfmt.cpp1646 UChar firstChar = text.charAt(start); in parseOffsetISO8601() local
1647 if (firstChar == ISO8601_UTC || firstChar == (UChar)(ISO8601_UTC + 0x20)) { in parseOffsetISO8601()
1654 if (firstChar == PLUS) { in parseOffsetISO8601()
1656 } else if (firstChar == MINUS) { in parseOffsetISO8601()
/third_party/icu/icu4c/source/layoutex/
DParagraphLayout.cpp1042 le_int32 firstChar = (run == firstRun)? runStart : fStyleRunInfo[run].runBase; in computeVisualRuns() local
1045 appendRun(line, run, firstChar, lastChar); in computeVisualRuns()
1052 void ParagraphLayout::appendRun(ParagraphLayout::Line *line, le_int32 run, le_int32 firstChar, le_i… in appendRun() argument
1064 for (ch = firstChar; ch <= lastChar; ch += 1) { in appendRun()
/third_party/icu/icu4c/source/layoutex/layout/
DParagraphLayout.h586 void appendRun(Line *line, le_int32 run, le_int32 firstChar, le_int32 lastChar);
/third_party/protobuf/objectivec/
DGPBDescriptor.m738 unichar firstChar = [name characterAtIndex:0];
739 if (firstChar >= 'a' && firstChar <= 'z') {
741 [NSString stringWithFormat:@"%C", (unichar)(firstChar - 'a' + 'A')];

12