Home
last modified time | relevance | path

Searched refs:w (Results 1 – 21 of 21) 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 …]
Dmdp_test.c140 int parse_geometry(char *geom, int *w, int *h, int *x, int *y) in parse_geometry() argument
144 *w = *h = 0; in parse_geometry()
149 *w = atoi(geom); in parse_geometry()
302 req->src_rect.w = srcw; in main()
312 req->dst_rect.w = dstw; in main()
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.cpp133 int32_t w = MAX_FFT_SIZE / 4 - (r << scale); in fixed_fft() local
134 i = w >> 31; in fixed_fft()
135 w = twiddle[(w ^ i) - i] ^ (i << 16); in fixed_fft()
138 int32_t y = mult(w, v[i + p]); in fixed_fft()
/system/core/include/system/
Dwindow.h687 int w, int h, int format) in native_window_set_buffers_geometry() argument
690 w, h, format); in native_window_set_buffers_geometry()
708 int w, int h) in native_window_set_buffers_dimensions() argument
711 w, h); in native_window_set_buffers_dimensions()
733 int w, int h) in native_window_set_buffers_user_dimensions() argument
736 w, h); in native_window_set_buffers_user_dimensions()
/system/core/libpixelflinger/codeflinger/
DCodeCache.h93 inline cache_entry_t(const sp<Assembly>& a, int64_t w) in cache_entry_t()
94 : 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/
Dtzstrftime.c417 int w; local
448 w = 1;
452 w = 1 + ((yday - bot) /
462 if ((w == 52 &&
464 (w == 1 &&
466 w = 53;
469 pt = _conv(w,
/system/core/init/
Dproperty_service.c120 static int init_workspace(workspace *w, size_t size) in init_workspace() argument
147 w->data = data; in init_workspace()
148 w->size = size; in init_workspace()
149 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()
/system/extras/bugmailer/src/com/android/commands/sendbug/
DSendBug.java84 Log.w(LOG_TAG, "Cannot find account to send bugreport, local path: " in run()