Home
last modified time | relevance | path

Searched refs:num (Results 1 – 25 of 128) sorted by relevance

123456

/frameworks/native/opengl/libs/tools/
Dgltracegen40 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];
Dglapigen54 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/
DSkipCutBuffer.cpp100 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/
Dfilltest.cpp45 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/
DTimeZoneFilterTypeAdapter.java203 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/
DSortedList.h96 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/
Dreflist.cpp407 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/
Dutil.c37 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()
Dhp400.c66 Word32 num; in HP400_12k8() local
73 num = (Word32)lg; in HP400_12k8()
94 }while(--num !=0); in HP400_12k8()
Dhp50.c67 Word32 num; in HP50_12k8() local
75 num = (Word32)lg; in HP50_12k8()
94 }while(--num !=0); in HP50_12k8()
Dweight_a.c35 Word32 num = m - 1, fac; in Weight_a() local
41 }while(--num != 0); in Weight_a()
/frameworks/native/opengl/tests/hwc/
DhwcCommit.cpp568 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/
Dtransform.c42 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/
Dandroid_util_StringBlock.cpp113 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/
DDatabaseStatementTest.java143 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/
DUtils.java151 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/
Davclib_common.h500 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/
Darray.cpp544 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/
DLargeAssetTest.java74 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/
DRational.java338 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/
DTransferPipe.java165 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/
DSkipCutBuffer.h48 void write(const char *src, size_t num);
49 size_t read(char *dst, size_t num);
/frameworks/base/wifi/java/android/net/wifi/
DRttManager.java139 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/
Dvlc_decode.cpp1475 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/
DAudioResamplerFirGen.h324 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;

123456