Home
last modified time | relevance | path

Searched refs:chars (Results 126 - 150 of 490) sorted by relevance

12345678910>>...20

/third_party/node/test/fixtures/wpt/encoding/legacy-mb-korean/euc-kr/
H A Deuckr-encoder.js8 function chars2cps(chars) {
14 for (var i = 0; i < chars.length; i++) {
15 var b = chars.charCodeAt(i);
/third_party/node/test/fixtures/wpt/encoding/legacy-mb-tchinese/big5/
H A Dbig5-encoder.js16 function chars2cps(chars) {
22 for (var i = 0; i < chars.length; i++) {
23 var b = chars.charCodeAt(i);
/third_party/node/test/fixtures/wpt/encoding/legacy-mb-japanese/euc-jp/
H A Deucjp-encoder.js8 function chars2cps(chars) {
14 for (var i = 0; i < chars.length; i++) {
15 var b = chars.charCodeAt(i);
/third_party/node/test/fixtures/wpt/encoding/legacy-mb-japanese/shift_jis/
H A Dsjis-encoder.js13 function chars2cps(chars) {
19 for (var i = 0; i < chars.length; i++) {
20 var b = chars.charCodeAt(i);
/third_party/node/deps/v8/src/builtins/
H A Dbuiltins-string.cc266 unibrow::uchar chars[Converter::kMaxWidth]; in ConvertCaseHelper() local
273 int char_length = mapping->get(current, next, chars); in ConvertCaseHelper()
281 DCHECK(static_cast<base::uc32>(chars[0]) != current); in ConvertCaseHelper()
282 result.Set(i, chars[0]); in ConvertCaseHelper()
300 next_length = mapping->get(next, 0, chars); in ConvertCaseHelper()
311 int char_length = mapping->get(current, 0, chars); in ConvertCaseHelper()
326 result.Set(i, chars[j]); in ConvertCaseHelper()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/breakiter/
H A DThaiBreakEngine.java173 int chars = 0; in divideUpDictionaryRange()
177 chars += 1; in divideUpDictionaryRange()
188 fIter.setIndex(current + wordLength + chars); in divideUpDictionaryRange()
202 wordLength += chars; in divideUpDictionaryRange()
H A DCharsDictionaryMatcher.java20 public CharsDictionaryMatcher(CharSequence chars) { in CharsDictionaryMatcher() argument
21 characters = chars; in CharsDictionaryMatcher()
/third_party/icu/icu4c/source/layoutex/
H A Dplayout.cpp28 pl_create(const LEUnicode chars[], in pl_create() argument
38 ParagraphLayout *pl = new ParagraphLayout(chars, count, (const FontRuns *) fontRuns, in pl_create()
54 pl_isComplex(const LEUnicode chars[], in pl_isComplex() argument
57 return ParagraphLayout::isComplex(chars, count); in pl_isComplex()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
H A DThaiBreakEngine.java183 int chars = 0; in divideUpDictionaryRange()
187 chars += 1; in divideUpDictionaryRange()
198 fIter.setIndex(current + wordLength + chars); in divideUpDictionaryRange()
212 wordLength += chars; in divideUpDictionaryRange()
H A DCharsDictionaryMatcher.java20 public CharsDictionaryMatcher(CharSequence chars) { in CharsDictionaryMatcher() argument
21 characters = chars; in CharsDictionaryMatcher()
/third_party/rust/crates/unicode-width/src/
H A Dtests.rs26 for c in string.chars() { in cargo()
39 for c in string.chars() { in stdlib()
51 for c in string.chars() { in simple_if()
63 for c in string.chars() { in simple_match()
H A Dlib.rs124 self.chars().map(|c| cw::width(c, false).unwrap_or(0)).fold(0, Add::add) in width()
129 self.chars().map(|c| cw::width(c, true).unwrap_or(0)).fold(0, Add::add) in width_cjk()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/bidi/
H A DTestCompatibility.java187 char[] chars = src.toCharArray(); in testCompatibility()
188 bidi = new Bidi(chars, 0, null, 0, chars.length, Bidi.DIRECTION_LEFT_TO_RIGHT); in testCompatibility()
189 jbidi = new java.text.Bidi(chars, 0, null, 0, chars.length, java.text.Bidi.DIRECTION_LEFT_TO_RIGHT); in testCompatibility()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/bidi/
H A DTestCompatibility.java190 char[] chars = src.toCharArray(); in testCompatibility()
191 bidi = new Bidi(chars, 0, null, 0, chars.length, Bidi.DIRECTION_LEFT_TO_RIGHT); in testCompatibility()
192 jbidi = new java.text.Bidi(chars, 0, null, 0, chars.length, java.text.Bidi.DIRECTION_LEFT_TO_RIGHT); in testCompatibility()
/third_party/icu/icu4j/samples/src/com/ibm/icu/samples/shaping/
H A DArabicShapingSample.java270 char[] chars = text.toCharArray(); in parseText()
271 for (int i = 0; i < chars.length; ++i) { in parseText()
272 char ch = chars[i]; in parseText()
274 if ((i < chars.length - 1) && in parseText()
275 (chars[i+1] == 'u')) { in parseText()
/third_party/icu/icu4c/source/test/thaitest/
H A Dthaitest.cpp399 int generateFile(const UChar *chars, int32_t length) { in generateFile() argument
401 UCharCharacterIterator *noSpaceIter = new UCharCharacterIterator(chars, length); in generateFile()
418 printf("%s", u_strToUTF8(outbuf, sizeof(outbuf), &strlength, &chars[prevbreak], in generateFile()
420 if (nextbreak > 0 && complexContext.contains(chars[nextbreak-1]) in generateFile()
421 && complexContext.contains(chars[nextbreak])) { in generateFile()
/third_party/node/deps/v8/third_party/inspector_protocol/crdtp/
H A Djson.h34 void ParseJSON(span<uint8_t> chars, ParserHandler* handler);
36 void ParseJSON(span<uint16_t> chars, ParserHandler* handler);
/third_party/node/deps/npm/node_modules/archy/
H A Dindex.js5 var chars = {
12 return opts.unicode === false ? chars[s] : s;
/third_party/icu/icu4c/source/io/
H A Dustdio.cpp310 u_file_write_flush(const UChar *chars, in u_file_write_flush() argument
318 const UChar *mySource = chars; in u_file_write_flush()
327 count = u_strlen(chars); in u_file_write_flush()
334 mySource = u_file_translit(f, chars, &count, flushTranslit); in u_file_write_flush()
390 /* return # of chars written */ in u_file_write_flush()
395 u_file_write( const UChar *chars, in u_file_write() argument
399 return u_file_write_flush(chars,count,f,false,false); in u_file_write()
696 u_file_read( UChar *chars, in u_file_read() argument
720 memcpy(chars + read, str->fPos, dataSize * sizeof(UChar)); in u_file_read()
/third_party/skia/third_party/externals/icu/source/io/
H A Dustdio.cpp310 u_file_write_flush(const UChar *chars, in u_file_write_flush() argument
318 const UChar *mySource = chars; in u_file_write_flush()
327 count = u_strlen(chars); in u_file_write_flush()
334 mySource = u_file_translit(f, chars, &count, flushTranslit); in u_file_write_flush()
390 /* return # of chars written */ in u_file_write_flush()
395 u_file_write( const UChar *chars, in u_file_write() argument
399 return u_file_write_flush(chars,count,f,FALSE,FALSE); in u_file_write()
696 u_file_read( UChar *chars, in u_file_read() argument
720 memcpy(chars + read, str->fPos, dataSize * sizeof(UChar)); in u_file_read()
/third_party/node/deps/v8/src/debug/wasm/gdb-server/
H A Dgdb-remote-util.h23 // Convert from 0-255 to a pair of ASCII chars (0-9,a-f).
24 void UInt8ToHex(uint8_t byte, char chars[2]);
26 // Convert a pair of hex chars into a value 0-255 or return false if either
28 bool HexToUInt8(const char chars[2], uint8_t* byte);
/third_party/skia/third_party/externals/brotli/scripts/dictionary/
H A Dstep-04-generate-java-literals.py50 def escape(chars):
52 for c in chars:
/third_party/python/Lib/idlelib/
H A Dzzdummy.py16 head, tail, chars, lines = self.formatter.get_region()
20 self.formatter.set_region(head, tail, chars, lines)
/third_party/node/deps/v8/src/utils/
H A Dutils.h323 // Compare 8bit/16bit chars to 8bit/16bit chars.
326 size_t chars) { in CompareCharsEqualUnsigned()
332 return memcmp(lhs, rhs, chars * sizeof(*lhs)) == 0; in CompareCharsEqualUnsigned()
334 for (const lchar* limit = lhs + chars; lhs < limit; ++lhs, ++rhs) { in CompareCharsEqualUnsigned()
342 size_t chars) { in CompareCharsEqual()
346 reinterpret_cast<const urchar*>(rhs), chars); in CompareCharsEqual()
349 // Compare 8bit/16bit chars to 8bit/16bit chars.
352 size_t chars) { in CompareCharsUnsigned()
325 CompareCharsEqualUnsigned(const lchar* lhs, const rchar* rhs, size_t chars) CompareCharsEqualUnsigned() argument
341 CompareCharsEqual(const lchar* lhs, const rchar* rhs, size_t chars) CompareCharsEqual() argument
351 CompareCharsUnsigned(const lchar* lhs, const rchar* rhs, size_t chars) CompareCharsUnsigned() argument
368 CompareChars(const lchar* lhs, const rchar* rhs, size_t chars) CompareChars() argument
[all...]
/third_party/node/test/fixtures/wpt/encoding/legacy-mb-japanese/iso-2022-jp/
H A Diso2022jp-encoder.js79 function chars2cps(chars) {
85 for (var i = 0; i < chars.length; i++) {
86 var b = chars.charCodeAt(i);

Completed in 12 milliseconds

12345678910>>...20