/external/chromium_org/third_party/skia/samplecode/ |
SampleBitmapRect.cpp | 51 static void bounce(SkScalar* value, SkScalar* delta, SkScalar min, SkScalar max) { function 63 bounce(&pt->fX, &vec->fX, limit.fLeft, limit.fRight); 64 bounce(&pt->fY, &vec->fY, limit.fTop, limit.fBottom); 73 void bounce() { function in class:BitmapRectView 134 this->bounce(); 178 bounce(&fSrcR.fLeft, &fDX, fLimitR.fLeft, fLimitR.fRight - width);
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nouveau/ |
nouveau_buffer.c | 109 struct nouveau_bo *bounce = NULL; local 114 mm = nouveau_mm_allocate(nv->screen->mm_GART, size, &bounce, &offset); 115 if (!bounce) 118 nv->copy_data(nv, bounce, offset, NOUVEAU_BO_GART, 121 if (nouveau_bo_map(bounce, NOUVEAU_BO_RD, nv->screen->client)) 123 memcpy(buf->data + start, (uint8_t *)bounce->map + offset, size); 127 nouveau_bo_ref(NULL, &bounce); 138 struct nouveau_bo *bounce = NULL; local 151 mm = nouveau_mm_allocate(nv->screen->mm_GART, size, &bounce, &offset); 152 if (!bounce) [all...] |
/external/mesa3d/src/gallium/drivers/nouveau/ |
nouveau_buffer.c | 109 struct nouveau_bo *bounce = NULL; local 114 mm = nouveau_mm_allocate(nv->screen->mm_GART, size, &bounce, &offset); 115 if (!bounce) 118 nv->copy_data(nv, bounce, offset, NOUVEAU_BO_GART, 121 if (nouveau_bo_map(bounce, NOUVEAU_BO_RD, nv->screen->client)) 123 memcpy(buf->data + start, (uint8_t *)bounce->map + offset, size); 127 nouveau_bo_ref(NULL, &bounce); 138 struct nouveau_bo *bounce = NULL; local 151 mm = nouveau_mm_allocate(nv->screen->mm_GART, size, &bounce, &offset); 152 if (!bounce) [all...] |
/external/e2fsprogs/lib/ext2fs/ |
unix_io.c | 92 void *bounce; member in struct:unix_private_data 202 actual = read(data->dev, data->bounce, channel->block_size); 208 memcpy(buf, data->bounce, actual); 271 actual = read(data->dev, data->bounce, 281 memcpy(data->bounce, buf, actual); 282 actual = write(data->dev, data->bounce, channel->block_size); 323 if (data->bounce) 324 ext2fs_free_mem(&data->bounce); 325 retval = io_channel_alloc_buf(channel, 0, &data->bounce); 345 if (data->bounce) [all...] |