Home
last modified time | relevance | path

Searched refs:pairs (Results 1 – 25 of 164) sorted by relevance

1234567

/external/harfbuzz/contrib/tables/
Dmirroring-parse.py12 pairs = []
27 pairs.append((a, b))
29 pairs.sort()
40 for pair in pairs:
43 print >>outfile, 'static const unsigned mirroring_properties_count = %d;\n' % len(pairs)
/external/svox/pico_resources/tools/LingwareBuilding/PicoLingware_tools_windows/tools/
Dpicoloaddbg.lua106 for s in pairs(propnames) do propnames[s] = 0 end
107 for s in pairs(upropnames) do upropnames[s] = 0 end
108 for s, p in pairs(st) do
109 for prop, propval in pairs(p) do
120 for prop, propval in pairs(upropnames) do
136 for s, pl in pairs(symnrs) do
163 for k, v in pairs(syms) do
Dpicoloadphones.lua104 for s in pairs(propnames) do propnames[s] = 0 end
105 for s in pairs(upropnames) do upropnames[s] = 0 end
106 for s, p in pairs(st) do
107 for prop, propval in pairs(p) do
118 for prop, propval in pairs(upropnames) do
134 for s, pl in pairs(symnrs) do
/external/skia/src/core/
DSkPixelRef.cpp125 const Pair* pairs = gPairs; in NameToFactory() local
127 if (strcmp(pairs[i].fName, name) == 0) { in NameToFactory()
128 return pairs[i].fFactory; in NameToFactory()
135 const Pair* pairs = gPairs; in FactoryToName() local
137 if (pairs[i].fFactory == fact) { in FactoryToName()
138 return pairs[i].fName; in FactoryToName()
DSkFlattenable.cpp267 const Pair* pairs = gPairs; in NameToFactory() local
269 if (strcmp(pairs[i].fName, name) == 0) { in NameToFactory()
270 return pairs[i].fFactory; in NameToFactory()
277 const Pair* pairs = gPairs; in FactoryToName() local
279 if (pairs[i].fFactory == fact) { in FactoryToName()
280 return pairs[i].fName; in FactoryToName()
/external/nist-sip/java/gov/nist/core/
DMultiValueMapImpl.java56 Set pairs = map.entrySet(); in containsValue() local
58 if (pairs == null) in containsValue()
61 Iterator pairsIterator = pairs.iterator(); in containsValue()
72 Set pairs = map.entrySet(); in clear() local
73 Iterator pairsIterator = pairs.iterator(); in clear()
85 Set pairs = map.entrySet(); in values() local
86 Iterator pairsIterator = pairs.iterator(); in values()
/external/icu4c/layout/
DKernTable.cpp74 : pairs(0), font(font) in KernTable()
117 pairs = (const PairInfo*)((char*)table + KERN_SUBTABLE_0_HEADER_SIZE); in KernTable()
120 fprintf(stderr, "coverage: %0.4x nPairs: %d pairs 0x%x\n", coverage, nPairs, pairs); in KernTable()
135 const PairInfo* p = pairs; in KernTable()
172 if (pairs) { in process()
186 const PairInfo* p = pairs; in process()
205 fprintf(stdout, " %.3d (%0.8x)\n", ((char*)tp - (char*)pairs)/KERN_PAIRINFO_SIZE, tkey); in process()
/external/webkit/Source/WebCore/platform/
DMIMETypeRegistry.cpp269 static const TypeExtensionPair pairs[] = { in mediaMIMETypeMap() local
354 const unsigned numPairs = sizeof(pairs) / sizeof(pairs[0]); in mediaMIMETypeMap()
357 if (mediaMIMETypeForExtensionMap.contains(pairs[ndx].extension)) in mediaMIMETypeMap()
358 mediaMIMETypeForExtensionMap.get(pairs[ndx].extension)->append(pairs[ndx].type); in mediaMIMETypeMap()
364 String systemType = MIMETypeRegistry::getMIMETypeForExtension(pairs[ndx].extension); in mediaMIMETypeMap()
365 if (!systemType.isEmpty() && pairs[ndx].type != systemType) in mediaMIMETypeMap()
367 synonyms->append(pairs[ndx].type); in mediaMIMETypeMap()
368 mediaMIMETypeForExtensionMap.add(pairs[ndx].extension, synonyms); in mediaMIMETypeMap()
/external/qemu/android/utils/
Dini.c39 IniPair* pairs; member
47 AFREE(i->pairs[nn].key); in iniFile_free()
48 i->pairs[nn].key = NULL; in iniFile_free()
49 i->pairs[nn].value = NULL; in iniFile_free()
51 AFREE(i->pairs); in iniFile_free()
99 AARRAY_RENEW(i->pairs, newMax); in iniFile_addPair()
103 pair = i->pairs + i->numPairs; in iniFile_addPair()
116 if (!strcmp(i->pairs[nn].key,key)) in iniFile_getPair()
117 return &i->pairs[nn]; in iniFile_getPair()
305 IniPair* pair = f->pairs; in iniFile_saveToFile()
/external/v8/tools/gcmole/
Dgcmole.lua120 for condition, files in pairs(sources) do
145 for k, v in pairs(self) do e[k] = v end
146 for k, v in pairs(t) do e[k] = v end
196 for caller, _ in pairs(callers) do
204 for funcname, callers in pairs(funcs) do
218 for name, _ in pairs(gc) do out:write (name, '\n') end
/external/srec/tools/thirdparty/OpenFst/fst/lib/
Dshortest-path.h173 ShortestPathCompare(const vector<Pair>& pairs, in ShortestPathCompare() argument
176 : pairs_(pairs), distance_(distance), superfinal_(sfinal), delta_(d) {} in ShortestPathCompare()
273 vector<Pair> pairs; in ShortestPath() local
280 compare(pairs, *distance, superfinal, opts.delta); in ShortestPath()
288 while (pairs.size() <= final) in ShortestPath()
289 pairs.push_back(Pair(kNoStateId, Weight::Zero())); in ShortestPath()
290 pairs[final] = Pair(rfst.Start(), Weight::One()); in ShortestPath()
296 Pair p = pairs[state]; in ShortestPath()
314 pairs.push_back(Pair(arc.nextstate, w)); in ShortestPath()
325 pairs.push_back(Pair(superfinal, w)); in ShortestPath()
/external/clang/test/SemaCXX/
Dfor-range-examples.cpp142 map_range::vector<T> pairs; in main() local
143 pairs.push_back(T(42, 12.9)); in main()
144 pairs.push_back(T(6, 4.2)); in main()
145 pairs.push_back(T(9, 1.1)); in main()
146 for (auto a : map(map_range::mem_fun(&T::get<int>), pairs)) { in main()
/external/webkit/Tools/Scripts/webkitpy/thirdparty/simplejson/
Ddecoder.py119 pairs = {}
125 return pairs, end + 1
141 pairs[key] = value
156 pairs = object_hook(pairs)
157 return pairs, end
/external/webkit/Tools/QueueStatusServer/model/
Dactiveworkitems.py47 def _set_item_time_pairs(self, pairs): argument
48 if pairs:
51 self.item_ids, self.item_dates = map(list, zip(*pairs))
/external/skia/src/effects/
DSkPorterDuff.cpp55 const Pair* pairs = gPairs; in find_pdmode() local
57 if (pairs[i].fXF == src) { in find_pdmode()
59 *dst = pairs[i].fPD; in find_pdmode()
/external/chromium/base/
Dstring_split.cc97 std::vector<std::string> pairs; in SplitStringIntoKeyValuePairs() local
98 SplitString(line, key_value_pair_delimiter, &pairs); in SplitStringIntoKeyValuePairs()
101 for (size_t i = 0; i < pairs.size(); ++i) { in SplitStringIntoKeyValuePairs()
104 if (pairs[i].empty()) in SplitStringIntoKeyValuePairs()
109 if (!SplitStringIntoKeyValues(pairs[i], in SplitStringIntoKeyValuePairs()
/external/doclava/src/com/google/doclava/
DLinkReference.java83 int pairs = 0; in parse() local
91 pairs++; in parse()
94 pairs++; in parse()
97 pairs--; in parse()
100 pairs--; in parse()
106 if (pairs == 0) { in parse()
118 if (index == len && pairs != 0) { in parse()
/external/valgrind/main/cachegrind/
Dcg_annotate.in801 my @pairs;
803 push(@pairs, $line_nums[$i] - $context); # lower marker
808 push(@pairs, $line_nums[$i] + $context); # upper marker
812 $pairs[0] = 1 if ($pairs[0] < 1);
813 while (@pairs) {
814 my $low = shift @pairs;
815 my $high = shift @pairs;
/external/srec/srec/EventLog/src/
Driff.c509 RiffKVPair *pairs; in readSwiChunk() local
528 for (pairs = swichunk->kvals.kvpairs, i = 0; i < swichunk->kvals.num_pairs; i++, pairs++) in readSwiChunk()
530 pairs->key = kvpair_buf; in readSwiChunk()
532 pairs->value = kvpair_buf; in readSwiChunk()
1080 RiffKVPair *pairs; in convertBuf2Riff() local
1092 for (pairs = swichunk->kvals.kvpairs, i = 0; i < num_pairs; i++, pairs++) in convertBuf2Riff()
1094 strcpy((char *)ptr, pairs->key); in convertBuf2Riff()
1095 ptr += strlen(pairs->key) + 1; in convertBuf2Riff()
1097 strcpy((char *)ptr, pairs->value); in convertBuf2Riff()
1098 ptr += strlen(pairs->value) + 1; in convertBuf2Riff()
/external/valgrind/main/callgrind/
Dcallgrind_annotate.in1117 my @pairs;
1119 push(@pairs, $line_nums[$i] - $context); # lower marker
1124 push(@pairs, $line_nums[$i] + $context); # upper marker
1128 $pairs[0] = 1 if ($pairs[0] < 1);
1129 while (@pairs) {
1130 my $low = shift @pairs;
1131 my $high = shift @pairs;
/external/webkit/Tools/CodeCoverage/
Dregenerate-coverage-display169 def replace(text, *pairs): argument
174 while pairs:
175 (a,b) = pairs[0]
177 pairs = pairs[1:]
/external/chromium/net/tools/testserver/
Dtestserver.py969 pairs = {}
976 pairs = dict(re.findall(r'(\b[^ ,=]+)="?([^",]+)"?', auth))
979 if pairs['nonce'] != nonce:
981 if pairs['opaque'] != opaque:
987 ':'.join([pairs['username'], realm, password])).hexdigest()
988 hash_a2 = _new_md5(':'.join([self.command, pairs['uri']])).hexdigest()
989 if 'qop' in pairs and 'nc' in pairs and 'cnonce' in pairs:
990 response = _new_md5(':'.join([hash_a1, nonce, pairs['nc'],
991 pairs['cnonce'], pairs['qop'], hash_a2])).hexdigest()
995 if pairs['response'] != response:
[all …]
/external/clang/lib/ARCMigrate/
DFileRemapper.cpp61 std::vector<std::pair<const FileEntry *, const FileEntry *> > pairs; in initFromDisk() local
96 pairs.push_back(std::make_pair(origFE, newFE)); in initFromDisk()
99 for (unsigned i = 0, e = pairs.size(); i != e; ++i) in initFromDisk()
100 remap(pairs[i].first, pairs[i].second); in initFromDisk()
/external/chromium/chrome/common/extensions/docs/examples/apps/hello-php/lib/oauth/
DOAuth.php821 $pairs = explode('&', $input);
824 foreach ($pairs as $pair) {
859 $pairs = array();
867 $pairs[] = $parameter . '=' . $duplicate_value;
870 $pairs[] = $parameter . '=' . $value;
875 return implode('&', $pairs);
/external/e2fsprogs/po/
Den@quot.header9 # It also translates pairs of apostrophe (0x27) to
11 # and pairs of quotation mark (0x22) to

1234567