Home
last modified time | relevance | path

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

1234

/system/core/include/private/pixelflinger/
Dggl_context.h94 #define TRI_FROM_INT(x) ((x) << TRI_FRACTION_BITS) argument
95 #define TRI_FRAC(x) ((x) & (TRI_ONE-1)) argument
96 #define TRI_FLOOR(x) ((x) & ~(TRI_ONE-1)) argument
97 #define TRI_CEIL(x) (((x) + (TRI_ONE-1)) & ~(TRI_ONE-1)) argument
98 #define TRI_ROUND(x) (((x) + TRI_HALF ) & ~(TRI_ONE-1)) argument
101 #define TRI_FROM_FIXED(x) (((x)+TRI_ROUDNING) >> (16-TRI_FRACTION_BITS)) argument
103 #define TRI_SNAP_NEXT_HALF(x) (TRI_CEIL((x)+TRI_HALF) - TRI_HALF) argument
104 #define TRI_SNAP_PREV_HALF(x) (TRI_CEIL((x)-TRI_HALF) - TRI_HALF) argument
Dggl_fixed.h96 inline GGLfixed gglRecip(GGLfixed x) { in gglRecip()
101 int32_t gglRecip28(GGLfixed x) { in gglRecip28()
111 inline GGLfixed gglMulx(GGLfixed x, GGLfixed y, int shift) { in gglMulx()
134 inline GGLfixed gglMulAddx(GGLfixed x, GGLfixed y, GGLfixed a, int shift) { in gglMulAddx()
155 inline GGLfixed gglMulSubx(GGLfixed x, GGLfixed y, GGLfixed a, int shift) { in gglMulSubx()
176 inline int64_t gglMulii(int32_t x, int32_t y) in gglMulii()
437 inline int64_t gglMulii(int32_t x, int32_t y) { in gglMulii()
499 inline int32_t gglClz(int32_t x) in gglClz()
532 inline GGLfixed gglRecipFast(GGLfixed x) in gglRecipFast()
/system/core/include/cutils/
Dklog.h26 #define KLOG_ERROR(tag,x...) klog_write(3, "<3>" tag ": " x) argument
27 #define KLOG_WARNING(tag,x...) klog_write(4, "<4>" tag ": " x) argument
28 #define KLOG_NOTICE(tag,x...) klog_write(5, "<5>" tag ": " x) argument
29 #define KLOG_INFO(tag,x...) klog_write(6, "<6>" tag ": " x) argument
30 #define KLOG_DEBUG(tag,x...) klog_write(7, "<7>" tag ": " x) argument
Dbitops.h24 static inline int popcount(unsigned int x) in popcount()
29 static inline int popcountl(unsigned long x) in popcountl()
34 static inline int popcountll(unsigned long long x) in popcountll()
/system/core/init/
Dlog.h22 #define ERROR(x...) KLOG_ERROR("init", x) argument
23 #define NOTICE(x...) KLOG_NOTICE("init", x) argument
24 #define INFO(x...) KLOG_INFO("init", x) argument
Dparser.c8 #define RAW(x...) log_write(6, x) argument
70 char *x = state->ptr; in next_token() local
Dutil.h23 #define ARRAY_SIZE(x) (sizeof(x)/sizeof(x[0])) argument
/system/core/libpixelflinger/codeflinger/
Ddisassem.c282 #define insn_condition(x) arm32_insn_conditions[(x >> 28) & 0x0f] argument
283 #define insn_blktrans(x) insn_block_transfers[(x >> 23) & 3] argument
284 #define insn_stkblktrans(x) insn_stack_block_transfers[(3*((x >> 20)&1))^((x >> 23)&3)] argument
285 #define op2_shift(x) op_shifts[(x >> 5) & 3] argument
286 #define insn_fparnd(x) insn_fpa_rounding[(x >> 5) & 0x03] argument
287 #define insn_fpaprec(x) insn_fpa_precision[(((x >> 18) & 2)|(x >> 7)) & 1] argument
288 #define insn_fpaprect(x) insn_fpa_precision[(((x >> 21) & 2)|(x >> 15)) & 1] argument
289 #define insn_fpaimm(x) insn_fpaconstants[x & 0x07] argument
Darmreg.h70 #define CPU_ID_ISOLD(x) (((x) & 0x0000f000) == 0x00000000) argument
71 #define CPU_ID_IS7(x) (((x) & 0x0000f000) == 0x00007000) argument
72 #define CPU_ID_ISNEW(x) (!CPU_ID_ISOLD(x) && !CPU_ID_IS7(x)) argument
239 #define CPU_CT_ISIZE(x) ((x) & 0xfff) /* I$ info */ argument
240 #define CPU_CT_DSIZE(x) (((x) >> 12) & 0xfff) /* D$ info */ argument
242 #define CPU_CT_CTYPE(x) (((x) >> 25) & 0xf) /* cache type */ argument
250 #define CPU_CT_xSIZE_LEN(x) ((x) & 0x3) /* line size */ argument
252 #define CPU_CT_xSIZE_ASSOC(x) (((x) >> 3) & 0x7) /* associativity */ argument
253 #define CPU_CT_xSIZE_SIZE(x) (((x) >> 6) & 0x7) /* size */ argument
/system/core/toolbox/
Dr.c74 unsigned *x = (unsigned*) (((unsigned) page) + (addr & 4095)); in r_main() local
80 unsigned short *x = (unsigned short*) (((unsigned) page) + (addr & 4095)); in r_main() local
86 unsigned char *x = (unsigned char*) (((unsigned) page) + (addr & 4095)); in r_main() local
/system/core/libnetutils/
Ddhcpmsg.c26 uint8_t *x; in init_dhcp_msg() local
57 uint8_t *x; in init_dhcp_discover_msg() local
76 uint8_t *x; in init_dhcp_request_msg() local
/system/extras/libpagemap/include/pagemap/
Dpagemap.h132 #define _BITS(x, offset, bits) (((x) >> offset) & ((1LL << (bits)) - 1)) argument
134 #define PM_PAGEMAP_PRESENT(x) (_BITS(x, 63, 1)) argument
135 #define PM_PAGEMAP_SWAPPED(x) (_BITS(x, 62, 1)) argument
136 #define PM_PAGEMAP_SHIFT(x) (_BITS(x, 55, 6)) argument
137 #define PM_PAGEMAP_PFN(x) (_BITS(x, 0, 55)) argument
138 #define PM_PAGEMAP_SWAP_OFFSET(x) (_BITS(x, 5, 50)) argument
139 #define PM_PAGEMAP_SWAP_TYPE(x) (_BITS(x, 0, 5)) argument
/system/extras/ext4_utils/
Dsha1.c53 #define R0(v,w,x,y,z,i) z+=((w&(x^y))^y)+blk0(i)+0x5A827999+rol(v,5);w=rol(w,30); argument
54 #define R1(v,w,x,y,z,i) z+=((w&(x^y))^y)+blk(i)+0x5A827999+rol(v,5);w=rol(w,30); argument
55 #define R2(v,w,x,y,z,i) z+=(w^x^y)+blk(i)+0x6ED9EBA1+rol(v,5);w=rol(w,30); argument
56 #define R3(v,w,x,y,z,i) z+=(((w|x)&y)|(w&x))+blk(i)+0x8F1BBCDC+rol(v,5);w=rol(w,30); argument
57 #define R4(v,w,x,y,z,i) z+=(w^x^y)+blk(i)+0xCA62C1D6+rol(v,5);w=rol(w,30); argument
76 #define nR0(v,w,x,y,z,i) R0(*v,*w,*x,*y,*z,i) argument
77 #define nR1(v,w,x,y,z,i) R1(*v,*w,*x,*y,*z,i) argument
78 #define nR2(v,w,x,y,z,i) R2(*v,*w,*x,*y,*z,i) argument
79 #define nR3(v,w,x,y,z,i) R3(*v,*w,*x,*y,*z,i) argument
80 #define nR4(v,w,x,y,z,i) R4(*v,*w,*x,*y,*z,i) argument
/system/media/audio_utils/
Dfixedfft.cpp126 int32_t x = half(v[i]); in fixed_fft() local
137 int32_t x = half(v[i]); in fixed_fft() local
156 int32_t x = half(v[i]); in fixed_fft_real() local
/system/core/libsparse/
Dsparse_defs.h42 #define DIV_ROUND_UP(x, y) (((x) + (y) - 1)/(y)) argument
43 #define ALIGN(x, y) ((y) * DIV_ROUND_UP((x), (y))) argument
44 #define ALIGN_DOWN(x, y) ((y) * ((x) / (y))) argument
/system/core/debuggerd/
Dcrasher.c42 void *test_thread(void *x) in test_thread()
53 void *noisy(void *x) in noisy()
/system/extras/tests/bionic/libc/common/
Dbench_pthread.c47 #define S(x) S_(x) argument
48 #define S_(x) #x argument
50 #define C(x,y) C_(x,y) argument
51 #define C_(x,y) x ## y argument
/system/core/adb/
Dfile_sync_service.h21 static inline unsigned __swap_uint32(unsigned x) in __swap_uint32()
28 #define htoll(x) __swap_uint32(x) argument
29 #define ltohl(x) __swap_uint32(x) argument
32 #define htoll(x) (x) argument
33 #define ltohl(x) (x) argument
/system/core/fs_mgr/
Dfs_mgr_priv.h23 #define INFO(x...) KLOG_INFO("fs_mgr", x) argument
24 #define ERROR(x...) KLOG_ERROR("fs_mgr", x) argument
/system/core/libpixelflinger/
Dfixed.cpp26 int32_t gglRecipQNormalized(int32_t x, int* exponent) in gglRecipQNormalized()
60 int32_t gglRecipQ(GGLfixed x, int q) in gglRecipQ()
89 GGLfixed gglSqrtRecipx(GGLfixed x) in gglSqrtRecipx()
138 GGLfixed gglPowx(GGLfixed x, GGLfixed y) in gglPowx()
Draster.cpp40 void ggl_rasterPos2x(void* con, GGLfixed x, GGLfixed y) in ggl_rasterPos2x()
48 void ggl_rasterPos2i(void* con, GGLint x, GGLint y) in ggl_rasterPos2i()
150 GGLint x = where[0]; in gglBitBlit() local
/system/extras/tests/bionic/libc/other/
Dtest_atomics.c8 int x = 5; in main() local
/system/core/fastboot/
Dutil_linux.c40 char *x; in get_my_path() local
Dutil_osx.c34 char *x; in get_my_path() local
/system/extras/tests/bionic/libc/bionic/
Dlibdlclosetest2.c40 int x = 0; variable

1234