Searched defs:num (Results 1 - 25 of 41) sorted by relevance

12

/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
H A Dutil.c37 Word32 num = (Word32)L; local
40 }while(--num !=0);
56 Word32 temp1,temp2,num; local
62 num = (Word32)(L>>1);
70 }while(--num!=0);
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);
H A Dwb_vad.c263 Word16 num, temp, stat_rat, exp, denom; local
283 num = level[i];
287 num = st->ave_level[i];
290 /* Limit nimimum value of num and denom to STAT_THR_LEVEL */
291 if(num < STAT_THR_LEVEL)
293 num = STAT_THR_LEVEL;
302 /* stat_rat = num/denom * 64 */
303 temp = div_s(num >> 1, denom);
/frameworks/av/media/libstagefright/
H A DSkipCutBuffer.cpp99 void SkipCutBuffer::write(const char *src, size_t num) { argument
107 if (available < num) {
108 int32_t newcapacity = mCapacity + (num - available);
118 if (copyfirst > num) copyfirst = num;
121 num -= copyfirst;
126 if (num) {
127 memcpy(mCutBuffer, src, num);
128 mWriteHead += num;
133 size_t SkipCutBuffer::read(char *dst, size_t num) { argument
[all...]
/frameworks/base/core/jni/
H A Dandroid_util_StringBlock.cpp112 int num = 0; local
114 num++;
118 if (num == 0) {
122 jintArray array = env->NewIntArray((num*sizeof(ResStringPool_span))/sizeof(jint));
127 num = 0;
131 num*numInts, numInts,
134 num++;
H A Dandroid_util_EventLog.cpp101 jsize copied = 0, num = env->GetArrayLength(value); local
102 for (; copied < num && copied < 255; ++copied) {
/frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/
H A DRsBenchView.java99 void setDebugMode(int num) { argument
100 mRender.setDebugMode(num);
H A DRsBenchRS.java261 public void setDebugMode(int num) { argument
262 mScript.invoke_setDebugMode(num);
/frameworks/rs/
H A DrsPath.cpp51 void Path::rasterize(const BezierSegment_t *s, uint32_t num, Allocation *alloc) { argument
53 for (uint32_t i=0; i < num; i++) {
/frameworks/base/services/java/com/android/server/am/
H A DTransferPipe.java165 void closeFd(int num) { argument
166 if (mFds[num] != null) {
167 if (DEBUG) Slog.i(TAG, "Closing: " + mFds[num]);
169 mFds[num].close();
172 mFds[num] = null;
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/
H A DNotificationTestList.java878 private Notification notificationWithNumbers(int num) { argument
880 (num >= 0 && num < kNumberedIconResIDs.length)
881 ? kNumberedIconResIDs[num]
885 "Notification", "Number=" + num,
887 n.number = num;
/frameworks/ml/bordeaux/learning/stochastic_linear_ranker/native/
H A Dlearning_rate_controller-inl.h47 void SetIterationNumber(uint64 num) { argument
48 iteration_num_ = num;
H A Dstochastic_linear_ranker.h114 void SetIterationNumber(uint64 num) { argument
115 iteration_num_=num;
/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/media/libstagefright/codecs/avc/enc/src/
H A Davcenc_api.cpp692 OSCL_EXPORT_REF AVCEnc_Status PVAVCEncUpdateFrameRate(AVCHandle *avcHandle, uint32 num, uint32 denom) argument
695 OSCL_UNUSED_ARG(num);
/frameworks/base/core/tests/coretests/src/android/database/
H A DDatabaseGeneralTest.java116 mDatabase.execSQL("CREATE TABLE phones (num TEXT);");
117 mDatabase.execSQL("INSERT INTO phones (num) VALUES ('911');");
118 mDatabase.execSQL("INSERT INTO phones (num) VALUES ('5555');");
119 mDatabase.execSQL("INSERT INTO phones (num) VALUES ('+" + PHONE_NUMBER + "');");
125 "PHONE_NUMBERS_EQUAL(num, '504-555-7683')", null, null, null, null);
130 "PHONE_NUMBERS_EQUAL(num, '911')", null, null, null, null);
134 number = c.getString(c.getColumnIndexOrThrow("num"));
139 "PHONE_NUMBERS_EQUAL(num, '5555')", null, null, null, null);
143 number = c.getString(c.getColumnIndexOrThrow("num"));
148 "PHONE_NUMBERS_EQUAL(num, '18005555555
696 setNum(int num) argument
700 checkNum(int num) argument
[all...]
/frameworks/native/include/utils/
H A DSortedVector.h127 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 ); local
248 void SortedVector<TYPE>::do_destroy(void* storage, size_t num) const {
249 destroy_type( reinterpret_cast<TYPE*>(storage), num ); local
254 copy_type( reinterpret_cast<TYPE*>(dest), reinterpret_cast<const TYPE*>(from), num ); local
259 splat_type( reinterpret_cast<TYPE*>(dest), reinterpret_cast<const TYPE*>(item), num ); local
264 move_forward_type( reinterpret_cast<TYPE*>(dest), reinterpret_cast<const TYPE*>(from), num ); local
269 move_backward_type( reinterpret_cast<TYPE*>(dest), reinterpret_cast<const TYPE*>(from), num ); local
[all...]
H A DVector.h195 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 ); local
387 void Vector<TYPE>::do_destroy(void* storage, size_t num) const {
388 destroy_type( reinterpret_cast<TYPE*>(storage), num ); local
393 copy_type( reinterpret_cast<TYPE*>(dest), reinterpret_cast<const TYPE*>(from), num ); local
398 splat_type( reinterpret_cast<TYPE*>(dest), reinterpret_cast<const TYPE*>(item), num ); local
403 move_forward_type( reinterpret_cast<TYPE*>(dest), reinterpret_cast<const TYPE*>(from), num ); local
408 move_backward_type( reinterpret_cast<TYPE*>(dest), reinterpret_cast<const TYPE*>(from), num ); local
[all...]
/frameworks/av/media/libstagefright/codecs/amrnb/common/src/
H A Dvad1.cpp760 Word16 num; local
798 num = level[i];
803 num = st->ave_level[i];
806 /* Limit nimimum value of num and denom to STAT_THR_LEVEL */
807 if (num < STAT_THR_LEVEL)
809 num = STAT_THR_LEVEL;
820 /* stat_rat = num/denom * 64 */
821 temp = shr(num, 1, pOverflow);
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A Dvlc_decode.cpp1475 int count, len, num[2] = {0, 0} /* 01/30/01 */; local
1508 num[0]++; /* number of zeros in the middle */
1521 num[count-1]++; /* number of ones in the middle */
1531 num[1] and num[0] x
1533 num[0] x */
1537 if (num[1] > 10 || num[0] > 11) /* invalid RVLC code */
1541 tab2 = RvlcDCTtabInter + 146 + (num[0] << 1) + (code & 1);
1543 tab2 = RvlcDCTtabInter + ptrRvlcTab[num[
1558 int count, len, num[2] = {0, 0} /* 01/30/01 */; local
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
H A Dh264bsd_dpb.c115 static void ShellSort(dpbPicture_t *pPic, u32 num);
1558 static void ShellSort(dpbPicture_t *pPic, u32 num) argument
1569 for (i = step; i < num; i++)
/frameworks/native/opengl/tests/hwc/
H A DhwcStress.cpp55 * -s num Starting pass
56 * -e num Ending pass
57 * -p num Execute the single pass specified by num
58 * -n num Number of set operations to perform after each prepare operation
204 template <class T> vector<T> vectorRandSelect(const vector<T>& vec, size_t num);
285 testPrintE("Invalid command-line specified num set per pass "
617 * Prandomly selects and returns num elements from vec.
620 vector<T> vectorRandSelect(const vector<T>& vec, size_t num) argument
624 while (rv.size() > num) {
[all...]
/frameworks/base/media/libdrm/mobile1/src/xml/
H A Dxml_tinyparser.c607 int32_t num, len; local
611 if (UINTVAR_INVALID == (num = WBXML_GetUintVar(buffer, &len)))
614 pWbxml->publicid = num;
615 if (UINTVAR_INVALID == (num = WBXML_GetUintVar(buffer, &len)))
618 pWbxml->charset = num;
619 if (UINTVAR_INVALID == (num = WBXML_GetUintVar(buffer, &len)))
623 pWbxml->strTableLen = num;
624 buffer += num;
674 int32_t num, len; local
676 num
[all...]

Completed in 315 milliseconds

12