/frameworks/base/libs/androidfw/ |
H A D | AssetDir.cpp | 42 int lo, hi, cur; 49 cur = (hi + lo) / 2; 50 cmp = strcmp(pVector->itemAt(cur).getFileName(), fileName); 53 return cur; 56 lo = cur + 1; 59 hi = cur -1;
|
/frameworks/av/media/libstagefright/foundation/ |
H A D | AHierarchicalStateMachine.cpp | 53 sp<AState> cur = mState; local 54 while (cur != NULL && !cur->onMessageReceived(msg)) { 59 cur = cur->parentState(); 62 if (cur != NULL) { 77 sp<AState> cur = mState; local 79 A.push(cur); 80 if (cur == NULL) { 83 cur [all...] |
/frameworks/compile/mclinker/lib/MC/ |
H A D | AttributeFactory.cpp | 31 iterator cur = m_AttrSet.begin(); local 33 while(cur != aEnd) { 34 delete (*cur); 35 ++cur; 74 const_iterator cur = m_AttrSet.begin(); local 76 while(cur != aEnd) { 77 if (*(*cur) == pAttr) { 78 m_pLast->change(*cur); 79 return *cur; 81 ++cur; [all...] |
/frameworks/native/libs/binder/ |
H A D | MemoryDealer.cpp | 317 chunk_t* cur = mList.head(); local 320 while (cur) { 323 extra = ( -cur->start & ((pagesize/kMemoryAlign)-1) ) ; 326 if (cur->free && (cur->size >= (size+extra))) { 327 if ((!free_chunk) || (cur->size < free_chunk->size)) { 328 free_chunk = cur; 330 if (cur->size == size) { 334 cur = cur 370 chunk_t* cur = mList.head(); local 433 chunk_t const* cur = mList.head(); local [all...] |
/frameworks/base/core/java/com/android/internal/util/ |
H A D | ArrayUtils.java | 205 public static int[] appendInt(int[] cur, int val) { argument 206 if (cur == null) { 209 final int N = cur.length; 211 if (cur[i] == val) { 212 return cur; 216 System.arraycopy(cur, 0, ret, 0, N); 221 public static int[] removeInt(int[] cur, int val) { argument 222 if (cur == null) { 225 final int N = cur.length; 227 if (cur[ [all...] |
/frameworks/native/libs/utils/ |
H A D | Unicode.cpp | 135 static inline int32_t utf32_at_internal(const char* cur, size_t *num_read) argument 137 const char first_char = *cur; 140 return *cur; 142 cur++; 150 utf32 = (utf32 << 6) + (*cur++ & 0x3F); 199 char *cur = dst; local 202 utf32_codepoint_to_utf8((uint8_t *)cur, *cur_utf32++, len); 203 cur += len; 205 *cur = '\0'; 341 char *cur local 365 const char *cur = src; local 453 const char* cur; local 478 const char* cur = src; local [all...] |
/frameworks/base/core/tests/coretests/src/android/database/ |
H A D | DatabaseGeneralTest.java | 779 Cursor cur = mDatabase.rawQuery("PRAGMA table_info(pragma_test)", null); 780 Assert.assertEquals(5, cur.getCount()); 782 Assert.assertTrue(cur.moveToNext()); 784 cur.getString(TABLE_INFO_PRAGMA_COLUMNNAME_INDEX)); 786 cur.getString(TABLE_INFO_PRAGMA_DEFAULT_INDEX)); 788 Assert.assertTrue(cur.moveToNext()); 790 cur.getString(TABLE_INFO_PRAGMA_COLUMNNAME_INDEX)); 791 Assert.assertNull(cur.getString(TABLE_INFO_PRAGMA_DEFAULT_INDEX)); 793 Assert.assertTrue(cur.moveToNext()); 795 cur [all...] |
/frameworks/base/core/java/android/app/ |
H A D | TabActivity.java | 86 String cur = state.getString("currentTab"); 87 if (cur != null) { 88 mTabHost.setCurrentTabByTag(cur);
|
/frameworks/base/services/java/com/android/server/am/ |
H A D | LaunchWarningWindow.java | 30 public LaunchWarningWindow(Context context, ActivityRecord cur, ActivityRecord next) { argument 51 icon.setImageDrawable(cur.info.applicationInfo.loadIcon(context.getPackageManager())); 54 cur.info.applicationInfo.loadLabel(context.getPackageManager()).toString()));
|
/frameworks/base/packages/WAPPushManager/src/com/android/smspush/ |
H A D | WapPushManager.java | 127 Cursor cur = db.rawQuery(sql, null); 130 if (cur.moveToNext()) { 132 ret.installOrder = cur.getInt(cur.getColumnIndex("install_order")); 133 ret.packageName = cur.getString(cur.getColumnIndex("package_name")); 134 ret.className = cur.getString(cur.getColumnIndex("class_name")); 135 ret.appType = cur.getInt(cur [all...] |
/frameworks/native/libs/ui/ |
H A D | Region.cpp | 261 Rect* cur; member in class:android::Region::rasterizer 264 : bounds(INT_MAX, 0, INT_MIN, 0), storage(reg.mStorage), head(), tail(), cur() { 289 if (cur->top != rect.top) { 291 } else if (cur->right == rect.left) { 292 cur->right = rect.right; 297 cur = span.editArray() + (span.size() - 1); 341 const_iterator cur = reg.begin(); local 343 const_iterator prev = cur; 345 while (cur != tail) { 346 if (cur [all...] |
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
H A D | dct.cpp | 38 Void BlockDCT_AANwSub(Short *out, UChar *cur, UChar *pred, Int width) argument 59 tmp = *((Int*) cur); /* contains 4 pixels */ 73 tmp = *((Int*)(cur + 4)); /* another 4 pixels */ 87 cur += width; 267 Void Block4x4DCT_AANwSub(Short *out, UChar *cur, UChar *pred, Int width) argument 288 tmp = *((Int*) cur); /* contains 4 pixels */ 302 tmp = *((Int*)(cur + 4)); /* another 4 pixels */ 316 cur += width; 473 Void Block2x2DCT_AANwSub(Short *out, UChar *cur, UChar *pred, Int width) argument 494 tmp = *((Int*) cur); /* contain 652 BlockDCT_AANIntra(Short *out, UChar *cur, UChar *dummy2, Int width) argument 863 Block4x4DCT_AANIntra(Short *out, UChar *cur, UChar *dummy2, Int width) argument 1050 Block2x2DCT_AANIntra(Short *out, UChar *cur, UChar *dummy2, Int width) argument 1210 Block1x1DCTwSub(Short *out, UChar *cur, UChar *pred, Int width) argument 1247 Block1x1DCTIntra(Short *out, UChar *cur, UChar *dummy2, Int width) argument [all...] |
H A D | dct.h | 173 //void Block1x1DCTzmv (Short *out,UChar *prev,UChar *cur,UChar *rec,Int lx,Int chroma); 174 void Block1x1DCTwSub(Short *out, UChar *cur, UChar *prev, Int pitch_chroma); 175 void Block1x1DCTIntra(Short *out, UChar *cur, UChar *dummy1, Int pitch_chroma); 177 Void BlockDCT_AANwSub(Short *out, UChar *cur, UChar *prev, Int pitch_chroma); 178 Void Block4x4DCT_AANwSub(Short *out, UChar *cur, UChar *prev, Int pitch_chroma); 179 Void Block2x2DCT_AANwSub(Short *out, UChar *cur, UChar *prev, Int pitch_chroma); 180 //Void BlockDCT_AANzmv(Short *out,UChar *prev,UChar *cur,UChar *rec,Int ColTh,Int lx,Int chroma); 181 //Void Block4x4DCT_AANzmv(Short *out,UChar *prev,UChar *cur,UChar *rec,Int ColTh,Int lx,Int chroma); 182 //Void Block2x2DCT_AANzmv(Short *out,UChar *prev,UChar *cur,UChar *rec,Int ColTh,Int lx,Int chroma); 183 Void BlockDCT_AANIntra(Short *out, UChar *cur, UCha [all...] |
H A D | motion_est.cpp | 75 void MBMotionSearch(VideoEncData *video, UChar *cur, UChar *best_cand[], 78 Int fullsearch(VideoEncData *video, Vol *currVol, UChar *ref, UChar *cur, 80 Int fullsearchBlk(VideoEncData *video, Vol *currVol, UChar *cent, UChar *cur, 91 void PrepareCurMB(VideoEncData *video, UChar *cur); 105 void HTFMPrepareCurMB(VideoEncData *video, HTFM_Stat *htfm_stat, UChar *cur); 156 UChar *cur, *best_cand[5]; local 187 cur = currFrame->yChan; 196 (*ComputeMBSum)(cur + (i << 4), width, mot_mb); 202 cur += (width << 4); 274 cur 674 HTFMPrepareCurMB(VideoEncData *video, HTFM_Stat *htfm_stat, UChar *cur) argument 739 PrepareCurMB(VideoEncData *video, UChar *cur) argument 770 MBMotionSearch(VideoEncData *video, UChar *cur, UChar *best_cand[], Int i0, Int j0, Int type_pred, Int FS_en, Int *hp_guess) argument 1179 fullsearch(VideoEncData *video, Vol *currVol, UChar *prev, UChar *cur, Int *imin, Int *jmin, Int ilow, Int ihigh, Int jlow, Int jhigh) argument 1266 fullsearchBlk(VideoEncData *video, Vol *currVol, UChar *cent, UChar *cur, Int *imin, Int *jmin, Int ilow, Int ihigh, Int jlow, Int jhigh, Int range) argument [all...] |
H A D | me_utils.cpp | 35 void ChooseMode_C(UChar *Mode, UChar *cur, Int lx, Int min_SAD) argument 40 UChar *p = cur; 41 Int *pint = (Int *) cur, temp = 0; 67 p = cur; 313 void ComputeMBSum_C(UChar *cur, Int lx, MOT *mot_mb) argument 320 cInt = (Int*)cur; /* make sure this is word-align */ 321 cInt2 = (Int*)(cur + (lx << 3));
|
H A D | mp4enc_lib.h | 124 void ChooseMode_C(UChar *Mode, UChar *cur, Int lx, Int min_SAD); 125 void ChooseMode_MMX(UChar *Mode, UChar *cur, Int lx, Int min_SAD); 130 void ComputeMBSum_C(UChar *cur, Int lx, MOT *mot_mb); 131 void ComputeMBSum_MMX(UChar *cur, Int lx, MOT *mot_mb); 132 void ComputeMBSum_SSE(UChar *cur, Int lx, MOT *mot_mb); 137 void FindHalfPelMB(VideoEncData *video, UChar *cur, MOT *mot, UChar *ncand, 139 Int FindHalfPelBlk(VideoEncData *video, UChar *cur, MOT *mot, Int sad16, UChar *ncand8[], 170 Int SAD_Blk_PADDING(UChar *ref, UChar *cur, Int dmin, Int lx, void *extra_info); 171 Int SAD_MB_PADDING(UChar *ref, UChar *cur, Int dmin, Int lx, void *extra_info);
|
H A D | findhalfpel.cpp | 65 void FindHalfPelMB(VideoEncData *video, UChar *cur, MOT *mot, UChar *ncand, argument 89 cur = video->currYMB; 135 d = (*(SAD_MB_HalfPel[((yh&1)<<1)+(xh&1)]))(ncand, cur, (dmin << 16) | lx, extra_info); 184 Int FindHalfPelBlk(VideoEncData *video, UChar *cur, MOT *mot, Int sad16, UChar *ncand8[], argument 231 cur8 = cur + ((comp & 1) << 3) + ((comp & 2) << 2) * width ;
|
/frameworks/native/opengl/libagl/ |
H A D | mipmap.cpp | 54 GGLSurface& cur = tex->editMip(level); local 59 uint16_t* dst = (uint16_t*)cur.data; 82 uint16_t* dst = (uint16_t*)cur.data; 102 uint32_t* dst = (uint32_t*)cur.data; 138 uint8_t* dst = (uint8_t*)cur.data; 158 uint16_t* dst = (uint16_t*)cur.data; 185 base = &cur;
|
/frameworks/av/media/libstagefright/codecs/avc/enc/src/ |
H A D | block.cpp | 21 void trans(uint8 *cur, int pitch, uint8 *predBlock, int16 *dataBlock) argument 33 r0 = cur[0] - predBlock[0]; 34 r1 = cur[1] - predBlock[1]; 35 r2 = cur[2] - predBlock[2]; 36 r3 = cur[3] - predBlock[3]; 50 cur += curpitch; 77 int dct_luma(AVCEncObject *encvid, int blkidx, uint8 *cur, uint8 *org, int *coef_cost) argument 236 *cur = r0; 237 *(cur += pitch) = r1; 238 *(cur 263 uint8 *cur; // the same as curL local [all...] |
H A D | avcenc_lib.h | 43 \param "cur" "Pointer to the reconstructed block." 48 int dct_luma(AVCEncObject *encvid, int blkidx, uint8 *cur, uint8 *org, int *coef_cost); 302 bool IntraDecision(int *min_cost, uint8 *cur, int pitch, bool ave); 366 \param "cur" "Pointer to the reconstructed block." 370 int blk_intra4x4_search(AVCEncObject *encvid, int blkidx, uint8 *cur, uint8 *org); 529 void HTFMPrepareCurMB_AVC(AVCEncObject *encvid, HTFM_Stat *htfm_stat, uint8 *cur, int pitch); 535 \param "cur" "Pointer to the original input macroblock." 539 void AVCPrepareCurMB(AVCEncObject *encvid, uint8 *cur, int pitch); 544 \param "cur" "Pointer to the current macroblock in the input frame." 553 void AVCMBMotionSearch(AVCEncObject *encvid, uint8 *cur, uint [all...] |
H A D | motion_est.cpp | 187 bool IntraDecisionABE(int *min_cost, uint8 *cur, int pitch, bool ave) argument 197 out = cur - pitch; 200 temp = out[j] - cur[j]; 205 out = cur - 1; 207 cur -= pitch; 210 temp = *(out += pitch) - *(cur += pitch); 257 uint8 *cur, *best_cand[5]; local 354 cur = currInput->YCbCr[0] + offset; 359 HTFMPrepareCurMB_AVC(encvid, &htfm_stat, cur, pitch); 361 AVCPrepareCurMB(encvid, cur, pitc 742 HTFMPrepareCurMB_AVC(AVCEncObject *encvid, HTFM_Stat *htfm_stat, uint8 *cur, int pitch) argument 806 AVCPrepareCurMB(AVCEncObject *encvid, uint8 *cur, int pitch) argument 955 AVCMBMotionSearch(AVCEncObject *encvid, uint8 *cur, uint8 *best_cand[], int i0, int j0, int type_pred, int FS_en, int *hp_guess) argument 1260 AVCFullSearch(AVCEncObject *encvid, uint8 *prev, uint8 *cur, int *imin, int *jmin, int ilow, int ihigh, int jlow, int jhigh, int cmvx, int cmvy) argument [all...] |
/frameworks/base/core/java/android/os/ |
H A D | Environment.java | 640 File cur = base; 642 if (cur == null) { 643 cur = new File(segment); 645 cur = new File(cur, segment); 648 return cur;
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/ |
H A D | SmsMessage.java | 501 int cur; field in class:SmsMessage.PduParser 509 cur = 0; 531 .calledPartyBCDToString(pdu, cur, len); 538 cur += len; 547 return pdu[cur++] & 0xff; 561 int addressLength = pdu[cur] & 0xff; 565 ret = new GsmSmsAddress(pdu, cur, lengthBytes); 571 cur += lengthBytes; 583 int year = IccUtils.gsmBcdByteToInt(pdu[cur++]); 584 int month = IccUtils.gsmBcdByteToInt(pdu[cur [all...] |
/frameworks/base/core/java/android/preference/ |
H A D | PreferenceActivity.java | 1176 Header findBestMatchingHeader(Header cur, ArrayList<Header> from) { argument 1180 if (cur == oh || (cur.id != HEADER_ID_UNDEFINED && cur.id == oh.id)) { 1186 if (cur.fragment != null) { 1187 if (cur.fragment.equals(oh.fragment)) { 1190 } else if (cur.intent != null) { 1191 if (cur.intent.equals(oh.intent)) { 1194 } else if (cur.title != null) { 1195 if (cur [all...] |
/frameworks/compile/mclinker/include/mcld/Support/ |
H A D | Allocators.h | 218 chunk_type *cur = m_pRoot, *prev; local 219 while (0 != cur) { 221 prev = cur; 222 cur = cur->next;
|