/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 | 100 void SkipCutBuffer::write(const char *src, size_t num) { in write() argument 108 if (available < num) { in write() 109 int32_t newcapacity = mCapacity + (num - available); in write() 119 if (copyfirst > num) copyfirst = num; in write() 122 num -= copyfirst; in write() 127 if (num) { in write() 128 memcpy(mCutBuffer, src, num); in write() 129 mWriteHead += num; in write() 134 size_t SkipCutBuffer::read(char *dst, size_t num) { in read() argument 142 if (available < int32_t(num)) { in read() [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/opt/timezonepicker/src/com/android/timezonepicker/ |
D | TimeZoneFilterTypeAdapter.java | 203 int num = parseNum(prefixString, startParsePosition); in performFiltering() local 204 if (num != Integer.MIN_VALUE) { in performFiltering() 207 handleSearchByGmt(filtered, num, positiveOnly); in performFiltering() 302 private void handleSearchByGmt(ArrayList<FilterTypeResult> filtered, int num, in handleSearchByGmt() argument 306 if (num >= 0) { in handleSearchByGmt() 307 if (num == 1) { in handleSearchByGmt() 316 if (mTimeZoneData.hasTimeZonesInHrOffset(num)) { in handleSearchByGmt() 317 r = new FilterTypeResult(FILTER_TYPE_GMT, "GMT+" + num, num); in handleSearchByGmt() 320 num *= -1; in handleSearchByGmt() 323 if (!positiveOnly && num != 0) { in handleSearchByGmt() [all …]
|
/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/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 | 568 uint32_t num; in main() local 574 num = numOverlapping(backgroundFormat, foregroundFormat, in main() 576 measPtr->overlapBlendNone.push_back(num); in main() 578 num = numOverlapping(backgroundFormat, foregroundFormat, in main() 580 measPtr->overlapBlendPremult.push_back(num); in main() 582 num = numOverlapping(backgroundFormat, foregroundFormat, in main() 584 measPtr->overlapBlendCoverage.push_back(num); in main() 664 uint32_t num = numOverlays(rectList); in maxOverlays() local 665 if (num > max) { max = num; } in maxOverlays() 686 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/jni/ |
D | android_util_StringBlock.cpp | 113 int num = 0; in android_content_StringBlock_nativeGetStyle() local 115 num++; in android_content_StringBlock_nativeGetStyle() 119 if (num == 0) { in android_content_StringBlock_nativeGetStyle() 123 jintArray array = env->NewIntArray((num*sizeof(ResStringPool_span))/sizeof(jint)); in android_content_StringBlock_nativeGetStyle() 128 num = 0; in android_content_StringBlock_nativeGetStyle() 132 num*numInts, numInts, in android_content_StringBlock_nativeGetStyle() 135 num++; in android_content_StringBlock_nativeGetStyle()
|
/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/media/java/android/media/ |
D | Utils.java | 151 private static Rational scaleRatio(Rational ratio, int num, int den) { 152 int common = gcd(num, den); 153 num /= common; 156 (int)(ratio.getNumerator() * (double)num), // saturate to int 160 static Range<Rational> scaleRange(Range<Rational> range, int num, int den) { 161 if (num == den) { 165 scaleRatio(range.getLower(), num, den), 166 scaleRatio(range.getUpper(), num, den)); 175 static int divUp(int num, int den) { 176 return (num + den - 1) / den; [all …]
|
/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/opengl/libagl/ |
D | array.cpp | 544 GLsizei num = count > vcs ? vcs : count; in drawPrimitivesPoints() local 546 c->arrays.compileElements(c, v, first, num); in drawPrimitivesPoints() 547 first += num; in drawPrimitivesPoints() 548 count -= num; in drawPrimitivesPoints() 556 num--; in drawPrimitivesPoints() 557 } while (num); in drawPrimitivesPoints() 582 GLsizei num = count > vcs ? vcs : count; in drawPrimitivesLineStrip() local 583 c->arrays.compileElements(c, v, first, num); in drawPrimitivesLineStrip() 584 first += num; in drawPrimitivesLineStrip() 585 count -= num; in drawPrimitivesLineStrip() [all …]
|
/frameworks/base/tests/LargeAssetTest/src/com/android/largeassettest/ |
D | LargeAssetTest.java | 74 int num = is.read(buf, 0, 4); in doInBackground() local 75 if (num != 4) { in doInBackground() 76 Log.e(TAG, "Wanted 4 bytes but read " + num); in doInBackground()
|
/frameworks/base/core/java/android/util/ |
D | Rational.java | 338 double num = mNumerator; in doubleValue() local 341 return num / den; in doubleValue() 355 float num = mNumerator; in floatValue() local 358 return num / den; in floatValue()
|
/frameworks/base/core/java/com/android/internal/os/ |
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/av/include/media/stagefright/ |
D | SkipCutBuffer.h | 48 void write(const char *src, size_t num); 49 size_t read(char *dst, size_t num);
|
/frameworks/base/wifi/java/android/net/wifi/ |
D | RttManager.java | 139 int num = in.readInt(); 141 if (num == 0) { 145 RttParams params[] = new RttParams[num]; 146 for (int i = 0; i < num; i++) { 254 int num = in.readInt(); 256 if (num == 0) { 260 RttResult results[] = new RttResult[num]; 261 for (int i = 0; i < num; i++) {
|
/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 …]
|
/frameworks/av/services/audioflinger/ |
D | AudioResamplerFirGen.h | 324 double num = Poly9(-0.13544938430e9, -0.33153754512e8, 332 return num / den; 344 double num = Poly2(0.415079861746e1, -0.5149092496e1, z); 347 return exp(x) * sqrt(y) * num / den; 372 static inline double I0SqrRat(double x2, double num, double den) { 377 I0Term<6>::value, x2) * num / den; // e < 1.6e-7 379 num *= Poly9(-0.13544938430e9, -0.33153754512e8, 387 return num / den;
|