/external/tcpdump/ |
H A D | print-atalk.c | 350 atp_bitmap_print(register u_char bm) argument 360 if ((bm + 1) & (bm & 0xff)) { 362 for (i = 0; bm; ++i) { 363 if (bm & 1) { 367 bm >>= 1; 371 for (i = 0; bm; ++i) 372 bm >>= 1;
|
/external/chromium_org/third_party/skia/bench/ |
H A D | AlternatingColorPatternBench.cpp | 38 static void makebm(SkBitmap* bm, int w, int h) { argument 39 bm->allocN32Pixels(w, h); 40 bm->eraseColor(SK_ColorTRANSPARENT); 42 SkCanvas canvas(*bm);
|
/external/chromium_org/third_party/skia/samplecode/ |
H A D | SampleBitmapRect.cpp | 144 static void make_big_bitmap(SkBitmap* bm) { argument 160 bm->allocN32Pixels(BIG_W, BIG_H); 161 bm->eraseColor(SK_ColorWHITE); 163 SkCanvas canvas(*bm);
|
H A D | SampleShaderText.cpp | 13 static void makebm(SkBitmap* bm, int w, int h) { argument 14 bm->allocN32Pixels(w, h); 15 bm->eraseColor(SK_ColorTRANSPARENT); 17 SkCanvas canvas(*bm);
|
H A D | SampleText.cpp | 127 static void make_textstrip(SkBitmap* bm) { argument 128 bm->allocPixels(SkImageInfo::Make(200, 18, kRGB_565_SkColorType, 130 bm->eraseColor(SK_ColorWHITE); 132 SkCanvas canvas(*bm);
|
H A D | SampleRotateCircles.cpp | 110 SkBitmap bm; local 111 bm.allocN32Pixels(w, h); 112 bm.eraseColor(0); 114 SkAutoLockPixels alp(bm); 122 *bm.getAddr32(x, y) = SkPackARGB32(0xFF, 0, 0, 0); 127 canvas->drawBitmap(bm, 0, 0, NULL);
|
H A D | SampleFatBits.cpp | 41 SkBitmap bm; local 42 bm.allocN32Pixels(2, 2); 43 bm.lockPixels(); 44 *bm.getAddr32(0, 0) = *bm.getAddr32(1, 1) = SkPreMultiplyColor(colors[0]); 45 *bm.getAddr32(0, 1) = *bm.getAddr32(1, 0) = SkPreMultiplyColor(colors[1]); 46 return SkShader::CreateBitmapShader(bm, SkShader::kRepeat_TileMode,
|
H A D | SampleFontCache.cpp | 70 SkBitmap* bm = (SkBitmap*)context; local 71 SkCanvas canvas(*bm);
|
/external/chromium_org/third_party/skia/src/image/ |
H A D | SkImage_Raster.cpp | 74 SkImage_Raster(const SkBitmap& bm) argument 75 : INHERITED(bm.width(), bm.height()) 76 , fBitmap(bm) {}
|
/external/skia/gm/ |
H A D | shadertext.cpp | 14 static void makebm(SkBitmap* bm, int w, int h) { argument 15 bm->allocN32Pixels(w, h); 16 bm->eraseColor(SK_ColorTRANSPARENT); 18 SkCanvas canvas(*bm);
|
/external/skia/samplecode/ |
H A D | SampleBitmapRect.cpp | 150 static void make_big_bitmap(SkBitmap* bm) { argument 166 bm->allocN32Pixels(BIG_W, BIG_H); 167 bm->eraseColor(SK_ColorWHITE); 169 SkCanvas canvas(*bm);
|
H A D | SampleShaderText.cpp | 13 static void makebm(SkBitmap* bm, int w, int h) { argument 14 bm->allocN32Pixels(w, h); 15 bm->eraseColor(SK_ColorTRANSPARENT); 17 SkCanvas canvas(*bm);
|
H A D | SampleText.cpp | 195 static void make_textstrip(SkBitmap* bm) { argument 196 bm->allocPixels(SkImageInfo::Make(200, 18, kRGB_565_SkColorType, 198 bm->eraseColor(SK_ColorWHITE); 200 SkCanvas canvas(*bm);
|
H A D | SampleRotateCircles.cpp | 110 SkBitmap bm; local 111 bm.allocN32Pixels(w, h); 112 bm.eraseColor(0); 114 SkAutoLockPixels alp(bm); 122 *bm.getAddr32(x, y) = SkPackARGB32(0xFF, 0, 0, 0); 127 canvas->drawBitmap(bm, 0, 0, NULL);
|
H A D | SampleFatBits.cpp | 41 SkBitmap bm; local 42 bm.allocN32Pixels(2, 2); 43 bm.lockPixels(); 44 *bm.getAddr32(0, 0) = *bm.getAddr32(1, 1) = SkPreMultiplyColor(colors[0]); 45 *bm.getAddr32(0, 1) = *bm.getAddr32(1, 0) = SkPreMultiplyColor(colors[1]); 46 return SkShader::CreateBitmapShader(bm, SkShader::kRepeat_TileMode,
|
H A D | SampleFontCache.cpp | 70 SkBitmap* bm = (SkBitmap*)context; local 71 SkCanvas canvas(*bm);
|
/external/chromium_org/third_party/skia/include/core/ |
H A D | SkBitmap.h | 779 SkAutoLockPixels(const SkBitmap& bm, bool doLock = true) : fBitmap(bm) { argument 782 bm.lockPixels(); 809 explicit SkAutoLockColors(const SkBitmap& bm) { argument 810 fCTable = bm.getColorTable(); 842 const SkPMColor* lockColors(const SkBitmap& bm) { argument 843 return this->lockColors(bm.getColorTable());
|
/external/skia/include/core/ |
H A D | SkBitmap.h | 796 SkAutoLockPixels(const SkBitmap& bm, bool doLock = true) : fBitmap(bm) { argument 799 bm.lockPixels(); 826 explicit SkAutoLockColors(const SkBitmap& bm) { argument 827 fCTable = bm.getColorTable(); 859 const SkPMColor* lockColors(const SkBitmap& bm) { argument 860 return this->lockColors(bm.getColorTable());
|
/external/chromium_org/third_party/skia/tests/ |
H A D | BitmapCopyTest.cpp | 84 // Utility function to read the value of a given pixel in bm. All 86 static uint32_t getPixel(int x, int y, const SkBitmap& bm) { argument 90 SkAutoLockPixels lock(bm); 91 const void* rawAddr = bm.getAddr(x,y); 93 switch (bm.bytesPerPixel()) { 111 // Utility function to set value of any pixel in bm. 112 // bm.getConfig() specifies what format 'val' must be 114 static void setPixel(int x, int y, uint32_t val, SkBitmap& bm) { argument 117 SkAutoLockPixels lock(bm); 118 void* rawAddr = bm 180 writeCoordPixels(SkBitmap& bm, const Coordinates& coords) argument [all...] |
H A D | DeviceLooperTest.cpp | 12 static void make_bm(SkBitmap* bm, int w, int h) { argument 13 bm->allocPixels(SkImageInfo::Make(w, h, kAlpha_8_SkColorType,
|
/external/skia/tests/ |
H A D | BitmapCopyTest.cpp | 84 // Utility function to read the value of a given pixel in bm. All 86 static uint32_t getPixel(int x, int y, const SkBitmap& bm) { argument 90 SkAutoLockPixels lock(bm); 91 const void* rawAddr = bm.getAddr(x,y); 93 switch (bm.bytesPerPixel()) { 111 // Utility function to set value of any pixel in bm. 112 // bm.getConfig() specifies what format 'val' must be 114 static void setPixel(int x, int y, uint32_t val, SkBitmap& bm) { argument 117 SkAutoLockPixels lock(bm); 118 void* rawAddr = bm 180 writeCoordPixels(SkBitmap& bm, const Coordinates& coords) argument [all...] |
/external/chromium_org/third_party/skia/src/core/ |
H A D | SkPictureShader.cpp | 109 SkBitmap bm; local 110 if (!bm.tryAllocN32Pixels(tileSize.width(), tileSize.height())) { 113 bm.eraseColor(SK_ColorTRANSPARENT); 115 SkCanvas canvas(bm); 124 fCachedBitmapShader.reset(CreateBitmapShader(bm, fTmx, fTmy, &shaderMatrix));
|
H A D | SkRecordDraw.cpp | 343 const SkBitmap& bm = op.bitmap; local 344 return Bounds::MakeXYWH(op.left, op.top, bm.width(), bm.height()); // Ignores the matrix. 363 const SkBitmap& bm = op.bitmap; local 364 return this->adjustAndMap(SkRect::MakeXYWH(op.left, op.top, bm.width(), bm.height()), 368 const SkBitmap& bm = op.bitmap; local 369 SkRect dst = SkRect::MakeWH(bm.width(), bm.height());
|
/external/chromium_org/skia/ext/ |
H A D | pixel_ref_utils.cc | 50 GatherPixelRefDevice(const SkBitmap& bm, argument 52 : SkBitmapDevice(bm), pixel_ref_set_(pixel_ref_set) {} 336 void AddBitmap(const SkBitmap& bm, const SkRect& rect) { argument 340 pixel_ref_set_->Add(bm.pixelRef(), paint_rect); 343 bool GetBitmapFromPaint(const SkPaint& paint, SkBitmap* bm) { argument 349 return shader->asABitmap(bm, NULL, NULL);
|
/external/pixman/test/ |
H A D | utils.h | 205 uint32_t am, rm, gm, bm; member in struct:__anon28878 238 uint32_t *bm);
|