/third_party/boost/boost/ |
D | lexical_cast.hpp | 49 inline Target lexical_cast(const char* chars, std::size_t count) in lexical_cast() argument 52 ::boost::iterator_range<const char*>(chars, chars + count) in lexical_cast() 57 inline Target lexical_cast(const unsigned char* chars, std::size_t count) in lexical_cast() argument 60 ::boost::iterator_range<const unsigned char*>(chars, chars + count) in lexical_cast() 65 inline Target lexical_cast(const signed char* chars, std::size_t count) in lexical_cast() argument 68 ::boost::iterator_range<const signed char*>(chars, chars + count) in lexical_cast() 74 inline Target lexical_cast(const wchar_t* chars, std::size_t count) in lexical_cast() argument 77 ::boost::iterator_range<const wchar_t*>(chars, chars + count) in lexical_cast() 83 inline Target lexical_cast(const char16_t* chars, std::size_t count) in lexical_cast() argument 86 ::boost::iterator_range<const char16_t*>(chars, chars + count) in lexical_cast() [all …]
|
/third_party/glib/glib/tests/ |
D | tree.c | 99 char chars[] = variable 134 for (i = 0; chars[i]; i++) in test_tree_search() 135 g_tree_insert (tree, &chars[i], &chars[i]); in test_tree_search() 139 g_assert_cmpint (g_tree_nnodes (tree), ==, strlen (chars)); in test_tree_search() 142 p = chars; in test_tree_search() 147 removed = g_tree_remove (tree, &chars[i + 10]); in test_tree_search() 164 g_tree_insert (tree, &chars[i + 10], &chars[i + 10]); in test_tree_search() 166 p = chars; in test_tree_search() 243 for (i = 0; chars[i]; i++) in test_tree_remove() 244 g_tree_insert (tree, &chars[i], &chars[i]); in test_tree_remove() [all …]
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
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 …]
|
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 …]
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/ |
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 …]
|
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 …]
|
/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/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/gettext/gettext-tools/src/ |
D | x-scheme.c | 197 char *chars; /* the token's constituents */ member 205 tp->chars = XNMALLOC (tp->allocated, char); in init_token() 213 free (tp->chars); in free_token() 223 tp->chars = (char *) xrealloc (tp->chars, tp->allocated * sizeof (char)); in grow_token() 235 tp->chars[tp->charcount++] = first; in read_token() 250 tp->chars[tp->charcount++] = c; in read_token() 498 const char *str = tp->chars; in is_number() 664 memcpy (str, op->token->chars, n); in string_of_object() 896 && (token.chars[1] == 'a' || token.chars[1] == 'c' in read_object() 897 || token.chars[1] == 'h' || token.chars[1] == 'l' in read_object() [all …]
|
D | x-lisp.c | 358 struct token_char *chars; /* the token's constituents */ member 367 tp->chars = XNMALLOC (tp->allocated, struct token_char); in init_token() 375 free (tp->chars); in free_token() 385 …tp->chars = (struct token_char *) xrealloc (tp->chars, tp->allocated * sizeof (struct token_char)); in grow_token() 423 tp->chars[tp->charcount].ch = curr.ch; in read_token() 424 tp->chars[tp->charcount].attribute = a_escaped; in read_token() 438 tp->chars[tp->charcount].ch = curr.ch; in read_token() 439 tp->chars[tp->charcount].attribute = a_escaped; in read_token() 444 tp->chars[tp->charcount].ch = curr.ch; in read_token() 445 tp->chars[tp->charcount].attribute = attribute_of (curr.ch); in read_token() [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/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/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 = new Buffer.from(codecOptions.chars, 'ucs2'); 28 for (var i = 0; i < codecOptions.chars.length; i++) 29 encodeBuf[codecOptions.chars.charCodeAt(i)] = i;
|
/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/boxen/ |
D | index.js | 42 let chars; variable 45 chars = cliBoxes[borderStyle]; 47 if (!chars) { 57 chars = borderStyle; 60 return chars; 86 const chars = getBorderChars(opts.borderStyle); 125 const horizontal = chars.horizontal.repeat(contentWidth); 126 …const top = colorizeBorder(NL.repeat(margin.top) + marginLeft + chars.topLeft + horizontal + chars… 127 …const bottom = colorizeBorder(marginLeft + chars.bottomLeft + horizontal + chars.bottomRight + NL.… 128 const side = colorizeBorder(chars.vertical);
|
/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/node/deps/npm/node_modules/cli-table3/src/ |
D | cell.js | 44 let optionsChars = this.options.chars || {}; 45 let tableChars = tableOptions.chars; 46 let chars = (this.chars = {}); 48 setOption(optionsChars, tableChars, name, chars); 143 content.push(utils.repeat(this.chars[this.y == 0 ? 'top' : 'mid'], width)); 147 content.push(utils.repeat(this.chars[this.y == 0 ? 'top' : 'mid'], this.width)); 150 content.push(this.chars[this.y == 0 ? 'topRight' : 'rightMid']); 183 return this.chars[leftChar]; 214 let left = this.chars[this.x == 0 ? 'left' : 'middle']; 221 left = this.chars['rightMid']; [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/flutter/skia/third_party/externals/icu/source/extra/scrptrun/ |
D | scrptrun.h | 40 ScriptRun(const UChar chars[], int32_t length); 42 ScriptRun(const UChar chars[], int32_t start, int32_t length); 48 void reset(const UChar chars[], int32_t start, int32_t length); 107 inline ScriptRun::ScriptRun(const UChar chars[], int32_t length) in ScriptRun() argument 109 reset(chars, 0, length); in ScriptRun() 112 inline ScriptRun::ScriptRun(const UChar chars[], int32_t start, int32_t length) in ScriptRun() argument 114 reset(chars, start, length); in ScriptRun() 148 inline void ScriptRun::reset(const UChar chars[], int32_t start, int32_t length) in reset() argument 150 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/flutter/engine/flutter/third_party/txt/src/minikin/ |
D | LayoutUtils.cpp | 55 size_t getPrevWordBreakForCache(const uint16_t* chars, in getPrevWordBreakForCache() argument 62 if (isWordBreakBefore(chars[offset - 1])) { in getPrevWordBreakForCache() 66 if (isWordBreakBefore(chars[i]) || isWordBreakAfter(chars[i - 1])) { in getPrevWordBreakForCache() 76 size_t getNextWordBreakForCache(const uint16_t* chars, in getNextWordBreakForCache() argument 81 if (isWordBreakAfter(chars[offset])) { in getNextWordBreakForCache() 88 if (isWordBreakBefore(chars[i])) { in getNextWordBreakForCache()
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/translit/ |
D | ReplaceableTest.java | 68 if (!tr.hasMetaData() || tr.chars.hasMetaData() in check() 86 ReplaceableString chars; field in ReplaceableTest.TestReplaceable 94 chars = new ReplaceableString(text); in TestReplaceable() 116 return chars.toString() + "{" + styles.toString() + "}"; in toString() 120 return chars.substring(start, limit); in substring() 125 return chars.length(); in length() 130 return chars.charAt(offset); in charAt() 135 return chars.char32At(offset); in char32At() 140 chars.getChars(srcStart, srcLimit, dst, dstStart); in getChars() 148 chars.replace(start, limit, text); in replace() [all …]
|
/third_party/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/translit/ |
D | ReplaceableTest.java | 65 if (!tr.hasMetaData() || tr.chars.hasMetaData() in check() 83 ReplaceableString chars; field in ReplaceableTest.TestReplaceable 91 chars = new ReplaceableString(text); in TestReplaceable() 113 return chars.toString() + "{" + styles.toString() + "}"; in toString() 117 return chars.substring(start, limit); in substring() 122 return chars.length(); in length() 127 return chars.charAt(offset); in charAt() 132 return chars.char32At(offset); in char32At() 137 chars.getChars(srcStart, srcLimit, dst, dstStart); in getChars() 145 chars.replace(start, limit, text); in replace() [all …]
|