/external/syslinux/gpxe/src/arch/i386/interface/pcbios/ |
D | ibft.c | 161 static int ibft_alloc_string ( struct ibft_string_block *strings, in ibft_alloc_string() argument 166 dest = ( ( ( char * ) strings->table ) + strings->offset ); in ibft_alloc_string() 167 remaining = ( strings->table->acpi.length - strings->offset ); in ibft_alloc_string() 171 string->offset = strings->offset; in ibft_alloc_string() 173 strings->offset += ( len + 1 ); in ibft_alloc_string() 185 static int ibft_set_string ( struct ibft_string_block *strings, in ibft_set_string() argument 193 if ( ( rc = ibft_alloc_string ( strings, string, in ibft_set_string() 196 dest = ( ( ( char * ) strings->table ) + string->offset ); in ibft_set_string() 210 static int ibft_set_string_option ( struct ibft_string_block *strings, in ibft_set_string_option() argument 224 if ( ( rc = ibft_alloc_string ( strings, string, len ) ) != 0 ) in ibft_set_string_option() [all …]
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue73/ |
D | SetAsSequenceTest.java | 87 Set<String> strings = (Set<String>) yaml.load(doc); in testLoadRootSet() local 89 assertEquals(3, strings.size()); in testLoadRootSet() 90 assertEquals(HashSet.class, strings.getClass()); in testLoadRootSet() 91 assertTrue(strings.contains("aaa")); in testLoadRootSet() 92 assertTrue(strings.contains("bbb")); in testLoadRootSet() 93 assertTrue(strings.contains("ccc")); in testLoadRootSet() 100 Set<String> strings = (Set<String>) yaml.load(doc); in testLoadRootSet2() local 102 assertEquals(3, strings.size()); in testLoadRootSet2() 103 assertEquals(LinkedHashSet.class, strings.getClass()); in testLoadRootSet2() 104 assertTrue(strings.contains("aaa")); in testLoadRootSet2() [all …]
|
/external/icu/icu4c/source/common/ |
D | bytestriebuilder.cpp | 40 void setTo(StringPiece s, int32_t val, CharString &strings, UErrorCode &errorCode); 42 StringPiece getString(const CharString &strings) const { in getString() 46 length=(uint8_t)strings[offset++]; in getString() 49 length=((int32_t)(uint8_t)strings[offset]<<8)|(uint8_t)strings[offset+1]; in getString() 52 return StringPiece(strings.data()+offset, length); in getString() 54 int32_t getStringLength(const CharString &strings) const { in getStringLength() 57 return (uint8_t)strings[offset]; in getStringLength() 60 return ((int32_t)(uint8_t)strings[offset]<<8)|(uint8_t)strings[offset+1]; in getStringLength() 64 char charAt(int32_t index, const CharString &strings) const { return data(strings)[index]; } in charAt() 68 int32_t compareStringTo(const BytesTrieElement &o, const CharString &strings) const; [all …]
|
D | ucharstriebuilder.cpp | 40 void setTo(const UnicodeString &s, int32_t val, UnicodeString &strings, UErrorCode &errorCode); 42 UnicodeString getString(const UnicodeString &strings) const { in getString() 43 int32_t length=strings[stringOffset]; in getString() 44 return strings.tempSubString(stringOffset+1, length); in getString() 46 int32_t getStringLength(const UnicodeString &strings) const { in getStringLength() 47 return strings[stringOffset]; in getStringLength() 50 UChar charAt(int32_t index, const UnicodeString &strings) const { in charAt() 51 return strings[stringOffset+1+index]; in charAt() 56 int32_t compareStringTo(const UCharsTrieElement &o, const UnicodeString &strings) const; 67 UnicodeString &strings, UErrorCode &errorCode) { in setTo() argument [all …]
|
D | uniset.cpp | 149 bufferCapacity(0), patLen(0), pat(NULL), strings(NULL), stringSpan(NULL), in UnicodeSet() 176 bufferCapacity(0), patLen(0), pat(NULL), strings(NULL), stringSpan(NULL), in UnicodeSet() 203 patLen(0), pat(NULL), strings(NULL), stringSpan(NULL), in UnicodeSet() 227 patLen(0), pat(NULL), strings(NULL), stringSpan(NULL), in UnicodeSet() 240 if (strings != NULL && o.strings != NULL) { in UnicodeSet() 241 strings->assign(*o.strings, cloneUnicodeString, status); in UnicodeSet() 266 delete strings; in ~UnicodeSet() 301 if (strings != NULL && o.strings != NULL) { in operator =() 302 strings->assign(*o.strings, cloneUnicodeString, ec); in operator =() 310 stringSpan = new UnicodeSetStringSpan(*o.stringSpan, *strings); in operator =() [all …]
|
/external/chromium-trace/catapult/telemetry/third_party/web-page-replay/third_party/dns/rdtypes/ |
D | txtbase.py | 31 def __init__(self, rdclass, rdtype, strings): argument 33 if isinstance(strings, str): 34 strings = [ strings ] 35 self.strings = strings[:] 40 for s in self.strings: 46 strings = [] 55 strings.append(token.value) 56 if len(strings) == 0: 58 return cls(rdclass, rdtype, strings) 63 for s in self.strings: [all …]
|
/external/llvm/soong/ |
D | tblgen.go | 80 "includes": strings.Join(includes, " "), 93 case strings.HasSuffix(out, "GenRegisterInfo.inc"): 95 case strings.HasSuffix(out, "GenInstrInfo.inc"): 97 case strings.HasSuffix(out, "GenAsmWriter.inc"): 99 case strings.HasSuffix(out, "GenAsmWriter1.inc"): 101 case strings.HasSuffix(out, "GenAsmMatcher.inc"): 103 case strings.HasSuffix(out, "GenCodeEmitter.inc"): 105 case strings.HasSuffix(out, "GenMCCodeEmitter.inc"): 107 case strings.HasSuffix(out, "GenMCPseudoLowering.inc"): 109 case strings.HasSuffix(out, "GenDAGISel.inc"): [all …]
|
/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/boringssl/src/util/ |
D | doc.go | 87 if !strings.HasPrefix(rest[0], commentStart) { 95 i := strings.Index(commentParagraph, commentEnd) 109 if !strings.HasPrefix(line, " *") { 116 if strings.HasPrefix(line, " ") { 195 i := strings.Index(s, "\n") 203 for strings.HasPrefix(decl, "#if") || strings.HasPrefix(decl, "#elif") { 207 if strings.HasPrefix(decl, "typedef ") { 212 if !strings.HasPrefix(decl, prefix) { 216 decl = strings.TrimPrefix(decl, prefix) 224 if prefix[0] != '#' && strings.Index(decl, "{") == -1 { [all …]
|
D | make_errors.go | 62 prefix := strings.ToUpper(lib) 94 if !strings.HasSuffix(name, ".c") { 183 if !strings.HasPrefix(line, "#define ") { 187 fields := strings.Fields(line) 193 if !strings.HasPrefix(key, lib+"_R_") { 250 lib = strings.ToUpper(lib) 301 if i := strings.Index(line, macroName); i >= 0 { 303 if i := strings.Index(contents, ")"); i >= 0 { 305 args := strings.Split(contents, ",") 307 args[i] = strings.TrimSpace(args[i]) [all …]
|
/external/skia/infra/bots/ |
D | gen_tasks.go | 88 ec = strings.TrimSuffix(ec, "_Skpbench") 89 ec = strings.TrimSuffix(ec, "_AbandonGpuContext") 90 ec = strings.TrimSuffix(ec, "_PreAbandonGpuContext") 106 } else if strings.Contains(task_os, "Win") { 108 } else if strings.Contains(task_os, "Ubuntu") { 157 if strings.Contains(parts["os"], "Android") || strings.Contains(parts["os"], "Chromecast") { 166 } else if strings.Contains(parts["os"], "iOS") { 177 if strings.Contains(parts["os"], "Win") && parts["cpu_or_gpu_value"] == "AVX2" { 224 if strings.Contains(name, "Android") { 225 if strings.Contains(name, "Mac") { [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/llvm/tools/llvm-go/ |
D | llvm-go.go | 86 outstr = strings.TrimSuffix(outstr, "\n") 87 outstr = strings.Replace(outstr, "\n", " ", -1) 110 if strings.HasPrefix(a, "-tags=") { 125 fmt.Println(strings.Join(components, " ")) 175 newgopath := strings.Join(newgopathlist, string(filepath.ListSeparator)) 193 if !strings.HasPrefix(v, "CC=") && 194 !strings.HasPrefix(v, "CXX=") && 195 !strings.HasPrefix(v, "CGO_CPPFLAGS=") && 196 !strings.HasPrefix(v, "CGO_CXXFLAGS=") && 197 !strings.HasPrefix(v, "CGO_LDFLAGS=") && [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 assertThat(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 assertThat(set.headSet(strings[i], false)).has().exactlyAs( in testHeadSetExclusive() [all …]
|
/external/curl/tests/libtest/ |
D | lib576.c | 46 if(finfo->strings.perm) { in chunk_bgn() 47 printf("Permissions: %s", finfo->strings.perm); in chunk_bgn() 53 if(finfo->strings.user) in chunk_bgn() 54 printf("User: %s\n", finfo->strings.user); in chunk_bgn() 55 if(finfo->strings.group) in chunk_bgn() 56 printf("Group: %s\n", finfo->strings.group); in chunk_bgn() 57 if(finfo->strings.time) in chunk_bgn() 58 printf("Time: %s\n", finfo->strings.time); in chunk_bgn() 69 printf("Target: %s\n", finfo->strings.target); in chunk_bgn()
|
/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/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() 207 (const char*)bdf->strings + name_offset, in tt_face_find_bdf_prop() 216 ft_memchr( bdf->strings + value, 0, bdf->strings_size ) ) in tt_face_find_bdf_prop() [all …]
|
/external/toolchain-utils/crosperf/ |
D | experiment_status.py | 79 strings = [] 80 strings.append('Current time: %s Elapsed: %s ETA: %s' % 83 strings.append(self._GetProgressBar(self.experiment.num_complete, 85 return '\n'.join(strings) 118 strings = [] 123 strings.append("'{0}' {1}".format(benchmark_run.name, elapsed)) 124 return ' %s (%s)' % (len(strings), ', '.join(strings)) 133 strings = [] 142 strings.append('{} [{}]'.format(key, iterations)) 143 output_segs.append(' ' + label_name + ': ' + ', '.join(strings) + '\n')
|
/external/lzma/CPP/7zip/UI/Common/ |
D | SortUtils.cpp | 11 const UStringVector &strings = *(const UStringVector *)param; in CompareStrings() local 12 return CompareFileNames(strings[*p1], strings[*p2]); in CompareStrings() 15 void SortFileNames(const UStringVector &strings, CUIntVector &indices) in SortFileNames() argument 17 unsigned numItems = strings.Size(); in SortFileNames() 22 indices.Sort(CompareStrings, (void *)&strings); in SortFileNames()
|
/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 assertThat(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 assertThat(set.headSet(strings[i], false)).has().exactlyAs( in testHeadSetExclusive() [all …]
|
/external/v8/tools/ |
D | compare-table-gen.js | 8 var strings = ["true", "false", "null", "void 0", "0", "0.0", "-0", "\"\"", "-1", "-1.25", "1", "1.… variable 9 var values = new Array(strings.length); 10 for (var i = 0; i < strings.length; i++) { 11 values[i] = eval(strings[i]); 49 print("var values = [" + strings + "];"); 72 var value = strings[i]; 81 var value = strings[i]; 94 line += expr(infix, strings[i], cmp, strings[j]);
|
/external/icu/icu4c/source/test/intltest/ |
D | colldata.cpp | 169 : strings(NULL), listMax(STRING_LIST_BUFFER_SIZE), listSize(0) in StringList() 175 strings = new UnicodeString [listMax]; in StringList() 177 if (strings == NULL) { in StringList() 185 delete[] strings; in ~StringList() 201 newStrings[i] = strings[i]; in add() 203 delete[] strings; in add() 204 strings = newStrings; in add() 211 strings[listSize++].append(*string); in add() 224 return &strings[index]; in get() 240 StringList *strings = (StringList *) obj; in deleteStringList() local [all …]
|
/external/testng/src/test/java/test/thread/ |
D | TrueParallelTest.java | 35 List<String> strings = TrueParallelSampleTest.getStrings(); in shouldRunInParallel() local 36 boolean ii = isInterleaved(strings); in shouldRunInParallel() 43 private boolean isInterleaved(List<String> strings) { in isInterleaved() argument 44 for (int i = 0; i < strings.size(); i += 2) { in isInterleaved() 45 if (! strings.get(i).equals(strings.get(i + 1))) { in isInterleaved()
|
/external/vulkan-validation-layers/layers/ |
D | parameter_validation.cpp | 173 std::vector<std::string> strings; in EnumeratorString() local 175 strings.push_back("VK_FORMAT_FEATURE_STORAGE_IMAGE_ATOMIC_BIT"); in EnumeratorString() 178 strings.push_back("VK_FORMAT_FEATURE_STORAGE_IMAGE_BIT"); in EnumeratorString() 181 strings.push_back("VK_FORMAT_FEATURE_UNIFORM_TEXEL_BUFFER_BIT"); in EnumeratorString() 184 strings.push_back("VK_FORMAT_FEATURE_STORAGE_TEXEL_BUFFER_ATOMIC_BIT"); in EnumeratorString() 187 strings.push_back("VK_FORMAT_FEATURE_SAMPLED_IMAGE_BIT"); in EnumeratorString() 190 strings.push_back("VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BLEND_BIT"); in EnumeratorString() 193 strings.push_back("VK_FORMAT_FEATURE_VERTEX_BUFFER_BIT"); in EnumeratorString() 196 strings.push_back("VK_FORMAT_FEATURE_STORAGE_TEXEL_BUFFER_BIT"); in EnumeratorString() 199 strings.push_back("VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BIT"); in EnumeratorString() [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()
|