| /CTR-SDK-4.2.8-20130828/include/nn/math/ |
| D | math_Utility.h | 35 template <typename T> 36 inline T Abs(T x) in Abs() 52 template <typename T, typename U, typename S> 53 inline S Max(T a, U b) in Max() 67 template <typename T> 68 inline T Max(T a, T b) in Max() 84 template <typename T, typename U, typename S> 85 inline S Min(T a, U b) in Min() 99 template <typename T> 100 inline T Min(T a, T b) in Min() [all …]
|
| /CTR-SDK-4.2.8-20130828/sources/libraries/rdt/CTR/ |
| D | rdt_Deque.h | 31 template <class T, size_t N> 62 void PushBack(const T &value); 72 const T& Front(void) const; 77 T& Front(void); 82 const T& Back(void) const; 87 T& Back(void); 92 const T& At(size_t n) const; 111 T m_array[N]; 120 template <class T, size_t N> 121 Deque<T, N>::Deque(void) in Deque() [all …]
|
| D | rdt_Queue.h | 31 template <class T, size_t N> 57 void Push(const T &value); 67 const T& Front(void) const; 72 const T& Back(void) const; 96 T m_array[N]; 103 template <class T, size_t N> 104 Queue<T, N>::Queue(void) in Queue() 110 template <class T, size_t N> 111 Queue<T, N>::~Queue(void) in ~Queue() 116 template <class T, size_t N> [all …]
|
| D | rdt_Utility.h | 98 template <class T> 105 T t; in Align() 255 template <class T> 256 T min(T a, T b) in min() 261 template <class T> 262 T max(T a, T b) in max()
|
| /CTR-SDK-4.2.8-20130828/include/nn/fnd/ |
| D | fnd_LinkedList.h | 73 template <typename T, typename Tag = void> 74 class IntrusiveLinkedList : private nn::util::NonCopyable<IntrusiveLinkedList<T, Tag> > 102 void PushBack(T* p); 109 void PushFront(T* p); 116 T* GetFront() const; 123 T* GetBack() const; 132 T* PopFront(); 141 T* PopBack(); 150 T* GetNext(T* p) const; 159 T* GetPrevious(T* p) const; [all …]
|
| D | fnd_Allocator.h | 73 template <typename Allocator, typename T, typename Tag = void> 80 typedef T* pointer; 81 typedef const T* const_pointer; 82 typedef T& reference; 83 typedef const T& const_reference; 84 typedef T value_type; 92 …{ return static_cast<T*>(StdAllocatorAdapterHolder<Allocator, Tag>::GetAllocator()->Allocate(n * s… 94 … size_type max_size() const throw() { return ::std::numeric_limits<size_type>::max() / sizeof(T); } in max_size() 95 void construct(pointer p, const T& val) { new (static_cast<void*>(p)) T(val); } in construct() 96 void destroy(pointer p) { p->~T(); } in destroy() [all …]
|
| D | fnd_Interlocked.h | 52 template <typename T> 79 volatile T m_v; // 88 bool operator()(T& x) { x = m_converter(x); return true; } 94 T m_operand; \ 96 bool operator()(T& x) { x op m_operand; return true; } \ 111 T result; \ 112 bool operator()(T& x) { result = preop x postop; return true; } \ 124 T m_comparand; 125 T m_value; 126 T m_result; [all …]
|
| D | fnd_Queue.h | 33 template <typename T, typename Tag = void> 34 class IntrusiveQueue : private nn::util::NonCopyable<IntrusiveQueue<T, Tag> > 57 void Enqueue(T* p); 66 T* Dequeue(); 85 template <typename T, typename Tag> 86 class IntrusiveQueue<T, Tag>::Item : private nn::util::NonCopyable<IntrusiveQueue<T, Tag>::Item> 96 template <typename T, typename Tag> 97 inline void IntrusiveQueue<T, Tag>::Enqueue(T* p) in Enqueue() 114 template <typename T, typename Tag> 115 inline T* IntrusiveQueue<T, Tag>::Dequeue() in Dequeue() [all …]
|
| D | fnd_FixedBufferVector.h | 26 template <typename T, int NUM_OF_T> 36 const T& operator[](int index) const 40 T& operator[](int index) 45 void Add(T v) in Add() 49 T* Add() in Add() 53 T* p = &m_Buffer[m_Length]; in Add() 74 T* GetBegin() { return &m_Buffer[0]; } in GetBegin() 75 T* GetEnd() { return &m_Buffer[m_Length]; } in GetEnd() 76 const T* GetBegin() const { return &m_Buffer[0]; } in GetBegin() 77 const T* GetEnd() const { return &m_Buffer[m_Length]; } in GetEnd() [all …]
|
| /CTR-SDK-4.2.8-20130828/include/nn/fnd/ARMv6/ |
| D | fnd_Interlocked.h | 30 template <typename T> 33 static T LoadRegEx (volatile T* ptr) { return __ldrex(ptr); } in LoadRegEx() 34 static int StoreRegEx(T val, volatile T* ptr) { return __strex(val, ptr); } in StoreRegEx() 48 template <typename T, typename = void> struct AtomicStorageSelecter; 50 …template <typename T> struct AtomicStorageSelecter<T, typename nn::util::enable_if<sizeof(T) == si… 55 …template <typename T> struct AtomicStorageSelecter<T, typename nn::util::enable_if<sizeof(T) == si… 60 …template <typename T> struct AtomicStorageSelecter<T, typename nn::util::enable_if<sizeof(T) == si… 65 …template <typename T> struct AtomicStorageSelecter<T, typename nn::util::enable_if<sizeof(T) == si… 84 template <typename T> 85 static T* CompareAndSwap(T** pTarget, T* comp, T* swap) [all …]
|
| /CTR-SDK-4.2.8-20130828/include/nn/os/ |
| D | os_ManagedThread.h | 151 template <typename T, typename U, typename Stack> 152 …nn::Result TryInitialize (void (*f)(T), U param , Stack& stack, s32 priority = P… 169 template <typename T, typename Stack> 170 …nn::Result TryInitialize (void (*f)(T*), const T& param, Stack& stack, s32 priori… 187 template <typename T, typename Stack> 188 …nn::Result TryInitialize (void (*f)(const T*), const T& param, Stack& stack, s32 prio… 221 template <typename T, typename U, typename Stack> 222 …void Initialize (void (*f)(T), U param, Stack& stack, s32 priority = P… 237 template <typename T, typename Stack> 238 …void Initialize (void (*f)(T*), const T& param, Stack& stack, s32 priori… [all …]
|
| D | os_Thread.h | 226 template <typename T, typename U, typename Stack> 227 …void Start(void (*f)(T), U param, Stack& stack, s32 priority = DEFAULT_THREAD_PRIORITY, s32 coreNo… 228 template <typename T, typename Stack> 229 …void Start(void (*f)(T*), T& param, Stack& stack, s32 priority = DEFAULT_THREAD_PRIORITY, s32 core… 230 template <typename T, typename Stack> 231 …void Start(void (*f)(const T&), const T& param, Stack& stack, s32 priority = DEFAULT_THREAD_PRIORI… 277 template <typename T, typename U, typename Stack> 278 …nn::Result TryStart(void (*f)(T), U param, Stack& stack, s32 priority = DEFAULT_THREAD_PRIORITY, s… 279 template <typename T, typename Stack> 280 …nn::Result TryStart(void (*f)(T*), T& param, Stack& stack, s32 priority = DEFAULT_THREAD_PRIORITY,… [all …]
|
| D | os_Alarm.h | 141 template <typename T> 142 void SetOneShot(nn::fnd::TimeSpan time, void (*handler)(T* param, bool cancelled), T* param); 159 template <typename T> 160 …TimeSpan initial, nn::fnd::TimeSpan interval, void (*handler)(T* param, bool cancelled), T* param); 175 template <typename T> 176 … void SetPeriodic(nn::fnd::TimeSpan interval, void (*handler)(T* param, bool cancelled), T* param); 227 template <typename T> 228 inline void Alarm::SetOneShot(nn::fnd::TimeSpan time, void (*handler)(T* param, bool cancelled), T*… in SetOneShot() 233 template <typename T> 234 …eriodic(nn::fnd::TimeSpan initial, nn::fnd::TimeSpan interval, void (*handler)(T*, bool), T* param) in SetPeriodic() argument [all …]
|
| D | os_LightAlarm.h | 168 template <typename T> 169 void SetOneShot(nn::fnd::TimeSpan time, void (*handler)(T* param, bool cancelled), T* param); 186 template <typename T> 187 …TimeSpan initial, nn::fnd::TimeSpan interval, void (*handler)(T* param, bool cancelled), T* param); 202 template <typename T> 203 … void SetPeriodic(nn::fnd::TimeSpan interval, void (*handler)(T* param, bool cancelled), T* param); 235 template <typename T> 236 …LightAlarm::SetOneShot(nn::fnd::TimeSpan time, void (*handler)(T* param, bool cancelled), T* param) in SetOneShot() 241 template <typename T> 242 …eriodic(nn::fnd::TimeSpan initial, nn::fnd::TimeSpan interval, void (*handler)(T*, bool), T* param) in SetPeriodic() argument [all …]
|
| D | os_ContinuationIterator.h | 95 template <class T> 100 T m_Value; 106 void SetCurrent(const T& value) { m_Value = value; } in SetCurrent() 110 Result YieldReturn(const T& value) { SetCurrent(value); return Yield(); } in YieldReturn() 113 const T& GetCurrent() const { return m_Value; } in GetCurrent()
|
| /CTR-SDK-4.2.8-20130828/include/nn/util/ |
| D | util_TypeTraits.h | 40 template <class T, T v> struct integral_constant; 45 template <class T> struct is_void; 87 template <class T> struct alignment_of; 92 template <class T, class U> struct is_same; 125 template <bool, class T = void> struct enable_if; 134 template <class T, T v> 137 typedef integral_constant<T, v> type; 138 typedef T value_type; 156 template <class T> 157 struct alignment_of : public integral_constant<size_t, __alignof__(T)> {}; [all …]
|
| D | util_Misc.h | 27 template <typename T, size_t Num> 28 size_t GetArraySize(T (&a)[Num]) in GetArraySize() 42 template <typename T, size_t Num> 43 const SizeTValue<Num>& GetArraySizeT(T (&a)[Num]) in GetArraySizeT() 51 template <typename T, size_t Num> 52 char (*NumOfElementsT(T (&a)[Num]))[Num];
|
| /CTR-SDK-4.2.8-20130828/include/nn/ro/ |
| D | ro_Module.h | 195 template<typename T> 196 T GetPointer(const char* name) const in GetPointer() 197 { return reinterpret_cast<T>(GetAddress(name)); } in GetPointer() 213 template<typename T> 214 T GetPointer(s32 index) const in GetPointer() 215 { return reinterpret_cast<T>(GetAddress(index)); } in GetPointer()
|
| D | ro_SectionTable.h | 154 template<typename T> 155 T GetPointer(int index, u32 offset) const in GetPointer() 157 return reinterpret_cast<T>(GetAddress(index, offset)); in GetPointer() 165 template<typename T> 166 T GetPointer(nn::drivers::ro::SectionAndOffset sao) const in GetPointer() 168 return reinterpret_cast<T>(GetAddress(sao)); in GetPointer()
|
| D | ro_Api.h | 151 template<typename T> 152 T GetPointer(const char* name) in GetPointer() 153 { return reinterpret_cast<T>(GetAddress(name)); } in GetPointer()
|
| /CTR-SDK-4.2.8-20130828/include/nn/os/ARM/ |
| D | os_ExceptionHandler.h | 160 template <typename T> 162 UserExceptionHandler pHandler, T* pStack, ExceptionBuffer* pExceptionBuffer) in SetUserExceptionHandler() 223 template <typename T> 225 UserExceptionHandler pHandler, T* pStack, ExceptionBuffer* pExceptionBuffer) in SetUserExceptionHandlerLocal() 271 template <typename T> 272 void SetUserExceptionHandler(UserExceptionHandler pHandler, T* pStack) in SetUserExceptionHandler()
|
| /CTR-SDK-4.2.8-20130828/include/nn/fslow/ |
| D | fslow_Path.h | 125 template <typename T> 126 void SetBinary(const T* p) in SetBinary() 130 this->m_BinarySize = sizeof(T); in SetBinary() 133 template <typename T> 134 static LowPath Make(const T* p) in Make() 173 template <class T> 174 operator const T*() const 176 if (m_Path->GetPathType() == PATH_TYPE_BINARY && m_Path->GetBinarySize() == sizeof(T)) 178 return static_cast<const T*>(m_Path->m_Data);
|
| D | fslow_HandleTable.h | 110 template<class T> 126 const HandleValue& Register(const T& object) in Register() 142 const T& GetObject() const { return m_Object; } in GetObject() 149 T m_Object; 155 template<class T, size_t TNumEntry> 158 typedef HandleTableEntry<T> TEntry; 176 const HandleValue& Register(const T& object) in Register() 192 const T& GetObject(const HandleValue& value) const in GetObject() 199 bool TryGetObject(T* pObject, const HandleValue& value) const in TryGetObject()
|
| /CTR-SDK-4.2.8-20130828/include/nn/util/detail/ |
| D | util_InitializationTransaction.h | 27 #define NN_UTIL_DETAIL_REGISTER_INITIALIZATION_TRANSACTION(transaction, T, object, f) \ argument 31 T& m_Object; \ 34 …OIN_(nn_util_detail_initialtransaction_class_, __LINE__)(bool& transaction, T& object) : m_Object(…
|
| /CTR-SDK-4.2.8-20130828/sources/libraries/dbg/ |
| D | dbg_Default.cpp | 29 template <typename T> 30 inline T Replace(T& var, T v) in Replace() 32 T old = var; in Replace()
|