Home
last modified time | relevance | path

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

12

/system/core/toolbox/
Dr.c26 int width = 4; in main() local
28 width = 1; in main()
32 width = 2; in main()
46 endaddr = addr + width - 1; in main()
79 switch(width){ in main()
99 addr += width; in main()
/system/bt/btif/src/
Dbtif_sock_util.c173 const int width = 16; in dump_bin() local
185 for(j = 0; j < width; j++) in dump_bin()
193 for(i = 0; i < size / width; i++) in dump_bin()
197 addr = i*width; in dump_bin()
201 for(j = 0; j < width; j++) in dump_bin()
207 for(j = 0; j < width; j++) in dump_bin()
215 int leftover = size % width; in dump_bin()
220 addr = i*width; in dump_bin()
229 for(; j < width; j++) { in dump_bin()
/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()
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()
Draster.h28 void gglCopyPixels(void* c, GGLint x, GGLint y, GGLsizei width, GGLsizei height, GGLenum type);
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()
/system/core/init/
Dutil.cpp304 int width; in mkdir_recursive() local
309 width = slash - pathname; in mkdir_recursive()
311 if (width < 0) in mkdir_recursive()
313 if (width == 0) in mkdir_recursive()
315 if ((unsigned int)width > sizeof(buf) - 1) { in mkdir_recursive()
319 memcpy(buf, pathname, width); in mkdir_recursive()
320 buf[width] = 0; in mkdir_recursive()
359 int width; in make_link_init() local
364 width = slash - newpath; in make_link_init()
365 if (width <= 0 || width > (int)sizeof(buf) - 1) in make_link_init()
[all …]
Ddevices.cpp426 int width; in get_character_device_symlinks() local
453 width = slash - parent; in get_character_device_symlinks()
454 if (width <= 0) in get_character_device_symlinks()
457 if (asprintf(&links[link_num], "/dev/usb/%s%.*s", uevent->subsystem, width, parent) > 0) in get_character_device_symlinks()
/system/core/adb/
Dframebuffer_service.cpp45 unsigned int width; member
96 fbinfo.width = w; in framebuffer_service()
110 fbinfo.width = w; in framebuffer_service()
124 fbinfo.width = w; in framebuffer_service()
138 fbinfo.width = w; in framebuffer_service()
152 fbinfo.width = w; in framebuffer_service()
Dline_printer.cpp34 string ElideMiddle(const string& str, size_t width) { in ElideMiddle() argument
37 if (result.size() + kMargin > width) { in ElideMiddle()
38 size_t elide_size = (width - kMargin) / 2; in ElideMiddle()
DSERVICES.TXT210 width: uint32_t: framebuffer width in pixels
214 size is always width*height*2
/system/media/camera/docs/
Dcamera_device_info.mako30 optional int32 width = 1;
35 optional float width = 1;
49 optional int32 width = 2;
Dhtml.mako29 …: bold; background-color: #888888; padding: 0.5em 0em 0.5em 0.5em; border-width: thick thin thin t…
41 table { border-collapse:collapse; table-layout: fixed; width: 100%; word-wrap: break-word }
43 .th_name { width: 20% }
44 .th_units { width: 10% }
45 .th_tags { width: 5% }
46 .th_details { width: 25% }
47 .th_type { width: 20% }
48 .th_description { width: 20% }
49 .th_range { width: 10% }
Dcamera_device_info.proto30 optional int32 width = 1; field
35 optional float width = 1; field
49 optional int32 width = 2; field
/system/core/libpixelflinger/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/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/libpixelflinger/codeflinger/
Dtexturing.cpp469 int width = scratches.obtain(); in build_textures() local
477 CONTEXT_LOAD(width, generated_vars.texture[i].width); in build_textures()
505 wrapping(u, s.reg, width, tmu.swrap, FRAC_BITS); in build_textures()
527 SUB(AL, 0, width, width, imm(1)); in build_textures()
535 MOV(MI, 0, u, width); in build_textures()
536 CMP(AL, u, width); in build_textures()
537 MOV(LT, 0, width, imm(1 << shift)); in build_textures()
539 MOV(GE, 0, width, reg_imm(width, LSL, shift)); in build_textures()
540 RSB(GE, 0, width, width, imm(0)); in build_textures()
555 CMP(AL, width, reg_imm(u, ASR, FRAC_BITS)); in build_textures()
[all …]
DArm64Disassembler.cpp90 uint32_t width = msb - lsb + 1; in bits_unsigned() local
91 uint32_t mask = (1 << width) - 1; in bits_unsigned()
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()
/system/extras/pagecache/
Dpagecache.py86 height, width = pad.getmaxyx()
111 pad.refresh(0,0, 0,0, height,width)
300 height, width = stdscr.getmaxyx()
307 used_width = max(width, 100)
/system/core/libpixelflinger/include/private/pixelflinger/
Dggl_context.h348 GGLuint width;
482 uint32_t width;

12