HomeSort by relevance Sort by last modified time
    Searched defs:pair (Results 101 - 125 of 938) sorted by null

1 2 3 45 6 7 8 91011>>

  /packages/apps/TV/src/com/android/tv/tuner/exoplayer/
FileSampleExtractor.java 28 import android.util.Pair;
64 ArrayList<Pair<String, android.media.MediaFormat>> trackInfos =
73 Pair<String, android.media.MediaFormat> pair = trackInfos.get(i); local
74 ids.add(pair.first);
75 mTrackFormats.add(MediaFormatUtil.createMediaFormat(pair.second));
  /prebuilts/go/darwin-x86/src/cmd/compile/internal/ssa/
prove.go 48 // domain represents the domain of a variable pair in which a set
61 type pair struct { type
62 v, w *Value // a pair of values, ordered by ID.
68 // fact is a pair plus a relation for that pair.
70 p pair
94 facts map[pair]relation // current known set of relation
109 ft.facts = make(map[pair]relation)
183 p := pair{v, w, d}
207 p := pair{v, w, d
    [all...]
  /prebuilts/go/linux-x86/src/cmd/compile/internal/ssa/
prove.go 48 // domain represents the domain of a variable pair in which a set
61 type pair struct { type
62 v, w *Value // a pair of values, ordered by ID.
68 // fact is a pair plus a relation for that pair.
70 p pair
94 facts map[pair]relation // current known set of relation
109 ft.facts = make(map[pair]relation)
183 p := pair{v, w, d}
207 p := pair{v, w, d
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
LayoutMetadataTest.java 30 import com.android.utils.Pair;
49 Pair<IDocument, UiElementNode> pair = getNode("metadata.xml", "listView1"); local
50 UiElementNode uiNode = pair.getSecond();
75 private Pair<IDocument, UiElementNode> getNode(String filename, String targetId)
87 Pair<IDocument, UiElementNode> pair = Pair.<IDocument, UiElementNode>of(document, node); local
88 return pair;
  /system/bt/btif/src/
btif_sock_sco.cc 135 int pair[2] = {INVALID_FD, INVALID_FD}; local
140 if (socketpair(AF_LOCAL, SOCK_STREAM, 0, pair) == -1) {
141 LOG_ERROR(LOG_TAG, "%s unable to allocate socket pair: %s", __func__,
161 socket = socket_new_from_fd(pair[1]);
164 __func__, pair[1]);
168 *sock_fd = pair[0]; // Transfer ownership of one end to caller.
177 if (pair[0] != INVALID_FD) close(pair[0]);
178 if (pair[1] != INVALID_FD) close(pair[1])
    [all...]
  /system/extras/simpleperf/
cmd_report_test.cpp 114 std::unordered_map<std::string, std::pair<double, double>> map;
117 std::pair<double, double> pair; local
118 if (sscanf(lines[i].c_str(), "%lf%%%lf%%%s", &pair.first, &pair.second,
120 map.insert(std::make_pair(name, pair));
295 std::set<std::pair<std::string, std::string>> hit_set;
  /tools/tradefederation/core/src/com/android/tradefed/targetprep/
PushFilePreparer.java 156 String[] pair = pushspec.split("->"); local
157 if (pair.length != 2) {
158 fail(String.format("Invalid pushspec: '%s'", Arrays.asList(pair)), device);
161 Log.d(LOG_TAG, String.format("Trying to push local '%s' to remote '%s'", pair[0],
162 pair[1]));
164 File src = new File(pair[0]);
166 src = resolveRelativeFilePath(buildInfo, pair[0]);
169 fail(String.format("Local source file '%s' does not exist", pair[0]), device);
173 if (!device.pushDir(src, pair[1])) {
174 fail(String.format("Failed to push local '%s' to remote '%s'", pair[0]
    [all...]
  /libcore/luni/src/test/java/libcore/javax/net/ssl/
SSLEngineTest.java 213 TestSSLEnginePair pair = null; local
215 pair = TestSSLEnginePair.create(c, new TestSSLEnginePair.Hooks() {
222 assertConnected(pair);
229 pair.client, pair.server, needsRecordSplit);
231 pair.server, pair.client, needsRecordSplit);
233 if (pair != null) {
234 pair.close();
543 TestSSLEnginePair pair = TestSSLEnginePair.create(null) local
    [all...]
  /art/runtime/
jni_env_ext.cc 208 std::vector<std::pair<uintptr_t, jobject>>* locked_objects)
213 [self, frame, monitors](const std::pair<uintptr_t, jobject>& pair)
215 if (frame == pair.first) {
216 ObjPtr<mirror::Object> o = self->DecodeJObject(pair.second);
227 std::pair<uintptr_t, jobject> exact_pair = std::make_pair(current_frame, obj);
235 for (std::pair<uintptr_t, jobject>& pair : locked_objects_) {
236 if (self->DecodeJObject(pair.second) == mirror_obj) {
237 std::string monitor_descr = ComputeMonitorDescription(self, pair.second)
262 std::pair<uintptr_t, jobject>& pair = locked_objects_[locked_objects_.size() - 1]; local
    [all...]
  /art/runtime/mirror/
dex_cache-inl.h 188 auto pair = GetNativePairPtrSize(GetResolvedFields(), FieldSlotIndex(field_idx), ptr_size); local
189 return pair.GetObjectForIndex(field_idx);
195 FieldDexCachePair pair(field, field_idx);
196 SetNativePairPtrSize(GetResolvedFields(), FieldSlotIndex(field_idx), pair, ptr_size); local
275 NativeDexCachePair<T> pair,
279 ConversionPair64 v(reinterpret_cast64<uint64_t>(pair.object), pair.index);
284 dchecked_integral_cast<uint32_t>(reinterpret_cast<uintptr_t>(pair.object)),
285 dchecked_integral_cast<uint32_t>(pair.index));
  /art/test/626-const-class-linking/src/
Main.java 315 Object pair = get.invoke(null); local
316 printPair(pair);
317 return new WeakReference<Class<?>>(getSecond(pair));
320 private static void printPair(Object pair) throws Exception {
321 Method print = pair.getClass().getDeclaredMethod("print");
322 print.invoke(pair);
325 private static Class<?> getSecond(Object pair) throws Exception {
326 Field second = pair.getClass().getDeclaredField("second");
327 return (Class<?>) second.get(pair);
  /build/make/core/
aux_config.mk 90 # given a variant:path pair, load the variant conviguration with aux-variant-setup-paths from file
94 # $(1) - variant:path pair
97 define aux-variant-import-from-pair
175 $(foreach v,$(my_variant_pairs),$(if $(filter $(v),$(AUX_ALL_VARIANTS)),,$(call aux-variant-import-from-pair,$(v),$(variant_sfx))))
  /dalvik/dx/src/com/android/dx/dex/cf/
AttributeTranslator.java 428 NameValuePair pair = new NameValuePair( local
431 result.add(pair);
  /dalvik/dx/src/com/android/dx/dex/file/
ValueEncoder.java 333 for (NameValuePair pair : pairs) {
334 CstString name = pair.getName();
336 Constant value = pair.getValue();
396 for (NameValuePair pair : annotation.getNameValuePairs()) {
397 stringIds.intern(pair.getName());
398 addContents(file, pair.getValue());
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/ec/
KeyPairGeneratorSpi.java 169 AsymmetricCipherKeyPair pair = engine.generateKeyPair(); local
170 ECPublicKeyParameters pub = (ECPublicKeyParameters)pair.getPublic();
171 ECPrivateKeyParameters priv = (ECPrivateKeyParameters)pair.getPrivate();
  /external/clang/test/Analysis/Inputs/
system-header-simulator-cxx.h 15 struct pair { struct in namespace:std
19 pair() : first(), second() {} function in struct:std::pair
20 pair(const T1 &a, const T2 &b) : first(a), second(b) {} function in struct:std::pair
23 pair(const pair<U1, U2> &other) : first(other.first), second(other.second) {} function in struct:std::pair
  /external/clang/test/CXX/dcl.decl/dcl.init/dcl.init.list/
p3.cpp 22 struct pair { struct in namespace:std
23 pair(const A&, const B&);
55 Map(std::initializer_list<std::pair<std::string,int>>) {}
  /external/clang/test/CXX/temp/temp.decls/temp.variadic/
metafunctions.cpp 17 template<typename T, typename U> struct pair { }; struct
271 int check0[is_same<replace_with_int<pair<tuple<float, double, short>,
272 pair<char, unsigned char>>>::type,
273 pair<tuple<int, int, int>, pair<int, int>>>::value? 1 : -1];
multi-level-substitution.cpp 5 template<typename T, typename U> struct pair { }; struct
38 struct Inner<tuple<pair<Types, YTypes>...> > {
43 int check0[X<short, int, long>::Inner<tuple<pair<short, unsigned short>,
44 pair<int, unsigned int>,
45 pair<long, unsigned long>>
48 int check1[X<short, int>::Inner<tuple<pair<short, unsigned short>,
49 pair<int, unsigned int>,
50 pair<long, unsigned long>>
61 struct Inner<tuple<pair<Types, YTypes>...>,
67 int check2[X1<short, int, long>::Inner<tuple<pair<short, unsigned short>
    [all...]
  /external/clang/test/CodeGenCXX/
constructor-init.cpp 230 struct pair : X { // Make the copy constructor non-trivial, so we actually generate it. struct in namespace:PR10720
232 pair(const pair&) = default;
235 void foo(const pair &x, const pair2 &x2) {
236 pair y(x);
  /external/clang/test/SemaTemplate/
typename-specifier.cpp 38 // expected-note@-1 {{add a pair of parentheses}}
142 template <class T1, class T2> struct pair {}; // expected-note 7 {{template parameter is declared here}} struct in namespace:missing_typename
165 pair<ExampleItemSet::iterator, int> i;
166 pair<this->ExampleItemSet::iterator, int> i; // expected-error-re {{template argument for template type parameter must be a type{{$}}}}
167 pair<ExampleItemSet::operator[], int> i; // expected-error-re {{template argument for template type parameter must be a type{{$}}}}
174 pair<ExampleItemSet::iterator, int> elt;
185 pair<ExampleItemMap::iterator, int> i;
192 pair<ExampleItemMap::iterator, int> entry;
193 pair<bar, int> foobar; // expected-error {{template argument for template type parameter must be a type}}
  /external/compiler-rt/lib/sanitizer_common/
sanitizer_stackdepot.cc 145 IdDescPair pair = {s->id, s}; local
146 map_.push_back(pair);
155 IdDescPair pair = {id, nullptr};
156 uptr idx = InternalBinarySearch(map_, 0, map_.size(), pair,
  /external/guice/core/src/com/google/inject/internal/
ProxyFactory.java 102 for (MethodInterceptorsPair pair : methodInterceptorsPairs) {
103 if (methodAspect.matches(pair.method)) {
104 if(pair.method.isSynthetic()) {
109 new Object[] { pair.method, methodAspect.interceptors() });
111 visibility = visibility.and(BytecodeGen.Visibility.forMember(pair.method));
112 pair.addAll(methodAspect.interceptors());
128 MethodInterceptorsPair pair = methodInterceptorsPairs.get(i); local
130 if (!pair.hasInterceptors()) {
140 ImmutableSet.copyOf(pair.interceptors).asList();
141 interceptorsMapBuilder.put(pair.method, deDuplicated)
    [all...]
  /external/guice/extensions/throwingproviders/test/com/google/inject/throwingproviders/
CheckedProviderMethodsModuleTest.java 51 private final TypeLiteral<RpcProvider<Pair<Double, String>>> rpcProviderOfPair
52 = new TypeLiteral<RpcProvider<Pair<Double, String>>>() { };
97 Pair<Double, String> getSomePair(Double input) {
98 return new Pair<Double, String>(input * 2, "foo");
156 RpcProvider<Pair<Double, String>> provider = injector
158 Pair<Double, String> pair = provider.get(); local
159 assertEquals(pair.first, 4.0d);
186 private static class Pair<A, B> {
190 Pair(A a, B b)
    [all...]
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/normalizer/
NormalizerBuilder.java 130 long pair; local
209 // store composition pair in single integer
211 pair = ((long)first << 32) | second;
215 compose.put(pair, value);
240 pair = ((long)first << 32) | second;
243 compose.put(pair, value);
431 long pair = (first << 16) | second; local
432 compose.put(pair, value);

Completed in 2150 milliseconds

1 2 3 45 6 7 8 91011>>