/frameworks/base/media/libdrm/mobile2/src/util/ustl-1.0/ |
H A D | upair.h | 16 /// \class pair upair.h ustl.h 22 class pair { class in namespace:ustl 28 inline pair (void) : first (T1()), second (T2()) {} function in class:ustl::pair 30 inline pair (const T1& a, const T2& b) : first (a), second (b) {} function in class:ustl::pair 31 inline pair& operator= (const pair<T1, T2>& p2) { first = p2.first; second = p2.second; return (*this); } argument 33 inline pair& operator= (const pair<T3, T4>& p2) { first = p2.first; second = p2.second; return (*this); } argument 41 inline bool operator== (const pair<T1,T2>& p1, const pair<T argument 48 operator <(const pair<T1,T2>& p1, const pair<T1,T2>& p2) argument [all...] |
H A D | umultimap.h | 24 class multimap : public vector<pair<K,V> > { 31 typedef vector<pair<K,V> > base_class; 42 typedef pair<const_iterator,const_iterator> const_range_t; 43 typedef pair<iterator,iterator> range_t; 45 inline multimap (void) : vector<pair<K,V> > () {} 46 explicit inline multimap (size_type n) : vector<pair<K,V> > (n) {} 47 inline multimap (rcself_t v) : vector<pair<K,V> > (v) {} 48 inline multimap (const_iterator i1, const_iterator i2) : vector<pair<K,V> > () { insert (i1, i2); } 100 /// Inserts the pair into the container.
|
H A D | umap.h | 21 /// \brief A sorted associative container of pair<K,V> 24 class map : public vector<pair<K,V> > { 31 typedef vector<pair<K,V> > base_class; 42 typedef pair<const_iterator,const_iterator> const_range_t; 43 typedef pair<iterator,iterator> range_t; 45 inline map (void) : vector<pair<K,V> > () {} 46 explicit inline map (size_type n) : vector<pair<K,V> > (n) {} 47 inline map (rcself_t v) : vector<pair<K,V> > (v) {} 48 inline map (const_iterator i1, const_iterator i2) : vector<pair<K,V> >() { insert (i1, i2); } 88 /// Returns the pair< [all...] |
H A D | uspecial.h | 48 //----{ pair }---------------------------------------------------------- 50 /// \brief Reads pair \p p from stream \p is. 52 istream& operator>> (istream& is, pair<T1,T2>& p) 61 /// Writes pair \p p to stream \p os. 63 ostream& operator<< (ostream& os, const pair<T1,T2>& p) argument 72 /// Writes pair \p p to stream \p os. 74 ostringstream& operator<< (ostringstream& os, const pair<T1,T2>& p) argument 82 inline size_t stream_size_of (const pair<T1,T2>& v) argument 88 /// \brief Takes a pair and returns pair [all...] |
H A D | umultiset.h | 73 const pair<const_iterator,const_iterator> fr = equal_range (begin(), end(), v); 99 pair<iterator,iterator> epr = equal_range (begin(), end(), v);
|
H A D | umemory.h | 122 /// \brief Creates a temporary buffer pair from \p p and \p n 124 /// The size in the returned pair is set to 0 if the allocation is unsuccessful. 128 inline pair<T*, ptrdiff_t> make_temporary_buffer (void* p, size_t n, const T* ptype)
|
H A D | ualgo.h | 63 /// Returns the pointer to the first pair of unequal elements. 67 pair<InputIterator,InputIterator> 421 /// Returns pair<lower_bound,upper_bound> 425 inline pair<ForwardIterator,ForwardIterator> equal_range (ForwardIterator first, ForwardIterator last, const LessThanComparable& value) 427 pair<ForwardIterator,ForwardIterator> rv;
|
H A D | upredalgo.h | 64 /// Returns the pointer to the first pair of unequal elements. 69 inline pair<InputIterator,InputIterator> 258 /// Returns pair<lower_bound,upper_bound> 263 inline pair<ForwardIterator,ForwardIterator> equal_range (ForwardIterator first, ForwardIterator last, const T& value, StrictWeakOrdering comp) 265 pair<ForwardIterator,ForwardIterator> rv;
|
H A D | uctralgo.h | 429 /// Returns pair<lower_bound,upper_bound> 433 inline pair<typename Container::const_iterator,typename Container::const_iterator> equal_range (const Container& ctr, const LessThanComparable& value) 438 inline pair<typename Container::iterator,typename Container::iterator> equal_range (Container& ctr, const LessThanComparable& value)
|
H A D | utuple.h | 38 typedef pair<iterator,iterator> range_t; 39 typedef pair<const_iterator,const_iterator> const_range_t;
|
/frameworks/base/core/jni/android/graphics/ |
H A D | PathMeasure.cpp | 24 /* We declare an explicit pair, so that we don't have to rely on the java 59 static void setPath(JNIEnv* env, jobject clazz, PathMeasurePair* pair, const SkPath* path, jboolean forceClosed) { argument 61 pair->fPath.reset(); 63 pair->fPath = *path; 65 pair->fMeasure.setPath(&pair->fPath, forceClosed); 68 static jfloat getLength(JNIEnv* env, jobject clazz, PathMeasurePair* pair) { argument 69 return SkScalarToFloat(pair->fMeasure.getLength()); 79 static jboolean getPosTan(JNIEnv* env, jobject clazz, PathMeasurePair* pair, jfloat dist, jfloatArray pos, jfloatArray tan) { argument 84 if (!pair 97 getMatrix(JNIEnv* env, jobject clazz, PathMeasurePair* pair, jfloat dist, SkMatrix* matrix, int flags) argument 102 getSegment(JNIEnv* env, jobject clazz, PathMeasurePair* pair, jfloat startF, jfloat stopF, SkPath* dst, jboolean startWithMoveTo) argument 107 isClosed(JNIEnv* env, jobject clazz, PathMeasurePair* pair) argument 111 nextContour(JNIEnv* env, jobject clazz, PathMeasurePair* pair) argument 115 destroy(JNIEnv* env, jobject clazz, PathMeasurePair* pair) argument [all...] |
H A D | Region.cpp | 196 static void RegionIter_destructor(JNIEnv* env, jobject, RgnIterPair* pair) argument 198 SkASSERT(pair); 199 delete pair; 202 static jboolean RegionIter_next(JNIEnv* env, jobject, RgnIterPair* pair, jobject rectObject) argument 205 SkASSERT(pair); 208 if (!pair->fIter.done()) { 209 GraphicsJNI::irect_to_jrect(pair->fIter.rect(), env, rectObject); 210 pair->fIter.next();
|
H A D | BitmapFactory.cpp | 120 AutoDecoderCancel* pair = gAutoDecoderCancel; local 121 while (pair != NULL) { 122 if (pair->fJOptions == joptions) { 123 pair->fDecoder->cancelDecode(); 126 pair = pair->fNext;
|
/frameworks/base/core/java/android/util/ |
H A D | DebugUtils.java | 72 String[] pair = selectors[i].split("="); 79 pair[0].substring(0, 1).toUpperCase() + 80 pair[0].substring(1), 89 value.toString() : "null").matches(pair[1]);
|
/frameworks/base/core/java/android/webkit/ |
H A D | CertTool.java | 50 KeyPair pair = generator.genKeyPair(); 53 MD5_WITH_RSA, pair.getPublic()); 54 request.sign(pair.getPrivate()); 57 Credentials.getInstance().install(context, pair);
|
/frameworks/base/media/java/android/media/ |
H A D | ExifInterface.java | 338 String [] pair; 339 pair = parts[0].split("/"); 340 int degrees = (int) (Float.parseFloat(pair[0].trim()) 341 / Float.parseFloat(pair[1].trim())); 343 pair = parts[1].split("/"); 344 int minutes = (int) ((Float.parseFloat(pair[0].trim()) 345 / Float.parseFloat(pair[1].trim()))); 347 pair = parts[2].split("/"); 348 float seconds = Float.parseFloat(pair[0].trim()) 349 / Float.parseFloat(pair[ [all...] |
/frameworks/base/keystore/java/android/security/ |
H A D | Credentials.java | 83 public void install(Context context, KeyPair pair) { argument 86 intent.putExtra(PRIVATE_KEY, pair.getPrivate().getEncoded()); 87 intent.putExtra(PUBLIC_KEY, pair.getPublic().getEncoded());
|
/frameworks/base/tests/DumpRenderTree/assets/ |
H A D | run_reliability_tests.py | 74 pair = line.split("|") 75 if len(pair) != 2: 78 if pair[0] not in load_times: 79 load_times[pair[0]] = [] 81 pair[1] = int(pair[1]) 85 load_times[pair[0]].append(pair[1])
|
/frameworks/base/include/utils/ |
H A D | KeyedVector.h | 159 key_value_pair_t<KEY,VALUE> pair(key, value); 160 mVector.remove(pair); 161 return mVector.add(pair);
|
/frameworks/base/media/libmedia/ |
H A D | AudioSystem.cpp | 802 char *pair = strtok(str, ";"); local 803 while (pair != NULL) { 804 if (strlen(pair) != 0) { 805 size_t eqIdx = strcspn(pair, "="); 806 String8 key = String8(pair, eqIdx); 808 if (eqIdx == strlen(pair)) { 811 value = String8(pair + eqIdx + 1); 819 LOGV("AudioParameter() cstor empty key value pair"); 821 pair = strtok(NULL, ";");
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
H A D | IccProvider.java | 398 String[] pair = param.split("="); 400 if (pair.length != 2) { 405 String key = pair[0].trim(); 406 String val = pair[1].trim();
|
/frameworks/base/tools/localize/ |
H A D | localize.cpp | 298 vector<pair<string,XLIFFFile*> > xliffs; 387 xliffs.push_back(pair<string,XLIFFFile*>(filename.str(), xliff)); 399 for (vector<pair<string,XLIFFFile*> >::iterator it = xliffs.begin(); it != xliffs.end(); it++) {
|
/frameworks/base/core/java/android/hardware/ |
H A D | Camera.java | 1002 String pair = get(KEY_PREVIEW_SIZE); 1003 return strToSize(pair); 1193 String pair = get(KEY_PICTURE_SIZE); 1194 return strToSize(pair);
|