Home
last modified time | relevance | path

Searched refs:T (Results 1 – 25 of 121) sorted by relevance

12345

/device/board/isoftstone/zhiyuan/kernel/driver/ramfs/
Drootfs_arm64.cpio.gz
/device/board/isoftstone/yangfan/common/seetafaceengine/opencv2/3rdparty/carotene/src/
Din_range.cpp54 template <typename T, int elsize> struct vtail
56 static inline void inRange(const T *, const T *, const T *, in inRange()
62 template <typename T> struct vtail<T, 2>
64 static inline void inRange(const T * src, const T * rng1, const T * rng2, in inRange()
67 typedef typename internal::VecTraits<T>::vec128 vec128; in inRange()
68 typedef typename internal::VecTraits<T>::unsign::vec128 uvec128; in inRange()
81 template <typename T> struct vtail<T, 1>
83 static inline void inRange(const T * src, const T * rng1, const T * rng2, in inRange()
86 typedef typename internal::VecTraits<T>::vec128 vec128; in inRange()
87 typedef typename internal::VecTraits<T>::unsign::vec128 uvec128; in inRange()
[all …]
Dmin_max.cpp51 template <typename T>
54 typedef T type;
56 void operator() (const typename internal::VecTraits<T>::vec128 & v_src0, in operator ()()
57 const typename internal::VecTraits<T>::vec128 & v_src1, in operator ()()
58 typename internal::VecTraits<T>::vec128 & v_dst) const in operator ()()
63 void operator() (const typename internal::VecTraits<T>::vec64 & v_src0, in operator ()()
64 const typename internal::VecTraits<T>::vec64 & v_src1, in operator ()()
65 typename internal::VecTraits<T>::vec64 & v_dst) const in operator ()()
70 void operator() (const T * src0, const T * src1, T * dst) const in operator ()()
76 template <typename T>
[all …]
Dabsdiff.cpp51 template <typename T>
54 typedef T type;
56 void operator() (const typename internal::VecTraits<T>::vec128 & v_src0, in operator ()()
57 const typename internal::VecTraits<T>::vec128 & v_src1, in operator ()()
58 typename internal::VecTraits<T>::vec128 & v_dst) const in operator ()()
63 void operator() (const typename internal::VecTraits<T>::vec64 & v_src0, in operator ()()
64 const typename internal::VecTraits<T>::vec64 & v_src1, in operator ()()
65 typename internal::VecTraits<T>::vec64 & v_dst) const in operator ()()
70 void operator() (const T * src0, const T * src1, T * dst) const in operator ()()
76 template <typename T>
[all …]
Dcmp.cpp180 template<typename T>
183 typedef T type;
185 … operator() (const typename internal::VecTraits<T>::vec128 & v_src0, const typename internal::VecT… in operator ()()
186 typename internal::VecTraits<T>::unsign::vec128 & v_dst) const in operator ()()
191 … operator() (const typename internal::VecTraits<T>::vec64 & v_src0, const typename internal::VecTr… in operator ()()
192 typename internal::VecTraits<T>::unsign::vec64 & v_dst) const in operator ()()
197 void operator() (const T * src0, const T * src1, u8 * dst) const in operator ()()
203 template<typename T>
206 typedef T type;
208 … operator() (const typename internal::VecTraits<T>::vec128 & v_src0, const typename internal::VecT… in operator ()()
[all …]
Dcommon.hpp73 template <typename T>
74 inline T *getRowPtr(T *base, ptrdiff_t stride, size_t row) in getRowPtr()
77 return reinterpret_cast<T *>(baseRaw + ptrdiff_t(row) * stride); in getRowPtr()
90 template<typename T> inline T* alignPtr(T* ptr, size_t n=sizeof(T)) in alignPtr()
92 return (T*)(((size_t)ptr + n-1) & -n); in alignPtr()
Ddiv.cpp61 template <typename T>
62 inline T divSaturateQ(const T &v1, const T &v2, const float scale) in divSaturateQ()
84 template <typename T>
85 inline T divSaturate(const T &v1, const T &v2, const float scale) in divSaturate()
97 template <typename T>
98 inline T divWrapQ(const T &v1, const T &v2, const float scale) in divWrapQ()
113 template <typename T>
114 inline T divWrap(const T &v1, const T &v2, const float scale) in divWrap()
140 template <typename T>
142 const T * src0Base, ptrdiff_t src0Stride, in div()
[all …]
Dflip.cpp59 template <typename T>
67 typedef typename VecTraits<T>::vec128 vec128; in flip()
68 typedef typename VecTraits<T>::vec64 vec64; in flip()
70 u32 step_base = 16 / sizeof(T), step_tail = 8 / sizeof(T); in flip()
76 const T * src = getRowPtr((const T *)srcBase, srcStride, i); in flip()
77T * dst = getRowPtr((T *)dstBase, dstStride, (flipMode & FLIP_VERTICAL_MODE) != 0 ? size.height - … in flip()
100 template <typename T>
109 typedef typename VecTraits<T, 3>::vec128 vec128; in flip3()
111 typedef typename VecTraits<T, 3>::vec64 vec64; in flip3()
114 u32 step_base = 16 / sizeof(T), step_base3 = step_base * 3; in flip3()
[all …]
Dadd.cpp49 template <typename T, typename WT>
52 typedef T type;
54 void operator() (const typename internal::VecTraits<T>::vec128 & v_src0, in operator ()()
55 const typename internal::VecTraits<T>::vec128 & v_src1, in operator ()()
56 typename internal::VecTraits<T>::vec128 & v_dst) const in operator ()()
61 void operator() (const typename internal::VecTraits<T>::vec64 & v_src0, in operator ()()
62 const typename internal::VecTraits<T>::vec64 & v_src1, in operator ()()
63 typename internal::VecTraits<T>::vec64 & v_dst) const in operator ()()
68 void operator() (const T * src0, const T * src1, T * dst) const in operator ()()
70 dst[0] = (T)((WT)src0[0] + (WT)src1[0]); in operator ()()
[all …]
Dadd_weighted.cpp51 template <typename T> struct TypeTraits;
60 template <typename T> struct wAdd
62 typedef T type;
65 typedef typename TypeTraits<T>::wide wtype;
71 void operator() (const typename VecTraits<T>::vec128 & v_src0, in operator ()()
72 const typename VecTraits<T>::vec128 & v_src1, in operator ()()
73 typename VecTraits<T>::vec128 & v_dst) const in operator ()()
82 void operator() (const typename VecTraits<T>::vec64 & v_src0, in operator ()()
83 const typename VecTraits<T>::vec64 & v_src1, in operator ()()
84 typename VecTraits<T>::vec64 & v_dst) const in operator ()()
[all …]
/device/soc/esp/esp32/components/nvs_flash/src/
Dintrusive_list.h19 template <typename T>
22 template <typename T>
26 friend class intrusive_list<T>;
27 T* mPrev = nullptr;
28 T* mNext = nullptr;
31 template <typename T>
34 typedef intrusive_list_node<T> TNode;
35 static_assert(std::is_base_of<TNode, T>::value, "");
39 class iterator : public std::iterator<std::forward_iterator_tag, T>
45 iterator(T* pos) : mPos(pos) {} in iterator()
[all …]
Dnvs_page.hpp108 template<typename T>
109 esp_err_t writeItem(uint8_t nsIndex, const char* key, const T& value) in writeItem()
114 template<typename T>
115 esp_err_t readItem(uint8_t nsIndex, const char* key, T& value) in readItem()
120 template<typename T>
121 esp_err_t cmpItem(uint8_t nsIndex, const char* key, const T& value) in cmpItem()
126 template<typename T>
129 return eraseItem(nsIndex, itemTypeOf<T>(), key); in eraseItem()
Dnvs_types.hpp112 template<typename T>
113 void getValue(T& dst) in getValue()
116 dst = *reinterpret_cast<T*>(data); in getValue()
Dnvs_storage.hpp84 template<typename T>
85 esp_err_t writeItem(uint8_t nsIndex, const char* key, const T& value) in writeItem()
90 template<typename T>
91 esp_err_t readItem(uint8_t nsIndex, const char* key, T& value) in readItem()
/device/soc/esp/esp32/components/nvs_flash/include/
Dnvs_handle.hpp67 template<typename T>
68 esp_err_t set_item(const char *key, T value);
92 template<typename T>
93 esp_err_t get_item(const char *key, T &value);
246 template<typename T, typename std::enable_if<std::is_integral<T>::value, void*>::type = nullptr>
249 return static_cast<ItemType>(((std::is_signed<T>::value)?0x10:0x00) | sizeof(T)); in itemTypeOf()
255 template<typename T, typename std::enable_if<std::is_enum<T>::value, int>::type = 0>
258 return static_cast<ItemType>(((std::is_signed<T>::value)?0x10:0x00) | sizeof(T)); in itemTypeOf()
261 template<typename T>
262 constexpr ItemType itemTypeOf(const T&) in itemTypeOf() argument
[all …]
/device/soc/nxp/hardware/display/src/display_gralloc/
Dallocator.h29 template <typename T>
30 T AlignUp(T value, T align) in AlignUp()
38 template <typename T>
39 T DivRoundUp(T numerator, T denominator) in DivRoundUp()
/device/soc/hisilicon/common/hal/display/source/display_gralloc/src/
Dallocator.h27 template <typename T>
28 T AlignUp(T value, T align) in AlignUp()
36 template <typename T>
37 T DivRoundUp(T numerator, T denominator) in DivRoundUp()
/device/soc/telink/b91/adapter/hals/mbedtls/src/mbedtls/internal/compatibility/
Decp_alt.c166 mbedtls_ecp_point *T; /* table for precomputed points */ member
186 ctx->T = NULL; in ecp_restart_rsm_init()
203 if (ctx->T != NULL) { in ecp_restart_rsm_free()
205 mbedtls_ecp_point_free(ctx->T + i); in ecp_restart_rsm_free()
206 mbedtls_free(ctx->T); in ecp_restart_rsm_free()
530 grp->T = NULL; in mbedtls_ecp_group_init()
565 return grp->T != NULL && grp->T_size == 0; in ecp_group_is_static_comb_table()
590 if (!ecp_group_is_static_comb_table(grp) && grp->T != NULL) { in mbedtls_ecp_group_free()
592 mbedtls_ecp_point_free(&grp->T[i]); in mbedtls_ecp_group_free()
593 mbedtls_free(grp->T); in mbedtls_ecp_group_free()
[all …]
/device/board/isoftstone/yangfan/common/seetafaceengine/opencv2/modules/calib3d/include/
Dp3p.h28 template <typename T>
31 cx = cameraMatrix.at<T> (0, 2); in init_camera_parameters()
32 cy = cameraMatrix.at<T> (1, 2); in init_camera_parameters()
33 fx = cameraMatrix.at<T> (0, 0); in init_camera_parameters()
34 fy = cameraMatrix.at<T> (1, 1); in init_camera_parameters()
63 double R[3][3], double T[3]);
Depnp.h22 template <typename T>
25 uc = cameraMatrix.at<T> (0, 2); in init_camera_parameters()
26 vc = cameraMatrix.at<T> (1, 2); in init_camera_parameters()
27 fu = cameraMatrix.at<T> (0, 0); in init_camera_parameters()
28 fv = cameraMatrix.at<T> (1, 1); in init_camera_parameters()
Dap3p.h9 template<typename T>
11 cx = cameraMatrix.at<T>(0, 2); in init_camera_parameters()
12 cy = cameraMatrix.at<T>(1, 2); in init_camera_parameters()
13 fx = cameraMatrix.at<T>(0, 0); in init_camera_parameters()
14 fy = cameraMatrix.at<T>(1, 1); in init_camera_parameters()
/device/board/isoftstone/yangfan/common/mqtt/mqttclient/src/
DFP.h147 template<class T>
148 void attach(T *item, retT (T::*method)(argT)) in attach()
/device/soc/winnermicro/wm800/board/src/bt/blehost/ext/tinycrypt/src/
Dccm_mode.c62 static void ccm_cbc_mac(uint8_t *T, const uint8_t *data, unsigned int dlen, in ccm_cbc_mac() argument
69 T[0] ^= (uint8_t)(Dlen >> 8); // 8:byte alignment in ccm_cbc_mac()
70 T[1] ^= (uint8_t)(Dlen); in ccm_cbc_mac()
78 T[i++ % (Nb * Nk)] ^= *data++; in ccm_cbc_mac()
81 (void) tc_aes_encrypt(T, T, sched); in ccm_cbc_mac()
/device/soc/bestechnic/bes2600/liteos_m/sdk/bsp/services/cp_boot/
DMakefile35 $(obj)/cp_code.o : out/$(T)/$(CP_BIN_NAME).bin
36 AFLAGS_cp_code.o += -DCP_BIN_NAME=$(CP_BIN_NAME).bin -Iout/$(T)
37 out/$(T)/$(CP_BIN_NAME).bin : $(srctree)/out/$(CP_BIN_NAME)/$(CP_BIN_NAME).bin
/device/soc/amlogic/a311d/hardware/display/src/display_device/
Dhdi_device_common.h25 template<typename T> using IdMapPtr = std::unordered_map<uint32_t, std::shared_ptr<T>>;

12345