Home
last modified time | relevance | path

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

12345678

/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.h38 template <typename S, typename T>
39 class Interpolator : public std::map<S, T> {
60 std::pair<S, T> first() const { in first()
64 std::pair<S, T> last() const { in last()
69 T findY(S x) { // logically const, but modifies cache in findY()
95 const S interval = high->first - low->first; in findY()
99 const S t = (x - low->first) / interval; in findY()
100 const S t2 = t * t; in findY()
131 S sec, sec0, sec1; in findY()
143 S m0, m1; in findY()
[all …]
DVolumeShaper.h54 using S = float; // time type
106 class Configuration : public Interpolator<S, T>, public RefBase, public Parcelable {
124 using InterpolatorType = Interpolator<S, T>::InterpolatorType;
127 : Interpolator<S, T>() in Configuration()
136 : Interpolator<S, T>(*static_cast<const Interpolator<S, T> *>(&configuration)) in Configuration()
296 ?: Interpolator<S, T>::writeToParcel(parcel); in writeToParcel()
309 ?: Interpolator<S, T>::readFromParcel(*parcel) in readFromParcel()
321 ss << ", " << Interpolator<S, T>::toString().c_str(); in toString()
361 : Operation(flags, replaceId, std::numeric_limits<S>::quiet_NaN() /* xOffset */) { in Operation()
372 Operation(Flag flags, int replaceId, S xOffset) in Operation()
[all …]
/frameworks/rs/cpu_ref/
DAndroid.bp41 "rsCpuIntrinsics_advsimd_3DLUT.S",
42 "rsCpuIntrinsics_advsimd_Convolve.S",
43 "rsCpuIntrinsics_advsimd_Blur.S",
44 "rsCpuIntrinsics_advsimd_ColorMatrix.S",
45 "rsCpuIntrinsics_advsimd_Resize.S",
46 "rsCpuIntrinsics_advsimd_YuvToRGB.S",
47 "rsCpuIntrinsics_advsimd_Blend.S",
58 "rsCpuIntrinsics_neon_3DLUT.S",
59 "rsCpuIntrinsics_neon_Blend.S",
60 "rsCpuIntrinsics_neon_Blur.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/core/java/com/android/internal/infra/
DAbstractRemoteService.java64 public abstract class AbstractRemoteService<S extends AbstractRemoteService<S, I>,
82 private final VultureCallback<S> mVultureCallback;
97 private final ArrayList<BasePendingRequest<S, I>> mUnfinishedRequests = new ArrayList<>();
115 @NonNull ComponentName componentName, int userId, @NonNull VultureCallback<S> callback, in AbstractRemoteService()
232 final S castService = (S) this; in handleBinderDied()
287 protected void scheduleRequest(@NonNull BasePendingRequest<S, I> pendingRequest) { in scheduleRequest() argument
297 void finishRequest(@NonNull BasePendingRequest<S, I> finshedRequest) { in finishRequest() argument
302 private void handleFinishRequest(@NonNull BasePendingRequest<S, I> finshedRequest) { in handleFinishRequest() argument
319 final MyAsyncPendingRequest<S, I> asyncRequest = new MyAsyncPendingRequest(this, request); in scheduleAsyncRequest()
383 protected final void handlePendingRequest(@NonNull BasePendingRequest<S, I> pendingRequest) { in handlePendingRequest() argument
[all …]
DAbstractSinglePendingRequestRemoteService.java38 public abstract class AbstractSinglePendingRequestRemoteService<S
39 extends AbstractSinglePendingRequestRemoteService<S, I>, I extends IInterface>
40 extends AbstractRemoteService<S, I> {
42 protected BasePendingRequest<S, I> mPendingRequest;
46 @NonNull VultureCallback<S> callback, @NonNull Handler handler, in AbstractSinglePendingRequestRemoteService()
55 final BasePendingRequest<S, I> pendingRequest = mPendingRequest; in handlePendingRequests()
66 protected BasePendingRequest<S, I> handleCancelPendingRequest() { in handleCancelPendingRequest()
67 BasePendingRequest<S, I> pendingRequest = mPendingRequest; in handleCancelPendingRequest()
92 void handlePendingRequestWhileUnBound(@NonNull BasePendingRequest<S, I> pendingRequest) { in handlePendingRequestWhileUnBound() argument
DAbstractMultiplePendingRequestsRemoteService.java36 public abstract class AbstractMultiplePendingRequestsRemoteService<S
37 extends AbstractMultiplePendingRequestsRemoteService<S, I>, I extends IInterface>
38 extends AbstractRemoteService<S, I> {
42 protected ArrayList<BasePendingRequest<S, I>> mPendingRequests;
46 @NonNull VultureCallback<S> callback, @NonNull Handler handler, in AbstractMultiplePendingRequestsRemoteService()
83 final BasePendingRequest<S, I> request = mPendingRequests.get(i); in handleBindFailure()
102 void handlePendingRequestWhileUnBound(@NonNull BasePendingRequest<S, I> pendingRequest) { in handlePendingRequestWhileUnBound() argument
/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/rs/
Dsupport.bp118 "cpu_ref/rsCpuIntrinsics_neon_3DLUT.S",
119 "cpu_ref/rsCpuIntrinsics_neon_Blend.S",
120 "cpu_ref/rsCpuIntrinsics_neon_Blur.S",
121 "cpu_ref/rsCpuIntrinsics_neon_ColorMatrix.S",
122 "cpu_ref/rsCpuIntrinsics_neon_Convolve.S",
123 "cpu_ref/rsCpuIntrinsics_neon_Resize.S",
124 "cpu_ref/rsCpuIntrinsics_neon_YuvToRGB.S",
139 "cpu_ref/rsCpuIntrinsics_advsimd_3DLUT.S",
140 "cpu_ref/rsCpuIntrinsics_advsimd_Blend.S",
141 "cpu_ref/rsCpuIntrinsics_advsimd_Blur.S",
[all …]
/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/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/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/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/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 …]
/frameworks/base/services/tests/servicestests/res/raw/
Dbackup_telephony_with_password10 …�_��jhy� E2��͚~J��+�� `���sY��"]�/HĬ�����Q�[�$�+�Ing��r�����׉*m*�i�&����<�t�b@/!�9�|� �S�8
12 6�Y �N��&E4�4��S�e�u���� g��@c"�I-v�0B_��f�EǧZ��'��8^�կ0������?{�v5"�ہ2�U"���W��wSbG!�����eU…
13 …�p;n��"��3i��}�%���VBI�; N����f�*i�� �R�+�a� ���v��FvI,��1��x�^-��S}o0~RY�1u��I'&x�…
14 …K��;r|6i��zUaBZ����&�^�é���8a �푁����������,�q��:��W�I��Q���S?)d&��)K�!�n7x��`S�{\�at��x�R…
21 �����Cr.oNj�Zݶ���ft-O�����^��ػ�Љ\%�3*S�*�5 ߀��n�[�-�>b�*��?}8�Tq�~'��݄`��*�ղ���!Bh�����&…
26 …�$�A���Sd5�S��^���{���F�L��d`�VQ̗hC���mwT GB¥�8p�p,��)�⊯L�L!/3Xv�И f=�b<�m?��g�X�@�ф���…
27 B0"�eE'S���5�� P����S�f/�-B�A�3��"�]Ht��Ax@��� ��,x�^HS�D#�<%+��S��F�D���b���ڇ�B�?��_:�cpi>/…
28 ���q�"��.S
34 >S�B�zH�o����f]�����'���P��[>ᯇ���yy����iҹ�1^Y:�d��<�W�S� ��v$QQ�1��3�칉���{��8�է�����:_%4f…
37S{f��� ,{�##���z��Wɍ,d<H��T��/���G~�B��`����G��ۖ�m� � _�z����~e��C(��R�K�� ,���sj��-��…
[all …]
/frameworks/base/services/core/java/com/android/server/infra/
DAbstractMasterSystemService.java78 public abstract class AbstractMasterSystemService<M extends AbstractMasterSystemService<M, S>,
79 S extends AbstractPerUserSystemService<S, M>> extends SystemService {
173 private final SparseArray<S> mServicesCache = new SparseArray<>();
378 final S oldService = peekServiceForUserLocked(userId); in setTemporaryService()
409 final S oldService = peekServiceForUserLocked(userId); in setDefaultServiceEnabled()
456 final S service = getServiceForUserLocked(userId); in resetTemporaryService()
485 protected abstract S newServiceLocked(@UserIdInt int resolvedUserId, boolean disabled); in newServiceLocked()
525 protected S getServiceForUserLocked(@UserIdInt int userId) { in getServiceForUserLocked()
528 S service = mServicesCache.get(resolvedUserId); in getServiceForUserLocked()
546 protected S peekServiceForUserLocked(@UserIdInt int userId) { in peekServiceForUserLocked()
[all …]
/frameworks/base/services/core/java/com/android/server/
DExtconStateObserver.java33 public abstract class ExtconStateObserver<S> extends ExtconUEventObserver {
45 public S parseStateFromFile(ExtconInfo extconInfo) throws IOException { in parseStateFromFile()
56 S state = parseState(extconInfo, event.get("STATE")); in onUEvent()
70 public abstract void updateState(ExtconInfo extconInfo, String eventName, @NonNull S state); in updateState()
81 public abstract S parseState(ExtconInfo extconInfo, String state); in parseState()

12345678