/external/curl/tests/unit/ |
unit1395.c | 47 const struct dotdot pairs[] = { variable in typeref:struct:dotdot 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/ |
TextConfig.h | 14 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);
|
TextConfig.cpp | 50 bool GetTextConfig(const AString &s, CObjectVector<CTextConfigPair> &pairs)
52 pairs.Clear();
105 pairs.Add(pair);
110 int FindTextConfigItem(const CObjectVector<CTextConfigPair> &pairs, const UString &id) throw()
112 FOR_VECTOR (i, pairs)
113 if (pairs[i].ID == id)
118 UString GetTextConfigValue(const CObjectVector<CTextConfigPair> &pairs, const UString &id)
120 int index = FindTextConfigItem(pairs, id);
123 return pairs[index].String;
|
/external/jcommander/src/test/java/com/beust/jcommander/ |
MethodSetterTest.java | 16 @Parameter(names = "-pairs", arity = 2, description = "Pairs") 17 public void setPairs(List<String> pairs) { 18 this.pairs = pairs; 21 return this.pairs; 23 public List<String> pairs; field in class:MethodSetterTest.ArgsArityStringSetter 35 String[] argv = { "-pairs", "pair0", "pair1", "rest" }; 38 Assert.assertEquals(args.pairs.size(), 2); 39 Assert.assertEquals(args.pairs.get(0), "pair0") [all...] |
/external/junit-params/src/test/java/junitparams/internal/ |
TestMethodTest.java | 99 public void testVarargsCustomClass(Pair... pairs){ 100 assertEquals(pairs[0].x, pairs[0].y); 101 assertEquals(pairs[1].x, pairs[1].y); 102 assertNotEquals(pairs[2].x, pairs[2].y); 113 public void testVarargsMoreArgs(int sumOfX, int sumOfY, Pair... pairs){ 116 for (Pair pair : pairs) { 131 public void testVargsMoreArgsOfTheSameType(Pair sum, Pair... pairs) { [all...] |
/external/autotest/server/site_tests/native_Benchmarks/ |
octane.py | 39 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/jcommander/src/test/java/com/beust/jcommander/args/ |
ArgsArityInteger.java | 32 @Parameter(names = "-pairs", arity = 2, description = "Pairs") 33 public List<Integer> pairs; field in class:ArgsArityInteger
|
ArgsArityString.java | 32 @Parameter(names = "-pairs", arity = 2, description = "Pairs") 33 public List<String> pairs; field in class:ArgsArityString
|
/prebuilts/go/darwin-x86/src/net/http/cgi/testdata/ |
test.cgi | 76 my $pairs; 78 $pairs = do { local $/; <STDIN> }; 80 $pairs = $ENV{QUERY_STRING}; 83 foreach my $kv (split(/&/, $pairs)) {
|
/prebuilts/go/linux-x86/src/net/http/cgi/testdata/ |
test.cgi | 76 my $pairs; 78 $pairs = do { local $/; <STDIN> }; 80 $pairs = $ENV{QUERY_STRING}; 83 foreach my $kv (split(/&/, $pairs)) {
|
/toolchain/binutils/binutils-2.25/gas/testsuite/gas/i860/ |
dual02-err.s | 1 # Dual-mode pairs must be aligned on an 8-byte boundary. This tests
|
/frameworks/wilhelm/src/ut/ |
OpenSLESUT.c | 46 static Pair pairs[] = { variable 115 const Pair *end = &pairs[sizeof(pairs)/sizeof(pairs[0])]; 116 for (p = pairs; p != end; ++p) {
|
/external/nist-sip/java/gov/nist/core/ |
MultiValueMapImpl.java | 56 Set pairs = map.entrySet(); local 58 if (pairs == null) 61 Iterator pairsIterator = pairs.iterator(); 72 Set pairs = map.entrySet(); local 73 Iterator pairsIterator = pairs.iterator(); 85 Set pairs = map.entrySet(); local 86 Iterator pairsIterator = pairs.iterator();
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/ |
AbstractSampleEncryptionBox.java | 70 e.pairs = new LinkedList<Entry.Pair>(); 72 e.pairs.add(e.createPair(IsoTypeReader.readUInt16(content), IsoTypeReader.readUInt32(content))); 162 IsoTypeWriter.writeUInt16(byteBuffer, entry.pairs.size()); 163 for (Entry.Pair pair : entry.pairs) { 196 public List<Pair> pairs = new LinkedList<Pair>(); field in class:AbstractSampleEncryptionBox.Entry 209 for (Entry.Pair pair : pairs) { 279 if (pairs != null ? !pairs.equals(entry.pairs) : entry.pairs != null) [all...] |
/external/libmicrohttpd/src/testspdy/ |
test_struct_namevalue.c | 31 char *pairs[] = {"one","1","two","2","three","3","four","4","five","5"}; variable 49 if(strcmp(name,pairs[*c]) != 0) 59 if(strcmp(value[0],pairs[(*c)+1]) != 0) 112 size = sizeof(pairs)/sizeof(pairs[0]); 131 if(SPDY_YES != SPDY_name_value_add(container,pairs[i],pairs[i+1])) 149 value = SPDY_name_value_lookup(container,pairs[i], &ret); 150 if(NULL == value || 1 !=ret || strcmp(value[0], pairs[i+1]) != 0) 153 (NULL == value) ? -1 : strcmp(value[0], pairs[i+1])) [all...] |
/external/lzma/CPP/7zip/Bundles/SFXSetup/ |
SfxSetup.cpp | 170 CObjectVector<CTextConfigPair> pairs;
local 171 if (!GetTextConfig(config, pairs))
177 UString friendlyName = GetTextConfigValue(pairs, L"Title");
178 UString installPrompt = GetTextConfigValue(pairs, L"BeginPrompt");
179 UString progress = GetTextConfigValue(pairs, L"Progress");
182 int index = FindTextConfigItem(pairs, L"Directory");
184 dirPrefix = pairs[index].String;
191 appLaunched = GetTextConfigValue(pairs, L"RunProgram");
194 executeFile = GetTextConfigValue(pairs, L"ExecuteFile");
195 executeParameters = GetTextConfigValue(pairs, L"ExecuteParameters"); [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/json/ |
decoder.py | 153 pairs = []
154 pairs_append = pairs.append
166 result = object_pairs_hook(pairs)
168 pairs = {}
170 pairs = object_hook(pairs)
171 return pairs, end + 1
231 result = object_pairs_hook(pairs)
233 pairs = dict(pairs)
[all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/json/ |
decoder.py | 152 pairs = []
153 pairs_append = pairs.append
165 result = object_pairs_hook(pairs)
167 pairs = {}
169 pairs = object_hook(pairs)
170 return pairs, end + 1
230 result = object_pairs_hook(pairs)
232 pairs = dict(pairs)
[all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/json/ |
decoder.py | 152 pairs = [] 153 pairs_append = pairs.append 165 result = object_pairs_hook(pairs) 167 pairs = {} 169 pairs = object_hook(pairs) 170 return pairs, end + 1 230 result = object_pairs_hook(pairs) 232 pairs = dict(pairs) [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/json/ |
decoder.py | 152 pairs = [] 153 pairs_append = pairs.append 165 result = object_pairs_hook(pairs) 167 pairs = {} 169 pairs = object_hook(pairs) 170 return pairs, end + 1 230 result = object_pairs_hook(pairs) 232 pairs = dict(pairs) [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/json/ |
decoder.py | 152 pairs = [] 153 pairs_append = pairs.append 165 result = object_pairs_hook(pairs) 167 pairs = {} 169 pairs = object_hook(pairs) 170 return pairs, end + 1 230 result = object_pairs_hook(pairs) 232 pairs = dict(pairs) [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/json/ |
decoder.py | 152 pairs = [] 153 pairs_append = pairs.append 165 result = object_pairs_hook(pairs) 167 pairs = {} 169 pairs = object_hook(pairs) 170 return pairs, end + 1 230 result = object_pairs_hook(pairs) 232 pairs = dict(pairs) [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_collections.py | 722 # test random pairs of multisets
[all...] |
/prebuilts/gdb/darwin-x86/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/gdb/linux-x86/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...] |