Home
last modified time | relevance | path

Searched refs:w (Results 1 – 19 of 19) sorted by relevance

/system/core/adb/
Dframebuffer_service.c61 int w, h, f; in framebuffer_service() local
82 if(readx(fd_screencap, &w, 4)) goto done; in framebuffer_service()
91 fbinfo.size = w * h * 4; in framebuffer_service()
92 fbinfo.width = w; in framebuffer_service()
105 fbinfo.size = w * h * 4; in framebuffer_service()
106 fbinfo.width = w; in framebuffer_service()
119 fbinfo.size = w * h * 3; in framebuffer_service()
120 fbinfo.width = w; in framebuffer_service()
133 fbinfo.size = w * h * 2; in framebuffer_service()
134 fbinfo.width = w; in framebuffer_service()
[all …]
/system/core/libpixelflinger/
Dclear.cpp51 uint32_t l, uint32_t t, uint32_t w, uint32_t h) in memset2d() argument
56 w *= size; in memset2d()
58 if (ggl_likely(int32_t(w) == stride)) { in memset2d()
60 w *= h; in memset2d()
67 memset(dst, packed, w); in memset2d()
73 android_memset16((uint16_t*)dst, packed, w); in memset2d()
81 android_memset32((uint32_t*)dst, packed, w); in memset2d()
101 uint32_t w = c->state.scissor.right - l; in ggl_clear() local
104 if (!w || !h) in ggl_clear()
131 memset2d(c, c->state.buffers.color, packed, l, t, w, h); in ggl_clear()
[all …]
Draster.cpp152 GGLint w = where[2]; in gglBitBlit() local
170 if ((w == Wcr) && (h == Hcr)) { in gglBitBlit()
178 c->procs.recti(c, x, y, x+w, y+h); in gglBitBlit()
196 int32_t dsdx = Wcr / w; // dsdx = ((Wcr/w)/Wt)*Wt in gglBitBlit()
212 gglFixedToIntRound(x)+w, in gglBitBlit()
Dscanline.cpp707 const int w = tx.surface.width; in scanline() local
708 u = wrapping(tc[i].s, w, tx.s_wrap); in scanline()
731 const int w = tx.surface.width; in scanline() local
740 if (u0<0) u0 += w; in scanline()
741 if (u1<0) u1 += w; in scanline()
742 if (u0>=w) u0 -= w; in scanline()
743 if (u1>=w) u1 -= w; in scanline()
747 if (u0>=w) u0 = w-1; in scanline()
748 if (u1>=w) u1 = w-1; in scanline()
1989 int32_t w = (xs * c->shade.dwdx) + ci.ydwdy; in scanline_perspective_single() local
[all …]
Dtrap.cpp42 static void linex_validate(void *con, const GGLcoord* v0, const GGLcoord* v1, GGLcoord w);
43 static void linex(void *con, const GGLcoord* v0, const GGLcoord* v1, GGLcoord w);
44 static void aa_linex(void *con, const GGLcoord* v0, const GGLcoord* v1, GGLcoord w);
336 void linex_validate(void *con, const GGLcoord* v0, const GGLcoord* v1, GGLcoord w) in linex_validate() argument
345 c->procs.linex(con, v0, v1, w); in linex_validate()
/system/extras/tests/framebuffer/
Dfb_test.c207 void draw_grid(int w, int h, void* _loc) { in draw_grid() argument
215 for (i = 0; i < w/2; i++) in draw_grid()
220 for (; i < w; i++) in draw_grid()
228 for (i = 0; i < w/2; i++) in draw_grid()
233 for (; i < w; i++) in draw_grid()
242 void clear_screen(int w, int h, void* _loc) in clear_screen() argument
250 for (i = 0; i < w; i++) in clear_screen()
258 int w; in main() local
272 w = atoi(argv[2]); in main()
275 w = vi.xres; in main()
[all …]
Drefresh.c135 int l,t,w,h; in main() local
138 w=320; in main()
142 info.reserved[2] = (uint16_t)(l+w) | ((uint32_t)(t+h) << 16); in main()
Dminui.h28 void gr_fill(int x, int y, int w, int h);
/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.cpp135 int32_t w = MAX_FFT_SIZE / 4 - (r << scale); in fixed_fft() local
136 i = w >> 31; in fixed_fft()
137 w = ((int32_t) twiddle[(w ^ i) - i]) ^ (i << 16); in fixed_fft()
140 int32_t y = mult(w, v[i + p]); in fixed_fft()
/system/core/include/system/
Dwindow.h686 int w, int h, int format) in native_window_set_buffers_geometry() argument
689 w, h, format); in native_window_set_buffers_geometry()
707 int w, int h) in native_window_set_buffers_dimensions() argument
710 w, h); in native_window_set_buffers_dimensions()
732 int w, int h) in native_window_set_buffers_user_dimensions() argument
735 w, h); in native_window_set_buffers_user_dimensions()
/system/core/libpixelflinger/codeflinger/
DCodeCache.h95 inline cache_entry_t(const sp<Assembly>& a, int64_t w) in cache_entry_t()
96 : entry(a), when(w) { } in cache_entry_t()
/system/core/liblog/
Dfake_log_device.c326 int w = write(fd, iov->iov_base, iov->iov_len); in fake_writev() local
327 if (w != iov->iov_len) { in fake_writev()
328 if (w < 0) in fake_writev()
329 return w; in fake_writev()
330 return result + w; in fake_writev()
332 result += w; in fake_writev()
/system/core/include/mincrypt/
Dsha.h43 uint32_t w[16]; member
/system/core/libcutils/tests/memset_mips/
Dmemset_cmips.S100 # Here a3 counts bytes in 16w chunks
115 # Here t5 counts bytes in 16w "safe" chunks
/system/core/init/
Dproperty_service.c119 static int init_workspace(workspace *w, size_t size) in init_workspace() argument
144 w->data = data; in init_workspace()
145 w->size = size; in init_workspace()
146 w->fd = fd; in init_workspace()
/system/core/charger/
Dcharger.c626 int w; in draw_surface_centered() local
631 w = gr_get_width(surface); in draw_surface_centered()
633 x = (gr_fb_width() - w) / 2 ; in draw_surface_centered()
636 LOGV("drawing surface %dx%d+%d+%d\n", w, h, x, y); in draw_surface_centered()
637 gr_blit(surface, 0, 0, w, h, x, y); in draw_surface_centered()
/system/core/sh/funcs/
Dcmv45 if test -f "$2" -o -w "$2"
/system/core/libmincrypt/
Dsha.c64 (W[t] = bswap_32(ctx->buf.w[t])) + \ in SHA1_Transform()
185 ctx->buf.w[i] = bswap_32(ctx->state[i]); in SHA_final()