/frameworks/compile/slang/ |
D | slang_rs_export_reduce.cpp | 161 clang::FunctionDecl *RSExportReduce::lookupFunction(StateOfAnalyzeTranslationUnit &S, in lookupFunction() argument 170 const clang::IdentifierInfo *II = S.PP.getIdentifierInfo(Name); in lookupFunction() 177 S.RSC.ReportError(mLocation, in lookupFunction() 180 << Ret->getLocation().printToString(S.PP.getSourceManager()) in lookupFunction() 181 << FDecl->getLocation().printToString(S.PP.getSourceManager()); in lookupFunction() 182 S.Ok = false; in lookupFunction() 190 S.RSC.ReportError(mLocation, in lookupFunction() 193 S.Ok = false; in lookupFunction() 199 S.RSC.ReportError(Ret->getLocation(), "%0 must be static") in lookupFunction() 200 << S.DiagnosticDescription(Kind, Name); in lookupFunction() [all …]
|
D | slang_rs_export_reduce.h | 106 static void notOk(StateOfAnalyzeTranslationUnit &S, FnIdent Kind); 108 static void checkPointeeConstQualified(StateOfAnalyzeTranslationUnit &S, 112 …static void checkVoidReturn(StateOfAnalyzeTranslationUnit &S, FnIdent Kind, clang::FunctionDecl *F… 114 clang::FunctionDecl *lookupFunction(StateOfAnalyzeTranslationUnit &S, 117 void analyzeInitializer(StateOfAnalyzeTranslationUnit &S); 118 void analyzeAccumulator(StateOfAnalyzeTranslationUnit &S); 119 void analyzeCombiner(StateOfAnalyzeTranslationUnit &S); 120 void analyzeOutConverter(StateOfAnalyzeTranslationUnit &S); 121 void analyzeHalter(StateOfAnalyzeTranslationUnit &S); 122 void analyzeResultType(StateOfAnalyzeTranslationUnit &S);
|
/frameworks/av/media/libmedia/include/media/ |
D | Modulo.h | 100 template <typename S> 102 Modulo<T> operator +=(const Modulo<S> &other) { 103 static_assert(sizeof(T) <= sizeof(S), "argument size mismatch"); 108 template <typename S> 110 Modulo<T> operator -=(const Modulo<S> &other) { 111 static_assert(sizeof(T) <= sizeof(S), "argument size mismatch"); 118 template <typename S> 120 const Modulo<T> operator +(const Modulo<S> &other) const { 121 static_assert(sizeof(T) == sizeof(S), "argument size mismatch"); 125 template <typename S> [all …]
|
/frameworks/av/media/codec2/core/include/ |
D | C2ParamDef.h | 38 template<typename S, typename=decltype(S() == S())> 43 template<typename S, typename=decltype(S() != S())> 54 template<typename S> 56 : public std::integral_constant<bool, decltype(_C2Comparable_impl::TestEqual<S>(0))::value 57 || decltype(_C2Comparable_impl::TestNotEqual<S>(0))::value> { 63 template<typename S, int=S::CORE_INDEX> 76 template<typename S, int CoreIndex> 77 struct C2_HIDE _C2AddCoreIndex : public S { 88 template<typename S, int CoreIndex, unsigned TypeFlags> 91 std::is_default_constructible<S>::value, "C2 structure must have default constructor"); [all …]
|
/frameworks/base/libs/hwui/utils/ |
D | Pair.h | 25 template <typename F, typename S> 28 S second; 32 Pair(const F& f, const S& s) : first(f), second(s) {} in Pair() 36 inline const S& getSecond() const { return second; } in getSecond() 41 template <typename F, typename S> 42 struct trait_trivial_ctor<uirenderer::Pair<F, S> > { 43 enum { value = aggregate_traits<F, S>::has_trivial_ctor }; 45 template <typename F, typename S> 46 struct trait_trivial_dtor<uirenderer::Pair<F, S> > { 47 enum { value = aggregate_traits<F, S>::has_trivial_dtor }; [all …]
|
D | TypeLogic.h | 23 template <typename D, typename S> struct copy_const { 24 using type = std::conditional_t<std::is_const<S>::value, std::add_const_t<D>, D>; 26 template <typename D, typename S> using copy_const_t = typename copy_const<D, S>::type; 28 template <typename D, typename S> struct copy_volatile { 29 using type = std::conditional_t<std::is_volatile<S>::value, std::add_volatile_t<D>, D>; 31 template <typename D, typename S> using copy_volatile_t = typename copy_volatile<D, S>::type; 33 template <typename D, typename S> struct copy_cv { 34 using type = copy_volatile_t<copy_const_t<D, S>, S>; 37 template <typename D, typename S> using same_cv = copy_cv<std::remove_cv_t<D>, S>; 38 template <typename D, typename S> using same_cv_t = typename same_cv<D, S>::type;
|
/frameworks/av/include/media/ |
D | Interpolator.h | 39 template <typename S, typename T> 40 class Interpolator : public std::map<S, T> { 54 std::pair<S, T> first() const { in first() 58 std::pair<S, T> last() const { in last() 63 T findY(S x) { // logically const, but modifies cache in findY() 89 const S interval = high->first - low->first; in findY() 93 const S t = (x - low->first) / interval; in findY() 94 const S t2 = t * t; in findY() 125 S sec, sec0, sec1; in findY() 137 S m0, m1; in findY() [all …]
|
D | VolumeShaper.h | 59 using S = float; // time type 111 class Configuration : public Interpolator<S, T>, public RefBase, public Parcelable { 129 using InterpolatorType = Interpolator<S, T>::InterpolatorType; 132 : Interpolator<S, T>() in Configuration() 141 : Interpolator<S, T>(*static_cast<const Interpolator<S, T> *>(&configuration)) in Configuration() 306 Interpolator<S, T>::writeToConfig(&*parcelable->interpolatorConfig); in writeToParcelable() 325 : Interpolator<S, T>::readFromConfig(*parcelable.interpolatorConfig) in readFromParcelable() 337 ss << ", " << Interpolator<S, T>::toString().c_str(); in toString() 422 : Operation(flags, replaceId, std::numeric_limits<S>::quiet_NaN() /* xOffset */) { in Operation() 433 Operation(Flag flags, int replaceId, S xOffset) in Operation() [all …]
|
/frameworks/rs/cpu_ref/ |
D | Android.bp | 45 "rsCpuIntrinsics_advsimd_3DLUT.S", 46 "rsCpuIntrinsics_advsimd_Convolve.S", 47 "rsCpuIntrinsics_advsimd_Blur.S", 48 "rsCpuIntrinsics_advsimd_ColorMatrix.S", 49 "rsCpuIntrinsics_advsimd_Resize.S", 50 "rsCpuIntrinsics_advsimd_YuvToRGB.S", 51 "rsCpuIntrinsics_advsimd_Blend.S", 62 "rsCpuIntrinsics_neon_3DLUT.S", 63 "rsCpuIntrinsics_neon_Blend.S", 64 "rsCpuIntrinsics_neon_Blur.S", [all …]
|
/frameworks/base/libs/hwui/tests/scripts/ |
D | prep_volantis.sh | 29 S=1326000 30 echo "set cpu $cpu to $S hz"; 32 adb shell "echo $S > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq" 33 adb shell "echo $S > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq" 34 adb shell "echo $S > /sys/devices/system/cpu/cpu0/cpufreq/scaling_setspeed" 43 S=324000000 44 echo "set gpu to $S hz" 46 adb shell "echo $S > /d/clock/override.gbus/rate"
|
D | prep_fugu.sh | 32 S=1166000 34 echo "Setting cpu ${cpu} & $(($cpu + 1)) cluster to $S hz" 38 adb shell "echo $S > $cpubase/cpu${cpu}/cpufreq/scaling_max_freq" 39 adb shell "echo $S > $cpubase/cpu${cpu}/cpufreq/scaling_min_freq" 40 adb shell "echo $S > $cpubase/cpu${cpu}/cpufreq/scaling_setspeed"
|
D | prep_ryu.sh | 8 S=1326000 9 echo "set cpu to $S hz"; 11 adb shell "echo $S > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq" 12 adb shell "echo $S > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq"
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/people/ |
D | ViewPipeline.kt | 25 fun <S, T> DataListener<T>.contraMap(mapper: (S) -> T): DataListener<S> = object : DataListener<S> { in onDataChanged() 26 override fun onDataChanged(data: S) = onDataChanged(mapper(data)) in onDataChanged() 41 fun <S, T> DataSource<S>.map(mapper: (S) -> T): DataSource<T> = object : DataSource<T> { in map()
|
/frameworks/base/core/java/com/android/internal/infra/ |
D | AbstractRemoteService.java | 67 public abstract class AbstractRemoteService<S extends AbstractRemoteService<S, I>, 85 private final VultureCallback<S> mVultureCallback; 100 private final ArrayList<BasePendingRequest<S, I>> mUnfinishedRequests = new ArrayList<>(); 118 @NonNull ComponentName componentName, int userId, @NonNull VultureCallback<S> callback, in AbstractRemoteService() 236 final S castService = (S) this; in handleBinderDied() 291 protected void scheduleRequest(@NonNull BasePendingRequest<S, I> pendingRequest) { in scheduleRequest() argument 301 void finishRequest(@NonNull BasePendingRequest<S, I> finshedRequest) { in finishRequest() argument 306 private void handleFinishRequest(@NonNull BasePendingRequest<S, I> finshedRequest) { in handleFinishRequest() argument 323 final MyAsyncPendingRequest<S, I> asyncRequest = new MyAsyncPendingRequest(this, request); in scheduleAsyncRequest() 338 final MyAsyncPendingRequest<S, I> asyncRequest = new MyAsyncPendingRequest(this, request); in executeAsyncRequest() [all …]
|
D | AbstractSinglePendingRequestRemoteService.java | 41 public abstract class AbstractSinglePendingRequestRemoteService<S 42 extends AbstractSinglePendingRequestRemoteService<S, I>, I extends IInterface> 43 extends AbstractRemoteService<S, I> { 45 protected BasePendingRequest<S, I> mPendingRequest; 49 @NonNull VultureCallback<S> callback, @NonNull Handler handler, in AbstractSinglePendingRequestRemoteService() 58 final BasePendingRequest<S, I> pendingRequest = mPendingRequest; in handlePendingRequests() 89 void handlePendingRequestWhileUnBound(@NonNull BasePendingRequest<S, I> pendingRequest) { in handlePendingRequestWhileUnBound() argument
|
/frameworks/base/cmds/incident_helper/testdata/ |
D | ps.txt | 1 … USER PID TID PPID VSZ RSS WCHAN ADDR S PRI NI RTPRIO SCH P… 2 … root 1 1 0 15816 2636 SyS_epoll_wait 0 S 19 0 - 0 … 3 … root 2 2 0 0 0 kthreadd 0 S 19 0 - 0 … 4 … system 499 534 1 73940 22024 futex_wait_queue_me 0 S 42 -9 2 1 … 5 … gps 670 2004 1 43064 7272 poll_schedule_timeout 0 S 19 0 - 0 fg… 6 …2,c768 u0_a48 1660 1976 806 4468612 138328 binder_thread_read 0 S 35 -16 - 0 … 7 …oot 1939 1946 1 18132 2088 __skb_recv_datagram 7b9782fd14 S 19 0 - 0 00:00:… 8 … root 1939 1955 1 18132 2088 do_sigtimedwait 7b9782ff6c S 19 0 - 0 00…
|
/frameworks/native/cmds/lshal/ |
D | NullableOStream.h | 24 template<typename S> 27 explicit NullableOStream(S &os) : mOs(&os) {} in NullableOStream() 28 explicit NullableOStream(S *os) : mOs(os) {} in NullableOStream() 29 NullableOStream &operator=(S &os) { 33 NullableOStream &operator=(S *os) { 56 S& buf() const { in buf() 66 S *mOs = nullptr;
|
/frameworks/native/services/sensorservice/ |
D | vec.h | 47 template < template<typename T, size_t S> class VEC, 48 typename TYPE, size_t SIZE, size_t S> 50 vec<TYPE, SIZE>& lhs, const VEC<TYPE, S>& rhs) { in doAssign() 51 const size_t minSize = min(SIZE, S); in doAssign() 52 const size_t maxSize = max(SIZE, S); in doAssign() 62 template<typename T, size_t S> class VLHS, 63 template<typename T, size_t S> class VRHS, 77 template<typename T, size_t S> class VLHS, 78 template<typename T, size_t S> class VRHS, 92 template<typename T, size_t S> class VEC, [all …]
|
/frameworks/compile/mclinker/lib/Target/ARM/ |
D | ARMRelocator.cpp | 791 Relocator::DWord S = pReloc.symValue(); in abs32() local 793 helper_clear_thumb_bit(S); in abs32() 800 pReloc.target() = (S + A) | T; in abs32() 807 S = helper_get_PLT_address(*rsym, pParent); in abs32() 819 pReloc.target() = (S + A) | T; in abs32() 826 Relocator::Address S = pReloc.symValue(); in rel32() local 833 S = helper_get_PLT_address(*pReloc.symInfo(), pParent); in rel32() 839 helper_clear_thumb_bit(S); in rel32() 842 pReloc.target() = ((S + A) | T) - pReloc.place(); in rel32() 860 Relocator::Address S = pReloc.symValue(); in gotoff32() local [all …]
|
/frameworks/base/startop/scripts/trace_analyzer/test_fixtures/ |
D | common_systrace | 19 …ed_switch: prev_comm=kworker/u16:16 prev_pid=23269 prev_prio=120 prev_state=S ==> next_comm=swappe… 25 …ed_switch: prev_comm=kworker/u16:18 prev_pid=18150 prev_prio=120 prev_state=S ==> next_comm=swappe… 26 …ed_switch: prev_comm=kworker/u16:16 prev_pid=23269 prev_prio=120 prev_state=S ==> next_comm=swappe… 27 …ed_switch: prev_comm=kworker/u16:18 prev_pid=18150 prev_prio=120 prev_state=S ==> next_comm=swappe… 28 …8: sched_switch: prev_comm=ksoftirqd/4 prev_pid=47 prev_prio=120 prev_state=S ==> next_comm=swappe… 29 …sched_switch: prev_comm=kworker/6:2 prev_pid=10610 prev_prio=120 prev_state=S ==> next_comm=swappe… 31 …ed_switch: prev_comm=ndroid.systemui prev_pid=1803 prev_prio=120 prev_state=S ==> next_comm=swappe… 32 …<...>-3359 (-----) [001] ...1 14594.219856: tracing_mark_write: S|1368|launching: com.google.andr… 39 …ched_switch: prev_comm=statsd.writer prev_pid=1052 prev_prio=120 prev_state=S ==> next_comm=UiThre… 46 …hed_switch: prev_comm=UiThreadHelper prev_pid=2045 prev_prio=118 prev_state=S ==> next_comm=Binder… [all …]
|
/frameworks/rs/ |
D | support.bp | 119 "cpu_ref/rsCpuIntrinsics_neon_3DLUT.S", 120 "cpu_ref/rsCpuIntrinsics_neon_Blend.S", 121 "cpu_ref/rsCpuIntrinsics_neon_Blur.S", 122 "cpu_ref/rsCpuIntrinsics_neon_ColorMatrix.S", 123 "cpu_ref/rsCpuIntrinsics_neon_Convolve.S", 124 "cpu_ref/rsCpuIntrinsics_neon_Resize.S", 125 "cpu_ref/rsCpuIntrinsics_neon_YuvToRGB.S", 140 "cpu_ref/rsCpuIntrinsics_advsimd_3DLUT.S", 141 "cpu_ref/rsCpuIntrinsics_advsimd_Blend.S", 142 "cpu_ref/rsCpuIntrinsics_advsimd_Blur.S", [all …]
|
/frameworks/compile/mclinker/lib/Target/Mips/ |
D | MipsRelocator.cpp | 66 Relocation::DWord S() const { return m_Symbol; } in S() function in mcld::MipsRelocationInfo 677 uint64_t value = pReloc.S(); in getGOTOffset() 696 Relocator::DWord S = pReloc.S(); in createDynRel() local 706 pReloc.result() = A + S; in createDynRel() 848 Relocator::DWord S = pReloc.S(); in abs32() local 857 pReloc.result() = S + A; in abs32() 866 pReloc.result() = S + A; in abs32() 880 int32_t S = rsym->reserved() & MipsRelocator::ReservePLT in rel26() local 882 : pReloc.S(); in rel26() 889 pReloc.result() = (pReloc.result() + S) >> 2; in rel26() [all …]
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/tracing/ |
D | FrameProtoTracer.java | 42 public class FrameProtoTracer<P, S extends P, T extends P, R> 49 private final TraceBuffer<P, S, T> mBuffer; 51 private final ProtoTraceParams<P, S, T, R> mParams; 60 private final TraceBuffer.ProtoProvider<P, S, T> mProvider = 61 new TraceBuffer.ProtoProvider<P, S, T>() { 73 public void write(S encapsulatingProto, Queue<T> buffer, OutputStream os) 79 public interface ProtoTraceParams<P, S, T, R> { 81 S getEncapsulatingTraceProto(); in getEncapsulatingTraceProto() 83 byte[] serializeEncapsulatingProto(S encapsulatingProto, Queue<T> buffer); in serializeEncapsulatingProto() 88 public FrameProtoTracer(ProtoTraceParams<P, S, T, R> params) { in FrameProtoTracer() argument
|
/frameworks/base/tests/JankBench/scripts/external/ |
D | statistics.py | 183 def _coerce(T, S): argument 194 if T is S: return T 196 if S is int or S is bool: return T 197 if T is int: return S 199 if issubclass(S, T): return S 200 if issubclass(T, S): return T 202 if issubclass(T, int): return S 203 if issubclass(S, int): return T 205 if issubclass(T, Fraction) and issubclass(S, float): 206 return S [all …]
|
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/ |
D | InternalCleanupClient.java | 42 public abstract class InternalCleanupClient<S extends BiometricAuthenticator.Identifier, T> 61 private final BiometricUtils<S> mBiometricUtils; 63 private final List<S> mEnrolledList; 102 List<S> enrolledList, BiometricUtils<S> utils, int sensorId); in getEnumerateClient() 104 protected abstract RemovalClient<S, T> getRemovalClient(Context context, in getRemovalClient() 106 BiometricUtils<S> utils, int sensorId, Map<Integer, Long> authenticatorIds); in getRemovalClient() 110 @NonNull List<S> enrolledList, @NonNull BiometricUtils<S> utils, in InternalCleanupClient() 165 ((RemovalClient<S, T>) mCurrentTask).onRemoved(identifier, remaining); in onRemoved()
|