Home
last modified time | relevance | path

Searched refs:width (Results 1 – 25 of 27) sorted by relevance

12

/system/core/toolbox/
Dr.c15 int width = 4, set = 0, fd; in r_main() local
24 width = 1; in r_main()
28 width = 2; in r_main()
41 endaddr = addr + width - 1; in r_main()
72 switch(width){ in r_main()
92 addr += width; in r_main()
Dnotify.c22 int width = 80; in notify_main() local
47 width = atoi(optarg); in notify_main()
82 buf = malloc(width + 2); in notify_main()
115 buflen = width - strlen(display_name); in notify_main()
/system/core/init/
Dutil.c280 int width; in mkdir_recursive() local
285 width = slash - pathname; in mkdir_recursive()
287 if (width < 0) in mkdir_recursive()
289 if (width == 0) in mkdir_recursive()
291 if ((unsigned int)width > sizeof(buf) - 1) { in mkdir_recursive()
295 memcpy(buf, pathname, width); in mkdir_recursive()
296 buf[width] = 0; in mkdir_recursive()
335 int width; in make_link() local
340 width = slash - newpath; in make_link()
341 if (width <= 0 || width > (int)sizeof(buf) - 1) in make_link()
[all …]
Ddevices.c375 int width; in get_character_device_symlinks() local
402 width = slash - parent; in get_character_device_symlinks()
403 if (width <= 0) in get_character_device_symlinks()
406 if (asprintf(&links[link_num], "/dev/usb/%s%.*s", uevent->subsystem, width, parent) > 0) in get_character_device_symlinks()
427 int width; in parse_platform_block_device() local
/system/core/libpixelflinger/
Draster.cpp30 GGLsizei width, GGLsizei height, GGLenum type);
54 GGLsizei width, GGLsizei height, GGLenum type) in ggl_copyPixels() argument
62 if (uint32_t(xs) > cb->width) in ggl_copyPixels()
66 if (uint32_t(xs + width) > cb->width) in ggl_copyPixels()
80 width -= offset; in ggl_copyPixels()
88 if ((xd + width) > GGLint(c->state.scissor.right)) { in ggl_copyPixels()
89 width = GGLint(c->state.scissor.right) - xd; in ggl_copyPixels()
95 if (width<=0 || height<=0) { in ggl_copyPixels()
111 const size_t rowsize = width * fp->size; in ggl_copyPixels()
Draster.h28 void gglCopyPixels(void* c, GGLint x, GGLint y, GGLsizei width, GGLsizei height, GGLenum type);
Dbuffer.cpp60 dst->width = src->width; in ggl_set_surface()
93 gen.width = s.width; in ggl_pick_texture()
114 assert((x < s->width) && (y < s->height)); in read_pixel()
165 assert((x < s->width) && (y < s->height)); in write_pixel()
Dpixelflinger.cpp115 if (surface->width > c->state.buffers.coverageBufferSize) { in ggl_colorBuffer()
118 c->state.buffers.coverage = (int16_t*)malloc(surface->width * 2); in ggl_colorBuffer()
120 c->state.buffers.coverage ? surface->width : 0; in ggl_colorBuffer()
147 GGLsizei width, GGLsizei height) in ggl_scissor() argument
152 c->state.scissor.user_right = x + width; in ggl_scissor()
604 c->state.scissor.right = min(c->state.buffers.color.width, r); in ggl_set_scissor()
610 c->state.scissor.right = c->state.buffers.color.width; in ggl_set_scissor()
Dscanline.cpp707 const int w = tx.surface.width; in scanline()
731 const int w = tx.surface.width; in scanline()
990 m_width_m1 = tx.surface.width - 1; in clamp_iterator()
1078 m_width_m1 = tx.surface.width-1; in init()
1416 const int width = c->iterators.xr - x; in dst_iterator16() local
1419 count = width; in dst_iterator16()
1717 gen.width = t.surface.width; in init_y()
Dtrap.cpp348 static void linex(void *con, const GGLcoord* v0, const GGLcoord* v1, GGLcoord width) in linex() argument
361 GGLcoord halfWidth = TRI_ROUND(width) >> 1; in linex()
376 static void aa_linex(void *con, const GGLcoord* v0, const GGLcoord* v1, GGLcoord width) in aa_linex() argument
391 const GGLfixed norm = gglMulx(width, gglSqrtRecipx(nx*nx+ny*ny), 4); in aa_linex()
/system/core/adb/
Dframebuffer_service.c43 unsigned int width; member
92 fbinfo.width = w; in framebuffer_service()
106 fbinfo.width = w; in framebuffer_service()
120 fbinfo.width = w; in framebuffer_service()
134 fbinfo.width = w; in framebuffer_service()
148 fbinfo.width = w; in framebuffer_service()
DSERVICES.TXT215 width: uint32_t: framebuffer width in pixels
219 size is always width*height*2
/system/core/sh/
Doutput.c294 int width; in doformat()
319 width = 0; in doformat()
333 width = va_arg(ap, int); in doformat()
337 width = 10 * width + digit_val(*f++); in doformat()
419 if (width) { in doformat()
424 pad = width - size; in doformat()
443 if (width) { in doformat()
447 pad = width - len; in doformat()
/system/extras/tests/framebuffer/
Dfb_test.c33 int width; member
96 fb->width = vi.xres; in get_framebuffer()
104 fb->width = vi.xres; in get_framebuffer()
187 return gr_fbs[0].width; in gr_fb_width()
Drefresh.c75 float xdpi = (info.xres * 25.4f) / info.width; in main()
104 info.width, xdpi, in main()
/system/core/include/pixelflinger/
Dpixelflinger.h189 GGLuint width; // width in pixels member
208 const GGLcoord* v0, const GGLcoord* v1, GGLcoord width);
214 void (*scissor)(void* c, GGLint x, GGLint y, GGLsizei width, GGLsizei height);
303 GGLsizei width, GGLsizei height, GGLenum type);
/system/media/camera/docs/
Dhtml.mako29 …: bold; background-color: #888888; padding: 0.5em 0em 0.5em 0.5em; border-width: thick thin thin t…
39 table { border-collapse:collapse; table-layout: fixed; width: 100%; word-wrap: break-word }
41 .th_name { width: 20% }
42 .th_units { width: 10% }
43 .th_tags { width: 5% }
44 .th_notes { width: 25% }
45 .th_type { width: 20% }
46 .th_description { width: 20% }
47 .th_range { width: 10% }
/system/core/libpixelflinger/codeflinger/
Dtexturing.cpp473 int width = scratches.obtain(); in build_textures() local
481 CONTEXT_LOAD(width, generated_vars.texture[i].width); in build_textures()
509 wrapping(u, s.reg, width, tmu.swrap, FRAC_BITS); in build_textures()
531 SUB(AL, 0, width, width, imm(1)); in build_textures()
539 MOV(MI, 0, u, width); in build_textures()
540 CMP(AL, u, width); in build_textures()
541 MOV(LT, 0, width, imm(1 << shift)); in build_textures()
543 MOV(GE, 0, width, reg_imm(width, LSL, shift)); in build_textures()
544 RSB(GE, 0, width, width, imm(0)); in build_textures()
559 CMP(AL, width, reg_imm(u, ASR, FRAC_BITS)); in build_textures()
[all …]
DARMAssemblerProxy.cpp293 void ARMAssemblerProxy::UBFX(int cc, int Rd, int Rn, int lsb, int width) { in UBFX() argument
294 mTarget->UBFX(cc, Rd, Rn, lsb, width); in UBFX()
DARMAssemblerProxy.h147 virtual void UBFX(int cc, int Rd, int Rn, int lsb, int width);
DARMAssembler.h159 virtual void UBFX(int cc, int Rd, int Rn, int lsb, int width);
DARMAssembler.cpp447 void ARMAssembler::UBFX(int cc, int Rd, int Rn, int lsb, int width) in UBFX() argument
449 *mPC++ = (cc<<28) | 0x7E00000 | ((width-1)<<16) | (Rd<<12) | (lsb<<7) | 0x50 | Rn; in UBFX()
DARMAssemblerInterface.h218 virtual void UBFX(int cc, int Rd, int Rn, int lsb, int width) = 0;
/system/core/include/private/pixelflinger/
Dggl_context.h346 uint32_t width;
480 uint32_t width;
/system/core/include/system/
Dwindow.h103 int width; member

12