/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_collections.py | 722 # test random pairs of multisets 770 pairs = [('a', 1), ('b', 2), ('c', 3), ('d', 4), ('e', 5)] 771 self.assertEqual(sorted(OrderedDict(dict(pairs)).items()), pairs) # dict input 772 self.assertEqual(sorted(OrderedDict(**dict(pairs)).items()), pairs) # kwds input 773 self.assertEqual(list(OrderedDict(pairs).items()), pairs) # pairs input 775 c=3, e=5).items()), pairs) # mixed inpu [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_collections.py | 722 # test random pairs of multisets 770 pairs = [('a', 1), ('b', 2), ('c', 3), ('d', 4), ('e', 5)] 771 self.assertEqual(sorted(OrderedDict(dict(pairs)).items()), pairs) # dict input 772 self.assertEqual(sorted(OrderedDict(**dict(pairs)).items()), pairs) # kwds input 773 self.assertEqual(list(OrderedDict(pairs).items()), pairs) # pairs input 775 c=3, e=5).items()), pairs) # mixed inpu [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
mhlib.py | 776 internally as a list of three pairs: [(1,100), (200,400),
795 self.pairs = []
801 self.pairs = []
804 return cmp(self.pairs, other.pairs)
807 return hash(self.pairs)
813 self.pairs.sort()
815 while i < len(self.pairs):
816 alo, ahi = self.pairs[i-1]
817 blo, bhi = self.pairs[i] [all...] |
/external/skia/tools/lua/ |
ngrams_aggregate.lua | 9 for ngram, count in pairs(counts) do
|
bbh_filter.lua | 12 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
|
xfer-counter.lua | 31 for key,value in pairs(gXferModeTab) do
|
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
mhlib.py | 776 internally as a list of three pairs: [(1,100), (200,400), 795 self.pairs = [] 801 self.pairs = [] 804 return cmp(self.pairs, other.pairs) 807 return hash(self.pairs) 813 self.pairs.sort() 815 while i < len(self.pairs): 816 alo, ahi = self.pairs[i-1] 817 blo, bhi = self.pairs[i [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/ |
mhlib.py | 776 internally as a list of three pairs: [(1,100), (200,400), 795 self.pairs = [] 801 self.pairs = [] 804 return cmp(self.pairs, other.pairs) 807 return hash(self.pairs) 813 self.pairs.sort() 815 while i < len(self.pairs): 816 alo, ahi = self.pairs[i-1] 817 blo, bhi = self.pairs[i [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
mhlib.py | 776 internally as a list of three pairs: [(1,100), (200,400), 795 self.pairs = [] 801 self.pairs = [] 804 return cmp(self.pairs, other.pairs) 807 return hash(self.pairs) 813 self.pairs.sort() 815 while i < len(self.pairs): 816 alo, ahi = self.pairs[i-1] 817 blo, bhi = self.pairs[i [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
mhlib.py | 776 internally as a list of three pairs: [(1,100), (200,400), 795 self.pairs = [] 801 self.pairs = [] 804 return cmp(self.pairs, other.pairs) 807 return hash(self.pairs) 813 self.pairs.sort() 815 while i < len(self.pairs): 816 alo, ahi = self.pairs[i-1] 817 blo, bhi = self.pairs[i [all...] |
/external/libchrome/base/ |
sys_info_chromeos.cc | 112 // Parse and cache lsb_release key pairs. There should only be a handful 115 base::StringPairs pairs; local 116 SplitStringIntoKeyValuePairs(lsb_release, '=', '\n', &pairs); 117 for (size_t i = 0; i < pairs.size(); ++i) { 119 TrimWhitespaceASCII(pairs[i].first, TRIM_ALL, &key); 120 TrimWhitespaceASCII(pairs[i].second, TRIM_ALL, &value);
|
/external/svox/pico_resources/tools/LingwareBuilding/PicoLingware_tools_windows/tools/ |
picoloaddbg.lua | 106 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
|
picoloadphones.lua | 104 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/fio/ |
json.c | 130 json_free_pair(obj->pairs[i]); 131 free(obj->pairs); 186 struct json_pair **pairs = realloc(obj->pairs, local 188 if (!pairs) 190 pairs[obj->pair_cnt] = pair; 192 obj->pairs = pairs; 310 json_print_pair(obj->pairs[i]);
|
/frameworks/ml/bordeaux/learning/multiclass_pa/jni/ |
jni_multiclass_pa.cpp | 27 const int length, vector<pair<int, float> >* pairs) { 28 pairs->clear(); 32 pairs->push_back(new_pair);
|
/external/libbrillo/brillo/ |
data_encoding.cc | 91 std::vector<std::string> pairs; local 92 pairs.reserve(params.size()); 96 pairs.push_back(brillo::string_utils::Join("=", key, value)); 99 return brillo::string_utils::Join("&", pairs);
|
/frameworks/support/compat/java/android/support/v4/app/ |
ActivityOptionsCompat.java | 199 android.util.Pair<View, String>[] pairs = null; local 201 pairs = new android.util.Pair[sharedElements.length]; 203 pairs[i] = android.util.Pair.create( 207 return createImpl(ActivityOptions.makeSceneTransitionAnimation(activity, pairs));
|
/tools/test/connectivity/acts/framework/acts/controllers/ap_lib/ |
hostapd.py | 188 pairs = ('%s=%s' % (k, v) for k, v in our_configs.items()) 192 pairs = itertools.chain(pairs, config_pairs) 194 hostapd_conf = '\n'.join(pairs)
|
/prebuilts/go/darwin-x86/src/encoding/ascii85/ |
ascii85_test.go | 19 var pairs = []testpair{ var 44 var bigtest = pairs[len(pairs)-1] 68 for _, p := range pairs { 77 for _, p := range pairs { 107 for _, p := range pairs { 118 for _, p := range pairs {
|
/prebuilts/go/linux-x86/src/encoding/ascii85/ |
ascii85_test.go | 19 var pairs = []testpair{ var 44 var bigtest = pairs[len(pairs)-1] 68 for _, p := range pairs { 77 for _, p := range pairs { 107 for _, p := range pairs { 118 for _, p := range pairs {
|
/external/v8/src/compiler/ |
loop-peeling.cc | 105 // Maps a node to its index in the {pairs} vector. 108 NodeVector* pairs; member in struct:v8::internal::compiler::Peeling 111 : node_map(graph, static_cast<uint32_t>(max)), pairs(p) {} 115 return pairs->at(node_map.Get(node)); 119 node_map.Set(original, 1 + pairs->size()); 120 pairs->push_back(original); 121 pairs->push_back(copy); 141 Node* copy = pairs->at(node_map.Get(original));
|
/external/libchrome/base/process/ |
process_metrics_linux.cc | 33 void TrimKeyValuePairs(StringPairs* pairs) { 34 DCHECK(pairs); 35 StringPairs& p_ref = *pairs; 68 StringPairs pairs; local 69 SplitStringIntoKeyValuePairs(status, ':', '\n', &pairs); 70 TrimKeyValuePairs(&pairs); 71 for (size_t i = 0; i < pairs.size(); ++i) { 72 const std::string& key = pairs[i].first; 73 const std::string& value_str = pairs[i].second; 110 StringPairs pairs; local 271 StringPairs pairs; local [all...] |
/external/clang/test/SemaCXX/ |
for-range-examples.cpp | 142 map_range::vector<T> pairs; local 143 pairs.push_back(T(42, 12.9)); 144 pairs.push_back(T(6, 4.2)); 145 pairs.push_back(T(9, 1.1)); 146 for (auto a : map(map_range::mem_fun(&T::get<int>), pairs)) {
|
/prebuilts/go/darwin-x86/src/compress/bzip2/ |
huffman.go | 93 pairs := huffmanSymbolLengthPairs(make([]huffmanSymbolLengthPair, len(lengths))) 95 pairs[i].value = uint16(i) 96 pairs[i].length = length 99 sort.Sort(pairs) 109 for i := len(pairs) - 1; i >= 0; i-- { 110 if length > pairs[i].length { 113 length >>= 32 - pairs[i].length 114 length <<= 32 - pairs[i].length 115 length = pairs[i].length 119 codes[i].value = pairs[i].valu [all...] |
/prebuilts/go/linux-x86/src/compress/bzip2/ |
huffman.go | 93 pairs := huffmanSymbolLengthPairs(make([]huffmanSymbolLengthPair, len(lengths))) 95 pairs[i].value = uint16(i) 96 pairs[i].length = length 99 sort.Sort(pairs) 109 for i := len(pairs) - 1; i >= 0; i-- { 110 if length > pairs[i].length { 113 length >>= 32 - pairs[i].length 114 length <<= 32 - pairs[i].length 115 length = pairs[i].length 119 codes[i].value = pairs[i].valu [all...] |