/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/google/cuttlefish_vmm/qemu/x86_64-linux-gnu/usr/include/ |
D | libfdt_env.h | 29 #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/ |
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/contexthub/firmware/os/algos/util/ |
D | nano_assert.h | 23 #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/lib/libm/ |
D | wf_asin.c | 26 float asinf(float x) /* wrapper asinf */ in asinf() 62 double asin(double x) in asin()
|
D | wf_exp.c | 34 float expf(float x) /* wrapper expf */ in expf() 96 double exp(double x) in exp()
|
D | wf_fmod.c | 24 float fmodf(float x, float y) /* wrapper fmodf */ in fmodf() 64 double fmod(double x, double y) in fmod()
|
D | wf_pow.c | 24 float powf(float x, float y) /* wrapper powf */ in powf() 170 double pow(double x, double y) in pow()
|
D | wf_atan2.c | 25 float atan2f(float y, float x) /* wrapper atan2f */ in atan2f() 37 double atan2(double y, double x) in atan2()
|
D | sf_round.c | 15 float roundf(float x) in roundf() 65 double round(double x) in round()
|
D | sf_sin.c | 19 float sinf(float x) in sinf() 53 double sin(double x) in sin()
|
D | sf_cos.c | 19 float cosf(float x) in cosf() 53 double cos(double x) in cos()
|
D | fdlibm.h | 62 #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
|
D | sf_floor.c | 34 float floorf(float x) in floorf() 71 double floor(double x) in floor()
|
D | sf_scalbn.c | 37 float scalbnf (float x, int n) in scalbnf() 76 double scalbn(double x, int n) in scalbn()
|
D | sf_atan.c | 68 float atanf(float x) in atanf() 120 double atan(double x) in atan()
|
/device/linaro/dragonboard/shared/utils/qrtr/src/ |
D | ns.h | 7 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/google/contexthub/firmware/os/platform/stm32/inc/plat/ |
D | gpio.h | 45 #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/linaro/dragonboard/shared/utils/rmtfs/ |
D | util.h | 4 #define MIN(x, y) ((x) < (y) ? (x) : (y)) argument 5 #define MAX(x, y) ((x) > (y) ? (x) : (y)) argument
|
/device/google/contexthub/firmware/os/inc/ |
D | toolchain.h | 38 #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/linaro/hikey/gralloc960/ |
D | mali_gralloc_formats.h | 163 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/amlogic/yukawa/hal/gralloc/ |
D | mali_gralloc_formats.h | 163 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/cuttlefish/host/frontend/webrtc/html_client/js/ |
D | touch.js | 26 …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/generic/goldfish-opengl/system/codecs/c2/decoders/avcdec/ |
D | C2GoldfishAvcDec.h | 32 #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
|
/device/google/contexthub/firmware/os/platform/stm32/ |
D | dma.c | 30 #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
|