Home
last modified time | relevance | path

Searched refs:S (Results 1 – 25 of 284) sorted by relevance

12345678910>>...12

/frameworks/compile/slang/
Dslang_rs_export_reduce.cpp161 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 …]
Dslang_rs_export_reduce.h106 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/
DModulo.h100 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/
DC2ParamDef.h38 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/
DPair.h25 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 …]
DTypeLogic.h23 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/
DInterpolator.h39 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 …]
DVolumeShaper.h59 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/
DAndroid.bp45 "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/rs/toolkit/
DAndroid.bp55 "Blend_advsimd.S",
56 "Blur_advsimd.S",
57 "ColorMatrix_advsimd.S",
58 "Convolve_advsimd.S",
59 "Lut3d_advsimd.S",
60 "Resize_advsimd.S",
61 "YuvToRgb_advsimd.S",
72 "Blend_neon.S",
73 "Blur_neon.S",
74 "ColorMatrix_neon.S",
[all …]
/frameworks/base/libs/hwui/tests/scripts/
Dprep_volantis.sh29 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"
Dprep_fugu.sh32 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"
Dprep_ryu.sh8 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/
DViewPipeline.kt25 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/cmds/incident_helper/testdata/
Dps.txt1 … 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/base/core/java/com/android/internal/infra/
DAbstractRemoteService.java72 public abstract class AbstractRemoteService<S extends AbstractRemoteService<S, I>,
91 private final VultureCallback<S> mVultureCallback;
109 private final ArrayList<BasePendingRequest<S, I>> mUnfinishedRequests = new ArrayList<>();
127 @NonNull ComponentName componentName, int userId, @NonNull VultureCallback<S> callback, in AbstractRemoteService()
248 final S castService = (S) this; in handleBinderDied()
346 protected void scheduleRequest(@NonNull BasePendingRequest<S, I> pendingRequest) { in scheduleRequest() argument
356 void finishRequest(@NonNull BasePendingRequest<S, I> finshedRequest) { in finishRequest() argument
361 private void handleFinishRequest(@NonNull BasePendingRequest<S, I> finshedRequest) { in handleFinishRequest() argument
378 final MyAsyncPendingRequest<S, I> asyncRequest = new MyAsyncPendingRequest(this, request); in scheduleAsyncRequest()
393 final MyAsyncPendingRequest<S, I> asyncRequest = new MyAsyncPendingRequest(this, request); in executeAsyncRequest()
[all …]
DAbstractSinglePendingRequestRemoteService.java41 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/native/cmds/lshal/
DNullableOStream.h24 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/
Dvec.h47 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/
DARMRelocator.cpp791 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/rs/
Dsupport.bp119 "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/
DMipsRelocator.cpp66 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/
DFrameProtoTracer.java42 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/services/core/java/com/android/server/infra/
DAbstractMasterSystemService.java80 public abstract class AbstractMasterSystemService<M extends AbstractMasterSystemService<M, S>,
81 S extends AbstractPerUserSystemService<S, M>> extends SystemService {
175 private final SparseArray<List<S>> mServicesCacheList = new SparseArray<>();
387 final S oldService = peekServiceForUserLocked(userId); in setTemporaryService()
425 final S oldService = peekServiceForUserLocked(userId); in setTemporaryServices()
458 final S oldService = peekServiceForUserLocked(userId); in setDefaultServiceEnabled()
509 final S service = getServiceForUserLocked(userId); in resetTemporaryService()
538 protected abstract S newServiceLocked(@UserIdInt int resolvedUserId, boolean disabled); in newServiceLocked()
550 protected List<S> newServiceListLocked(@UserIdInt int resolvedUserId, boolean disabled, in newServiceListLocked()
592 protected S getServiceForUserLocked(@UserIdInt int userId) { in getServiceForUserLocked()
[all …]
/frameworks/base/tests/JankBench/scripts/external/
Dstatistics.py183 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 …]

12345678910>>...12