Home
last modified time | relevance | path

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

12345678910>>...20

/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
Dq_pulse.c33 Word16 N) /* (i) number of bits for position */ in quant_1p_N1() argument
38 mask = (1 << N) - 1; /* mask = ((1<<N)-1); */ in quant_1p_N1()
45 index = vo_L_add(index, L_deposit_l(1 << N)); /* index += 1 << N; */ in quant_1p_N1()
54 Word16 N) /* (i) number of bits for position */ in quant_2p_2N1() argument
58 mask = (1 << N) - 1; /* mask = ((1<<N)-1); */ in quant_2p_2N1()
68 index = L_deposit_l(add1((((Word16) (pos1 & mask)) << N), ((Word16) (pos2 & mask)))); in quant_2p_2N1()
72 index = L_deposit_l(add1((((Word16) (pos2 & mask)) << N), ((Word16) (pos1 & mask)))); in quant_2p_2N1()
76 tmp = (N << 1); in quant_2p_2N1()
85 index = L_deposit_l(add1((((Word16) (pos2 & mask)) << N), ((Word16) (pos1 & mask)))); in quant_2p_2N1()
88 tmp = (N << 1); /* index += 1 << (2*N); */ in quant_2p_2N1()
[all …]
/frameworks/av/media/libstagefright/codecs/amrwb/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.java850 int N = value.length; in writeRawFileDescriptorArray() local
851 writeInt(N); in writeRawFileDescriptorArray()
852 for (int i=0; i<N; i++) { in writeRawFileDescriptorArray()
922 final int N = val.size(); in writeArrayMapInternal() local
923 writeInt(N); in writeArrayMapInternal()
927 Log.d(TAG, "Writing " + N + " ArrayMap entries", here); in writeArrayMapInternal()
930 for (int i=0; i<N; i++) { in writeArrayMapInternal()
1046 int N = val.size(); in writeList() local
1048 writeInt(N); in writeList()
1049 while (i < N) { in writeList()
[all …]
DIncidentReportArgs.java66 int N = mSections.size(); in writeToParcel() local
67 out.writeInt(N); in writeToParcel()
68 for (int i=0; i<N; i++) { in writeToParcel()
72 N = mHeaders.size(); in writeToParcel()
73 out.writeInt(N); in writeToParcel()
74 for (int i=0; i<N; i++) { in writeToParcel()
89 int N = in.readInt(); in readFromParcel() local
90 for (int i=0; i<N; i++) { in readFromParcel()
95 N = in.readInt(); in readFromParcel()
96 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 << "const int _ENUM_" << name << "_COUNT = " << N << ";" << endl; in write_enum()
37 text << indent << "const char* _ENUM_" << name << "_NAMES[" << N << "] = {" << endl; in write_enum()
38 for (int i=0; i<N; i++) { in write_enum()
42 text << indent << "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/statusbar/phone/
DButtonDispatcher.java137 final int N = mViews.size(); in setImageDrawable() local
138 for (int i = 0; i < N; i++) { in setImageDrawable()
155 final int N = mViews.size(); in setVisibility() local
156 for (int i = 0; i < N; i++) { in setVisibility()
163 final int N = mViews.size(); in abortCurrentGesture() local
164 for (int i = 0; i < N; i++) { in abortCurrentGesture()
207 final int N = mViews.size(); in setAlpha() local
208 for (int i = 0; i < N; i++) { in setAlpha()
216 final int N = mViews.size(); in setDarkIntensity() local
217 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/core/java/android/content/pm/
DBaseParceledListSlice.java62 final int N = p.readInt(); in BaseParceledListSlice() local
63 mList = new ArrayList<T>(N); in BaseParceledListSlice()
64 if (DEBUG) Log.d(TAG, "Retrieving " + N + " items"); in BaseParceledListSlice()
65 if (N <= 0) { in BaseParceledListSlice()
73 while (i < N) { in BaseParceledListSlice()
90 if (i >= N) { in BaseParceledListSlice()
94 while (i < N) { in BaseParceledListSlice()
95 if (DEBUG) Log.d(TAG, "Reading more @" + i + " of " + N + ": retriever=" + retriever); in BaseParceledListSlice()
102 Log.w(TAG, "Failure retrieving array; only received " + i + " of " + N, e); in BaseParceledListSlice()
105 while (i < N && reply.readInt() != 0) { in BaseParceledListSlice()
[all …]
/frameworks/base/rs/java/android/renderscript/
DScriptIntrinsicBLAS.java278 int N = A.getType().getX(); in validateGEMV() local
293 expectedXDim = 1 + (N - 1) * incX; in validateGEMV()
297 expectedYDim = 1 + (N - 1) * incY; in validateGEMV()
323 int N = A.getType().getX(); in SGEMV() local
324 …mRS.nScriptIntrinsicBLAS_Single(getID(mRS), RsBlas_sgemv, TransA, 0, 0, 0, 0, M, N, 0, alpha, A.ge… in SGEMV() local
345 int N = A.getType().getX(); in DGEMV() local
346 …mRS.nScriptIntrinsicBLAS_Double(getID(mRS), RsBlas_dgemv, TransA, 0, 0, 0, 0, M, N, 0, alpha, A.ge… in DGEMV() local
367 int N = A.getType().getX(); in CGEMV() local
368 …mRS.nScriptIntrinsicBLAS_Complex(getID(mRS), RsBlas_cgemv, TransA, 0, 0, 0, 0, M, N, 0, alpha.x, a… in CGEMV() local
389 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.java49 final int N = extractorNames.length; in RankingHelper() local
50 mSignalExtractors = new NotificationSignalExtractor[N]; in RankingHelper()
51 for (int i = 0; i < N; i++) { in RankingHelper()
72 final int N = mSignalExtractors.length; in findExtractor() local
73 for (int i = 0; i < N; i++) { in findExtractor()
83 final int N = mSignalExtractors.length; in extractSignals() local
84 for (int i = 0; i < N; i++) { in extractSignals()
98 final int N = notificationList.size(); in sort() local
100 for (int i = N - 1; i >= 0; i--) { in sort()
109 for (int i = 0; i < N; i++) { in sort()
[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/av/media/libstagefright/codecs/amrwbenc/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/base/graphics/java/android/graphics/drawable/
DLayerDrawable.java193 final int N = state.mNumChildren; in inflate() local
194 for (int i = 0; i < N; i++) { in inflate()
221 final int N = state.mNumChildren; in applyTheme() local
222 for (int i = 0; i < N; i++) { in applyTheme()
306 final int N = a.getIndexCount(); in updateStateFromTypedArray() local
307 for (int i = 0; i < N; i++) { in updateStateFromTypedArray()
350 final int N = a.getIndexCount(); in updateLayerFromTypedArray() local
351 for (int i = 0; i < N; i++) { in updateLayerFromTypedArray()
420 final int N = mLayerState.mNumChildren; in isProjected() local
421 for (int i = 0; i < N; i++) { in isProjected()
[all …]
/frameworks/native/opengl/libs/EGL/
Degl_object.h62 template <typename N, typename T>
71 egl_object_t* native = reinterpret_cast<N*>(o); in LocalRef()
76 inline N* get() { in get()
77 return static_cast<N*>(ref); in get()
83 template <typename N, typename T>
87 template<typename N, typename T>
88 egl_object_t::LocalRef<N, T>::LocalRef(egl_object_t* rhs) : ref(rhs) { in LocalRef()
94 template <typename N, typename T>
95 egl_object_t::LocalRef<N,T>::~LocalRef() { in ~LocalRef()
101 template <typename N, typename T>
[all …]
/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/rs/support/java/src/androidx/renderscript/
DScriptIntrinsicBLAS.java285 int N = A.getType().getX();
300 expectedXDim = 1 + (N - 1) * incX;
304 expectedYDim = 1 + (N - 1) * incY;
330 int N = A.getType().getX(); in SGEMV() local
341 …mRS.nScriptIntrinsicBLAS_Single(getID(mRS), RsBlas_sgemv, TransA, 0, 0, 0, 0, M, N, 0, alpha, aID,… in SGEMV() local
362 int N = A.getType().getX(); in DGEMV() local
373 …mRS.nScriptIntrinsicBLAS_Double(getID(mRS), RsBlas_dgemv, TransA, 0, 0, 0, 0, M, N, 0, alpha, aID,… in DGEMV() local
394 int N = A.getType().getX(); in CGEMV() local
405 …mRS.nScriptIntrinsicBLAS_Complex(getID(mRS), RsBlas_cgemv, TransA, 0, 0, 0, 0, M, N, 0, alpha.x, a… in CGEMV() local
426 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/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/base/core/java/android/content/
DUndoManager.java598 int N = mUndos.size() + 1; in pushWorkingState() local
604 if (N >= 2) { in pushWorkingState()
608 mUndos.get(N-2).makeExecuted(); in pushWorkingState()
615 if (mHistorySize >= 0 && N > mHistorySize) { in pushWorkingState()
616 forgetUndos(null, N - mHistorySize); in pushWorkingState()
709 final int N = states.size(); in findPrevState() local
712 from = N-1; in findPrevState()
714 if (from >= N) { in findPrevState()
733 final int N = states.size(); in findNextState() local
738 if (from >= N) { in findNextState()
[all …]
DIntentFilter.java314 final int N = lengths[lenPos]; in findStringInSet() local
315 for (int i=0; i<N; i++) { in findStringInSet()
330 final int N = lengths[lenPos]; in addStringToSet() local
331 if (N < set.length) { in addStringToSet()
332 set[N] = string; in addStringToSet()
333 lengths[lenPos] = N+1; in addStringToSet()
337 String[] newSet = new String[(N*3)/2 + 2]; in addStringToSet()
338 System.arraycopy(set, 0, newSet, 0, N); in addStringToSet()
340 set[N] = string; in addStringToSet()
341 lengths[lenPos] = N+1; in addStringToSet()
[all …]
/frameworks/base/core/java/com/android/internal/app/procstats/
DSparseMappingTable.java92 final int N = copyFrom.getKeyCount(); in copyFrom() local
93 for (int i=0; i<N; i++) { in copyFrom()
425 final int N = mSize; in validateKeys() local
426 for (int i=0; i<N; i++) { in validateKeys()
455 final int N = mTable.length; in dumpInternalState() local
457 for (int i=0; i<N; i++) { in dumpInternalState()
465 if (i != N-1) { in dumpInternalState()
503 final int N = mLongs.size(); in writeToParcel() local
504 out.writeInt(N); in writeToParcel()
505 for (int i=0; i<N-1; i++) { in writeToParcel()
[all …]

12345678910>>...20