Searched defs:width (Results 1 - 19 of 19) sorted by relevance

/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/adb/
H A Dframebuffer_service.c40 unsigned int width; member in struct:fbinfo
89 fbinfo.width = w;
103 fbinfo.width = w;
117 fbinfo.width = w;
131 fbinfo.width = w;
145 fbinfo.width = w;
/system/core/libion/
H A Dion_test.c23 size_t width = 1024*1024, height = 1024*1024; variable
212 {"width", required_argument, 0, 'w'},
258 width = atol(optarg);
265 printf("test %d, len %u, width %u, height %u align %u, "
266 "map_flags %d, prot %d, alloc_flags %d\n", test, len, width,
/system/core/libpixelflinger/
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 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 Dscanline.cpp686 const int w = tx.surface.width;
710 const int w = tx.surface.width;
969 m_width_m1 = tx.surface.width - 1;
1057 m_width_m1 = tx.surface.width-1;
1395 const int width = c->iterators.xr - x; local
1398 count = width;
1696 gen.width = t.surface.width;
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);
/system/extras/tests/framebuffer/
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 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;
/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.c388 int width; local
413 width = slash - parent;
414 if (width <= 0)
417 if (asprintf(&links[link_num], "/dev/usb/%s%.*s", uevent->subsystem, width, parent) > 0)
438 int width; local
/system/core/libpixelflinger/codeflinger/
H A DARMAssemblerProxy.cpp202 void ARMAssemblerProxy::UBFX(int cc, int Rd, int Rn, int lsb, int width) { argument
203 mTarget->UBFX(cc, Rd, Rn, lsb, width);
H A DARMAssembler.cpp442 void ARMAssembler::UBFX(int cc, int Rd, int Rn, int lsb, int width) argument
444 *mPC++ = (cc<<28) | 0x7E00000 | ((width-1)<<16) | (Rd<<12) | (lsb<<7) | 0x50 | Rn;
H A Dtexturing.cpp470 int width = scratches.obtain(); local
475 CONTEXT_LOAD(width, generated_vars.texture[i].width);
503 wrapping(u, s.reg, width, tmu.swrap, FRAC_BITS);
521 // compute width-1 and height-1
522 SUB(AL, 0, width, width, imm(1));
530 MOV(MI, 0, u, width);
531 CMP(AL, u, width);
532 MOV(LT, 0, width, im
[all...]
/system/core/include/system/
H A Dwindow.h91 int width; member in struct:ANativeWindowBuffer
160 * Default width and height of ANativeWindow buffers, these are the
183 * 2. The GL driver overrides the width and height of the ANW to
/system/core/include/pixelflinger/
H A Dpixelflinger.h189 GGLuint width; // width in pixels member in struct:__anon314
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/include/private/pixelflinger/
H A Dggl_context.h326 uint32_t width; member in struct:android::surface_t::__anon318::__anon319
460 uint32_t width; member in struct:android::generated_tex_vars_t

Completed in 658 milliseconds