Searched refs:width (Results 1 - 25 of 28) sorted by relevance

12

/system/core/include/cutils/
H A Dqsort_r_compat.h32 void qsort_r_compat(void* base, size_t nel, size_t width, void* thunk,
/system/core/libcutils/
H A Dqsort_r_compat.c26 void qsort_r_compat(void* base, size_t nel, size_t width, void* thunk, argument
28 qsort_r(base, nel, width, thunk, compar);
47 void qsort_r_compat(void* base, size_t nel, size_t width, void* thunk, argument
52 qsort_r(base, nel, width, compar_wrapper, &compar_data);
75 void qsort_r_compat(void* base, size_t nel, size_t width, void* thunk, argument
81 qsort(base, nel, width, compar_wrapper);
/system/core/toolbox/
H A Dr.c15 int width = 4, set = 0, fd; local
24 width = 1;
28 width = 2;
41 endaddr = addr + width - 1;
72 switch(width){
92 addr += width;
H A Dnotify.c22 int width = 80; local
47 width = atoi(optarg);
82 buf = malloc(width + 2);
115 buflen = width - strlen(display_name);
/system/core/libpixelflinger/
H A Draster.h28 void gglCopyPixels(void* c, GGLint x, GGLint y, GGLsizei width, GGLsizei height, GGLenum type);
H A Draster.cpp30 GGLsizei width, GGLsizei height, GGLenum type);
54 GGLsizei width, GGLsizei height, GGLenum type)
62 if (uint32_t(xs) > cb->width)
66 if (uint32_t(xs + width) > cb->width)
80 width -= offset;
88 if ((xd + width) > GGLint(c->state.scissor.right)) {
89 width = GGLint(c->state.scissor.right) - xd;
95 if (width<=0 || height<=0) {
111 const size_t rowsize = width * f
53 ggl_copyPixels(void* con, GGLint xs, GGLint ys, GGLsizei width, GGLsizei height, GGLenum type) argument
[all...]
H A Dbuffer.cpp60 dst->width = src->width;
93 gen.width = s.width;
114 assert((x < s->width) && (y < s->height));
165 assert((x < s->width) && (y < s->height));
H A Dpixelflinger.cpp115 if (surface->width > c->state.buffers.coverageBufferSize) {
118 c->state.buffers.coverage = (int16_t*)malloc(surface->width * 2);
120 c->state.buffers.coverage ? surface->width : 0;
147 GGLsizei width, GGLsizei height)
152 c->state.scissor.user_right = x + width;
604 c->state.scissor.right = min(c->state.buffers.color.width, r);
610 c->state.scissor.right = c->state.buffers.color.width;
146 ggl_scissor(void* con, GGLint x, GGLint y, GGLsizei width, GGLsizei height) argument
H A Dtrap.cpp348 static void linex(void *con, const GGLcoord* v0, const GGLcoord* v1, GGLcoord width) argument
361 GGLcoord halfWidth = TRI_ROUND(width) >> 1;
376 static void aa_linex(void *con, const GGLcoord* v0, const GGLcoord* v1, GGLcoord width) argument
391 const GGLfixed norm = gglMulx(width, gglSqrtRecipx(nx*nx+ny*ny), 4);
H A Dscanline.cpp707 const int w = tx.surface.width;
731 const int w = tx.surface.width;
990 m_width_m1 = tx.surface.width - 1;
1078 m_width_m1 = tx.surface.width-1;
1416 const int width = c->iterators.xr - x; local
1419 count = width;
1717 gen.width = t.surface.width;
/system/core/init/
H A Dutil.c287 int width; local
292 width = slash - pathname;
294 if (width < 0)
296 if (width == 0)
298 if ((unsigned int)width > sizeof(buf) - 1) {
302 memcpy(buf, pathname, width);
303 buf[width] = 0;
329 int width; local
334 width = slash - newpath;
335 if (width <
[all...]
H A Ddevices.c364 int width; local
389 width = slash - parent;
390 if (width <= 0)
393 if (asprintf(&links[link_num], "/dev/usb/%s%.*s", uevent->subsystem, width, parent) > 0)
414 int width; local
/system/core/adb/
H A Dframebuffer_service.c43 unsigned int width; member in struct:fbinfo
92 fbinfo.width = w;
106 fbinfo.width = w;
120 fbinfo.width = w;
134 fbinfo.width = w;
148 fbinfo.width = w;
/system/extras/tests/framebuffer/
H A Dmdp_test.c95 static int get_framebuffer(int *fd, char **fb, int *width, int *height) argument
122 *width = vi.xres;
174 int fb_fd, width, height; local
273 if (get_framebuffer(&fb_fd, &fb, &width, &height)) {
281 src_imgw = width;
286 dst_imgw = width;
295 req->src.width = src_imgw;
305 req->dst.width = dst_imgw;
H A Dfb_test.c33 int width; member in struct:simple_fb
96 fb->width = vi.xres;
104 fb->width = vi.xres;
187 return gr_fbs[0].width;
H A Drefresh.c75 float xdpi = (info.xres * 25.4f) / info.width;
101 printf( "width = %d mm (%f dpi)\n"
104 info.width, xdpi,
/system/core/sh/
H A Doutput.c267 * - An * may be given for the width or precision.
268 * - The obsolete practice of preceding the width with a zero to get
294 int width;
319 width = 0;
333 width = va_arg(ap, int);
337 width = 10 * width + digit_val(*f++);
419 if (width) {
424 pad = width - size;
443 if (width) {
[all...]
/system/core/include/pixelflinger/
H A Dpixelflinger.h189 GGLuint width; // width in pixels member in struct:__anon318
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/core/libpixelflinger/codeflinger/
H A Dtexturing.cpp473 int width = scratches.obtain(); local
481 CONTEXT_LOAD(width, generated_vars.texture[i].width);
509 wrapping(u, s.reg, width, tmu.swrap, FRAC_BITS);
530 // compute width-1 and height-1
531 SUB(AL, 0, width, width, imm(1));
539 MOV(MI, 0, u, width);
540 CMP(AL, u, width);
541 MOV(LT, 0, width, im
[all...]
H A DARMAssemblerProxy.cpp293 void ARMAssemblerProxy::UBFX(int cc, int Rd, int Rn, int lsb, int width) { argument
294 mTarget->UBFX(cc, Rd, Rn, lsb, width);
H A DARMAssembler.h160 virtual void UBFX(int cc, int Rd, int Rn, int lsb, int width);
H A DARMAssemblerProxy.h147 virtual void UBFX(int cc, int Rd, int Rn, int lsb, int width);
H A DARMAssembler.cpp447 void ARMAssembler::UBFX(int cc, int Rd, int Rn, int lsb, int width) argument
449 *mPC++ = (cc<<28) | 0x7E00000 | ((width-1)<<16) | (Rd<<12) | (lsb<<7) | 0x50 | Rn;
/system/core/include/private/pixelflinger/
H A Dggl_context.h346 uint32_t width; member in struct:android::surface_t::__anon322::__anon323
480 uint32_t width; member in struct:android::generated_tex_vars_t
/system/core/include/system/
H A Dwindow.h103 int width; member in struct:ANativeWindowBuffer
172 * Default width and height of ANativeWindow buffers, these are the
195 * 2. The GL driver overrides the width and height of the ANW to

Completed in 232 milliseconds

12