/third_party/node/deps/v8/src/strings/ |
D | unicode-decoder.h | 18 inline int NonAsciiStart(const uint8_t* chars, int length) { in NonAsciiStart() argument 19 const uint8_t* start = chars; in NonAsciiStart() 20 const uint8_t* limit = chars + length; in NonAsciiStart() 24 while (!IsAligned(reinterpret_cast<intptr_t>(chars), kIntptrSize)) { in NonAsciiStart() 25 if (*chars > unibrow::Utf8::kMaxOneByteChar) { in NonAsciiStart() 26 return static_cast<int>(chars - start); in NonAsciiStart() 28 ++chars; in NonAsciiStart() 33 while (chars + sizeof(uintptr_t) <= limit) { in NonAsciiStart() 34 if (*reinterpret_cast<const uintptr_t*>(chars) & non_one_byte_mask) { in NonAsciiStart() 35 return static_cast<int>(chars - start); in NonAsciiStart() [all …]
|
D | string-hasher-inl.h | 56 const uchar* chars = reinterpret_cast<const uchar*>(chars_raw); in HashSequentialString() local 58 DCHECK_IMPLIES(0 < length, chars != nullptr); in HashSequentialString() 60 if (IsDecimalDigit(chars[0]) && (length == 1 || chars[0] != '0')) { in HashSequentialString() 63 uint32_t index = chars[0] - '0'; in HashSequentialString() 69 } while (TryAddArrayIndexChar(&index, chars[i++])); in HashSequentialString() 86 const uchar* end = &chars[length]; in HashSequentialString() 87 while (chars != end) { in HashSequentialString() 89 !TryAddIntegerIndexChar(&index_big, *chars)) { in HashSequentialString() 92 running_hash = AddCharacterCore(running_hash, *chars++); in HashSequentialString() 117 const uchar* end = &chars[length]; in HashSequentialString() [all …]
|
/third_party/rust/crates/proc-macro2/src/ |
D | parse.rs | 22 off: self.off + _front.chars().count() as u32, in advance() 46 fn chars(&self) -> Chars<'a> { in chars() method 47 self.rest.chars() in chars() 102 let ch = s.chars().next().unwrap(); in skip_whitespace() 147 match input.chars().next() { in word_break() 296 let mut chars = input.char_indices(); in ident_not_raw() localVariable 298 match chars.next() { in ident_not_raw() 304 for (i, ch) in chars { in ident_not_raw() 356 let mut chars = input.char_indices().peekable(); in cooked_string() localVariable 358 while let Some((i, ch)) = chars.next() { in cooked_string() [all …]
|
/third_party/typescript/tests/baselines/reference/ |
D | duplicateLocalVariable2.types | 31 …iteUtf8Bom(); var chars = [0x0054]; for (var i in chars) { fb… 32 …iteUtf8Bom(); var chars = [0x0054]; for (var i in chars) { fb… 33 …iteUtf8Bom(); var chars = [0x0054]; for (var i in chars) { fb… 41 …iteUtf8Bom(); var chars = [0x0054]; for (var i in chars) { fb… 45 …iteUtf8Bom(); var chars = [0x0054]; for (var i in chars) { fb… 50 …iteUtf8Bom(); var chars = [0x0054]; for (var i in chars) { fb… 61 var chars = [0x0054]; 62 >chars : number[] 66 for (var i in chars) { 68 >chars : number[] [all …]
|
D | duplicateLocalVariable1.js | 157 var chars = []; 159 chars.push(fb.readByte()); 161 …return TestRunner.arrayCompare(chars, [0x54, 0xC3, 0xA8, 0xE1, 0xB4, 0xA3, 0xE2, 0x80, 0xA0, 0x0D,… 168 var chars = []; 170 chars.push(fb.readUtf8CodePoint()); 172 return TestRunner.arrayCompare(chars, [0x0054, 0x00E8, 0x1D23, 0x2020, 0x000D, 0x000A]); 179 var chars = [0x0054, 0x00E8, 0x1D23, 0x2020, 0x000D, 0x000A]; 180 for (var i in chars) { 181 fb.writeUtf8CodePoint(chars[i]); 198 var chars = [0x0054, 0x00E8, 0x1D23, 0x2020, 0x000D, 0x000A]; [all …]
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/ |
D | FormattedStringBuilder.java | 33 char[] chars; field in FormattedStringBuilder 49 chars = new char[capacity]; in FormattedStringBuilder() 60 chars = Arrays.copyOf(source.chars, source.chars.length); in copyFrom() 79 return chars[zero + index]; in charAt() 92 return Character.codePointAt(chars, zero, zero + length); 99 return Character.codePointBefore(chars, zero + length, zero); 103 return Character.codePointAt(chars, zero + index, zero + length); 107 return Character.codePointBefore(chars, zero + index, zero); 132 chars[position] = codeUnit; 154 Character.toChars(codePoint, chars, position); [all …]
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
D | CharsTrie.java | 134 private CharSequence chars; field in CharsTrie.State 148 state.chars=chars_; in saveState() 168 if(chars_==state.chars && chars_!=null && root_==state.root) { in resetToState() 475 public CharSequence chars; field in CharsTrie.Entry 600 entry_.chars=str_; in next() 642 entry_.chars=str_; in truncateAndStop() 667 entry_.chars=str_; in branchNext() 702 private static int readValue(CharSequence chars, int pos, int leadUnit) { in readValue() argument 707 value=((leadUnit-kMinTwoUnitValueLead)<<16)|chars.charAt(pos); in readValue() 709 value=(chars.charAt(pos)<<16)|chars.charAt(pos+1); in readValue() [all …]
|
D | CharsTrieBuilder.java | 81 return CharBuffer.wrap(chars, chars.length-charsLength, charsLength); in buildCharSequence() 86 if(chars==null) { in buildChars() 87 chars=new char[1024]; in buildChars() 100 chars=null; in clear() 140 if(length>chars.length) { in ensureCapacity() 141 int newCapacity=chars.length; in ensureCapacity() 146 System.arraycopy(chars, chars.length-charsLength, in ensureCapacity() 148 chars=newChars; in ensureCapacity() 162 chars[chars.length-charsLength]=(char)unit; in write() 176 int charsOffset=chars.length-charsLength; in write() [all …]
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/ |
D | CharsTrie.java | 127 private CharSequence chars; field in CharsTrie.State 140 state.chars=chars_; in saveState() 159 if(chars_==state.chars && chars_!=null && root_==state.root) { in resetToState() 453 public CharSequence chars; field in CharsTrie.Entry 574 entry_.chars=str_; in next() 615 entry_.chars=str_; in truncateAndStop() 640 entry_.chars=str_; in branchNext() 675 private static int readValue(CharSequence chars, int pos, int leadUnit) { in readValue() argument 680 value=((leadUnit-kMinTwoUnitValueLead)<<16)|chars.charAt(pos); in readValue() 682 value=(chars.charAt(pos)<<16)|chars.charAt(pos+1); in readValue() [all …]
|
D | CharsTrieBuilder.java | 78 return CharBuffer.wrap(chars, chars.length-charsLength, charsLength); in buildCharSequence() 83 if(chars==null) { in buildChars() 84 chars=new char[1024]; in buildChars() 96 chars=null; in clear() 136 if(length>chars.length) { in ensureCapacity() 137 int newCapacity=chars.length; in ensureCapacity() 142 System.arraycopy(chars, chars.length-charsLength, in ensureCapacity() 144 chars=newChars; in ensureCapacity() 158 chars[chars.length-charsLength]=(char)unit; in write() 172 int charsOffset=chars.length-charsLength; in write() [all …]
|
/third_party/rust/crates/regex/scripts/ |
D | generate-unicode-tables | 30 --chars > "$out/age.rs" 32 --chars --all-pairs > "$out/case_folding_simple.rs" 34 --chars --exclude surrogate > "$out/general_category.rs" 36 --chars > "$out/grapheme_cluster_break.rs" 38 --chars > "$out/property_bool.rs" 44 --chars > "$out/script.rs" 46 --chars > "$out/script_extension.rs" 48 --chars > "$out/sentence_break.rs" 50 --chars > "$out/word_break.rs" 59 --chars > "$out/perl_word.rs" [all …]
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | FormattedStringBuilder.java | 47 char[] chars; field in FormattedStringBuilder 63 chars = new char[capacity]; in FormattedStringBuilder() 74 chars = Arrays.copyOf(source.chars, source.chars.length); in copyFrom() 93 return chars[zero + index]; in charAt() 106 return Character.codePointAt(chars, zero, zero + length); 113 return Character.codePointBefore(chars, zero + length, zero); 117 return Character.codePointAt(chars, zero + index, zero + length); 121 return Character.codePointBefore(chars, zero + index, zero); 146 chars[position] = codeUnit; 168 Character.toChars(codePoint, chars, position); [all …]
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/lang/ |
D | UScriptRun.java | 116 public UScriptRun(char[] chars) in UScriptRun() argument 118 reset(chars); in UScriptRun() 133 public UScriptRun(char[] chars, int start, int count) in UScriptRun() argument 135 reset(chars, start, count); in UScriptRun() 210 public final void reset(char[] chars, int start, int count) in reset() argument 212 if (chars == null) { in reset() 213 chars = emptyCharArray; in reset() 216 text = chars; in reset() 231 public final void reset(char[] chars) in reset() argument 235 if (chars != null) { in reset() [all …]
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/lang/ |
D | UScriptRun.java | 114 public UScriptRun(char[] chars) in UScriptRun() argument 116 reset(chars); in UScriptRun() 131 public UScriptRun(char[] chars, int start, int count) in UScriptRun() argument 133 reset(chars, start, count); in UScriptRun() 208 public final void reset(char[] chars, int start, int count) in reset() argument 210 if (chars == null) { in reset() 211 chars = emptyCharArray; in reset() 214 text = chars; in reset() 229 public final void reset(char[] chars) in reset() argument 233 if (chars != null) { in reset() [all …]
|
/third_party/lzma/CPP/Common/ |
D | MyString.cpp | 489 char *chars = _chars; in AString() local 491 memcpy(chars, s, len); in AString() 492 chars[len] = c; in AString() 493 chars[(size_t)len + 1] = 0; in AString() 499 char *chars = _chars; in AString() local 500 memcpy(chars, s1, num1); in AString() 501 memcpy(chars + num1, s2, num2 + 1); in AString() 522 char *chars = _chars; in AString() local 523 chars[0] = c; in AString() 524 chars[1] = 0; in AString() [all …]
|
/third_party/node/deps/v8/third_party/inspector_protocol/crdtp/ |
D | json_test.cc | 42 std::vector<uint8_t> chars = { in TEST() local 48 writer->HandleString8(SpanFrom(chars)); in TEST() 70 std::vector<uint8_t> chars; in TEST() local 71 chars.push_back(world[0]); in TEST() 72 chars.push_back(world[1]); in TEST() 73 chars.push_back('!'); in TEST() 74 chars.push_back('?'); in TEST() 75 chars.push_back('H'); in TEST() 76 chars.push_back('e'); in TEST() 77 chars.push_back('l'); in TEST() [all …]
|
/third_party/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/layout/ |
D | LigatureTree.java | 74 String ligatureString(int[] chars) in ligatureString() argument 77 int len = chars.length - 1; in ligatureString() 84 result.append(Utility.hex(chars[i], 6)); in ligatureString() 87 result.append(" => " + Utility.hex(chars[len], 6)); in ligatureString() 92 void insert(int[] chars, int index) in insert() argument 94 int c = chars[index]; in insert() 95 int len = chars.length; in insert() 99 System.out.println("ignoring ligature " + ligatureString(chars) + in insert() 111 subnodes[0].insert(chars, index + 1); in insert() 120 subnodes[i].insert(chars, index + 1); in insert() [all …]
|
/third_party/icu/icu4j/demos/src/com/ibm/icu/dev/demo/impl/ |
D | DemoTextBox.java | 21 this.chars = new char[text.length()]; in DemoTextBox() 22 text.getChars(0, text.length(), chars, 0); in DemoTextBox() 43 g.drawChars(chars, index, breakPos[i] - index, x, y); in draw() 48 g.drawChars(chars, index, chars.length - index, x, y); in draw() 54 if (metrics.charsWidth(chars, 0, chars.length) > width) in breakText() 65 int w = metrics.charsWidth(chars, start, pos - start); in breakText() 91 private char[] chars; field in DemoTextBox
|
/third_party/node/deps/npm/node_modules/iconv-lite/encodings/ |
D | sbcs-codec.js | 13 …if (!codecOptions.chars || (codecOptions.chars.length !== 128 && codecOptions.chars.length !== 256… 16 if (codecOptions.chars.length === 128) { 20 codecOptions.chars = asciiString + codecOptions.chars; 23 this.decodeBuf = Buffer.from(codecOptions.chars, 'ucs2'); 28 for (var i = 0; i < codecOptions.chars.length; i++) 29 encodeBuf[codecOptions.chars.charCodeAt(i)] = i;
|
/third_party/node/deps/npm/node_modules/cli-table3/src/ |
D | cell.js | 52 let optionsChars = this.options.chars || {}; 53 let tableChars = tableOptions.chars; 54 let chars = (this.chars = {}); 56 setOption(optionsChars, tableChars, name, chars); 172 content.push(utils.repeat(this.chars[this.y == 0 ? 'top' : 'mid'], width)); 176 content.push(utils.repeat(this.chars[this.y == 0 ? 'top' : 'mid'], this.width)); 179 content.push(this.chars[this.y == 0 ? 'topRight' : 'rightMid']); 212 return this.chars[leftChar]; 243 let left = this.chars[this.x == 0 ? 'left' : 'middle']; 250 left = this.chars['rightMid']; [all …]
|
/third_party/node/deps/v8/src/inspector/ |
D | string-16.cc | 165 int chars = v8::base::OS::SNPrintF(buffer, kBufferSize, "%d", number); in appendNumber() local 166 DCHECK_LE(0, chars); in appendNumber() 167 m_buffer.insert(m_buffer.end(), buffer, buffer + chars); in appendNumber() 174 int chars = v8::base::OS::SNPrintF(buffer, kBufferSize, "%zu", number); in appendNumber() local 176 int chars = v8::base::OS::SNPrintF(buffer, kBufferSize, "%Iu", number); in appendNumber() local 178 DCHECK_LE(0, chars); in appendNumber() 179 m_buffer.insert(m_buffer.end(), buffer, buffer + chars); in appendNumber() 185 int chars = in appendUnsignedAsHex() local 187 DCHECK_LE(0, chars); in appendUnsignedAsHex() 188 m_buffer.insert(m_buffer.end(), buffer, buffer + chars); in appendUnsignedAsHex() [all …]
|
/third_party/icu/icu4c/source/extra/scrptrun/ |
D | scrptrun.h | 42 ScriptRun(const UChar chars[], int32_t length); 44 ScriptRun(const UChar chars[], int32_t start, int32_t length); 50 void reset(const UChar chars[], int32_t start, int32_t length); 109 inline ScriptRun::ScriptRun(const UChar chars[], int32_t length) in ScriptRun() argument 111 reset(chars, 0, length); in ScriptRun() 114 inline ScriptRun::ScriptRun(const UChar chars[], int32_t start, int32_t length) in ScriptRun() argument 116 reset(chars, start, length); in ScriptRun() 150 inline void ScriptRun::reset(const UChar chars[], int32_t start, int32_t length) in reset() argument 152 charArray = chars; in reset()
|
/third_party/skia/third_party/externals/icu/source/extra/scrptrun/ |
D | scrptrun.h | 42 ScriptRun(const UChar chars[], int32_t length); 44 ScriptRun(const UChar chars[], int32_t start, int32_t length); 50 void reset(const UChar chars[], int32_t start, int32_t length); 109 inline ScriptRun::ScriptRun(const UChar chars[], int32_t length) in ScriptRun() argument 111 reset(chars, 0, length); in ScriptRun() 114 inline ScriptRun::ScriptRun(const UChar chars[], int32_t start, int32_t length) in ScriptRun() argument 116 reset(chars, start, length); in ScriptRun() 150 inline void ScriptRun::reset(const UChar chars[], int32_t start, int32_t length) in reset() argument 152 charArray = chars; in reset()
|
/third_party/node/deps/icu-small/source/common/ |
D | uniset_props.cpp | 195 RuleCharacterIterator chars(pattern, symbols, pos); in applyPatternIgnoreSpace() local 196 applyPattern(chars, symbols, rebuiltPat, USET_IGNORE_SPACE, nullptr, 0, status); in applyPatternIgnoreSpace() 198 if (chars.inVariable()) { in applyPatternIgnoreSpace() 258 void UnicodeSet::applyPattern(RuleCharacterIterator& chars, in applyPattern() argument 296 while (mode != 2 && !chars.atEnd()) { in applyPattern() 309 if (resemblesPropertyPattern(chars, opts)) { in applyPattern() 323 chars.getPos(backup); in applyPattern() 324 c = chars.next(opts, literal, ec); in applyPattern() 329 chars.setPos(backup); // backup in applyPattern() 335 chars.getPos(backup); // prepare to backup in applyPattern() [all …]
|
/third_party/icu/icu4c/source/common/ |
D | uniset_props.cpp | 195 RuleCharacterIterator chars(pattern, symbols, pos); in applyPatternIgnoreSpace() local 196 applyPattern(chars, symbols, rebuiltPat, USET_IGNORE_SPACE, NULL, 0, status); in applyPatternIgnoreSpace() 198 if (chars.inVariable()) { in applyPatternIgnoreSpace() 258 void UnicodeSet::applyPattern(RuleCharacterIterator& chars, in applyPattern() argument 296 while (mode != 2 && !chars.atEnd()) { in applyPattern() 309 if (resemblesPropertyPattern(chars, opts)) { in applyPattern() 323 chars.getPos(backup); in applyPattern() 324 c = chars.next(opts, literal, ec); in applyPattern() 329 chars.setPos(backup); // backup in applyPattern() 335 chars.getPos(backup); // prepare to backup in applyPattern() [all …]
|