/frameworks/native/opengl/libs/tools/ |
D | gltracegen | 40 for (my $num = 0; $num < $len; $num++) { 41 if ($args[$num] ne "void") { 52 for (my $num = 0; $num < $len; $num++) { 53 if ($args[$num] ne "void") { 54 if ($num > 0) { 64 if ($args[$num] =~ /(\S+\s)+\**\s*([\w]+)/) { 70 for (my $num = 0; $num < $len; $num++) { 71 if ($args[$num] ne "void") { 79 my $arg = $args[$num];
|
D | glapigen | 54 for (my $num = 0; $num < $len; $num++) { 55 if ($args[$num] ne "void") { 64 if ($args[$num] =~ /(\S+\s)+\**\s*([\w]+)/) {
|
/frameworks/av/media/libstagefright/ |
D | SkipCutBuffer.cpp | 99 void SkipCutBuffer::write(const char *src, size_t num) { in write() argument 107 if (available < num) { in write() 108 int32_t newcapacity = mCapacity + (num - available); in write() 118 if (copyfirst > num) copyfirst = num; in write() 121 num -= copyfirst; in write() 126 if (num) { in write() 127 memcpy(mCutBuffer, src, num); in write() 128 mWriteHead += num; in write() 133 size_t SkipCutBuffer::read(char *dst, size_t num) { in read() argument 141 if (available < int32_t(num)) { in read() [all …]
|
/frameworks/native/include/utils/ |
D | SortedVector.h | 127 virtual void do_construct(void* storage, size_t num) const; 128 virtual void do_destroy(void* storage, size_t num) const; 129 virtual void do_copy(void* dest, const void* from, size_t num) const; 130 virtual void do_splat(void* dest, const void* item, size_t num) const; 131 virtual void do_move_forward(void* dest, const void* from, size_t num) const; 132 virtual void do_move_backward(void* dest, const void* from, size_t num) const; 243 void SortedVector<TYPE>::do_construct(void* storage, size_t num) const { 244 construct_type( reinterpret_cast<TYPE*>(storage), num ); 248 void SortedVector<TYPE>::do_destroy(void* storage, size_t num) const { 249 destroy_type( reinterpret_cast<TYPE*>(storage), num ); [all …]
|
D | VectorImpl.h | 101 virtual void do_construct(void* storage, size_t num) const = 0; 102 virtual void do_destroy(void* storage, size_t num) const = 0; 103 virtual void do_copy(void* dest, const void* from, size_t num) const = 0; 104 virtual void do_splat(void* dest, const void* item, size_t num) const = 0; 105 virtual void do_move_forward(void* dest, const void* from, size_t num) const = 0; 106 virtual void do_move_backward(void* dest, const void* from, size_t num) const = 0; 122 inline void _do_construct(void* storage, size_t num) const; 123 inline void _do_destroy(void* storage, size_t num) const; 124 inline void _do_copy(void* dest, const void* from, size_t num) const; 125 inline void _do_splat(void* dest, const void* item, size_t num) const; [all …]
|
D | Vector.h | 195 virtual void do_construct(void* storage, size_t num) const; 196 virtual void do_destroy(void* storage, size_t num) const; 197 virtual void do_copy(void* dest, const void* from, size_t num) const; 198 virtual void do_splat(void* dest, const void* item, size_t num) const; 199 virtual void do_move_forward(void* dest, const void* from, size_t num) const; 200 virtual void do_move_backward(void* dest, const void* from, size_t num) const; 382 void Vector<TYPE>::do_construct(void* storage, size_t num) const { 383 construct_type( reinterpret_cast<TYPE*>(storage), num ); 387 void Vector<TYPE>::do_destroy(void* storage, size_t num) const { 388 destroy_type( reinterpret_cast<TYPE*>(storage), num ); [all …]
|
/frameworks/native/opengl/tests/gl_perf/ |
D | filltest.cpp | 45 for (uint32_t num = 0; num < gFragmentTestCount; num++) { in doTest() local 46 doSingleTest(num, 2); in doTest() 47 if (gFragmentTests[num]->texCount) { in doTest() 48 doSingleTest(num, 1); in doTest()
|
/frameworks/base/libs/hwui/utils/ |
D | SortedList.h | 96 virtual void do_construct(void* storage, size_t num) const; 97 virtual void do_destroy(void* storage, size_t num) const; 98 virtual void do_copy(void* dest, const void* from, size_t num) const; 99 virtual void do_splat(void* dest, const void* item, size_t num) const; 100 virtual void do_move_forward(void* dest, const void* from, size_t num) const; 101 virtual void do_move_backward(void* dest, const void* from, size_t num) const; 205 void SortedList<TYPE>::do_construct(void* storage, size_t num) const { in do_construct() argument 206 construct_type(reinterpret_cast<TYPE*> (storage), num); in do_construct() 210 void SortedList<TYPE>::do_destroy(void* storage, size_t num) const { in do_destroy() argument 211 destroy_type(reinterpret_cast<TYPE*> (storage), num); in do_destroy() [all …]
|
/frameworks/base/media/java/android/drm/mobile1/ |
D | DrmRightsManager.java | 148 int num = nativeGetNumOfRights(); in getRightsList() local 150 if (JNI_DRM_FAILURE == num) in getRightsList() 153 if (num > 0) { in getRightsList() 154 DrmRights[] rightsArray = new DrmRights[num]; in getRightsList() 157 for (i = 0; i < num; i++) in getRightsList() 161 num = nativeGetRightsList(rightsArray, num); in getRightsList() 163 if (JNI_DRM_FAILURE == num) in getRightsList() 167 for (i = 0; i < num; i++) in getRightsList()
|
/frameworks/av/media/libstagefright/codecs/avc/common/src/ |
D | reflist.cpp | 407 void SortPicByPicNum(AVCPictureData *data[], int num) in SortPicByPicNum() argument 412 for (i = 0; i < num - 1; i++) in SortPicByPicNum() 414 for (j = i + 1; j < num; j++) in SortPicByPicNum() 429 void SortPicByPicNumLongTerm(AVCPictureData *data[], int num) in SortPicByPicNumLongTerm() argument 434 for (i = 0; i < num - 1; i++) in SortPicByPicNumLongTerm() 436 for (j = i + 1; j < num; j++) in SortPicByPicNumLongTerm() 452 void SortFrameByFrameNumWrap(AVCFrameStore *data[], int num) in SortFrameByFrameNumWrap() argument 457 for (i = 0; i < num - 1; i++) in SortFrameByFrameNumWrap() 459 for (j = i + 1; j < num; j++) in SortFrameByFrameNumWrap() 474 void SortFrameByLTFrameIdx(AVCFrameStore *data[], int num) in SortFrameByLTFrameIdx() argument [all …]
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
D | util.c | 37 Word32 num = (Word32)L; in Set_zero() local 40 }while(--num !=0); in Set_zero() 56 Word32 temp1,temp2,num; in Copy() local 62 num = (Word32)(L>>1); in Copy() 70 }while(--num!=0); in Copy()
|
D | hp400.c | 66 Word32 num; in HP400_12k8() local 73 num = (Word32)lg; in HP400_12k8() 94 }while(--num !=0); in HP400_12k8()
|
D | hp50.c | 67 Word32 num; in HP50_12k8() local 75 num = (Word32)lg; in HP50_12k8() 94 }while(--num !=0); in HP50_12k8()
|
D | weight_a.c | 35 Word32 num = m - 1, fac; in Weight_a() local 41 }while(--num != 0); in Weight_a()
|
/frameworks/native/opengl/tests/hwc/ |
D | hwcCommit.cpp | 569 uint32_t num; in main() local 575 num = numOverlapping(backgroundFormat, foregroundFormat, in main() 577 measPtr->overlapBlendNone.push_back(num); in main() 579 num = numOverlapping(backgroundFormat, foregroundFormat, in main() 581 measPtr->overlapBlendPremult.push_back(num); in main() 583 num = numOverlapping(backgroundFormat, foregroundFormat, in main() 585 measPtr->overlapBlendCoverage.push_back(num); in main() 665 uint32_t num = numOverlays(rectList); in maxOverlays() local 666 if (num > max) { max = num; } in maxOverlays() 687 uint32_t num = numOverlays(rectList); in supportedTransforms() local [all …]
|
/frameworks/av/media/libstagefright/codecs/aacenc/src/ |
D | transform.c | 42 static void Shuffle(int *buf, int num, const unsigned char* bitTab) in Shuffle() argument 49 part1 = buf + num; in Shuffle() 73 static void Radix4First(int *buf, int num) in Radix4First() argument 78 for (; num != 0; num--) in Radix4First() 108 static void Radix8First(int *buf, int num) in Radix8First() argument 116 for ( ; num != 0; num--) in Radix8First() 188 static void Radix4FFT(int *buf, int num, int bgn, int *twidTab) in Radix4FFT() argument 197 for (num >>= 2; num != 0; num >>= 2) in Radix4FFT() 202 for (i = num; i != 0; i--) in Radix4FFT() 279 static void PreMDCT(int *buf0, int num, const int *csptr) in PreMDCT() argument [all …]
|
/frameworks/base/core/tests/coretests/src/android/database/ |
D | DatabaseStatementTest.java | 143 long num = c.getLong(numCol); in testStatementLongBinding() local 144 assertEquals(i, num); in testStatementLongBinding() 165 String num = c.getString(numCol); in testStatementStringBinding() local 166 assertEquals(Long.toHexString(i), num); in testStatementStringBinding() local 210 String num = c.getString(numCol); in testSimpleStringBinding() local 211 assertEquals(Integer.toHexString(0), num); in testSimpleStringBinding() 236 long num = c.getLong(numCol); in testStatementMultipleBindings() local 238 assertEquals(i, num); in testStatementMultipleBindings() 271 long num = c.getLong(numCol); in run() local 273 assertEquals(i, num); in run() [all …]
|
/frameworks/base/core/jni/ |
D | android_util_StringBlock.cpp | 112 int num = 0; in android_content_StringBlock_nativeGetStyle() local 114 num++; in android_content_StringBlock_nativeGetStyle() 118 if (num == 0) { in android_content_StringBlock_nativeGetStyle() 122 jintArray array = env->NewIntArray((num*sizeof(ResStringPool_span))/sizeof(jint)); in android_content_StringBlock_nativeGetStyle() 127 num = 0; in android_content_StringBlock_nativeGetStyle() 131 num*numInts, numInts, in android_content_StringBlock_nativeGetStyle() 134 num++; in android_content_StringBlock_nativeGetStyle()
|
/frameworks/av/media/libstagefright/codecs/avc/common/include/ |
D | avclib_common.h | 500 void SortPicByPicNum(AVCPictureData *data[], int num); 509 void SortPicByPicNumLongTerm(AVCPictureData *data[], int num); 518 void SortFrameByFrameNumWrap(AVCFrameStore *data[], int num); 527 void SortFrameByLTFrameIdx(AVCFrameStore *data[], int num); 536 void SortPicByPOC(AVCPictureData *data[], int num, int descending); 545 void SortPicByLTPicNum(AVCPictureData *data[], int num); 554 void SortFrameByPOC(AVCFrameStore *data[], int num, int descending);
|
/frameworks/native/libs/utils/ |
D | VectorImpl.cpp | 462 void VectorImpl::_do_construct(void* storage, size_t num) const in _do_construct() 465 do_construct(storage, num); in _do_construct() 469 void VectorImpl::_do_destroy(void* storage, size_t num) const in _do_destroy() 472 do_destroy(storage, num); in _do_destroy() 476 void VectorImpl::_do_copy(void* dest, const void* from, size_t num) const in _do_copy() 479 do_copy(dest, from, num); in _do_copy() 481 memcpy(dest, from, num*itemSize()); in _do_copy() 485 void VectorImpl::_do_splat(void* dest, const void* item, size_t num) const { in _do_splat() 486 do_splat(dest, item, num); in _do_splat() 489 void VectorImpl::_do_move_forward(void* dest, const void* from, size_t num) const { in _do_move_forward() [all …]
|
/frameworks/native/opengl/libagl/ |
D | array.cpp | 540 GLsizei num = count > vcs ? vcs : count; in drawPrimitivesPoints() local 542 c->arrays.compileElements(c, v, first, num); in drawPrimitivesPoints() 543 first += num; in drawPrimitivesPoints() 544 count -= num; in drawPrimitivesPoints() 552 num--; in drawPrimitivesPoints() 553 } while (num); in drawPrimitivesPoints() 578 GLsizei num = count > vcs ? vcs : count; in drawPrimitivesLineStrip() local 579 c->arrays.compileElements(c, v, first, num); in drawPrimitivesLineStrip() 580 first += num; in drawPrimitivesLineStrip() 581 count -= num; in drawPrimitivesLineStrip() [all …]
|
/frameworks/base/services/java/com/android/server/am/ |
D | TransferPipe.java | 165 void closeFd(int num) { in closeFd() argument 166 if (mFds[num] != null) { in closeFd() 167 if (DEBUG) Slog.i(TAG, "Closing: " + mFds[num]); in closeFd() 169 mFds[num].close(); in closeFd() 172 mFds[num] = null; in closeFd()
|
/frameworks/base/media/libdrm/mobile1/src/xml/ |
D | xml_tinyparser.c | 607 int32_t num, len; in WBXML_DOM_Init() local 611 if (UINTVAR_INVALID == (num = WBXML_GetUintVar(buffer, &len))) in WBXML_DOM_Init() 614 pWbxml->publicid = num; in WBXML_DOM_Init() 615 if (UINTVAR_INVALID == (num = WBXML_GetUintVar(buffer, &len))) in WBXML_DOM_Init() 618 pWbxml->charset = num; in WBXML_DOM_Init() 619 if (UINTVAR_INVALID == (num = WBXML_GetUintVar(buffer, &len))) in WBXML_DOM_Init() 623 pWbxml->strTableLen = num; in WBXML_DOM_Init() 624 buffer += num; in WBXML_DOM_Init() 674 int32_t num, len; in WBXML_DOM_GetUIntVar() local 676 num = WBXML_GetUintVar(pWbxml->curPtr, &len); in WBXML_DOM_GetUIntVar() [all …]
|
/frameworks/base/services/java/com/android/server/ |
D | IntentResolverOld.java | 365 int num = 0; in register_mime_types() local 368 num++; in register_mime_types() 405 return num; in register_mime_types() 414 int num = 0; in unregister_mime_types() local 417 num++; in unregister_mime_types() 441 return num; in unregister_mime_types() 450 int num = 0; in register_intent_filter() local 453 num++; in register_intent_filter() 463 return num; in register_intent_filter() 472 int num = 0; in unregister_intent_filter() local [all …]
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
D | vlc_decode.cpp | 1475 int count, len, num[2] = {0, 0} /* 01/30/01 */; in RvlcDecTCOEFInter() local 1508 num[0]++; /* number of zeros in the middle */ in RvlcDecTCOEFInter() 1521 num[count-1]++; /* number of ones in the middle */ in RvlcDecTCOEFInter() 1537 if (num[1] > 10 || num[0] > 11) /* invalid RVLC code */ in RvlcDecTCOEFInter() 1541 tab2 = RvlcDCTtabInter + 146 + (num[0] << 1) + (code & 1); in RvlcDecTCOEFInter() 1543 tab2 = RvlcDCTtabInter + ptrRvlcTab[num[1]] + (num[0] << 1) + (code & 1); in RvlcDecTCOEFInter() 1558 int count, len, num[2] = {0, 0} /* 01/30/01 */; in RvlcDecTCOEFIntra() local 1591 num[0]++; /* number of zeros in the middle */ in RvlcDecTCOEFIntra() 1604 num[count-1]++; /* number of ones in the middle */ in RvlcDecTCOEFIntra() 1620 if (num[1] > 10 || num[0] > 11) /* invalid RVLC code */ in RvlcDecTCOEFIntra() [all …]
|