/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 | 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...] |
/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/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/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, ";");
|