Home
last modified time | relevance | path

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

12345678910>>...16

/external/curl/tests/unit/
Dunit1395.c47 const struct dotdot pairs[] = { variable
70 for(i=0; i < sizeof(pairs)/sizeof(pairs[0]); i++) {
71 char *out = Curl_dedotdotify((char *)pairs[i].input);
74 if(strcmp(out, pairs[i].output)) {
76 i, pairs[i].input, out, pairs[i].output);
/external/lzma/CPP/Common/
DTextConfig.cpp50 bool GetTextConfig(const AString &s, CObjectVector<CTextConfigPair> &pairs) in GetTextConfig() argument
52 pairs.Clear(); in GetTextConfig()
105 pairs.Add(pair); in GetTextConfig()
110 int FindTextConfigItem(const CObjectVector<CTextConfigPair> &pairs, const UString &id) throw() in FindTextConfigItem() argument
112 FOR_VECTOR (i, pairs) in FindTextConfigItem()
113 if (pairs[i].ID == id) in FindTextConfigItem()
118 UString GetTextConfigValue(const CObjectVector<CTextConfigPair> &pairs, const UString &id) in GetTextConfigValue() argument
120 int index = FindTextConfigItem(pairs, id); in GetTextConfigValue()
123 return pairs[index].String; in GetTextConfigValue()
DTextConfig.h14 bool GetTextConfig(const AString &text, CObjectVector<CTextConfigPair> &pairs);
16 int FindTextConfigItem(const CObjectVector<CTextConfigPair> &pairs, const UString &id) throw();
17 UString GetTextConfigValue(const CObjectVector<CTextConfigPair> &pairs, const UString &id);
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletCollision/CollisionDispatch/
DbtCompoundCompoundCollisionAlgorithm.cpp62 btSimplePairArray& pairs = m_childCollisionAlgorithmCache->getOverlappingPairArray(); in getAllContactManifolds() local
63 for (i=0;i<pairs.size();i++) in getAllContactManifolds()
65 if (pairs[i].m_userPointer) in getAllContactManifolds()
68 ((btCollisionAlgorithm*)pairs[i].m_userPointer)->getAllContactManifolds(manifoldArray); in getAllContactManifolds()
76 btSimplePairArray& pairs = m_childCollisionAlgorithmCache->getOverlappingPairArray(); in removeChildAlgorithms() local
78 int numChildren = pairs.size(); in removeChildAlgorithms()
82 if (pairs[i].m_userPointer) in removeChildAlgorithms()
84 btCollisionAlgorithm* algo = (btCollisionAlgorithm*) pairs[i].m_userPointer; in removeChildAlgorithms()
316 btSimplePairArray& pairs = m_childCollisionAlgorithmCache->getOverlappingPairArray(); in processCollision() local
317 for (i=0;i<pairs.size();i++) in processCollision()
[all …]
/external/jcommander/src/test/java/com/beust/jcommander/
DMethodSetterTest.java17 public void setPairs(List<String> pairs) { in arityStringsSetter() argument
18 this.pairs = pairs; in arityStringsSetter()
21 return this.pairs; in arityStringsSetter()
23 public List<String> pairs; in arityStringsSetter() field in MethodSetterTest.ArgsArityStringSetter
38 Assert.assertEquals(args.pairs.size(), 2); in arityStringsSetter()
39 Assert.assertEquals(args.pairs.get(0), "pair0"); in arityStringsSetter()
40 Assert.assertEquals(args.pairs.get(1), "pair1"); in arityStringsSetter()
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/
DAbstractSampleEncryptionBox.java70 e.pairs = new LinkedList<Entry.Pair>(); in _parseDetails()
72 … e.pairs.add(e.createPair(IsoTypeReader.readUInt16(content), IsoTypeReader.readUInt32(content))); in _parseDetails()
162 IsoTypeWriter.writeUInt16(byteBuffer, entry.pairs.size()); in getContent()
163 for (Entry.Pair pair : entry.pairs) { in getContent()
196 public List<Pair> pairs = new LinkedList<Pair>(); field in AbstractSampleEncryptionBox.Entry
209 for (Entry.Pair pair : pairs) { in getSize()
279 if (pairs != null ? !pairs.equals(entry.pairs) : entry.pairs != null) { in equals()
289 result = 31 * result + (pairs != null ? pairs.hashCode() : 0); in hashCode()
297 ", pairs=" + pairs + in toString()
344 size += entry.pairs.size() * 6; in getEntrySizes()
/external/chromium-trace/catapult/tracing/tracing/mre/
Dmre_result.py13 def __init__(self, failures=None, pairs=None): argument
16 if pairs is None:
17 pairs = {}
19 self._pairs = pairs
26 def pairs(self): member in MreResult
Dmap_single_trace_unittest.py46 r = result.pairs['result']
63 self.assertEquals(len(result.pairs), 0)
87 self.assertEquals(len(result.pairs), 0)
108 self.assertEquals(len(result.pairs), 0)
127 self.assertEquals(len(result.pairs), 0)
147 self.assertEquals(len(result.pairs), 0)
170 self.assertEquals(len(result.pairs), 0)
/external/icu/icu4c/source/layout/
DKernTable.cpp78 : pairs(), fTable(base) in LE_CORRECT_SIZE()
129 pairs = LEReferenceToArrayOf<PairInfo>(fTable, // based on overall table in LE_CORRECT_SIZE()
137 … fprintf(stderr, "coverage: %0.4x nPairs: %d pairs %p\n", coverage, nPairs, pairs.getAlias()); in LE_CORRECT_SIZE()
142 fprintf(stderr, "coverage: %0.4x nPairs: %d pairs 0x%x\n", coverage, nPairs, pairs); in LE_CORRECT_SIZE()
158 const PairInfo& p = pairs[i, success]; in LE_CORRECT_SIZE()
195 if (LE_SUCCESS(success) && !pairs.isEmpty()) {
208 const PairInfo *p = pairs.getAlias(0, success);
210 LEReferenceTo<PairInfo> tpRef(pairs, success, rangeShift); // ((char*)pairs) + rangeShift
226 tpRef = LEReferenceTo<PairInfo>(pairs, success, p, probe); // (char*)p + probe
231 fprintf(stdout, " %.3d (%0.8x)\n", ((char*)tp - (char*)pairs)/KERN_PAIRINFO_SIZE, tkey);
/external/skia/tools/lua/
Dbbh_filter.lua12 for _,_ in pairs(table) do
77 for k,v in pairs(verbCounts) do
86 for k, v in pairs(meta) do
104 for name, count in pairs(verbs) do
109 for n, info in pairs(globalInfo) do
120 for i, t in pairs(meta) do
124 for verb,count in pairs(globalInfo[t.fileName].verbs) do
/external/libmicrohttpd/src/testspdy/
Dtest_struct_namevalue.c31 char *pairs[] = {"one","1","two","2","three","3","four","4","five","5"}; variable
49 if(strcmp(name,pairs[*c]) != 0) in iterate_cb()
59 if(strcmp(value[0],pairs[(*c)+1]) != 0) in iterate_cb()
112 size = sizeof(pairs)/sizeof(pairs[0]); in main()
131 if(SPDY_YES != SPDY_name_value_add(container,pairs[i],pairs[i+1])) in main()
149 value = SPDY_name_value_lookup(container,pairs[i], &ret); in main()
150 if(NULL == value || 1 !=ret || strcmp(value[0], pairs[i+1]) != 0) in main()
153 (NULL == value) ? -1 : strcmp(value[0], pairs[i+1])); in main()
/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/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/chromium-trace/catapult/third_party/gsutil/third_party/boto/bin/
Dlss393 pairs = []
97 pairs.append(name.split("/", 1))
99 pairs.append([name, None])
100 if pairs[-1][0].lower() != pairs[-1][0]:
108 for name, prefix in pairs:
/external/lzma/CPP/7zip/Bundles/SFXSetup/
DSfxSetup.cpp170 CObjectVector<CTextConfigPair> pairs; in WinMain() local
171 if (!GetTextConfig(config, pairs)) in WinMain()
177 UString friendlyName = GetTextConfigValue(pairs, L"Title"); in WinMain()
178 UString installPrompt = GetTextConfigValue(pairs, L"BeginPrompt"); in WinMain()
179 UString progress = GetTextConfigValue(pairs, L"Progress"); in WinMain()
182 int index = FindTextConfigItem(pairs, L"Directory"); in WinMain()
184 dirPrefix = pairs[index].String; in WinMain()
191 appLaunched = GetTextConfigValue(pairs, L"RunProgram"); in WinMain()
194 executeFile = GetTextConfigValue(pairs, L"ExecuteFile"); in WinMain()
195 executeParameters = GetTextConfigValue(pairs, L"ExecuteParameters"); in WinMain()
/external/marisa-trie/lib/marisa/
Dtail.cc149 Vector<KeyIdPair> pairs; in build_text_tail() local
150 pairs.resize(keys.size()); in build_text_tail()
157 pairs[i].first = RString(keys[i]); in build_text_tail()
158 pairs[i].second = (UInt32)i; in build_text_tail()
160 std::sort(pairs.begin(), pairs.end(), std::greater<KeyIdPair>()); in build_text_tail()
166 temp_offsets.resize(pairs.size(), 1); in build_text_tail()
170 for (std::size_t i = 0; i < pairs.size(); ++i) { in build_text_tail()
171 const KeyIdPair &cur = pairs[i]; in build_text_tail()
/external/marisa-trie/v0_1_5/lib/marisa_alpha/
Dtail.cc149 Vector<KeyIdPair> pairs; in build_text_tail() local
150 pairs.resize(keys.size()); in build_text_tail()
157 pairs[i].first = RString(keys[i]); in build_text_tail()
158 pairs[i].second = (UInt32)i; in build_text_tail()
160 std::sort(pairs.begin(), pairs.end(), std::greater<KeyIdPair>()); in build_text_tail()
166 temp_offsets.resize(pairs.size(), 1); in build_text_tail()
170 for (std::size_t i = 0; i < pairs.size(); ++i) { in build_text_tail()
171 const KeyIdPair &cur = pairs[i]; in build_text_tail()
/external/libchrome/base/process/
Dprocess_metrics_linux.cc33 void TrimKeyValuePairs(StringPairs* pairs) { in TrimKeyValuePairs() argument
34 DCHECK(pairs); in TrimKeyValuePairs()
35 StringPairs& p_ref = *pairs; in TrimKeyValuePairs()
68 StringPairs pairs; in ReadProcStatusAndGetFieldAsSizeT() local
69 SplitStringIntoKeyValuePairs(status, ':', '\n', &pairs); in ReadProcStatusAndGetFieldAsSizeT()
70 TrimKeyValuePairs(&pairs); in ReadProcStatusAndGetFieldAsSizeT()
71 for (size_t i = 0; i < pairs.size(); ++i) { in ReadProcStatusAndGetFieldAsSizeT()
72 const std::string& key = pairs[i].first; in ReadProcStatusAndGetFieldAsSizeT()
73 const std::string& value_str = pairs[i].second; in ReadProcStatusAndGetFieldAsSizeT()
109 StringPairs pairs; in ReadProcSchedAndGetFieldAsUint64() local
[all …]
/external/autotest/server/site_tests/native_Benchmarks/
Doctane.py39 pairs = [line.split(': ') for line in log.splitlines()]
40 del pairs[-2]
41 pairs[-1][0] = 'Total'
45 'units': 'score'} for p in pairs]
/external/avahi/avahi-daemon/
Dini-file-parser.c81 AVAHI_LLIST_HEAD_INIT(AvahiIniFilePair, group->pairs); in avahi_ini_file_load()
105 AVAHI_LLIST_PREPEND(AvahiIniFilePair, pairs, group->pairs, pair); in avahi_ini_file_load()
132 while ((p = g->pairs)) { in avahi_ini_file_free()
136 AVAHI_LLIST_REMOVE(AvahiIniFilePair, pairs, g->pairs, p); in avahi_ini_file_free()
/external/fio/
Djson.c130 json_free_pair(obj->pairs[i]); in json_free_object()
131 free(obj->pairs); in json_free_object()
186 struct json_pair **pairs = realloc(obj->pairs, in json_object_add_pair() local
188 if (!pairs) in json_object_add_pair()
190 pairs[obj->pair_cnt] = pair; in json_object_add_pair()
192 obj->pairs = pairs; in json_object_add_pair()
310 json_print_pair(obj->pairs[i]); in json_print_object()
/external/snakeyaml/src/test/resources/pyyaml/
Dconstruct-pairs.data1 # Explicitly typed pairs.
2 Block tasks: !!pairs
7 Flow tasks: !!pairs [ meeting: with team, meeting: with boss ]
/external/llvm/test/YAMLParser/
Dconstruct-pairs.test3 # Explicitly typed pairs.
4 Block tasks: !!pairs
9 Flow tasks: !!pairs [ meeting: with team, meeting: with boss ]
/external/v8/test/mjsunit/
Dswitch.js385 var pairs = [],
389 pairs = test_type.map(function(v) {
396 pairs = clause_values.string.map(function(v) {
403 pairs = clause_values.string.map(function(v) {
410 pairs = [
416 pairs = clause_values.smi.map(function(v) {
423 pairs = clause_values.smi.map(function(v) {
431 pairs.forEach(function(pair) {

12345678910>>...16