/development/ide/xcode/ports/ |
SkBitmap_Mac.cpp | 106 void SkBitmap::drawToPort(WindowRef wind, CGContextRef cg) const { 112 if (NULL == cg) { 114 QDBeginCGContext(GetWindowPort(wind), &cg); local 133 CGContextDrawImage(cg, rect, image); 138 QDEndCGContext(GetWindowPort(wind), &cg); local
|
SkOSWindow_Mac.cpp | 250 CGContextRef cg; local 257 &cg); 259 cg = NULL; 261 win->doPaint(cg);
|
/external/skia/gm/ |
gammatext.cpp | 45 CGContextRef cg = CGBitmapContextCreate(bm.getPixels(), bm.width(), bm.height(), local 49 CGContextSetAllowsFontSubpixelQuantization(cg, false); 50 CGContextSetShouldSubpixelQuantizeFonts(cg, false); 52 return cg; 66 static void cgSetPaintForText(CGContextRef cg, const SkPaint& paint) { 74 CGContextSetRGBFillColor(cg, rgba[0], rgba[1], rgba[2], rgba[3]); 76 CGContextSetTextDrawingMode(cg, kCGTextFill); 77 CGContextSetFont(cg, typefaceToCGFont(paint.getTypeface())); 78 CGContextSetFontSize(cg, SkScalarToFloat(paint.getTextSize())); 80 CGContextSetAllowsFontSubpixelPositioning(cg, paint.isSubpixelText()) 144 CGContextRef cg = makeCG(canvas->getDevice()->accessBitmap(false)); local [all...] |
/external/skia/src/ports/ |
SkImageDecoder_CG.cpp | 82 CGContextRef cg = CGBitmapContextCreate(bm->getPixels(), width, height, local 84 CGContextDrawImage(cg, CGRectMake(0, 0, width, height), image); 85 CGContextRelease(cg);
|
SkFontHost_mac_coretext.cpp | 738 // skia handles quantization itself, so we disable this for cg to get 1494 CGFontRef cg = CGFontCreateWithDataProvider(provider); local [all...] |
/external/mdnsresponder/mDNSPosix/ |
Identify.c | 363 CacheGroup *cg; local 365 FORALL_CACHERECORDS(slot, cg, rr) mDNS_PurgeCacheResourceRecord(m, rr);
|
/external/oprofile/daemon/ |
opd_sfile.c | 301 struct cg_entry * cg; local 326 cg = list_entry(pos, struct cg_entry, hash); 327 if (sfile_equal(last, &cg->to)) { 328 file = &cg->to.files[trans->event]; 333 cg = xmalloc(sizeof(struct cg_entry)); 334 sfile_dup(&cg->to, last); 335 list_add(&cg->hash, &sf->cg_hash[hash]); 336 file = &cg->to.files[trans->event]; 536 struct cg_entry * cg = local 538 if (free_sf || func(&cg->to, data)) [all...] |
opd_ibs.c | 754 struct cg_entry * cg; local 786 cg = list_entry(pos, struct cg_entry, hash); 787 if (sfile_equal(last, &cg->to)) { 788 file = &(cg->to.ext_files[ibs_vci]); 793 cg = xmalloc(sizeof(struct cg_entry)); 794 sfile_dup(&cg->to, last); 795 list_add(&cg->hash, &sf->cg_hash[hash]); 796 file = &(cg->to.ext_files[ibs_vci]);
|
/frameworks/base/graphics/java/android/graphics/ |
Color.java | 132 final float cg = (V - g) / vtemp; local 136 H = cb - cg; 140 H = 4 + cg - cr;
|
/external/grub/stage2/ |
fs.h | 63 * The beginning of cylinder group cg in fs, is given by 64 * the ``cgbase(fs, cg)'' macro. 108 * thus changes to (struct cg) must keep its size within MINBSIZE. 153 mach_daddr_t fs_dblkno; /* offset of first data after cg */ 215 int fs_cgrotor; /* last cg searched */ 274 struct cg struct 276 int xxx1; /* struct cg *cg_link; */ 280 short cg_ncyl; /* number of cyl's this cg */ 281 short cg_niblk; /* number of inode blocks this cg */ 282 int cg_ndblk; /* number of data blocks this cg */ [all...] |
/external/opencv/cxcore/src/ |
cxdrawing.cpp | 306 int cb = ((uchar*)color)[0], cg = ((uchar*)color)[1], cr = ((uchar*)color)[2]; local 409 _cg += ((cg - _cg)*a + 127)>> 8;\ 569 int cg = ((uchar*)color)[1]; local 637 tptr[1] = (uchar)cg; \ [all...] |
/external/webkit/Source/WebKit/efl/ewk/ |
ewk_frame.cpp | 120 int r, g, b, a, cr, cg, cb, ca; local 126 evas_object_color_get(clip, &cr, &cg, &cb, &ca); 132 clip, evas_object_visible_get(clip), cr, cg, cb, ca, cx, cy, cw, ch); [all...] |
/external/mdnsresponder/mDNSCore/ |
DNSCommon.c | 138 CacheGroup *cg; local 140 FORALL_CACHERECORDS(slot, cg, rr) [all...] |
uDNS.c | 4306 CacheGroup *const cg = CacheGroupForName(m, slot, q->qnamehash, &q->qname); local 4923 CacheGroup *cg; local [all...] |
mDNS.c | 324 CacheGroup *cg; local 325 for (cg = m->rrcache_hash[slot]; cg; cg=cg->next) 326 if (cg->namehash == namehash && SameDomainName(cg->name, name)) 328 return(cg); 2580 const CacheGroup *const cg = CacheGroupForName(m, slot, q->qnamehash, &q->qname); local 2651 CacheGroup *cg; local 2672 CacheGroup *const cg = CacheGroupForName(m, HashSlot(name), namehash, name); local 2680 CacheGroup *const cg = CacheGroupForName(m, HashSlot(&q->qname), q->qnamehash, &q->qname); local 2819 const CacheGroup *const cg = CacheGroupForName(m, slot, q->qnamehash, &q->qname); local 2852 CacheGroup *cg; local 3415 CacheGroup *cg; local 3491 CacheGroup *cg = CacheGroupForName(m, slot, namehash, name); local 3788 CacheGroup *const cg = CacheGroupForName(m, slot, q->qnamehash, &q->qname); local 4137 CacheGroup *cg = (CacheGroup*)GetCacheEntity(m, mDNSNULL); local 5182 CacheGroup *cg; local 5652 CacheGroup *cg = CacheGroupForRecord(m, slot, pktrr); local 5872 CacheGroup *cg = CacheGroupForName(m, slot, pktq.qnamehash, &pktq.qname); local 6411 CacheGroup *cg = CacheGroupForName(m, slot, q->qnamehash, &q->qname); local 6551 CacheGroup *cg = CacheGroupForName(m, slot, q.qnamehash, &q.qname); local 6814 CacheGroup *cg = CacheGroupForRecord(m, slot, &m->rec.r.resrec); local 6947 const CacheGroup *cg = CacheGroupForRecord(m, slot, &r1->resrec); local 7058 CacheGroup *cg = CacheGroupForName(m, slot, q.qnamehash, &q.qname); local 8099 CacheGroup *cg; local 8542 CacheGroup *cg = CacheGroupForName(m, slot, question->qnamehash, &question->qname); local 8705 CacheGroup *const cg = CacheGroupForName(m, slot, question->qnamehash, &question->qname); local 9617 CacheGroup *cg; local 9679 CacheGroup *cg; local 10849 CacheGroup *const cg = CacheGroupForName(m, slot, q->qnamehash, &q->qname); local 10865 CacheGroup *const cg = CacheGroupForName(m, slot, q->qnamehash, &q->qname); local 11030 CacheGroup *cg; local 11446 CacheGroup *cg = m->rrcache_hash[slot]; local [all...] |
mDNSEmbeddedAPI.h | 1348 union CacheEntity_union { CacheEntity *next; CacheGroup cg; CacheRecord cr; }; member in union:CacheEntity_union [all...] |
/external/mdnsresponder/mDNSShared/ |
uds_daemon.c | 4320 const CacheGroup *cg; local [all...] |
/external/sqlite/dist/orig/ |
sqlite3.c | 65349 } cg; member in union:vdbeExecUnion [all...] |
/external/sqlite/dist/ |
sqlite3.c | 65360 } cg; member in union:vdbeExecUnion [all...] |