/external/icu/icu4c/source/common/ |
D | bytestriebuilder.cpp | 38 void setTo(const StringPiece &s, int32_t val, CharString &strings, UErrorCode &errorCode); 40 StringPiece getString(const CharString &strings) const { in getString() 44 length=(uint8_t)strings[offset++]; in getString() 47 length=((int32_t)(uint8_t)strings[offset]<<8)|(uint8_t)strings[offset+1]; in getString() 50 return StringPiece(strings.data()+offset, length); in getString() 52 int32_t getStringLength(const CharString &strings) const { in getStringLength() 55 return (uint8_t)strings[offset]; in getStringLength() 58 return ((int32_t)(uint8_t)strings[offset]<<8)|(uint8_t)strings[offset+1]; in getStringLength() 62 char charAt(int32_t index, const CharString &strings) const { return data(strings)[index]; } in charAt() 66 int32_t compareStringTo(const BytesTrieElement &o, const CharString &strings) const; [all …]
|
D | ucharstriebuilder.cpp | 38 void setTo(const UnicodeString &s, int32_t val, UnicodeString &strings, UErrorCode &errorCode); 40 UnicodeString getString(const UnicodeString &strings) const { in getString() 41 int32_t length=strings[stringOffset]; in getString() 42 return strings.tempSubString(stringOffset+1, length); in getString() 44 int32_t getStringLength(const UnicodeString &strings) const { in getStringLength() 45 return strings[stringOffset]; in getStringLength() 48 UChar charAt(int32_t index, const UnicodeString &strings) const { in charAt() 49 return strings[stringOffset+1+index]; in charAt() 54 int32_t compareStringTo(const UCharsTrieElement &o, const UnicodeString &strings) const; 65 UnicodeString &strings, UErrorCode &errorCode) { in setTo() argument [all …]
|
D | uniset.cpp | 147 bufferCapacity(0), patLen(0), pat(NULL), strings(NULL), stringSpan(NULL), in UnicodeSet() 174 bufferCapacity(0), patLen(0), pat(NULL), strings(NULL), stringSpan(NULL), in UnicodeSet() 201 patLen(0), pat(NULL), strings(NULL), stringSpan(NULL), in UnicodeSet() 225 patLen(0), pat(NULL), strings(NULL), stringSpan(NULL), in UnicodeSet() 238 if (strings != NULL && o.strings != NULL) { in UnicodeSet() 239 strings->assign(*o.strings, cloneUnicodeString, status); in UnicodeSet() 264 delete strings; in ~UnicodeSet() 299 if (strings != NULL && o.strings != NULL) { in operator =() 300 strings->assign(*o.strings, cloneUnicodeString, ec); in operator =() 308 stringSpan = new UnicodeSetStringSpan(*o.stringSpan, *strings); in operator =() [all …]
|
D | uniset_closure.cpp | 52 bufferCapacity(0), patLen(0), pat(NULL), strings(NULL), stringSpan(NULL), in UnicodeSet() 73 bufferCapacity(0), patLen(0), pat(NULL), strings(NULL), stringSpan(NULL), in UnicodeSet() 202 foldSet.strings->removeAllElements(); in closeOver() 237 if (strings != NULL && strings->size() > 0) { in closeOver() 239 for (int32_t j=0; j<strings->size(); ++j) { in closeOver() 240 str = *(const UnicodeString *) strings->elementAt(j); in closeOver() 255 for (int32_t j=0; j<strings->size(); ++j) { in closeOver() 256 pStr = (const UnicodeString *) strings->elementAt(j); in closeOver()
|
/external/emma/core/java12/com/vladium/util/ |
D | Strings.java | 33 public static String toListForm (final String [] strings, final char delimiter) in toListForm() argument 35 if (strings == null) return null; in toListForm() 36 if (strings.length == 0) return ""; in toListForm() 39 for (int i = 0, iLimit = strings.length; i < iLimit; ++ i) in toListForm() 42 s.append (strings [i]); in toListForm() 48 public static String [] removeDuplicates (final String [] strings, final boolean removeNull) in removeDuplicates() argument 50 if (strings == null) return strings; in removeDuplicates() 52 final int length = strings.length; in removeDuplicates() 53 if (length == 0) return strings; in removeDuplicates() 60 final String s = strings [i]; in removeDuplicates() [all …]
|
/external/llvm/tools/llvm-go/ |
D | llvm-go.go | 80 outstr = strings.TrimSuffix(outstr, "\n") 81 return strings.Replace(outstr, "\n", " ", -1) 102 if strings.HasPrefix(a, "-tags=") { 117 fmt.Println(strings.Join(components, " ")) 167 newgopath := strings.Join(newgopathlist, string(filepath.ListSeparator)) 185 if !strings.HasPrefix(v, "CC=") && 186 !strings.HasPrefix(v, "CXX=") && 187 !strings.HasPrefix(v, "CGO_CPPFLAGS=") && 188 !strings.HasPrefix(v, "CGO_CXXFLAGS=") && 189 !strings.HasPrefix(v, "CGO_LDFLAGS=") && [all …]
|
/external/fonttools/Lib/fontTools/ |
D | cffLib.py | 33 self.strings = IndexedStrings(file) 35 self.topDictIndex.strings = self.strings 55 strings = IndexedStrings() 61 writer.add(fontNames.getCompiler(strings, None)) 62 topCompiler = self.topDictIndex.getCompiler(strings, None) 64 writer.add(strings.getCompiler()) 65 writer.add(self.GlobalSubrs.getCompiler(strings, None)) 72 for child in topCompiler.getChildren(strings): 179 def __init__(self, items, strings, parent): argument 180 self.items = self.getItems(items, strings) [all …]
|
/external/mockito/cglib-and-asm/src/org/mockito/cglib/util/ |
D | StringSwitcher.java | 37 public Object newInstance(String[] strings, int[] ints, boolean fixedInput); in newInstance() argument 49 public static StringSwitcher create(String[] strings, int[] ints, boolean fixedInput) { in create() argument 51 gen.setStrings(strings); in create() 72 private String[] strings; field in StringSwitcher.Generator 85 public void setStrings(String[] strings) { in setStrings() argument 86 this.strings = strings; in setStrings() 116 Object key = KEY_FACTORY.newInstance(strings, ints, fixedInput); in create() 131 final List stringList = Arrays.asList(strings); in generateClass() 133 EmitUtils.string_switch(e, strings, style, new ObjectSwitchCallback() { in generateClass()
|
/external/boringssl/src/util/ |
D | doc.go | 88 if !strings.HasPrefix(rest[0], commentStart) { 96 i := strings.Index(commentParagraph, commentEnd) 110 if !strings.HasPrefix(line, " *") { 117 if strings.HasPrefix(line, " ") { 196 i := strings.Index(s, skip) 204 i := strings.Index(s, "\n") 212 for strings.HasPrefix(decl, "#if") || strings.HasPrefix(decl, "#elif") { 215 if strings.HasPrefix(decl, "struct ") { 218 if strings.HasPrefix(decl, "#define ") { 220 decl = strings.TrimPrefix(decl, "#define ") [all …]
|
D | make_errors.go | 63 prefix := strings.ToUpper(lib) 96 if !strings.HasSuffix(name, ".c") { 187 if !strings.HasPrefix(line, "#define ") { 191 fields := strings.Fields(line) 201 case strings.HasPrefix(key, funcPrefix): 203 case strings.HasPrefix(key, reasonPrefix): 268 lib = strings.ToUpper(lib) 323 if i := strings.Index(line, macroName); i >= 0 { 325 if i := strings.Index(contents, ")"); i >= 0 { 327 args := strings.Split(contents, ",") [all …]
|
/external/freetype/src/sfnt/ |
D | ttbdf.c | 55 bdf->strings = NULL; in tt_face_free_bdf_props() 87 FT_ULong strings = FT_NEXT_ULONG ( p ); in tt_face_load_bdf_props() local 93 strings < 8 || in tt_face_load_bdf_props() 94 ( strings - 8 ) / 4 < num_strikes || in tt_face_load_bdf_props() 95 strings + 1 > length ) in tt_face_load_bdf_props() 101 bdf->strings = bdf->table + strings; in tt_face_load_bdf_props() 102 bdf->strings_size = length - strings; in tt_face_load_bdf_props() 122 if ( strike > bdf->strings ) in tt_face_load_bdf_props() 205 (const char*)bdf->strings + name_offset, in tt_face_find_bdf_prop() 214 ft_memchr( bdf->strings + value, 0, bdf->strings_size ) ) in tt_face_find_bdf_prop() [all …]
|
/external/pdfium/third_party/freetype/src/sfnt/ |
D | ttbdf.c | 55 bdf->strings = NULL; in tt_face_free_bdf_props() 87 FT_ULong strings = FT_NEXT_ULONG ( p ); in tt_face_load_bdf_props() local 93 strings < 8 || in tt_face_load_bdf_props() 94 ( strings - 8 ) / 4 < num_strikes || in tt_face_load_bdf_props() 95 strings + 1 > length ) in tt_face_load_bdf_props() 101 bdf->strings = bdf->table + strings; in tt_face_load_bdf_props() 102 bdf->strings_size = length - strings; in tt_face_load_bdf_props() 122 if ( strike > bdf->strings ) in tt_face_load_bdf_props() 205 (const char*)bdf->strings + name_offset, in tt_face_find_bdf_prop() 214 ft_memchr( bdf->strings + value, 0, bdf->strings_size ) ) in tt_face_find_bdf_prop() [all …]
|
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/ |
D | ImmutableSortedSetTest.java | 733 String[] strings = NUMBER_NAMES.toArray(new String[0]); in testHeadSetInclusive() local 734 ImmutableSortedSet<String> set = ImmutableSortedSet.copyOf(strings); in testHeadSetInclusive() 735 Arrays.sort(strings); in testHeadSetInclusive() 736 for (int i = 0; i < strings.length; i++) { in testHeadSetInclusive() 737 ASSERT.that(set.headSet(strings[i], true)) in testHeadSetInclusive() 743 String[] strings = NUMBER_NAMES.toArray(new String[0]); in testHeadSetExclusive() local 744 ImmutableSortedSet<String> set = ImmutableSortedSet.copyOf(strings); in testHeadSetExclusive() 745 Arrays.sort(strings); in testHeadSetExclusive() 746 for (int i = 0; i < strings.length; i++) { in testHeadSetExclusive() 747 ASSERT.that(set.headSet(strings[i], false)).has().exactlyAs( in testHeadSetExclusive() [all …]
|
/external/dexmaker/src/dx/java/com/android/dx/dex/file/ |
D | StringIdsSection.java | 37 private final TreeMap<CstString, StringIdItem> strings; field in StringIdsSection 47 strings = new TreeMap<CstString, StringIdItem>(); in StringIdsSection() 53 return strings.values(); in items() 65 IndexedItem result = strings.get((CstString) cst); in get() 82 int sz = strings.size(); in writeHeaderPart() 129 StringIdItem already = strings.get(value); in intern() 135 strings.put(value, string); in intern() 163 StringIdItem s = strings.get(string); in indexOf() 177 for (StringIdItem s : strings.values()) { in orderItems()
|
/external/lzma/CPP/7zip/UI/Common/ |
D | SortUtils.cpp | 10 const UStringVector &strings = *(const UStringVector *)param; in CompareStrings() local 11 return CompareFileNames(strings[*p1], strings[*p2]); in CompareStrings() 14 void SortFileNames(const UStringVector &strings, CIntVector &indices) in SortFileNames() argument 17 int numItems = strings.Size(); in SortFileNames() 21 indices.Sort(CompareStrings, (void *)&strings); in SortFileNames()
|
/external/lldb/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/vector/ |
D | main.cpp | 21 string_vect strings; // Set break point at this line. in main() local 22 strings.push_back(std::string("goofy")); in main() 23 strings.push_back(std::string("is")); in main() 24 strings.push_back(std::string("smart")); in main() 26 strings.push_back(std::string("!!!")); // Set break point at this line. in main() 28 strings.clear(); // Set break point at this line. in main()
|
/external/lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/vector/ |
D | main.cpp | 25 string_vect strings; in main() local 26 (strings.push_back(std::string("goofy"))); in main() 27 (strings.push_back(std::string("is"))); in main() 28 (strings.push_back(std::string("smart"))); in main() 30 (strings.push_back(std::string("!!!"))); // Set second break point at this line. in main() 32 strings.clear(); in main()
|
/external/jmonkeyengine/engine/src/xml/com/jme3/export/xml/ |
D | DOMInputCapsule.java | 153 String[] strings = parseTokens(tmpEl.getAttribute("data")); in readByteArray() local 156 if (strings.length != requiredSize) in readByteArray() 160 + strings.length); in readByteArray() 162 byte[] tmp = new byte[strings.length]; in readByteArray() 163 for (int i = 0; i < strings.length; i++) { in readByteArray() 164 tmp[i] = Byte.parseByte(strings[i]); in readByteArray() 254 String[] strings = parseTokens(tmpEl.getAttribute("data")); in readIntArray() local 257 if (strings.length != requiredSize) in readIntArray() 260 + ", data contains " + strings.length); in readIntArray() 262 int[] tmp = new int[strings.length]; in readIntArray() [all …]
|
/external/guava/guava-tests/test/com/google/common/collect/ |
D | ImmutableSortedSetTest.java | 921 String[] strings = NUMBER_NAMES.toArray(new String[0]); in testHeadSetInclusive() local 922 ImmutableSortedSet<String> set = ImmutableSortedSet.copyOf(strings); in testHeadSetInclusive() 923 Arrays.sort(strings); in testHeadSetInclusive() 924 for (int i = 0; i < strings.length; i++) { in testHeadSetInclusive() 925 ASSERT.that(set.headSet(strings[i], true)) in testHeadSetInclusive() 931 String[] strings = NUMBER_NAMES.toArray(new String[0]); in testHeadSetExclusive() local 932 ImmutableSortedSet<String> set = ImmutableSortedSet.copyOf(strings); in testHeadSetExclusive() 933 Arrays.sort(strings); in testHeadSetExclusive() 934 for (int i = 0; i < strings.length; i++) { in testHeadSetExclusive() 935 ASSERT.that(set.headSet(strings[i], false)).has().exactlyAs( in testHeadSetExclusive() [all …]
|
/external/icu/icu4c/source/test/intltest/ |
D | colldata.cpp | 170 : strings(NULL), listMax(STRING_LIST_BUFFER_SIZE), listSize(0) in StringList() 176 strings = new UnicodeString [listMax]; in StringList() 178 if (strings == NULL) { in StringList() 186 delete[] strings; in ~StringList() 202 newStrings[i] = strings[i]; in add() 204 delete[] strings; in add() 205 strings = newStrings; in add() 212 strings[listSize++].append(*string); in add() 225 return &strings[index]; in get() 241 StringList *strings = (StringList *) obj; in deleteStringList() local [all …]
|
/external/guava/guava-tests/benchmark/com/google/common/util/concurrent/ |
D | MonitorBenchmark.java | 38 private String[] strings; field in MonitorBenchmark 49 strings = new String[capacity]; in setUp() 51 strings[i] = String.valueOf(Math.random()); in setUp() 58 String[] strings = this.strings; in addsAndRemoves() local 61 queue.add(strings[j]); in addsAndRemoves()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | ListFormatterTest.java | 97 public void checkData(ListFormatter listFormat, String[] strings) { in checkData() argument 98 assertEquals("0", strings[0], listFormat.format()); in checkData() 99 assertEquals("1", strings[1], listFormat.format("A")); in checkData() 100 assertEquals("2", strings[2], listFormat.format("A", "B")); in checkData() 101 assertEquals("3", strings[3], listFormat.format("A", "B", "C")); in checkData() 102 assertEquals("4", strings[4], listFormat.format("A", "B", "C", "D")); in checkData() 103 assertEquals("5", strings[5], listFormat.format("A", "B", "C", "D", "E")); in checkData()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | UnicodeSet.java | 325 TreeSet<String> strings = new TreeSet<String>(); field in UnicodeSet 544 strings = new TreeSet<String>(other.strings); in set() 816 if (includeStrings && strings.size() > 0) { in appendNewPattern() 817 for (String s : strings) { in appendNewPattern() 844 return n + strings.size(); in size() 854 return len == 1 && strings.size() == 0; in isEmpty() 884 if (strings.size() != 0) { in matchesIndexValue() 885 for (String s : strings) { in matchesIndexValue() 920 if (strings.size() != 0) { // try strings first in matches() 940 for (String trial : strings) { in matches() [all …]
|
/external/skia/src/gpu/gl/builders/ |
D | GrGLShaderStringBuilder.cpp | 23 const char** strings, in GrGLCompileAndAttachShader() argument 36 SkString prettySource = GrGLSLPrettyPrint::PrettyPrintGLSL(strings, lengths, count, false); in GrGLCompileAndAttachShader() 41 GR_GL_CALL(gli, ShaderSource(shaderId, count, strings, lengths)); in GrGLCompileAndAttachShader() 48 SkString shader = GrGLSLPrettyPrint::PrettyPrintGLSL(strings, lengths, count, false); in GrGLCompileAndAttachShader() 74 … SkDebugf("%s", GrGLSLPrettyPrint::PrettyPrintGLSL(strings, lengths, count, true).c_str()); in GrGLCompileAndAttachShader() 84 SkDebugf("%s", GrGLSLPrettyPrint::PrettyPrintGLSL(strings, lengths, count, true).c_str()); in GrGLCompileAndAttachShader()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | UnicodeSetStringSpan.java | 61 private ArrayList<String> strings; field in UnicodeSetStringSpan 89 strings = setStrings; in UnicodeSetStringSpan() 106 int stringsLength = strings.size(); in UnicodeSetStringSpan() 111 String string = strings.get(i); in UnicodeSetStringSpan() 154 String string = strings.get(i); in UnicodeSetStringSpan() 209 strings = newParentSetStrings; in UnicodeSetStringSpan() 392 int i, stringsLength = strings.size(); in spanWithStrings() 400 String string = strings.get(i); in spanWithStrings() 440 String string = strings.get(i); in spanWithStrings() 562 int stringsLength = strings.size(); in spanAndCount() [all …]
|