Home
last modified time | relevance | path

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

12345678910>>...14

/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/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/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/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{}; // initialization not needed, used for clang-tidy in findY()
137 S m0, m1; in findY()
[all …]
/frameworks/rs/cpu_ref/
DAndroid.bp42 "rsCpuIntrinsics_advsimd_3DLUT.S",
43 "rsCpuIntrinsics_advsimd_Convolve.S",
44 "rsCpuIntrinsics_advsimd_Blur.S",
45 "rsCpuIntrinsics_advsimd_ColorMatrix.S",
46 "rsCpuIntrinsics_advsimd_Resize.S",
47 "rsCpuIntrinsics_advsimd_YuvToRGB.S",
48 "rsCpuIntrinsics_advsimd_Blend.S",
60 "rsCpuIntrinsics_neon_3DLUT.S",
61 "rsCpuIntrinsics_neon_Blend.S",
62 "rsCpuIntrinsics_neon_Blur.S",
[all …]
/frameworks/native/libs/bufferstreams/rust/src/subscribers/
Dshared.rs31 pub struct SharedSubscriber<S: BufferSubscriber>(Arc<Mutex<SharedSubscriberInner<S>>>);
33 struct SharedSubscriberInner<S: BufferSubscriber> {
34 subscriber: S,
38 impl<S: BufferSubscriber> SharedSubscriber<S> {
40 pub fn new(subscriber: S) -> Self { in new()
45 pub fn map_inner<R, F: FnOnce(&S) -> R>(&self, f: F) -> R { in map_inner()
51 pub fn map_inner_mut<R, F: FnOnce(&mut S) -> R>(&self, f: F) -> R { in map_inner_mut()
57 impl<S: BufferSubscriber> Clone for SharedSubscriber<S> {
63 impl<S: BufferSubscriber> BufferSubscriber for SharedSubscriber<S> {
/frameworks/rs/toolkit/
DAndroid.bp52 "Blend_advsimd.S",
53 "Blur_advsimd.S",
54 "ColorMatrix_advsimd.S",
55 "Convolve_advsimd.S",
56 "Lut3d_advsimd.S",
57 "Resize_advsimd.S",
58 "YuvToRgb_advsimd.S",
70 "Blend_neon.S",
71 "Blur_neon.S",
72 "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"
/frameworks/native/include/ftl/details/
Dfunction.h89 template <typename S>
90 static constexpr bool require_trivially_copyable = std::is_trivially_copyable_v<S>;
92 template <typename S>
93 static constexpr bool require_trivially_destructible = std::is_trivially_destructible_v<S>;
95 template <typename S>
96 static constexpr bool require_will_fit_in_opaque_storage = sizeof(S) <= sizeof(type);
98 template <typename S>
100 std::alignment_of_v<S> <= std::alignment_of_v<type>;
103 template <typename S>
104 static type opaque_copy(const S& src) {
[all …]
/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/core/res/geoid_map_assets/
Dgeoid-height-disk-tile-9.textpb2S\203S\325\251\341\351CS\267\322o\245\337F\372P\324\355\324\273\350\337N\022S\304\2252KR\254\265*\…
3 …0\320\2455\006\351\274\357@\321\001\000\360o>\003\202\316)\233\000\250\"\177S\023:\366\212\001\000…
Dgeoid-height-disk-tile-7.textpb2S\270\0058\246[!w\305]\272\265T\207wz\311nM7o\265\030\2466\rFP\032\206H\306*\263 \315W\230\n\2432\…
Dgeoid-height-disk-tile-1.textpb2S\255J\225&x\244\245\3154\265&\357zB\324\205\261M\337\232i|SK\nM\245\201\"\243\335\203\315\007\024…
3 …\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\030S\031\000\000\000\000\…
/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;
110 protected final ArrayList<BasePendingRequest<S, I>> mUnfinishedRequests = new ArrayList<>();
128 @NonNull ComponentName componentName, int userId, @NonNull VultureCallback<S> callback, in AbstractRemoteService()
249 final S castService = (S) this; in handleBinderDied()
343 protected void scheduleRequest(@NonNull BasePendingRequest<S, I> pendingRequest) { in scheduleRequest() argument
353 void finishRequest(@NonNull BasePendingRequest<S, I> finshedRequest) { in finishRequest() argument
358 private void handleFinishRequest(@NonNull BasePendingRequest<S, I> finishedRequest) { in handleFinishRequest() argument
376 final MyAsyncPendingRequest<S, I> asyncRequest = new MyAsyncPendingRequest(this, request); in scheduleAsyncRequest()
391 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()
71 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",
136 "cpu_ref/rsCpuIntrinsics_advsimd_3DLUT.S",
137 "cpu_ref/rsCpuIntrinsics_advsimd_Blend.S",
138 "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/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 …]

12345678910>>...14