Searched refs:num (Results 1 - 25 of 132) sorted by relevance

123456

/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
H A Dutil.c37 Word32 num = (Word32)L; local
38 while (num > 0) {
40 --num;
57 Word32 temp1,temp2,num; local
66 num = (Word32)(L>>1);
67 while (num > 0) {
72 --num;
H A Dweight_a.c35 Word32 num = m - 1, fac; local
41 }while(--num != 0);
H A Dhp400.c66 Word32 num; local
73 num = (Word32)lg;
94 }while(--num !=0);
H A Dhp50.c67 Word32 num; local
75 num = (Word32)lg;
94 }while(--num !=0);
/frameworks/native/opengl/tests/gl_perf/
H A Dfilltest.cpp45 for (uint32_t num = 0; num < gFragmentTestCount; num++) {
46 doSingleTest(num, 2);
47 if (gFragmentTests[num]->texCount) {
48 doSingleTest(num, 1);
/frameworks/native/opengl/libs/tools/
H A 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/
H A DSkipCutBuffer.cpp128 void SkipCutBuffer::write(const char *src, size_t num) { argument
136 if (available < num) {
137 int32_t newcapacity = mCapacity + (num - available);
147 if (copyfirst > num) copyfirst = num;
150 num -= copyfirst;
155 if (num) {
156 memcpy(mCutBuffer, src, num);
157 mWriteHead += num;
162 size_t SkipCutBuffer::read(char *dst, size_t num) { argument
[all...]
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/
H A DTimeZoneFilterTypeAdapter.java203 int num = parseNum(prefixString, startParsePosition);
204 if (num != Integer.MIN_VALUE) {
207 handleSearchByGmt(filtered, num, positiveOnly);
302 private void handleSearchByGmt(ArrayList<FilterTypeResult> filtered, int num, argument
306 if (num >= 0) {
307 if (num == 1) {
316 if (mTimeZoneData.hasTimeZonesInHrOffset(num)) {
317 r = new FilterTypeResult(FILTER_TYPE_GMT, "GMT+" + num, num);
320 num *
[all...]
/frameworks/base/libs/hwui/utils/
H A DFatVector.h62 T* allocate(size_t num, const void* = 0) { argument
63 if (!mAllocation.inUse && num <= SIZE) {
67 return (T*) malloc(num * sizeof(T));
71 void deallocate(pointer p, size_t num) { argument
/frameworks/av/media/libstagefright/foundation/
H A DADebug.cpp161 uint64_t num = 0; // it is okay for this number to overflow
166 num = num * 10 + (c - '0');
168 num = num * 26 + (c - 'a');
170 num = num * 26 + (c - 'A');
172 num = num * 256 + c;
175 serialNum = num;
[all...]
/frameworks/av/media/libstagefright/codecs/avc/common/src/
H A Dreflist.cpp407 void SortPicByPicNum(AVCPictureData *data[], int num) argument
412 for (i = 0; i < num - 1; i++)
414 for (j = i + 1; j < num; j++)
429 void SortPicByPicNumLongTerm(AVCPictureData *data[], int num) argument
434 for (i = 0; i < num - 1; i++)
436 for (j = i + 1; j < num; j++)
452 void SortFrameByFrameNumWrap(AVCFrameStore *data[], int num) argument
457 for (i = 0; i < num - 1; i++)
459 for (j = i + 1; j < num; j++)
474 void SortFrameByLTFrameIdx(AVCFrameStore *data[], int num) argument
496 SortPicByPOC(AVCPictureData *data[], int num, int descending) argument
535 SortPicByLTPicNum(AVCPictureData *data[], int num) argument
557 SortFrameByPOC(AVCFrameStore *data[], int num, int descending) argument
[all...]
/frameworks/av/include/media/stagefright/
H A DSkipCutBuffer.h49 void write(const char *src, size_t num);
50 size_t read(char *dst, size_t num);
/frameworks/base/packages/SettingsLib/tests/src/com/android/settingslib/wifi/
H A DAccessPointTest.java83 private void verifyOnLevelChangedCallback(int num) { argument
85 Mockito.verify(mAccessPointListener, Mockito.atLeast(num))
90 private void verifyOnAccessPointsCallback(int num) { argument
92 Mockito.verify(mAccessPointListener, Mockito.atLeast(num))
/frameworks/compile/mclinker/lib/Target/Mips/
H A DMipsGOTPLT.h30 uint64_t getEntryAddr(size_t num) const;
H A DMipsGOTPLT.cpp50 uint64_t MipsGOTPLT::getEntryAddr(size_t num) const {
51 return addr() + (MipsGOTPLT0Num + num) * GOTPLTEntry::EntrySize;
/frameworks/base/core/jni/
H A Dandroid_util_StringBlock.cpp113 int num = 0; local
115 num++;
119 if (num == 0) {
123 jintArray array = env->NewIntArray((num*sizeof(ResStringPool_span))/sizeof(jint));
128 num = 0;
132 num*numInts, numInts,
135 num++;
/frameworks/av/media/libstagefright/codecs/aacenc/src/
H A Dtransform.c42 static void Shuffle(int *buf, int num, const unsigned char* bitTab) argument
49 part1 = buf + num;
73 static void Radix4First(int *buf, int num) argument
78 for (; num != 0; num--)
108 static void Radix8First(int *buf, int num) argument
116 for ( ; num != 0; num--)
188 static void Radix4FFT(int *buf, int num, int bgn, int *twidTab) argument
197 for (num >>
279 PreMDCT(int *buf0, int num, const int *csptr) argument
314 PostMDCT(int *buf0, int num, const int *csptr) argument
[all...]
/frameworks/base/core/tests/coretests/src/android/database/
H A DDatabaseStatementTest.java93 mDatabase.execSQL("CREATE TABLE test (num INTEGER NOT NULL, str TEXT NOT NULL);");
96 mDatabase.compileStatement("SELECT num FROM test WHERE str = ?");
98 mDatabase.compileStatement("SELECT str FROM test WHERE num = ?");
130 mDatabase.execSQL("CREATE TABLE test (num INTEGER);");
131 SQLiteStatement statement = mDatabase.compileStatement("INSERT INTO test (num) VALUES (?)");
140 int numCol = c.getColumnIndexOrThrow("num");
143 long num = c.getLong(numCol);
144 assertEquals(i, num);
152 mDatabase.execSQL("CREATE TABLE test (num TEXT);");
153 SQLiteStatement statement = mDatabase.compileStatement("INSERT INTO test (num) VALUE
[all...]
/frameworks/base/media/java/android/media/
H A DUtils.java149 private static Rational scaleRatio(Rational ratio, int num, int den) { argument
150 int common = gcd(num, den);
151 num /= common;
154 (int)(ratio.getNumerator() * (double)num), // saturate to int
158 static Range<Rational> scaleRange(Range<Rational> range, int num, int den) { argument
159 if (num == den) {
163 scaleRatio(range.getLower(), num, den),
164 scaleRatio(range.getUpper(), num, den));
173 static int divUp(int num, int den) { argument
174 return (num
177 divUp(long num, long den) argument
[all...]
/frameworks/base/tests/LargeAssetTest/src/com/android/largeassettest/
H A DLargeAssetTest.java74 int num = is.read(buf, 0, 4);
75 if (num != 4) {
76 Log.e(TAG, "Wanted 4 bytes but read " + num);
/frameworks/base/core/java/android/view/
H A DViewStructure.java235 public abstract void setChildCount(int num); argument
239 * <var>num</var> children beyond what was last set by {@link #setChildCount}
243 * @param num The number of new children to add.
246 public abstract int addChildCount(int num); argument
/frameworks/ml/bordeaux/learning/stochastic_linear_ranker/native/
H A Dlearning_rate_controller-inl.h47 void SetIterationNumber(uint64 num) { argument
48 iteration_num_ = num;
/frameworks/native/libs/binder/tests/
H A DbinderThroughputTest.cpp161 String16 generateServiceName(int num) argument
164 snprintf(num_str, sizeof(num_str), "%d", num);
170 int num,
179 serviceMgr->addService(generateServiceName(num), service);
181 srand(num);
186 cout << "Created BinderWorker" << num << endl;
190 if (num == i)
209 cout << "thread " << num << " failed " << ret << "i : " << i << endl;
224 Pipe make_worker(int num, int iterations, int worker_count) argument
233 worker_fx(num, worker_coun
169 worker_fx( int num, int worker_count, int iterations, Pipe p) argument
[all...]
/frameworks/native/opengl/tests/hwc/
H A DhwcCommit.cpp449 // Start dimension num overlays
566 uint32_t num; local
572 num = numOverlapping(backgroundFormat, foregroundFormat,
574 measPtr->overlapBlendNone.push_back(num);
576 num = numOverlapping(backgroundFormat, foregroundFormat,
578 measPtr->overlapBlendPremult.push_back(num);
580 num = numOverlapping(backgroundFormat, foregroundFormat,
582 measPtr->overlapBlendCoverage.push_back(num);
662 uint32_t num = numOverlays(rectList); local
663 if (num > ma
684 uint32_t num = numOverlays(rectList); local
709 uint32_t num = numOverlays(rectList); local
731 uint32_t num = numOverlays(rectList); local
755 uint32_t num = numOverlays(rectList); local
779 uint32_t num = numOverlays(rectList); local
802 uint32_t num = numOverlays(rectList); local
837 uint32_t num = numOverlays(rectList); local
872 uint32_t num = numOverlays(rectList); local
886 uint32_t num = numOverlays(rectList); local
918 uint32_t num = numOverlays(rectList); local
937 uint32_t num = numOverlays(rectList); local
956 uint32_t num = numOverlays(rectList); local
975 uint32_t num = numOverlays(rectList); local
1009 uint32_t num = numOverlays(rectList); local
1044 uint32_t num = numOverlays(rectList); local
1060 uint32_t num = numOverlays(rectList); local
1148 uint32_t num = numOverlays(rectList); local
1247 uint32_t num = numOverlays(rectList); local
1301 uint32_t num = numOverlays(rectList); local
[all...]
/frameworks/av/media/libstagefright/codecs/avc/common/include/
H A Davclib_common.h497 \param "num" "Size of the array."
500 void SortPicByPicNum(AVCPictureData *data[], int num);
506 \param "num" "Size of the array."
509 void SortPicByPicNumLongTerm(AVCPictureData *data[], int num);
515 \param "num" "Size of the array."
518 void SortFrameByFrameNumWrap(AVCFrameStore *data[], int num);
524 \param "num" "Size of the array."
527 void SortFrameByLTFrameIdx(AVCFrameStore *data[], int num);
533 \param "num" "Size of the array."
536 void SortPicByPOC(AVCPictureData *data[], int num, in
[all...]

Completed in 7811 milliseconds

123456