HomeSort by relevance Sort by last modified time
    Searched defs:Pair (Results 26 - 50 of 131) sorted by null

12 3 4 5 6

  /libcore/luni/src/main/java/java/util/concurrent/atomic/
AtomicStampedReference.java 23 private static class Pair<T> {
26 private Pair(T reference, int stamp) {
30 static <T> Pair<T> of(T reference, int stamp) {
31 return new Pair<T>(reference, stamp);
35 private volatile Pair<V> pair; field in class:AtomicStampedReference
45 pair = Pair.of(initialRef, initialStamp);
54 return pair.reference;
63 return pair.stamp
75 Pair<V> pair = this.pair; local
    [all...]
  /packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
ThreadingTest.java 23 import android.util.Pair;
62 final List<Pair<Download, String>> downloads = Lists.newArrayList();
72 downloads.add(Pair.create(d, body));
79 for (Pair<Download,String> d : downloads) {
86 for (Pair<Download, String> d : downloads) {
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/manifest/
ManifestContentAssist.java 29 import com.android.utils.Pair;
60 List<Pair<String, String>> choices = new ArrayList<Pair<String, String>>();
74 choices.add(Pair.of(version.getCodename(), version.getCodename()));
76 choices.add(Pair.of(Integer.toString(apiLevel), target.getFullName()));
82 choices.add(Pair.of(Integer.toString(api), name));
  /external/clang/test/Index/
load-stmts.cpp 73 struct Pair {
74 Pair(int, int);
80 new (mem) Pair(i, j);
200 // CHECK: load-stmts.cpp:80:13: TypeRef=struct Pair:73:8 Extent=[80:13 - 80:17]
  /external/javassist/src/main/javassist/bytecode/annotation/
Annotation.java 48 static class Pair {
181 Pair p = new Pair();
194 Pair p = new Pair();
203 private void addMemberValue(Pair pair) {
204 String name = pool.getUtf8Info(pair.name);
208 members.put(name, pair);
272 Pair p = (Pair)members.get(name)
315 Pair pair = (Pair)it.next(); local
    [all...]
  /external/skia/tests/
GpuBitmapCopyTest.cpp 31 struct Pair {
120 static const Pair gPairs[] = {
BitmapCopyTest.cpp 74 struct Pair {
209 static const Pair gPairs[] = {
  /external/stlport/test/unit/
alg_test.cpp 335 typedef pair<int, string> Pair;
338 public binary_function<const Pair&, const string&, bool>
340 bool operator () ( const Pair &p, const string& value ) const
  /ndk/tests/device/test-gnustl-full/unit/
alg_test.cpp 335 typedef pair<int, string> Pair;
338 public binary_function<const Pair&, const string&, bool>
340 bool operator () ( const Pair &p, const string& value ) const
  /ndk/tests/device/test-stlport/unit/
alg_test.cpp 335 typedef pair<int, string> Pair;
338 public binary_function<const Pair&, const string&, bool>
340 bool operator () ( const Pair &p, const string& value ) const
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/animator/
AnimationContentAssist.java 35 import com.android.utils.Pair;
150 List<Pair<String, String>> pairs =
151 new ArrayList<Pair<String, String>>(sorted.size());
153 pairs.add(Pair.of(d.getXmlLocalName(), d.getAttributeInfo().getJavaDoc()));
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gre/
RuleLoader.java 24 import com.android.utils.Pair;
53 private List<Pair<File, Long>> mUserJarTimeStamps;
115 mUserJarTimeStamps = new ArrayList<Pair<File, Long>>();
134 mUserJarTimeStamps.add(Pair.of(pathFile, pathFile.lastModified()));
176 for (Pair<File, Long> pair : mUserJarTimeStamps) {
177 File file = pair.getFirst();
178 Long prevModified = pair.getSecond();
  /external/chromium/chrome/common/deprecated/
event_sys_unittest.cc 20 class Pair;
23 Pair* source;
37 class Pair {
40 explicit Pair(const std::string& name) : name_(name), a_(0), b_(0) {
44 ~Pair() {
77 void Hookup(const std::string name, Pair::Channel* channel) {
121 Pair sally("Sally"), sam("Sam");
145 explicit ThreadTester(Pair* pair)
146 : pair_(pair), remove_event_(&remove_event_mutex_)
    [all...]
  /external/chromium_org/android_webview/javatests/src/org/chromium/android_webview/test/
LoadUrlTest.java 8 import android.util.Pair;
102 private static List<Pair<String, String>> createHeadersList(String[] namesAndValues) {
103 List<Pair<String, String>> result = new ArrayList<Pair<String, String>>();
105 result.add(Pair.create(namesAndValues[i], namesAndValues[i + 1]));
  /external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/model/property/editor/presentation/
ButtonPropertyEditorPresentationImpl.java 23 import org.eclipse.wb.internal.core.utils.Pair;
210 private final Map<Pair<PropertyTable, Property>, Control> m_map = Maps.newHashMap();
213 m_map.put(Pair.create(propertyTable, property), control);
217 return m_map.remove(Pair.create(propertyTable, property));
221 return m_map.get(Pair.create(propertyTable, property));
  /external/llvm/lib/AsmParser/
LLLexer.cpp 75 uint64_t Pair[2]) {
76 Pair[0] = 0;
79 Pair[0] *= 16;
80 Pair[0] += hexDigitValue(*Buffer);
82 Pair[1] = 0;
84 Pair[1] *= 16;
85 Pair[1] += hexDigitValue(*Buffer);
94 uint64_t Pair[2]) {
95 Pair[1] = 0;
98 Pair[1] *= 16
    [all...]
  /external/openfst/src/include/fst/
shortest-path.h 26 using std::pair; using std::make_pair;
212 typedef pair<StateId, Weight> Pair;
214 ShortestPathCompare(const vector<Pair>& pairs,
220 const Pair &px = pairs_[x];
221 const Pair &py = pairs_[y];
241 const vector<Pair> &pairs_;
285 typedef pair<StateId, Weight> Pair;
301 // characterized by a pair (s,w). The vector 'pairs' maps eac
    [all...]
sparse-tuple-weight.h 23 // value pair as a initialized member variable to avoide
62 typedef pair<K, W> Pair;
190 inline void Push(const Pair &p, bool default_value_check = true) {
217 // where the weight is a single key,val pair.
218 Pair first_;
219 list<Pair> rest_;
228 typedef typename SparseTupleWeight<W, K>::Pair Pair;
229 typedef typename list<Pair>::const_iterator const_iterator
    [all...]
  /external/srec/tools/thirdparty/OpenFst/fst/lib/
shortest-path.h 171 typedef pair<StateId, Weight> Pair;
173 ShortestPathCompare(const vector<Pair>& pairs,
179 const Pair &px = pairs_[x];
180 const Pair &py = pairs_[y];
196 const vector<Pair> &pairs_;
233 typedef pair<StateId, Weight> Pair;
270 // characterized by a pair (s,w). The vector 'pairs' maps each
271 // state in 'ofst' to the corresponding pair maps states in OFST t
    [all...]
  /libcore/luni/src/test/java/libcore/java/lang/reflect/
OldGenericReflectionCornerCases.java 33 static class Pair<T, S> {}
36 void wildcardEquality(Pair<? extends T, ? extends T> param) {}
42 Method method = clazz.getDeclaredMethod("wildcardEquality", Pair.class);
79 void wildcardUnEquality(Pair<? extends T, ? super T> param) {}
85 Method method = clazz.getDeclaredMethod("wildcardUnEquality", Pair.class);
121 void multipleBoundedWildcardUnEquality(Pair<? extends T, ? super T> param) {}
127 // new WildcardEquality<Object>().wildcardEquality(new Pair<String,
130 Method method = clazz.getDeclaredMethod("multipleBoundedWildcardUnEquality", Pair.class);
176 void multipleBoundedWildcardEquality(Pair<? extends T, ? extends T> param) {}
182 Method method = clazz.getDeclaredMethod("multipleBoundedWildcardEquality", Pair.class)
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
FragmentMenu.java 34 import com.android.utils.Pair;
118 // Pair of <title,layout> to be displayed to the user
119 List<Pair<String, String>> layouts = new ArrayList<Pair<String, String>>();
122 layouts.add(Pair.of("list_content", //$NON-NLS-1$
152 layouts.add(Pair.of(title, layout));
162 for (Pair<String, String> layout : layouts) {
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/resources/manager/
IdeScanningContext.java 32 import com.android.utils.Pair;
57 private List<Pair<IResource, String>> mErrors;
92 mErrors = new ArrayList<Pair<IResource,String>>();
94 mErrors.add(Pair.of(mCurrentFile, error));
155 for (Pair<IResource, String> pair : mErrors) {
156 errors.add(pair.getSecond());
  /external/clang/test/CXX/temp/temp.decls/temp.variadic/
p5.cpp 3 template<typename T, typename U> struct pair;
14 typedef pair<Types..., int> expand_with_pacs; // okay
15 typedef pair<Types, int...> expand_no_packs; // expected-error{{pack expansion does not contain any unexpanded parameter packs}}
16 typedef pair<pair<Types..., int>..., int> expand_with_expanded_nested; // expected-error{{pack expansion does not contain any unexpanded parameter packs}}
25 typedef tuple<pair<Types, OtherTypes>...> type; // expected-error{{pack expansion contains parameter packs 'Types' and 'OtherTypes' that have different lengths (3 vs. 2)}}
31 tuple<pair<int, unsigned int>, pair<long, unsigned long> >*il_pairs_2 = il_pairs;
114 typedef pair<Types, int> template_specialization; // expected-error{{declaration type contains unexpanded parameter pack 'Types'}}
372 template<typename T, typename U> struct pair;
    [all...]
  /external/llvm/include/llvm/Analysis/
MemoryDependenceAnalysis.h 47 /// pair holds the instruction that clobbers the memory. For example,
59 /// the MemDepResult pair holds the instruction that defines the memory.
78 /// upper part of the pair (i.e. the Instruction*)
81 /// If DepType is "Other", the upper part of the pair
265 /// ValueIsLoadPair - This is a pair<Value*, bool> where the bool is true if
269 /// BBSkipFirstBlockPair - This pair is used when caching information for a
276 /// (value, is load) pair.
278 /// Pair - The pair of the block and the skip-first-block flag.
279 BBSkipFirstBlockPair Pair;
    [all...]
ScalarEvolution.h 257 /// This is a temporary pair of exact and max expressions that are
316 SmallVectorImpl< std::pair<BasicBlock *, const SCEV *> > &ExitCounts,
389 std::pair<DenseMap<const SCEV *, ConstantRange>::iterator, bool> Pair =
391 if (!Pair.second)
392 Pair.first->second = CR;
393 return Pair.first->second;
399 std::pair<DenseMap<const SCEV *, ConstantRange>::iterator, bool> Pair =
401 if (!Pair.second
    [all...]

Completed in 1850 milliseconds

12 3 4 5 6