Home
last modified time | relevance | path

Searched refs:whitespaces (Results 1 - 7 of 7) sorted by relevance

/third_party/skia/modules/skunicode/src/
H A DSkUnicode_client.cpp141 static constexpr std::array<SkUnichar, 21> whitespaces { in isWhitespace()
167 return std::find(whitespaces.begin(), whitespaces.end(), unichar) != whitespaces.end(); in isWhitespace()
/third_party/PyYAML/lib/yaml/
H A Dscanner.py158 # Eat whitespaces and comments until we reach the next token.
1234 whitespaces = self.prefix(length)
1249 chunks.append(whitespaces)
1319 whitespaces = self.prefix(length)
1344 elif whitespaces:
1345 chunks.append(whitespaces)
/third_party/skia/experimental/sktext/src/
H A DLine.h188 TextRange whitespaces() const { return fWhitespaces; } in whitespaces() function in skia::text::LogicalLine
/third_party/skia/modules/skparagraph/src/
H A DTextLine.cpp769 // Take leading whitespaces width but do not increment a whitespace patch number
816 // Spread the extra whitespaces
818 // Do not break on leading whitespaces
850 // We skip ideographic whitespaces
1651 // so we need to do runOffset -= "trailing whitespaces length"
1652 TextRange whitespaces = intersected( local
1654 if (whitespaces.width() > 0) {
1655 auto whitespacesLen = measureTextInsideOneRun(whitespaces, run, runOffset, 0, true,
1704 // so we need to do runOffset -= "trailing whitespaces length"
1705 TextRange whitespaces local
[all...]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/lang/
H A DUCharacterTest.java148 int whitespaces[] = {0x2008, 0x2009, 0x200a, 0x001c, 0x000c /* ,0x200b */}; // 0x200b was "Zs" in Unicode 4.0, but it is "Cf" in Unicode 4.1 in TestSpaces()
168 if (!UCharacter.isWhitespace(whitespaces[i])) in TestSpaces()
170 errln("FAIL \\u" + hex(whitespaces[i]) + in TestSpaces()
181 hex(nonspaces[i]) + " and \\u" + hex(whitespaces[i]) + in TestSpaces()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/
H A DUCharacterTest.java145 int whitespaces[] = {0x2008, 0x2009, 0x200a, 0x001c, 0x000c /* ,0x200b */}; // 0x200b was "Zs" in Unicode 4.0, but it is "Cf" in Unicode 4.1 in TestSpaces()
165 if (!UCharacter.isWhitespace(whitespaces[i])) in TestSpaces()
167 errln("FAIL \\u" + hex(whitespaces[i]) + in TestSpaces()
178 hex(nonspaces[i]) + " and \\u" + hex(whitespaces[i]) + in TestSpaces()
/third_party/skia/modules/skparagraph/tests/
H A DSkParagraphTest.cpp2602 // the original text because the final trailing whitespaces are sometimes not in UNIX_ONLY_TEST()
6362 auto test = [&](const char* text, int whitespaces) { in UNIX_ONLY_TEST()
6391 auto pointX = (whitespaces + i) * 10.0f + 1.0f; in UNIX_ONLY_TEST()

Completed in 29 milliseconds