| /device/google/contexthub/firmware/external/freebsd/inc/sys/ |
| D | endian.h | 38 #define bswap16(x) __bswap16(x) argument 39 #define bswap32(x) __bswap32(x) argument 40 #define bswap64(x) __bswap64(x) argument 47 #define htobe16(x) bswap16((x)) argument 48 #define htobe32(x) bswap32((x)) argument 49 #define htobe64(x) bswap64((x)) argument 50 #define htole16(x) ((uint16_t)(x)) argument 51 #define htole32(x) ((uint32_t)(x)) argument 52 #define htole64(x) ((uint64_t)(x)) argument 54 #define be16toh(x) bswap16((x)) argument [all …]
|
| /device/generic/vulkan-cereal/include/glm/gtx/ |
| D | fast_trigonometry.inl | 8 GLM_FUNC_QUALIFIER vecType<T, P> taylorCos(vecType<T, P> const & x) 18 GLM_FUNC_QUALIFIER T cos_52s(T x) 25 GLM_FUNC_QUALIFIER vecType<T, P> cos_52s(vecType<T, P> const & x) 39 GLM_FUNC_QUALIFIER vecType<T, P> wrapAngle(vecType<T, P> const & x) 46 GLM_FUNC_QUALIFIER T fastCos(T x) 61 GLM_FUNC_QUALIFIER vecType<T, P> fastCos(vecType<T, P> const & x) 68 GLM_FUNC_QUALIFIER T fastSin(T x) 74 GLM_FUNC_QUALIFIER vecType<T, P> fastSin(vecType<T, P> const & x) 81 GLM_FUNC_QUALIFIER T fastTan(T x) 87 GLM_FUNC_QUALIFIER vecType<T, P> fastTan(vecType<T, P> const & x) [all …]
|
| D | integer.inl | 7 GLM_FUNC_QUALIFIER int pow(int x, int y) 18 GLM_FUNC_QUALIFIER int sqrt(int x) 37 GLM_FUNC_QUALIFIER unsigned int ones32(unsigned int x) 66 GLM_FUNC_QUALIFIER int mod(int x, int y) 73 GLM_FUNC_QUALIFIER genType factorial(genType const & x) 84 tvec2<T, P> const & x) 93 tvec3<T, P> const & x) 103 tvec4<T, P> const & x) 112 GLM_FUNC_QUALIFIER uint pow(uint x, uint y) 120 GLM_FUNC_QUALIFIER uint sqrt(uint x) [all …]
|
| D | fast_square_root.inl | 8 GLM_FUNC_QUALIFIER genType fastSqrt(genType x) 16 GLM_FUNC_QUALIFIER vecType<T, P> fastSqrt(vecType<T, P> const & x) 23 GLM_FUNC_QUALIFIER genType fastInverseSqrt(genType x) 34 GLM_FUNC_QUALIFIER vecType<T, P> fastInverseSqrt(vecType<T, P> const & x) 41 GLM_FUNC_QUALIFIER genType fastLength(genType x) 49 GLM_FUNC_QUALIFIER T fastLength(vecType<T, P> const & x) 58 GLM_FUNC_QUALIFIER genType fastDistance(genType x, genType y) 64 GLM_FUNC_QUALIFIER T fastDistance(vecType<T, P> const & x, vecType<T, P> const & y) 71 GLM_FUNC_QUALIFIER genType fastNormalize(genType x) 77 GLM_FUNC_QUALIFIER vecType<T, P> fastNormalize(vecType<T, P> const & x)
|
| D | fast_exponential.inl | 8 GLM_FUNC_QUALIFIER genType fastPow(genType x, genType y) 14 GLM_FUNC_QUALIFIER vecType<T, P> fastPow(vecType<T, P> const & x, vecType<T, P> const & y) 20 GLM_FUNC_QUALIFIER T fastPow(T x, int y) 29 GLM_FUNC_QUALIFIER vecType<T, P> fastPow(vecType<T, P> const & x, vecType<int, P> const & y) 40 GLM_FUNC_QUALIFIER T fastExp(T x) 85 GLM_FUNC_QUALIFIER vecType<T, P> fastExp(vecType<T, P> const & x) 92 GLM_FUNC_QUALIFIER genType fastLog(genType x) 107 GLM_FUNC_QUALIFIER vecType<T, P> fastLog(vecType<T, P> const & x) 114 GLM_FUNC_QUALIFIER genType fastExp2(genType x) 120 GLM_FUNC_QUALIFIER vecType<T, P> fastExp2(vecType<T, P> const & x) [all …]
|
| D | simd_vec4.inl | 39 GLM_FUNC_QUALIFIER fvec4SIMD::fvec4SIMD(float const & x, float const & y, float const & z, float co… 268 detail::fvec4SIMD const & x 283 detail::fvec4SIMD const & x 291 detail::fvec4SIMD const & x 299 detail::fvec4SIMD const & x 307 detail::fvec4SIMD const & x 327 detail::fvec4SIMD const & x 343 detail::fvec4SIMD const & x 351 detail::fvec4SIMD const & x 359 detail::fvec4SIMD const & x, [all …]
|
| D | scalar_relational.inl | 9 T const & x, 19 T const & x, 29 T const & x, 39 T const & x, 49 T const & x, 59 T const & x, 68 bool const & x 76 bool const & x 84 bool const & x
|
| D | extended_min_max.inl | 8 T const & x, 18 C<T> const & x, 29 C<T> const & x, 40 T const & x, 52 C<T> const & x, 64 C<T> const & x, 75 T const & x, 85 C<T> const & x, 96 C<T> const & x, 107 T const & x, [all …]
|
| D | common.inl | 29 GLM_FUNC_QUALIFIER bool isdenormal(T const & x) 43 tvec1<T, P> const & x 55 tvec2<T, P> const & x 68 tvec3<T, P> const & x 82 tvec4<T, P> const & x 96 GLM_FUNC_QUALIFIER genType fmod(genType x, genType y) 102 GLM_FUNC_QUALIFIER vecType<T, P> fmod(vecType<T, P> const & x, T y) 108 GLM_FUNC_QUALIFIER vecType<T, P> fmod(vecType<T, P> const & x, vecType<T, P> const & y)
|
| D | compatibility.hpp | 38 …template <typename T> GLM_FUNC_QUALIFIER T lerp(T x, T y, T a){return mix(x, y, a);} … in lerp() 39 …template <typename T, precision P> GLM_FUNC_QUALIFIER tvec2<T, P> lerp(const tvec2<T, P>& x, const… in lerp() 41 …template <typename T, precision P> GLM_FUNC_QUALIFIER tvec3<T, P> lerp(const tvec3<T, P>& x, const… in lerp() 42 …template <typename T, precision P> GLM_FUNC_QUALIFIER tvec4<T, P> lerp(const tvec4<T, P>& x, const… in lerp() 43 …template <typename T, precision P> GLM_FUNC_QUALIFIER tvec2<T, P> lerp(const tvec2<T, P>& x, const… in lerp() 44 …template <typename T, precision P> GLM_FUNC_QUALIFIER tvec3<T, P> lerp(const tvec3<T, P>& x, const… in lerp() 45 …template <typename T, precision P> GLM_FUNC_QUALIFIER tvec4<T, P> lerp(const tvec4<T, P>& x, const… in lerp() 47 …template <typename T, precision P> GLM_FUNC_QUALIFIER T saturate(T x){return clamp(x, T(0), T(1));… in saturate() 48 …template <typename T, precision P> GLM_FUNC_QUALIFIER tvec2<T, P> saturate(const tvec2<T, P>& x){r… in saturate() 49 …template <typename T, precision P> GLM_FUNC_QUALIFIER tvec3<T, P> saturate(const tvec3<T, P>& x){r… in saturate() [all …]
|
| /device/generic/vulkan-cereal/include/glm/gtc/ |
| D | reciprocal.inl | 18 GLM_FUNC_QUALIFIER vecType<T, P> sec(vecType<T, P> const & x) 33 GLM_FUNC_QUALIFIER vecType<T, P> csc(vecType<T, P> const & x) 50 GLM_FUNC_QUALIFIER vecType<T, P> cot(vecType<T, P> const & x) 58 GLM_FUNC_QUALIFIER genType asec(genType x) 65 GLM_FUNC_QUALIFIER vecType<T, P> asec(vecType<T, P> const & x) 73 GLM_FUNC_QUALIFIER genType acsc(genType x) 80 GLM_FUNC_QUALIFIER vecType<T, P> acsc(vecType<T, P> const & x) 88 GLM_FUNC_QUALIFIER genType acot(genType x) 97 GLM_FUNC_QUALIFIER vecType<T, P> acot(vecType<T, P> const & x) 112 GLM_FUNC_QUALIFIER vecType<T, P> sech(vecType<T, P> const & x) [all …]
|
| D | epsilon.inl | 17 float const & x, 28 double const & x, 39 float const & x, 50 double const & x, 61 vecType<T, P> const & x, 72 vecType<T, P> const & x, 83 vecType<T, P> const & x, 94 vecType<T, P> const & x, 105 tquat<T, P> const & x, 117 tquat<T, P> const & x,
|
| D | ulp.inl | 71 GLM_FUNC_QUALIFIER float nextafterf(float x, float y) 116 GLM_FUNC_QUALIFIER double nextafter(double x, double y) 175 GLM_FUNC_QUALIFIER float next_float(float const & x) 189 GLM_FUNC_QUALIFIER double next_float(double const & x) 203 GLM_FUNC_QUALIFIER vecType<T, P> next_float(vecType<T, P> const & x) 211 GLM_FUNC_QUALIFIER float prev_float(float const & x) 224 GLM_FUNC_QUALIFIER double prev_float(double const & x) 238 GLM_FUNC_QUALIFIER vecType<T, P> prev_float(vecType<T, P> const & x) 247 GLM_FUNC_QUALIFIER T next_float(T const & x, uint const & ulps) 256 GLM_FUNC_QUALIFIER vecType<T, P> next_float(vecType<T, P> const & x, vecType<uint, P> const & ulps) [all …]
|
| D | bitfield.inl | 19 GLM_FUNC_QUALIFIER glm::uint16 bitfieldInterleave(glm::uint8 x, glm::uint8 y) 37 GLM_FUNC_QUALIFIER glm::uint32 bitfieldInterleave(glm::uint16 x, glm::uint16 y) 58 GLM_FUNC_QUALIFIER glm::uint64 bitfieldInterleave(glm::uint32 x, glm::uint32 y) 82 GLM_FUNC_QUALIFIER glm::uint32 bitfieldInterleave(glm::uint8 x, glm::uint8 y, glm::uint8 z) 108 GLM_FUNC_QUALIFIER glm::uint64 bitfieldInterleave(glm::uint16 x, glm::uint16 y, glm::uint16 z) 138 GLM_FUNC_QUALIFIER glm::uint64 bitfieldInterleave(glm::uint32 x, glm::uint32 y, glm::uint32 z) 168 …GLM_FUNC_QUALIFIER glm::uint32 bitfieldInterleave(glm::uint8 x, glm::uint8 y, glm::uint8 z, glm::u… 194 …GLM_FUNC_QUALIFIER glm::uint64 bitfieldInterleave(glm::uint16 x, glm::uint16 y, glm::uint16 z, glm… 301 GLM_FUNC_QUALIFIER int16 bitfieldInterleave(int8 x, int8 y) 322 GLM_FUNC_QUALIFIER uint16 bitfieldInterleave(uint8 x, uint8 y) [all …]
|
| /device/generic/vulkan-cereal/third-party/angle/src/tests/gl_tests/ |
| D | ClipDistanceTest.cpp | 98 for (int x = 0; x < getWindowWidth() / 4 - 1; ++x) in TEST_P() local 107 for (int x = getWindowWidth() / 4 + 2; x < getWindowWidth(); ++x) in TEST_P() local 126 for (int x = 0; x < getWindowWidth() / 4 - 1; ++x) in TEST_P() local 135 for (int x = getWindowWidth() / 4 + 2; x < getWindowWidth(); ++x) in TEST_P() local 148 for (int x = 0; x < getWindowWidth(); ++x) in TEST_P() local 205 for (int x = 0; x < getWindowWidth() / 4 - 1; ++x) in TEST_P() local 215 for (int x = getWindowWidth() / 4 + 2; x < getWindowWidth() / 2; ++x) in TEST_P() local 225 for (int x = getWindowWidth() / 2; x < getWindowWidth(); ++x) in TEST_P() local 253 for (int x = 0; x < getWindowWidth() / 4 - 1; ++x) in TEST_P() local 263 for (int x = getWindowWidth() / 4 + 2; x < getWindowWidth() / 2; ++x) in TEST_P() local [all …]
|
| /device/generic/vulkan-cereal/include/glm/detail/ |
| D | func_common.inl | 15 GLM_FUNC_QUALIFIER genType min(genType x, genType y) 23 GLM_FUNC_QUALIFIER genType max(genType x, genType y) 32 GLM_FUNC_QUALIFIER int32 abs(int32 x) 43 GLM_FUNC_QUALIFIER genType round(genType x) 56 GLM_FUNC_QUALIFIER genType trunc(genType x) 309 GLM_FUNC_QUALIFIER genFIType abs(genFIType x) 315 GLM_FUNC_QUALIFIER vecType<T, P> abs(vecType<T, P> const & x) 323 GLM_FUNC_QUALIFIER genFIType sign(genFIType x) 333 GLM_FUNC_QUALIFIER vecType<T, P> sign(vecType<T, P> const & x) 345 GLM_FUNC_QUALIFIER vecType<T, P> floor(vecType<T, P> const & x) [all …]
|
| D | func_exponential.inl | 78 GLM_FUNC_QUALIFIER vecType<T, P> exp(vecType<T, P> const & x) 86 GLM_FUNC_QUALIFIER vecType<T, P> log(vecType<T, P> const & x) 93 GLM_FUNC_QUALIFIER genType exp2(genType x) 101 GLM_FUNC_QUALIFIER vecType<T, P> exp2(vecType<T, P> const & x) 108 GLM_FUNC_QUALIFIER genType log2(genType x) 114 GLM_FUNC_QUALIFIER vecType<T, P> log2(vecType<T, P> const & x) 122 GLM_FUNC_QUALIFIER vecType<T, P> sqrt(vecType<T, P> const & x) 130 GLM_FUNC_QUALIFIER genType inversesqrt(genType x) 136 GLM_FUNC_QUALIFIER vecType<T, P> inversesqrt(vecType<T, P> const & x)
|
| /device/google/bonito/json-c/ |
| D | debug.h | 32 #define __STRING(x) #x argument 51 #define MC_ERROR(x, ...) mc_error(x, ##__VA_ARGS__) argument 54 #define MC_SET_DEBUG(x) mc_set_debug(x) argument 56 #define MC_SET_SYSLOG(x) mc_set_syslog(x) argument 57 #define MC_DEBUG(x, ...) mc_debug(x, ##__VA_ARGS__) argument 58 #define MC_INFO(x, ...) mc_info(x, ##__VA_ARGS__) argument 60 #define MC_SET_DEBUG(x) if (0) mc_set_debug(x) argument 62 #define MC_SET_SYSLOG(x) if (0) mc_set_syslog(x) argument 63 #define MC_DEBUG(x, ...) if (0) mc_debug(x, ##__VA_ARGS__) argument 64 #define MC_INFO(x, ...) if (0) mc_info(x, ##__VA_ARGS__) argument
|
| /device/google/sunfish/json-c/ |
| D | debug.h | 32 #define __STRING(x) #x argument 51 #define MC_ERROR(x, ...) mc_error(x, ##__VA_ARGS__) argument 54 #define MC_SET_DEBUG(x) mc_set_debug(x) argument 56 #define MC_SET_SYSLOG(x) mc_set_syslog(x) argument 57 #define MC_DEBUG(x, ...) mc_debug(x, ##__VA_ARGS__) argument 58 #define MC_INFO(x, ...) mc_info(x, ##__VA_ARGS__) argument 60 #define MC_SET_DEBUG(x) if (0) mc_set_debug(x) argument 62 #define MC_SET_SYSLOG(x) if (0) mc_set_syslog(x) argument 63 #define MC_DEBUG(x, ...) if (0) mc_debug(x, ##__VA_ARGS__) argument 64 #define MC_INFO(x, ...) if (0) mc_info(x, ##__VA_ARGS__) argument
|
| /device/google/coral/json-c/ |
| D | debug.h | 32 #define __STRING(x) #x argument 51 #define MC_ERROR(x, ...) mc_error(x, ##__VA_ARGS__) argument 54 #define MC_SET_DEBUG(x) mc_set_debug(x) argument 56 #define MC_SET_SYSLOG(x) mc_set_syslog(x) argument 57 #define MC_DEBUG(x, ...) mc_debug(x, ##__VA_ARGS__) argument 58 #define MC_INFO(x, ...) mc_info(x, ##__VA_ARGS__) argument 60 #define MC_SET_DEBUG(x) if (0) mc_set_debug(x) argument 62 #define MC_SET_SYSLOG(x) if (0) mc_set_syslog(x) argument 63 #define MC_DEBUG(x, ...) if (0) mc_debug(x, ##__VA_ARGS__) argument 64 #define MC_INFO(x, ...) if (0) mc_info(x, ##__VA_ARGS__) argument
|
| /device/google/crosshatch/json-c/ |
| D | debug.h | 32 #define __STRING(x) #x argument 51 #define MC_ERROR(x, ...) mc_error(x, ##__VA_ARGS__) argument 54 #define MC_SET_DEBUG(x) mc_set_debug(x) argument 56 #define MC_SET_SYSLOG(x) mc_set_syslog(x) argument 57 #define MC_DEBUG(x, ...) mc_debug(x, ##__VA_ARGS__) argument 58 #define MC_INFO(x, ...) mc_info(x, ##__VA_ARGS__) argument 60 #define MC_SET_DEBUG(x) if (0) mc_set_debug(x) argument 62 #define MC_SET_SYSLOG(x) if (0) mc_set_syslog(x) argument 63 #define MC_DEBUG(x, ...) if (0) mc_debug(x, ##__VA_ARGS__) argument 64 #define MC_INFO(x, ...) if (0) mc_info(x, ##__VA_ARGS__) argument
|
| /device/google/redbull/json-c/ |
| D | debug.h | 32 #define __STRING(x) #x argument 51 #define MC_ERROR(x, ...) mc_error(x, ##__VA_ARGS__) argument 54 #define MC_SET_DEBUG(x) mc_set_debug(x) argument 56 #define MC_SET_SYSLOG(x) mc_set_syslog(x) argument 57 #define MC_DEBUG(x, ...) mc_debug(x, ##__VA_ARGS__) argument 58 #define MC_INFO(x, ...) mc_info(x, ##__VA_ARGS__) argument 60 #define MC_SET_DEBUG(x) if (0) mc_set_debug(x) argument 62 #define MC_SET_SYSLOG(x) if (0) mc_set_syslog(x) argument 63 #define MC_DEBUG(x, ...) if (0) mc_debug(x, ##__VA_ARGS__) argument 64 #define MC_INFO(x, ...) if (0) mc_info(x, ##__VA_ARGS__) argument
|
| /device/linaro/hikey/hifi/xaf/hifi-dpf/include/ |
| D | xa_profiler.h | 118 #define INIT_XA_PROFILER(x, a) do { memset(&x, 0, sizeof(xa_profiler)); \ argument 124 #define START_TIME_XA_PROFILER(x) do { set_ccount(0); \ argument 126 #define STOP_TIME_XA_PROFILER(x) do { x.cstop =read_ccount(); \ argument 128 #define COMPUTE_MHZ_XA_PROFILER(x, a, b, c) do { xa_compute_mcps(&x, a, b, c); } while(0) argument 129 #define SUMMARY_XA_PROFILER(x) do { fprintf(stdout,"\n%5s Peak MCPS = %f\n", x.id,… argument 139 #define INIT_XA_PROFILER(x, a) do {} while(0) argument 140 #define START_TIME_XA_PROFILER(x) do {} while(0) argument 141 #define STOP_TIME_XA_PROFILER(x) do {} while(0) argument 142 #define COMPUTE_MHZ_XA_PROFILER(x, a, b) do {} while(0) argument 143 #define SUMMARY_XA_PROFILER(x) do {} while(0) argument [all …]
|
| /device/google/contexthub/firmware/os/algos/common/math/ |
| D | macros.h | 29 #define NANO_ABS(x) ((x) > 0 ? (x) : -(x)) argument 32 #define SIGMOID(x) (1 / (1 + expf(-x))) argument 36 #define NANO_FLOOR(x) ((int)(x) - ((x) < (int)(x))) // NOLINT argument 40 #define MSEC_TO_NANOS(x) (static_cast<uint64_t>((x) * UINT64_C(1000000))) argument 42 #define MSEC_TO_NANOS(x) ((uint64_t)((x) * UINT64_C(1000000))) // NOLINT argument 45 #define SEC_TO_NANOS(x) MSEC_TO_NANOS((x) * UINT64_C(1000)) argument 46 #define MIN_TO_NANOS(x) SEC_TO_NANOS ((x) * UINT64_C(60)) argument 47 #define HRS_TO_NANOS(x) MIN_TO_NANOS ((x) * UINT64_C(60)) argument 48 #define DAYS_TO_NANOS(x) HRS_TO_NANOS ((x) * UINT64_C(24)) argument
|
| /device/google/cuttlefish/common/libs/concurrency/ |
| D | thread_annotations.h | 19 #define THREAD_ANNOTATION_ATTRIBUTE__(x) __attribute__((x)) argument 21 #define THREAD_ANNOTATION_ATTRIBUTE__(x) // no-op argument 24 #define CAPABILITY(x) THREAD_ANNOTATION_ATTRIBUTE__(capability(x)) argument 28 #define GUARDED_BY(x) THREAD_ANNOTATION_ATTRIBUTE__(guarded_by(x)) argument 30 #define PT_GUARDED_BY(x) THREAD_ANNOTATION_ATTRIBUTE__(pt_guarded_by(x)) argument 64 #define ASSERT_CAPABILITY(x) THREAD_ANNOTATION_ATTRIBUTE__(assert_capability(x)) argument 66 #define ASSERT_SHARED_CAPABILITY(x) \ argument 69 #define RETURN_CAPABILITY(x) THREAD_ANNOTATION_ATTRIBUTE__(lock_returned(x)) argument
|