Home
last modified time | relevance | path

Searched defs:x (Results 1 – 25 of 248) sorted by relevance

12345678910

/device/google/contexthub/firmware/external/freebsd/inc/sys/
Dendian.h38 #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/google/coral/json-c/
Ddebug.h32 #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
Dmath_compat.h9 #define isnan(x) _isnan(x) argument
16 #define isinf(x) (!_finite(x)) argument
/device/google/sunfish/json-c/
Ddebug.h32 #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
Dmath_compat.h9 #define isnan(x) _isnan(x) argument
16 #define isinf(x) (!_finite(x)) argument
/device/google/redbull/json-c/
Ddebug.h32 #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
Dmath_compat.h9 #define isnan(x) _isnan(x) argument
16 #define isinf(x) (!_finite(x)) argument
/device/google/cuttlefish_vmm/qemu/x86_64-linux-gnu/usr/include/
Dlibfdt_env.h29 #define EXTRACT_BYTE(x, n) ((unsigned long long)((uint8_t *)&x)[n]) argument
30 #define CPU_TO_FDT16(x) ((EXTRACT_BYTE(x, 0) << 8) | EXTRACT_BYTE(x, 1)) argument
31 #define CPU_TO_FDT32(x) ((EXTRACT_BYTE(x, 0) << 24) | (EXTRACT_BYTE(x, 1) << 16) | \ argument
33 #define CPU_TO_FDT64(x) ((EXTRACT_BYTE(x, 0) << 56) | (EXTRACT_BYTE(x, 1) << 48) | \ argument
38 static inline uint16_t fdt16_to_cpu(fdt16_t x) in fdt16_to_cpu()
42 static inline fdt16_t cpu_to_fdt16(uint16_t x) in cpu_to_fdt16()
47 static inline uint32_t fdt32_to_cpu(fdt32_t x) in fdt32_to_cpu()
51 static inline fdt32_t cpu_to_fdt32(uint32_t x) in cpu_to_fdt32()
56 static inline uint64_t fdt64_to_cpu(fdt64_t x) in fdt64_to_cpu()
60 static inline fdt64_t cpu_to_fdt64(uint64_t x) in cpu_to_fdt64()
/device/google/contexthub/firmware/os/algos/common/math/
Dmacros.h29 #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/contexthub/firmware/os/algos/util/
Dnano_assert.h23 #define ASSERT_IMPL(x) do { \ argument
33 #define ASSERT_IMPL(x) assert(x) argument
39 #define ASSERT(x) ASSERT_IMPL(x) argument
41 #define ASSERT(x) ((void)(x)) argument
52 #define UNUSED(x) ((void)(sizeof(x))) argument
/device/google/contexthub/firmware/os/platform/stm32/inc/plat/
Dgpio.h45 #define GPIO_PA(x) ((GPIO_PORTA << GPIO_PORT_SHIFT) + (x)) argument
46 #define GPIO_PB(x) ((GPIO_PORTB << GPIO_PORT_SHIFT) + (x)) argument
47 #define GPIO_PC(x) ((GPIO_PORTC << GPIO_PORT_SHIFT) + (x)) argument
48 #define GPIO_PD(x) ((GPIO_PORTD << GPIO_PORT_SHIFT) + (x)) argument
49 #define GPIO_PE(x) ((GPIO_PORTE << GPIO_PORT_SHIFT) + (x)) argument
50 #define GPIO_PF(x) ((GPIO_PORTF << GPIO_PORT_SHIFT) + (x)) argument
51 #define GPIO_PG(x) ((GPIO_PORTG << GPIO_PORT_SHIFT) + (x)) argument
52 #define GPIO_PH(x) ((GPIO_PORTH << GPIO_PORT_SHIFT) + (x)) argument
53 #define GPIO_PI(x) ((GPIO_PORTI << GPIO_PORT_SHIFT) + (x)) argument
/device/google/contexthub/firmware/lib/libm/
Dfdlibm.h62 #define FLT_UWORD_IS_FINITE(x) 1 argument
63 #define FLT_UWORD_IS_NAN(x) 0 argument
64 #define FLT_UWORD_IS_INFINITE(x) 0 argument
71 #define FLT_UWORD_IS_FINITE(x) ((x)<0x7f800000L) argument
72 #define FLT_UWORD_IS_NAN(x) ((x)>0x7f800000L) argument
73 #define FLT_UWORD_IS_INFINITE(x) ((x)==0x7f800000L) argument
111 #define FLT_UWORD_IS_ZERO(x) ((x)<0x00800000L) argument
112 #define FLT_UWORD_IS_SUBNORMAL(x) 0 argument
118 #define FLT_UWORD_IS_ZERO(x) ((x)==0) argument
119 #define FLT_UWORD_IS_SUBNORMAL(x) ((x)<0x00800000L) argument
Dwf_asin.c26 float asinf(float x) /* wrapper asinf */ in asinf()
62 double asin(double x) in asin()
Dwf_pow.c24 float powf(float x, float y) /* wrapper powf */ in powf()
170 double pow(double x, double y) in pow()
Dwf_fmod.c24 float fmodf(float x, float y) /* wrapper fmodf */ in fmodf()
64 double fmod(double x, double y) in fmod()
Dwf_atan2.c25 float atan2f(float y, float x) /* wrapper atan2f */ in atan2f()
37 double atan2(double y, double x) in atan2()
Dwf_exp.c34 float expf(float x) /* wrapper expf */ in expf()
96 double exp(double x) in exp()
/device/amlogic/yukawa/hal/gralloc/
Dmali_gralloc_formats.h163 static inline uint64_t mali_gralloc_format_unwrap(int x) in mali_gralloc_format_unwrap()
188 #define GRALLOC_PRIVATE_FORMAT_WRAPPER(x) (mali_gralloc_format_wrapper(x, 0)) argument
189 #define GRALLOC_PRIVATE_FORMAT_WRAPPER_AFBC(x) (mali_gralloc_format_wrapper(x, (MALI_GRALLOC_INTFMT… argument
190 #define GRALLOC_PRIVATE_FORMAT_WRAPPER_AFBC_SPLITBLK(x) \ argument
192 #define GRALLOC_PRIVATE_FORMAT_WRAPPER_AFBC_WIDEBLK(x) \ argument
194 #define GRALLOC_PRIVATE_FORMAT_WRAPPER_AFBC_TILED_HEADERS_BASIC(x) \ argument
197 #define GRALLOC_PRIVATE_FORMAT_WRAPPER_AFBC_TILED_HEADERS_WIDE(x) \ argument
200 #define GRALLOC_PRIVATE_FORMAT_UNWRAP(x) mali_gralloc_format_unwrap(x) argument
/device/linaro/hikey/gralloc960/
Dmali_gralloc_formats.h163 static inline uint64_t mali_gralloc_format_unwrap(int x) in mali_gralloc_format_unwrap()
188 #define GRALLOC_PRIVATE_FORMAT_WRAPPER(x) (mali_gralloc_format_wrapper(x, 0)) argument
189 #define GRALLOC_PRIVATE_FORMAT_WRAPPER_AFBC(x) (mali_gralloc_format_wrapper(x, (MALI_GRALLOC_INTFMT… argument
190 #define GRALLOC_PRIVATE_FORMAT_WRAPPER_AFBC_SPLITBLK(x) \ argument
192 #define GRALLOC_PRIVATE_FORMAT_WRAPPER_AFBC_WIDEBLK(x) \ argument
194 #define GRALLOC_PRIVATE_FORMAT_WRAPPER_AFBC_TILED_HEADERS_BASIC(x) \ argument
197 #define GRALLOC_PRIVATE_FORMAT_WRAPPER_AFBC_TILED_HEADERS_WIDE(x) \ argument
200 #define GRALLOC_PRIVATE_FORMAT_UNWRAP(x) mali_gralloc_format_unwrap(x) argument
/device/google/contexthub/firmware/os/inc/
Dtoolchain.h38 #define LIKELY(x) (x) argument
39 #define UNLIKELY(x) (x) argument
66 #define SET_INTERNAL_LOCATION(x, y) _Pragma((x, y)) __root argument
68 #define SET_INTERNAL_LOCATION_ATTRIBUTES(x, y) argument
70 #define SET_EXTERNAL_APP_ATTRIBUTES(x, y, z) argument
72 #define SET_EXTERNAL_APP_VERSION(x, y, z) argument
/device/google/contexthub/firmware/os/platform/stm32/
Ddma.c30 #define dmaLogDebug(x) osLog(LOG_DEBUG, x "\n") argument
32 #define dmaLogDebug(x) do {} while(0) argument
71 #define STM_DMA_CR_DIR(x) ((x) << 6) argument
75 #define STM_DMA_CR_PSIZE(x) ((x) << 11) argument
77 #define STM_DMA_CR_MSIZE(x) ((x) << 13) argument
79 #define STM_DMA_CR_PL(x) ((x) << 16) argument
80 #define STM_DMA_CR_PBURST(x) ((x) << 21) argument
81 #define STM_DMA_CR_MBURST(x) ((x) << 23) argument
83 #define STM_DMA_CR_CHSEL(x) ((x) << 25) argument
/device/google/cuttlefish/host/frontend/webrtc/html_client/js/
Dtouch.js26 …sendEventUpdate(dc, e.target, [{x: e.offsetX, y: e.offsetY, id: e.pointerId}], scaleCoordinates, t… property
36 …sendEventUpdate(dc, e.target, [{x: e.offsetX, y: e.offsetY, id: e.pointerId}], scaleCoordinates, f… property
46 …sendEventUpdate(dc, e.target, [{x: e.offsetX, y: e.offsetY, id: e.pointerId}], scaleCoordinates, t… property
56 function scaleDisplayCoordinates(deviceDisplayElement, x, y) { argument
/device/google/contexthub/firmware/external/freebsd/lib/msun/src/
Dmath_private.h307 #define RETURNI(x) do { \ argument
314 #define ENTERI(x) argument
315 #define RETURNI(x) RETURNF(x) argument
463 cpackf(float x, float y) in cpackf()
473 cpack(double x, double y) in cpack()
483 cpackl(long double x, long double y) in cpackl()
499 irint(double x) in irint()
511 irint(double x) in irint()
523 irintl(long double x) in irintl()
633 #define RETURNP(x) do { \ argument
[all …]
/device/linaro/dragonboard/shared/utils/qrtr/src/
Dns.h7 static inline __le32 cpu_to_le32(uint32_t x) { return htole32(x); } in cpu_to_le32()
8 static inline uint32_t le32_to_cpu(__le32 x) { return le32toh(x); } in le32_to_cpu()
/device/generic/goldfish-opengl/system/codecs/c2/decoders/hevcdec/
DC2GoldfishHevcDec.h32 #define ALIGN2(x) ((((x) + 1) >> 1) << 1) argument
33 #define ALIGN8(x) ((((x) + 7) >> 3) << 3) argument
34 #define ALIGN16(x) ((((x) + 15) >> 4) << 4) argument
35 #define ALIGN32(x) ((((x) + 31) >> 5) << 5) argument

12345678910