Home
last modified time | relevance | path

Searched refs:c (Results 1 – 25 of 233) sorted by relevance

12345678910

/system/core/libpixelflinger/
Dpixelflinger.cpp57 static void ggl_init_procs(context_t* c);
58 static void ggl_set_scissor(context_t* c);
60 static void ggl_enable_blending(context_t* c, int enable);
61 static void ggl_enable_scissor_test(context_t* c, int enable);
62 static void ggl_enable_alpha_test(context_t* c, int enable);
63 static void ggl_enable_logic_op(context_t* c, int enable);
64 static void ggl_enable_dither(context_t* c, int enable);
65 static void ggl_enable_stencil_test(context_t* c, int enable);
66 static void ggl_enable_depth_test(context_t* c, int enable);
67 static void ggl_enable_aa(context_t* c, int enable);
[all …]
Dscanline.cpp84 static void step_y__generic(context_t* c);
86 static void step_y__smooth(context_t* c);
87 static void step_y__tmu(context_t* c);
88 static void step_y__w(context_t* c);
90 static void scanline(context_t* c);
91 static void scanline_perspective(context_t* c);
92 static void scanline_perspective_single(context_t* c);
93 static void scanline_t32cb16blend(context_t* c);
94 static void scanline_t32cb16blend_dither(context_t* c);
95 static void scanline_t32cb16blend_srca(context_t* c);
[all …]
Dclear.cpp27 static void ggl_clear(void* c, GGLbitfield mask);
28 static void ggl_clearColorx(void* c,
30 static void ggl_clearDepthx(void* c, GGLclampx depth);
31 static void ggl_clearStencil(void* c, GGLint s);
35 void ggl_init_clear(context_t* c) in ggl_init_clear() argument
37 GGLContext& procs = *(GGLContext*)c; in ggl_init_clear()
42 c->state.clear.dirty = GGL_STENCIL_BUFFER_BIT | in ggl_init_clear()
45 c->state.clear.depth = FIXED_ONE; in ggl_init_clear()
50 static void memset2d(context_t* c, const surface_t& s, uint32_t packed, in memset2d() argument
53 const uint32_t size = c->formats[s.format].size; in memset2d()
[all …]
Draster.cpp32 void ggl_init_raster(context_t* c) in ggl_init_raster() argument
34 GGLContext& procs = *(GGLContext*)c; in ggl_init_raster()
42 GGL_CONTEXT(c, con); in ggl_rasterPos2x()
44 c->state.raster.x = x; in ggl_rasterPos2x()
45 c->state.raster.y = y; in ggl_rasterPos2x()
56 GGL_CONTEXT(c, con); in ggl_copyPixels()
59 surface_t* cb = &(c->state.buffers.color); in ggl_copyPixels()
72 GGLint xd = gglFixedToIntRound(c->state.raster.x); in ggl_copyPixels()
73 GGLint yd = gglFixedToIntRound(c->state.raster.y); in ggl_copyPixels()
76 if (xd < GGLint(c->state.scissor.left)) { in ggl_copyPixels()
[all …]
Dpicker.cpp29 void ggl_init_picker(context_t* c) in ggl_init_picker() argument
33 void ggl_pick(context_t* c) in ggl_pick() argument
35 if (ggl_likely(!c->dirty)) in ggl_pick()
39 const uint32_t enables = c->state.enables; in ggl_pick()
40 needs_t new_needs(c->state.needs); in ggl_pick()
42 if (c->dirty & GGL_CB_STATE) { in ggl_pick()
44 new_needs.n |= GGL_BUILD_NEEDS(c->state.buffers.color.format, CB_FORMAT); in ggl_pick()
46 c->dirty |= GGL_PIXEL_PIPELINE_STATE; in ggl_pick()
49 if (c->dirty & GGL_PIXEL_PIPELINE_STATE) { in ggl_pick()
50 uint32_t n = GGL_BUILD_NEEDS(c->state.buffers.color.format, CB_FORMAT); in ggl_pick()
[all …]
Dtrap.cpp37 static void pointx_validate(void *con, const GGLcoord* c, GGLcoord r);
38 static void pointx(void *con, const GGLcoord* c, GGLcoord r);
39 static void aa_pointx(void *con, const GGLcoord* c, GGLcoord r);
40 static void aa_nice_pointx(void *con, const GGLcoord* c, GGLcoord r);
46 static void recti_validate(void* c, GGLint l, GGLint t, GGLint r, GGLint b);
47 static void recti(void* c, GGLint l, GGLint t, GGLint r, GGLint b);
65 static inline int min(int a, int b, int c) CONST;
66 static inline int max(int a, int b, int c) CONST;
80 inline int min(int a, int b, int c) { in min() argument
81 return min(a,min(b,c)); in min()
[all …]
/system/core/libcutils/
DAndroid.mk27 array.c \
28 hashmap.c \
29 atomic.c.arm \
30 native_handle.c \
31 buffer.c \
32 socket_inaddr_any_server.c \
33 socket_local_client.c \
34 socket_local_server.c \
35 socket_loopback_client.c \
36 socket_loopback_server.c \
[all …]
/system/core/sh/
DAndroid.mk5 alias.c \
6 arith.c \
7 arith_lex.c \
8 builtins.c \
9 cd.c \
10 error.c \
11 eval.c \
12 exec.c \
13 expand.c \
14 input.c \
[all …]
Dsyntax.h72 #define is_digit(c) ((unsigned)((c) - '0') <= 9) argument
73 #define is_alpha(c) (((char)(c)) != UPEOF && ((c) < CTL_FIRST || (c) > CTL_LAST) && isalpha((unsign… argument
74 #define is_name(c) (((char)(c)) != UPEOF && ((c) < CTL_FIRST || (c) > CTL_LAST) && ((c) == '_' || i… argument
75 #define is_in_name(c) (((char)(c)) != UPEOF && ((c) < CTL_FIRST || (c) > CTL_LAST) && ((c) == '_' |… argument
76 #define is_special(c) ((is_type+SYNBASE)[c] & (ISSPECL|ISDIGIT)) argument
77 #define digit_val(c) ((c) - '0') argument
/system/core/adb/
DAndroid.mk17 USB_SRCS := usb_linux.c
18 EXTRA_SRCS := get_my_path_linux.c
23 USB_SRCS := usb_osx.c
24 EXTRA_SRCS := get_my_path_darwin.c
29 USB_SRCS := usb_libusb.c
30 EXTRA_SRCS := get_my_path_freebsd.c
35 USB_SRCS := usb_windows.c
36 EXTRA_SRCS := get_my_path_windows.c ../libcutils/list.c
53 adb.c \
54 console.c \
[all …]
/system/extras/ext4_utils/
Dsha1.c60 u_char c[64]; member
71 void do_R01(u_int32_t *a, u_int32_t *b, u_int32_t *c, u_int32_t *d, u_int32_t *e, CHAR64LONG16 *);
72 void do_R2(u_int32_t *a, u_int32_t *b, u_int32_t *c, u_int32_t *d, u_int32_t *e, CHAR64LONG16 *);
73 void do_R3(u_int32_t *a, u_int32_t *b, u_int32_t *c, u_int32_t *d, u_int32_t *e, CHAR64LONG16 *);
74 void do_R4(u_int32_t *a, u_int32_t *b, u_int32_t *c, u_int32_t *d, u_int32_t *e, CHAR64LONG16 *);
83 do_R01(u_int32_t *a, u_int32_t *b, u_int32_t *c, u_int32_t *d, u_int32_t *e, CHAR64LONG16 *block) in do_R01() argument
85 nR0(a,b,c,d,e, 0); nR0(e,a,b,c,d, 1); nR0(d,e,a,b,c, 2); nR0(c,d,e,a,b, 3); in do_R01()
86 nR0(b,c,d,e,a, 4); nR0(a,b,c,d,e, 5); nR0(e,a,b,c,d, 6); nR0(d,e,a,b,c, 7); in do_R01()
87 nR0(c,d,e,a,b, 8); nR0(b,c,d,e,a, 9); nR0(a,b,c,d,e,10); nR0(e,a,b,c,d,11); in do_R01()
88 nR0(d,e,a,b,c,12); nR0(c,d,e,a,b,13); nR0(b,c,d,e,a,14); nR0(a,b,c,d,e,15); in do_R01()
[all …]
/system/extras/tests/bionic/libc/
DAndroid.mk32 $(eval LOCAL_MODULE := $(notdir $(file:%.c=%))) \
50 $(eval LOCAL_MODULE := $(notdir $(file:%.c=%))) \
64 common/bench_stdio.c \
65 common/test_clock.c \
66 common/test_cpu_set.c \
67 common/test_drand48.c \
68 common/test_executable_destructor.c \
69 common/test_getaddrinfo.c \
70 common/test_gethostbyname.c \
71 common/test_gethostname.c \
[all …]
/system/core/sh/bltin/
Decho.c63 char c; in echocmd() local
83 while ((c = *p++) != '\0') { in echocmd()
84 if (c == '\\' && eflag) { in echocmd()
86 case 'a': c = '\a'; break; /* bell */ in echocmd()
87 case 'b': c = '\b'; break; in echocmd()
89 case 'e': c = 033; break; /* escape */ in echocmd()
90 case 'f': c = '\f'; break; in echocmd()
91 case 'n': c = '\n'; break; in echocmd()
92 case 'r': c = '\r'; break; in echocmd()
93 case 't': c = '\t'; break; in echocmd()
[all …]
/system/core/include/pixelflinger/
Dpixelflinger.h209 void (*recti)(void* c, GGLint l, GGLint t, GGLint r, GGLint b);
210 void (*trianglex)(void* c,
214 void (*scissor)(void* c, GGLint x, GGLint y, GGLsizei width, GGLsizei height);
217 void (*activeTexture)(void* c, GGLuint tmu);
218 void (*bindTexture)(void* c, const GGLSurface* surface);
219 void (*colorBuffer)(void* c, const GGLSurface* surface);
220 void (*readBuffer)(void* c, const GGLSurface* surface);
221 void (*depthBuffer)(void* c, const GGLSurface* surface);
222 void (*bindTextureLod)(void* c, GGLuint tmu, const GGLSurface* surface);
225 void (*enable)(void* c, GGLenum name);
[all …]
/system/core/toolbox/
Dlog.c45 static android_LogPriority filterCharToPri (char c) in filterCharToPri() argument
49 c = tolower(c); in filterCharToPri()
51 if (c >= '0' && c <= '9') { in filterCharToPri()
52 if (c >= ('0'+ANDROID_LOG_SILENT)) { in filterCharToPri()
55 pri = (android_LogPriority)(c - '0'); in filterCharToPri()
57 } else if (c == 'v') { in filterCharToPri()
59 } else if (c == 'd') { in filterCharToPri()
61 } else if (c == 'i') { in filterCharToPri()
63 } else if (c == 'w') { in filterCharToPri()
65 } else if (c == 'e') { in filterCharToPri()
[all …]
Ddf.c50 char *c, *e = s; in df_main() local
52 for (c = s; *c; c++) { in df_main()
53 if (*c == ' ') { in df_main()
54 e = c + 1; in df_main()
59 for (c = e; *c; c++) { in df_main()
60 if (*c == ' ') { in df_main()
61 *c = '\0'; in df_main()
/system/core/init/
DAndroid.mk7 builtins.c \
8 init.c \
9 devices.c \
10 property_service.c \
11 util.c \
12 parser.c \
13 logo.c \
14 keychords.c \
15 signal_handler.c \
16 init_parser.c \
[all …]
/system/core/libnl_2/
DAndroid.mk12 attr.c \
13 cache.c \
14 genl/genl.c \
15 genl/family.c \
16 handlers.c \
17 msg.c \
18 netlink.c \
19 object.c \
20 socket.c \
21 dbg.c
/system/core/libmincrypt/
DAndroid.mk7 LOCAL_SRC_FILES := rsa.c rsa_e_3.c rsa_e_f4.c sha.c
13 LOCAL_SRC_FILES := rsa.c rsa_e_3.c rsa_e_f4.c sha.c
/system/core/rootdir/etc/
Dinit.testmenu80 c=`readtty -t 50 -f -a 1234567890#`
81 case "$c" in
86 echo Got key -$c-
87 case $c in
100 c=`readtty -f -a 1234560#`
101 echo Got key -$c-
102 case "$c" in
128 c=`readtty -f -a 1234567890#`
129 echo Got key -$c-
130 case "$c" in
[all …]
/system/core/libcorkscrew/
DAndroid.mk18 backtrace.c \
19 backtrace-helper.c \
20 demangle.c \
21 map_info.c \
22 ptrace.c \
23 symbol_table.c
26 arch-arm/backtrace-arm.c \
27 arch-arm/ptrace-arm.c
30 arch-x86/backtrace-x86.c \
31 arch-x86/ptrace-x86.c
[all …]
/system/core/libsparse/
DAndroid.mk6 backed_block.c \
7 output_file.c \
8 sparse.c \
9 sparse_crc32.c \
10 sparse_err.c \
11 sparse_read.c
43 LOCAL_SRC_FILES := simg2img.c \
44 sparse_crc32.c
55 LOCAL_SRC_FILES := simg2img.c \
56 sparse_crc32.c
[all …]
/system/extras/fatblock/
DAndroid.mk20 LOCAL_SRC_FILES := fat.c fatblock.c fs.c import.c read.c utils.c fdpool.c
/system/core/fastboot/
DAndroid.mk21 LOCAL_SRC_FILES := protocol.c engine.c bootimg.c fastboot.c
25 LOCAL_SRC_FILES += usb_linux.c util_linux.c
29 LOCAL_SRC_FILES += usb_osx.c util_osx.c
35 LOCAL_SRC_FILES += usb_windows.c util_windows.c
73 LOCAL_SRC_FILES := usbtest.c usb_linux.c
/system/core/include/private/pixelflinger/
Dggl_fixed.h90 int32_t gglMulDivi(int32_t a, int32_t b, int32_t c);
292 inline GGLfixed gglMulAddx(GGLfixed a, GGLfixed b, GGLfixed c, int shift) CONST;
293 inline GGLfixed gglMulAddx(GGLfixed a, GGLfixed b, GGLfixed c, int shift) { in gglMulAddx() argument
302 : [a]"r"(a),[b]"r"(b),[c]"r"(c) in gglMulAddx()
310 : [a]"r"(a),[b]"r"(b),[c]"r"(c) in gglMulAddx()
322 : [a]"r"(a),[b]"r"(b),[c]"r"(c),[lshift]"I"(32-shift),[rshift]"I"(shift) in gglMulAddx()
339 : [a]"r"(a),[b]"r"(b),[c]"r"(c),[shift]"I"(shift) in gglMulAddx()
357 : [a]"r"(a),[b]"r"(b),[c]"r"(c),[shift]"r"(shift) in gglMulAddx()
364 inline GGLfixed gglMulSubx(GGLfixed a, GGLfixed b, GGLfixed c, int shift) CONST;
365 inline GGLfixed gglMulSubx(GGLfixed a, GGLfixed b, GGLfixed c, int shift) { in gglMulSubx() argument
[all …]

12345678910