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

1234567

/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.cpp41 for (uint32_t num = 0; num < gFragmentTestCount; num++) {
42 doSingleTest(num, 2);
43 if (gFragmentTests[num]->texCount) {
44 doSingleTest(num, 1);
/frameworks/support/recyclerview-selection/src/androidTest/java/androidx/recyclerview/selection/testing/
H A DTestData.java24 public static List<String> createStringData(int num) { argument
25 List<String> items = new ArrayList<>(num);
26 for (int i = 0; i < num; ++i) {
32 public static List<Long> createLongData(int num) { argument
33 List<Long> items = new ArrayList<>(num);
34 for (int i = 0; i < num; ++i) {
/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/include/media/stagefright/foundation/
H A DAUtils.h25 inline static const T divRound(const T &num, const T &den) { argument
26 if ((num >= 0) ^ (den >= 0)) {
27 return (num - den / 2) / den;
29 return (num + den / 2) / den;
33 /* == ceil(num / den). T must be integer type, den must not be 0 */
35 inline static const T divUp(const T &num, const T &den) { argument
37 return (num < 0 ? num + den + 1 : num) / den;
39 return (num <
45 align(const T &num, const U &den) argument
[all...]
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/
H A DAUtils.h25 inline static const T divRound(const T &num, const T &den) { argument
26 if ((num >= 0) ^ (den >= 0)) {
27 return (num - den / 2) / den;
29 return (num + den / 2) / den;
33 /* == ceil(num / den). T must be integer type, den must not be 0 */
35 inline static const T divUp(const T &num, const T &den) { argument
37 return (num < 0 ? num + den + 1 : num) / den;
39 return (num <
45 align(const T &num, const U &den) argument
[all...]
/frameworks/av/media/libstagefright/include/media/stagefright/foundation/
H A DAUtils.h25 inline static const T divRound(const T &num, const T &den) { argument
26 if ((num >= 0) ^ (den >= 0)) {
27 return (num - den / 2) / den;
29 return (num + den / 2) / den;
33 /* == ceil(num / den). T must be integer type, den must not be 0 */
35 inline static const T divUp(const T &num, const T &den) { argument
37 return (num < 0 ? num + den + 1 : num) / den;
39 return (num <
45 align(const T &num, const U &den) argument
[all...]
/frameworks/av/media/libstagefright/
H A DSkipCutBuffer.cpp137 void SkipCutBuffer::write(const char *src, size_t num) { argument
145 if (available < num) {
146 int32_t newcapacity = mCapacity + (num - available);
156 if (copyfirst > num) copyfirst = num;
159 num -= copyfirst;
164 if (num) {
165 memcpy(mCutBuffer, src, num);
166 mWriteHead += num;
171 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.h61 T* allocate(size_t num, const void* = 0) { argument
62 if (!mAllocation.inUse && num <= SIZE) {
66 return (T*)malloc(num * sizeof(T));
70 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/include/media/stagefright/
H A DSkipCutBuffer.h51 void write(const char *src, size_t num);
52 size_t read(char *dst, size_t num);
/frameworks/av/media/libstagefright/include/media/stagefright/
H A DSkipCutBuffer.h51 void write(const char *src, size_t num);
52 size_t read(char *dst, size_t 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/support/frameworks/support/samples/SupportAnimationDemos/src/main/java/com/example/android/support/animation/
H A DSpringView.java53 int num = 20;
57 float sectionHeight = mLastHeight / num;
63 for (int i = 1; i < num; i++) {
/frameworks/support/samples/SupportAnimationDemos/src/main/java/com/example/android/support/animation/
H A DSpringView.java53 int num = 20;
57 float sectionHeight = mLastHeight / num;
63 for (int i = 1; i < num; i++) {
/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/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/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/opt/net/wifi/service/jni/
H A Djni_helper.cpp60 JNIObject<jbyteArray> JNIHelper::newByteArray(int num) { argument
61 return JNIObject<jbyteArray>(*this, mEnv->NewByteArray(num));
/frameworks/support/frameworks/support/samples/Support13Demos/src/main/java/com/example/android/supportv13/app/
H A DCountingFragment.java31 * Create a new instance of CountingFragment, providing "num"
34 static CountingFragment newInstance(int num) { argument
37 // Supply num input as an argument.
39 args.putInt("num", num);
51 mNum = getArguments() != null ? getArguments().getInt("num") : 1;

Completed in 568 milliseconds

1234567