Home
last modified time | relevance | path

Searched refs:N (Results 1 – 25 of 507) sorted by relevance

12345678910>>...21

/frameworks/av/media/codecs/amrwb/enc/src/
Dq_pulse.c34 Word16 N) /* (i) number of bits for position */ in quant_1p_N1() argument
39 mask = (1 << N) - 1; /* mask = ((1<<N)-1); */ in quant_1p_N1()
46 index = vo_L_add(index, L_deposit_l(1 << N)); /* index += 1 << N; */ in quant_1p_N1()
55 Word16 N) /* (i) number of bits for position */ in quant_2p_2N1() argument
59 mask = (1 << N) - 1; /* mask = ((1<<N)-1); */ in quant_2p_2N1()
69 index = L_deposit_l(add1((((Word16) (pos1 & mask)) << N), ((Word16) (pos2 & mask)))); in quant_2p_2N1()
73 index = L_deposit_l(add1((((Word16) (pos2 & mask)) << N), ((Word16) (pos1 & mask)))); in quant_2p_2N1()
77 tmp = (N << 1); in quant_2p_2N1()
86 index = L_deposit_l(add1((((Word16) (pos2 & mask)) << N), ((Word16) (pos1 & mask)))); in quant_2p_2N1()
89 tmp = (N << 1); /* index += 1 << (2*N); */ in quant_2p_2N1()
[all …]
/frameworks/av/media/codecs/amrwb/dec/src/
Ddec_alg_codebook.cpp118 void dec_1p_N1(int32 index, int16 N, int16 offset, int16 pos[]) in dec_1p_N1() argument
123 mask = ((1 << N) - 1); in dec_1p_N1()
129 i = ((index >> N) & 1L); /* i = ((index >> N) & 1); */ in dec_1p_N1()
145 void dec_2p_2N1(int32 index, int16 N, int16 offset, int16 pos[]) in dec_2p_2N1() argument
150 mask = (int32)(sub_int16(shl_int16(1, N), 1)); /* mask = ((1<<N)-1); */ in dec_2p_2N1()
155 pos1 = (int16)(add_int32((shr_int32(index, N) & mask), (int32)(offset))); in dec_2p_2N1()
156 tmp = shl_int16(N, 1); in dec_2p_2N1()
192 void dec_3p_3N1(int32 index, int16 N, int16 offset, int16 pos[]) in dec_3p_3N1() argument
200 tmp = sub_int16(shl_int16(N, 1), 1); /* mask = ((1<<((2*N)-1))-1); */ in dec_3p_3N1()
202 mask = ((1 << ((2 * N) - 1)) - 1); in dec_3p_3N1()
[all …]
Dq_pulse.h66 void dec_1p_N1(int32 index, int16 N, int16 offset, int16 pos[]);
67 void dec_2p_2N1(int32 index, int16 N, int16 offset, int16 pos[]);
68 void dec_3p_3N1(int32 index, int16 N, int16 offset, int16 pos[]);
69 void dec_4p_4N1(int32 index, int16 N, int16 offset, int16 pos[]);
70 void dec_4p_4N(int32 index, int16 N, int16 offset, int16 pos[]);
71 void dec_5p_5N(int32 index, int16 N, int16 offset, int16 pos[]);
72 void dec_6p_6N_2(int32 index, int16 N, int16 offset, int16 pos[]);
/frameworks/base/core/java/android/os/
DParcel.java940 int N = value.length; in writeRawFileDescriptorArray() local
941 writeInt(N); in writeRawFileDescriptorArray()
942 for (int i=0; i<N; i++) { in writeRawFileDescriptorArray()
1012 final int N = val.size(); in writeArrayMapInternal() local
1013 writeInt(N); in writeArrayMapInternal()
1017 Log.d(TAG, "Writing " + N + " ArrayMap entries", here); in writeArrayMapInternal()
1020 for (int i=0; i<N; i++) { in writeArrayMapInternal()
1136 int N = val.size(); in writeList() local
1138 writeInt(N); in writeList()
1139 while (i < N) { in writeList()
[all …]
DIncidentReportArgs.java64 int N = mSections.size(); in writeToParcel() local
65 out.writeInt(N); in writeToParcel()
66 for (int i=0; i<N; i++) { in writeToParcel()
70 N = mHeaders.size(); in writeToParcel()
71 out.writeInt(N); in writeToParcel()
72 for (int i=0; i<N; i++) { in writeToParcel()
87 int N = in.readInt(); in readFromParcel() local
88 for (int i=0; i<N; i++) { in readFromParcel()
93 N = in.readInt(); in readFromParcel()
94 for (int i=0; i<N; i++) { in readFromParcel()
[all …]
/frameworks/rs/cpu_ref/
DrsCpuBLASDispatch.h25 const enum CBLAS_TRANSPOSE TransA, const int M, const int N,
30 const enum CBLAS_TRANSPOSE TransA, const int M, const int N,
36 const int N, const float *A, const int lda,
40 const int N, const int K, const float *A, const int lda,
44 const int N, const float *Ap, float *X, const int incX);
47 const int N, const float *A, const int lda, float *X,
51 const int N, const int K, const float *A, const int lda,
55 const int N, const float *Ap, float *X, const int incX);
58 const enum CBLAS_TRANSPOSE TransA, const int M, const int N,
63 const enum CBLAS_TRANSPOSE TransA, const int M, const int N,
[all …]
DrsCpuIntrinsicBLAS.cpp91 nn = call->N; in setupGEMM()
178 nEnd = rsMin(nEnd, (uint32_t)call->N); in walk_tiled_gemm()
280 cblas_sgemv(CblasRowMajor, TransA, call->M, call->N, call->alpha.f, (float*)A, in invokeForEach()
285 cblas_sgbmv(CblasRowMajor, TransA, call->M, call->N, call->KL, call->KU, in invokeForEach()
291 cblas_strmv(CblasRowMajor, Uplo, TransA, Diag, call->N, (float*)A, in invokeForEach()
296 cblas_stbmv(CblasRowMajor, Uplo, TransA, Diag, call->N, call->K, (float*)A, in invokeForEach()
302 cblas_stpmv(CblasRowMajor, Uplo, TransA, Diag, call->N, (float*)A, in invokeForEach()
307 cblas_strsv(CblasRowMajor, Uplo, TransA, Diag, call->N, (float*)A, lda, in invokeForEach()
312 cblas_stbsv(CblasRowMajor, Uplo, TransA, Diag, call->N, call->K, (float*)A, in invokeForEach()
317 cblas_stpsv(CblasRowMajor, Uplo, TransA, Diag, call->N, (float*)A, in invokeForEach()
[all …]
/frameworks/base/tools/streaming_proto/cpp/
Dmain.cpp24 const int N = enu.value_size(); in write_enum() local
26 for (int i=0; i<N; i++) { in write_enum()
36 text << indent << "static const int _ENUM_" << name << "_COUNT = " << N << ";" << endl; in write_enum()
37 text << indent << "static const char* _ENUM_" << name << "_NAMES[" << N << "] = {" << endl; in write_enum()
38 for (int i=0; i<N; i++) { in write_enum()
42 text << indent << "static const int _ENUM_" << name << "_VALUES[" << N << "] = {" << endl; in write_enum()
43 for (int i=0; i<N; i++) { in write_enum()
79 int N; in write_message() local
86 N = message.enum_type_size(); in write_message()
87 for (int i=0; i<N; i++) { in write_message()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/buttons/
DButtonDispatcher.java136 final int N = mViews.size(); in setImageDrawable() local
137 for (int i = 0; i < N; i++) { in setImageDrawable()
154 final int N = mViews.size(); in setVisibility() local
155 for (int i = 0; i < N; i++) { in setVisibility()
162 final int N = mViews.size(); in abortCurrentGesture() local
163 for (int i = 0; i < N; i++) { in abortCurrentGesture()
209 final int N = mViews.size(); in setAlpha() local
210 for (int i = 0; i < N; i++) { in setAlpha()
219 final int N = mViews.size(); in setDarkIntensity() local
220 for (int i = 0; i < N; i++) { in setDarkIntensity()
[all …]
/frameworks/base/tools/streaming_proto/java/
Dmain.cpp78 const int N = enu.value_size(); in write_enum() local
80 for (int i=0; i<N; i++) { in write_enum()
122 int N; in write_message() local
130 N = message.enum_type_size(); in write_message()
131 for (int i=0; i<N; i++) { in write_message()
136 N = message.nested_type_size(); in write_message()
137 for (int i=0; i<N; i++) { in write_message()
142 N = message.field_size(); in write_message()
143 for (int i=0; i<N; i++) { in write_message()
186 size_t N; in write_file() local
[all …]
/frameworks/base/apex/media/framework/java/android/media/
DBaseMediaParceledListSlice.java65 final int N = p.readInt(); in BaseMediaParceledListSlice() local
66 mList = new ArrayList<T>(N); in BaseMediaParceledListSlice()
67 if (DEBUG) Log.d(TAG, "Retrieving " + N + " items"); in BaseMediaParceledListSlice()
68 if (N <= 0) { in BaseMediaParceledListSlice()
76 while (i < N) { in BaseMediaParceledListSlice()
93 if (i >= N) { in BaseMediaParceledListSlice()
97 while (i < N) { in BaseMediaParceledListSlice()
98 if (DEBUG) Log.d(TAG, "Reading more @" + i + " of " + N + ": retriever=" + retriever); in BaseMediaParceledListSlice()
105 Log.w(TAG, "Failure retrieving array; only received " + i + " of " + N, e); in BaseMediaParceledListSlice()
108 while (i < N && reply.readInt() != 0) { in BaseMediaParceledListSlice()
[all …]
/frameworks/libs/modules-utils/java/com/android/modules/utils/
DBaseParceledListSlice.java60 final int N = p.readInt(); in BaseParceledListSlice() local
61 mList = new ArrayList<T>(N); in BaseParceledListSlice()
62 if (DEBUG) Log.d(TAG, "Retrieving " + N + " items"); in BaseParceledListSlice()
63 if (N <= 0) { in BaseParceledListSlice()
71 while (i < N) { in BaseParceledListSlice()
88 if (i >= N) { in BaseParceledListSlice()
92 while (i < N) { in BaseParceledListSlice()
93 if (DEBUG) Log.d(TAG, "Reading more @" + i + " of " + N + ": retriever=" + retriever); in BaseParceledListSlice()
100 Log.w(TAG, "Failure retrieving array; only received " + i + " of " + N, e); in BaseParceledListSlice()
103 while (i < N && reply.readInt() != 0) { in BaseParceledListSlice()
[all …]
/frameworks/base/core/java/android/content/pm/
DBaseParceledListSlice.java63 final int N = p.readInt(); in BaseParceledListSlice() local
64 mList = new ArrayList<T>(N); in BaseParceledListSlice()
65 if (DEBUG) Log.d(TAG, "Retrieving " + N + " items"); in BaseParceledListSlice()
66 if (N <= 0) { in BaseParceledListSlice()
74 while (i < N) { in BaseParceledListSlice()
82 if (i >= N) { in BaseParceledListSlice()
86 while (i < N) { in BaseParceledListSlice()
87 if (DEBUG) Log.d(TAG, "Reading more @" + i + " of " + N + ": retriever=" + retriever); in BaseParceledListSlice()
94 Log.w(TAG, "Failure retrieving array; only received " + i + " of " + N, e); in BaseParceledListSlice()
97 while (i < N && reply.readInt() != 0) { in BaseParceledListSlice()
[all …]
/frameworks/base/cmds/incident_helper/testdata/
Dcpufreq.txt4 748800 N/A N/A 10547 10547
5 768000 22652 22652 N/A N/A
6 825600 N/A N/A 13173 13173
/frameworks/base/rs/java/android/renderscript/
DScriptIntrinsicBLAS.java282 int N = A.getType().getX(); in validateGEMV() local
297 expectedXDim = 1 + (N - 1) * incX; in validateGEMV()
301 expectedYDim = 1 + (N - 1) * incY; in validateGEMV()
327 int N = A.getType().getX(); in SGEMV() local
328 …mRS.nScriptIntrinsicBLAS_Single(getID(mRS), RsBlas_sgemv, TransA, 0, 0, 0, 0, M, N, 0, alpha, A.ge… in SGEMV() local
349 int N = A.getType().getX(); in DGEMV() local
350 …mRS.nScriptIntrinsicBLAS_Double(getID(mRS), RsBlas_dgemv, TransA, 0, 0, 0, 0, M, N, 0, alpha, A.ge… in DGEMV() local
371 int N = A.getType().getX(); in CGEMV() local
372 …mRS.nScriptIntrinsicBLAS_Complex(getID(mRS), RsBlas_cgemv, TransA, 0, 0, 0, 0, M, N, 0, alpha.x, a… in CGEMV() local
393 int N = A.getType().getX(); in ZGEMV() local
[all …]
/frameworks/rs/cpp/
DScriptIntrinsicBLAS.cpp52 int M, int N, int K, int incX, int incY, int KL, int KU, in setUpBLASCall() argument
66 call.N = N; in setUpBLASCall()
108 int TransB, int Side, int Uplo, int Diag, int M, int N, int K, in nScriptIntrinsicBLAS_Single() argument
112 M, N, K, incX, incY, KL, KU, alpha, beta, 0.0, 0.0, in nScriptIntrinsicBLAS_Single()
122 int TransB, int Side, int Uplo, int Diag, int M, int N, int K, in nScriptIntrinsicBLAS_Double() argument
126 M, N, K, incX, incY, KL, KU, 0.0f, 0.0f, alpha, beta, in nScriptIntrinsicBLAS_Double()
135 int TransB, int Side, int Uplo, int Diag, int M, int N, int K, in nScriptIntrinsicBLAS_Complex() argument
139 M, N, K, incX, incY, KL, KU, 0.0f, 0.0f, 0.0, 0.0, in nScriptIntrinsicBLAS_Complex()
148 int TransB, int Side, int Uplo, int Diag, int M, int N, int K, in nScriptIntrinsicBLAS_Z() argument
152 M, N, K, incX, incY, KL, KU, 0.0f, 0.0f, 0.0, 0.0, in nScriptIntrinsicBLAS_Z()
[all …]
/frameworks/base/services/core/java/com/android/server/notification/
DRankingHelper.java51 final int N = extractorNames.length; in RankingHelper() local
52 mSignalExtractors = new NotificationSignalExtractor[N]; in RankingHelper()
53 for (int i = 0; i < N; i++) { in RankingHelper()
74 final int N = mSignalExtractors.length; in findExtractor() local
75 for (int i = 0; i < N; i++) { in findExtractor()
85 final int N = mSignalExtractors.length; in extractSignals() local
86 for (int i = 0; i < N; i++) { in extractSignals()
100 final int N = notificationList.size(); in sort() local
102 for (int i = N - 1; i >= 0; i--) { in sort()
111 for (int i = 0; i < N; i++) { in sort()
[all …]
/frameworks/av/media/codecs/amrwb/enc/inc/
Dq_pulse.h32 Word16 N); /* (i) number of bits for position */
37 Word16 N); /* (i) number of bits for position */
43 Word16 N); /* (i) number of bits for position */
50 Word16 N); /* (i) number of bits for position */
54 Word16 N); /* (i) number of bits for position */
58 Word16 N); /* (i) number of bits for position */
62 Word16 N); /* (i) number of bits for position */
/frameworks/av/media/codec2/vndk/include/
DC2ErrnoUtils.h24 template<int N> constexpr c2_status_t _c2_errno2status_impl();
32 template<int... N> struct _c2_map_errno_impl;
33 template<int E, int ... N> struct _c2_map_errno_impl<E, N...> {
38 return _c2_map_errno_impl<N...>::map(result);
48 template<int... N>
50 return _c2_map_errno_impl<N...>::map(result);
/frameworks/native/opengl/libs/EGL/
Degl_object.h57 template <typename N, typename T>
67 egl_object_t* native = reinterpret_cast<N*>(o); in LocalRef()
72 inline N* get() { return static_cast<N*>(ref); } in get()
77 template <typename N, typename T>
81 template <typename N, typename T>
82 egl_object_t::LocalRef<N, T>::LocalRef(egl_object_t* rhs) : ref(rhs) { in LocalRef()
88 template <typename N, typename T>
89 egl_object_t::LocalRef<N, T>::~LocalRef() { in ~LocalRef()
95 template <typename N, typename T>
96 void egl_object_t::LocalRef<N, T>::acquire() const { in acquire()
[all …]
/frameworks/rs/support/java/src/androidx/renderscript/
DScriptIntrinsicBLAS.java289 int N = A.getType().getX();
304 expectedXDim = 1 + (N - 1) * incX;
308 expectedYDim = 1 + (N - 1) * incY;
334 int N = A.getType().getX(); in SGEMV() local
345 …mRS.nScriptIntrinsicBLAS_Single(getID(mRS), RsBlas_sgemv, TransA, 0, 0, 0, 0, M, N, 0, alpha, aID,… in SGEMV() local
366 int N = A.getType().getX(); in DGEMV() local
377 …mRS.nScriptIntrinsicBLAS_Double(getID(mRS), RsBlas_dgemv, TransA, 0, 0, 0, 0, M, N, 0, alpha, aID,… in DGEMV() local
398 int N = A.getType().getX(); in CGEMV() local
409 …mRS.nScriptIntrinsicBLAS_Complex(getID(mRS), RsBlas_cgemv, TransA, 0, 0, 0, 0, M, N, 0, alpha.x, a… in CGEMV() local
430 int N = A.getType().getX(); in ZGEMV() local
[all …]
/frameworks/native/libs/binder/
DStatic.cpp39 virtual status_t writeLines(const struct iovec& vec, size_t N) in writeLines() argument
42 if (N != 1) ALOGI("WARNING: writeLines N=%zu\n", N); in writeLines()
55 virtual status_t writeLines(const struct iovec& vec, size_t N) in writeLines() argument
57 ssize_t ret = writev(mFD, &vec, N); in writeLines()
59 if (static_cast<size_t>(ret) != N) return UNKNOWN_ERROR; in writeLines()
/frameworks/base/graphics/java/android/graphics/drawable/
DLayerDrawable.java194 final int N = state.mNumChildren; in inflate() local
195 for (int i = 0; i < N; i++) { in inflate()
222 final int N = state.mNumChildren; in applyTheme() local
223 for (int i = 0; i < N; i++) { in applyTheme()
307 final int N = a.getIndexCount(); in updateStateFromTypedArray() local
308 for (int i = 0; i < N; i++) { in updateStateFromTypedArray()
351 final int N = a.getIndexCount(); in updateLayerFromTypedArray() local
352 for (int i = 0; i < N; i++) { in updateLayerFromTypedArray()
421 final int N = mLayerState.mNumChildren; in isProjected() local
422 for (int i = 0; i < N; i++) { in isProjected()
[all …]
/frameworks/native/libs/vr/libdvrcommon/include/private/dvr/
Deigen.h10 template <class T, int N>
11 using Vector = Matrix<T, N, 1>;
22 template <class T, int N>
23 using RowVector = Matrix<T, 1, N>;
52 template <class T, int N>
53 using AffineMatrix = Transform<T, N-1, Projective>;
/frameworks/native/include/ftl/
Darray_traits.h104 template <typename T, std::size_t N, std::size_t M>
105 friend bool operator==(const Array<T, N>& lhs, const Array<T, M>& rhs) {
109 template <typename T, std::size_t N, std::size_t M>
110 friend bool operator<(const Array<T, N>& lhs, const Array<T, M>& rhs) {
114 template <typename T, std::size_t N, std::size_t M>
115 friend bool operator>(const Array<T, N>& lhs, const Array<T, M>& rhs) {
119 template <typename T, std::size_t N, std::size_t M>
120 friend bool operator!=(const Array<T, N>& lhs, const Array<T, M>& rhs) {
124 template <typename T, std::size_t N, std::size_t M>
125 friend bool operator>=(const Array<T, N>& lhs, const Array<T, M>& rhs) {
[all …]

12345678910>>...21