/frameworks/av/media/module/codecs/amrwb/enc/src/ |
D | q_pulse.c | 34 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/module/codecs/amrwb/dec/src/ |
D | dec_alg_codebook.cpp | 118 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 …]
|
D | q_pulse.h | 66 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/rs/cpu_ref/ |
D | rsCpuBLASDispatch.h | 25 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 …]
|
D | rsCpuIntrinsicBLAS.cpp | 91 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/ |
D | main.cpp | 24 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/native/include/ftl/ |
D | concat.h | 36 template <std::size_t N, typename T, typename... Ts> 37 struct Concat<N, T, Ts...> : Concat<N + details::StaticString<T>::N, Ts...> { 52 using Base = Concat<N + Str::N, Ts...>; 57 template <std::size_t N> 58 struct Concat<N> { 59 static constexpr std::size_t max_size() { return N; } 75 char buffer_[N + 1]; 83 template <std::size_t N> 85 return details::Truncated<N>{v};
|
/frameworks/libs/binary_translation/intrinsics/include/berberis/intrinsics/ |
D | intrinsics_args.h | 121 template <int N, typename RegisterClass = void, typename Usage = void> 124 template <int N, typename RegisterClass = void, typename Usage = void> 127 template <int N, typename RegisterClass = void, typename Usage = void> 130 template <int N, int M, typename RegisterClass = void, typename Usage = void> 133 template <int N, int M, typename RegisterClass = void, typename Usage = void> 136 template <int N, typename RegisterClass = void, typename Usage = void> 139 template <int N, typename ImmType, typename ImmediateClass = void> 148 template <int N, typename RegisterClassType, typename UsageType> 149 class ArgTraits<InArg<N, RegisterClassType, UsageType>> { 154 static constexpr ArgInfo arg_info{.arg_type = ArgInfo::IN_ARG, .from = N}; [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/buttons/ |
D | ButtonDispatcher.java | 137 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() 210 final int N = mViews.size(); in setAlpha() local 211 for (int i = 0; i < N; i++) { in setAlpha() 220 final int N = mViews.size(); in setDarkIntensity() local 221 for (int i = 0; i < N; i++) { in setDarkIntensity() [all …]
|
/frameworks/libs/modules-utils/java/com/android/modules/utils/ |
D | BaseParceledListSlice.java | 60 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/os/ |
D | Parcel.java | 1312 int N = value.length; in writeRawFileDescriptorArray() local 1313 writeInt(N); in writeRawFileDescriptorArray() 1314 for (int i=0; i<N; i++) { in writeRawFileDescriptorArray() 1384 final int N = val.size(); in writeArrayMapInternal() local 1385 writeInt(N); in writeArrayMapInternal() 1389 Log.d(TAG, "Writing " + N + " ArrayMap entries", here); in writeArrayMapInternal() 1392 for (int i=0; i<N; i++) { in writeArrayMapInternal() 1508 int N = val.size(); in writeList() local 1510 writeInt(N); in writeList() 1511 while (i < N) { in writeList() [all …]
|
D | IncidentReportArgs.java | 64 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/libs/binary_translation/assembler/ |
D | gen_asm_tests_x86.py | 103 'VecReg128': tuple('%%XMM%d' % N for N in (0, 4, 7)), 104 'XmmReg': tuple('%%XMM%d' % N for N in (0, 4, 7)), 105 'FpReg32': tuple('%%XMM%d' % N for N in range(8)), 106 'FpReg64': tuple('%%XMM%d' % N for N in range(8)), 132 'VecReg128': tuple('%%XMM%d' % N for N in range(0, 16, 5)), 133 'XmmReg': tuple('%%XMM%d' % N for N in range(0, 16, 5)), 134 'FpReg32': tuple('%%XMM%d' % N for N in range(16)), 135 'FpReg64': tuple('%%XMM%d' % N for N in range(16)), 185 'VecReg128': tuple('Assembler::xmm%d' % N for N in (0, 4, 7)), 186 'XmmReg': tuple('Assembler::xmm%d' % N for N in (0, 4, 7)), [all …]
|
/frameworks/base/tools/streaming_proto/java/ |
D | java_proto_stream_code_generator.cpp | 107 const int N = enu.value_size(); in write_enum() local 109 for (int i = 0; i < N; i++) { in write_enum() 147 int N; in write_message() local 155 N = message.enum_type_size(); in write_message() 156 for (int i = 0; i < N; i++) { in write_message() 161 N = message.nested_type_size(); in write_message() 162 for (int i = 0; i < N; i++) { in write_message() 167 N = message.field_size(); in write_message() 168 for (int i = 0; i < N; i++) { in write_message() 173 N = message.extension_size(); in write_message() [all …]
|
/frameworks/base/cmds/incident_helper/testdata/ |
D | cpufreq.txt | 4 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/core/java/android/content/pm/ |
D | BaseParceledListSlice.java | 73 final int N = p.readInt(); in BaseParceledListSlice() local 74 mList = new ArrayList<T>(N); in BaseParceledListSlice() 75 if (DEBUG) Log.d(TAG, "Retrieving " + N + " items"); in BaseParceledListSlice() 76 if (N <= 0) { in BaseParceledListSlice() 84 while (i < N) { in BaseParceledListSlice() 92 if (i >= N) { in BaseParceledListSlice() 96 while (i < N) { in BaseParceledListSlice() 97 if (DEBUG) Log.d(TAG, "Reading more @" + i + " of " + N + ": retriever=" + retriever); in BaseParceledListSlice() 104 while (i < N && reply.readInt() != 0) { in BaseParceledListSlice() 112 "Failure retrieving array; only received " + i + " of " + N, e); in BaseParceledListSlice() [all …]
|
/frameworks/base/core/java/android/app/usage/ |
D | ParcelableUsageEventList.java | 59 final int N = in.readInt(); in ParcelableUsageEventList() local 60 mList = new ArrayList<>(N); in ParcelableUsageEventList() 61 if (DEBUG) Log.d(TAG, "Retrieving " + N + " items"); in ParcelableUsageEventList() 62 if (N <= 0) { in ParcelableUsageEventList() 67 while (i < N) { in ParcelableUsageEventList() 77 + ", total N=" + N + " UsageEvents"); in ParcelableUsageEventList() 79 if (i >= N) { in ParcelableUsageEventList() 83 while (i < N) { in ParcelableUsageEventList() 84 if (DEBUG) Log.d(TAG, "Reading more @" + i + " of " + N + ": retriever=" + retriever); in ParcelableUsageEventList() 92 while (i < N && reply.readInt() != 0) { in ParcelableUsageEventList() [all …]
|
/frameworks/av/media/module/codecs/amrwb/enc/inc/ |
D | q_pulse.h | 32 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/rs/java/android/renderscript/ |
D | ScriptIntrinsicBLAS.java | 282 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/ |
D | ScriptIntrinsicBLAS.cpp | 52 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/av/media/codec2/vndk/include/ |
D | C2ErrnoUtils.h | 24 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/av/media/utils/include/mediautils/ |
D | FixedString.h | 66 template <uint32_t N> 70 using strsize_t = std::conditional_t<(N > 255), uint32_t, uint8_t>; 78 copyFrom<N>(other); in FixedString() 90 return copyFrom<N>(other); 132 static constexpr uint32_t capacity() { return N; } in capacity() 134 uint32_t remaining() const { return size_ >= N ? 0 : N - size_; } in remaining() 136 bool full() const { return size_ == N; } // when full, possible truncation risk. in full() 166 if (size_ < N) { in append() 183 uint32_t total = std::min(static_cast<size_t>(N - size_), s.size()); in appendStringView() 195 while (size_ < N && *s != '\0') { in appendString() [all …]
|
/frameworks/native/opengl/libs/EGL/ |
D | egl_object.h | 57 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/native/libs/binder/ndk/include_cpp/android/ |
D | binder_parcel_utils.h | 94 template <typename T, size_t N> 95 struct is_fixed_array<std::array<T, N>> : std::true_type {}; 107 template <typename T, size_t N> 111 if (length != static_cast<int32_t>(N)) { 115 std::array<T, N>* arr = static_cast<std::array<T, N>*>(arrayData); 123 template <typename T, size_t N> 126 std::optional<std::array<T, N>>* arr = static_cast<std::optional<std::array<T, N>>*>(arrayData); 132 if (length != static_cast<int32_t>(N)) { 144 template <size_t N> 147 return length == static_cast<int32_t>(N); [all …]
|
/frameworks/native/libs/binder/ |
D | Static.cpp | 39 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()
|