Searched defs:cg (Results 1 - 25 of 30) sorted by relevance

12

/external/mockito/cglib-and-asm/src/org/mockito/cglib/core/
H A DGeneratorStrategy.java31 * @param cg a class generator on which you can call {@link ClassGenerator#generateClass}
34 byte[] generate(ClassGenerator cg) throws Exception; argument
H A DDefaultGeneratorStrategy.java23 public byte[] generate(ClassGenerator cg) throws Exception { argument
25 transform(cg).generateClass(cw);
37 protected ClassGenerator transform(ClassGenerator cg) throws Exception { argument
38 return cg;
/external/mockito/cglib-and-asm/src/org/mockito/cglib/transform/impl/
H A DUndeclaredThrowableStrategy.java49 protected ClassGenerator transform(ClassGenerator cg) throws Exception { argument
50 return new TransformingClassGenerator(cg, t);
/external/libnl/lib/route/cls/
H A Dcgroup.c39 struct rtnl_cgroup *cg = rtnl_cls_data(cls); local
41 rtnl_ematch_tree_free(cg->cg_ematch);
46 struct rtnl_cgroup *cg = rtnl_cls_data(cls); local
57 &cg->cg_ematch)) < 0)
59 cg->cg_mask |= CGROUP_ATTR_EMATCH;
73 struct rtnl_cgroup *cg = rtnl_cls_data(cls); local
75 if (cg->cg_mask & CGROUP_ATTR_EMATCH)
83 struct rtnl_cgroup *cg = rtnl_cls_data(cls); local
85 if (cg->cg_mask & CGROUP_ATTR_EMATCH) {
88 rtnl_ematch_tree_dump(cg
99 struct rtnl_cgroup *cg = rtnl_cls_data(cls); local
116 struct rtnl_cgroup *cg = rtnl_cls_data(cls); local
[all...]
/external/oprofile/daemon/
H A Dopd_mangling.c69 mangle_filename(struct sfile * last, struct sfile const * sf, int counter, int cg) argument
107 if (cg) {
142 struct sfile * sf, int counter, int cg)
150 mangled = mangle_filename(last, sf, counter, cg);
159 /* locking sf will lock associated cg files too */
141 opd_open_sample_file(odb_t *file, struct sfile *last, struct sfile * sf, int counter, int cg) argument
H A Dopd_sfile.c301 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
[all...]
H A Dopd_ibs.c754 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]);
/external/chromium_org/third_party/skia/gm/
H A Dgammatext.cpp47 CGContextRef cg = CGBitmapContextCreate((void*)addr, info.width(), info.height(), local
51 CGContextSetAllowsFontSubpixelQuantization(cg, false);
52 CGContextSetShouldSubpixelQuantizeFonts(cg, false);
54 return cg;
68 static void cgSetPaintForText(CGContextRef cg, const SkPaint& paint) { argument
76 CGContextSetRGBFillColor(cg, rgba[0], rgba[1], rgba[2], rgba[3]);
78 CGContextSetTextDrawingMode(cg, kCGTextFill);
79 CGContextSetFont(cg, typefaceToCGFont(paint.getTypeface()));
80 CGContextSetFontSize(cg, SkScalarToFloat(paint.getTextSize()));
82 CGContextSetAllowsFontSubpixelPositioning(cg, pain
89 cgDrawText(CGContextRef cg, const void* text, size_t len, float x, float y, const SkPaint& paint) argument
146 CGContextRef cg = 0; local
[all...]
/external/chromium_org/third_party/skia/src/utils/mac/
H A DSkCreateCGImageRef.cpp156 void SkCGDrawBitmap(CGContextRef cg, const SkBitmap& bm, float x, float y) { argument
162 CGContextSaveGState(cg);
163 CGContextTranslateCTM(cg, x, r.size.height + y);
164 CGContextScaleCTM(cg, 1, -1);
166 CGContextDrawImage(cg, r, img);
168 CGContextRestoreGState(cg);
268 CGContextRef cg = CGBitmapContextCreate(pixels, info.width(), info.height(), bitsPerComponent, local
271 if (NULL == cg) {
277 CGContextSetBlendMode(cg, kCGBlendModeCopy);
279 CGContextDrawImage(cg, CGRectMak
[all...]
/external/skia/gm/
H A Dgammatext.cpp47 CGContextRef cg = CGBitmapContextCreate((void*)addr, info.width(), info.height(), local
51 CGContextSetAllowsFontSubpixelQuantization(cg, false);
52 CGContextSetShouldSubpixelQuantizeFonts(cg, false);
54 return cg;
68 static void cgSetPaintForText(CGContextRef cg, const SkPaint& paint) { argument
76 CGContextSetRGBFillColor(cg, rgba[0], rgba[1], rgba[2], rgba[3]);
78 CGContextSetTextDrawingMode(cg, kCGTextFill);
79 CGContextSetFont(cg, typefaceToCGFont(paint.getTypeface()));
80 CGContextSetFontSize(cg, SkScalarToFloat(paint.getTextSize()));
82 CGContextSetAllowsFontSubpixelPositioning(cg, pain
89 cgDrawText(CGContextRef cg, const void* text, size_t len, float x, float y, const SkPaint& paint) argument
146 CGContextRef cg = 0; local
[all...]
/external/skia/src/utils/mac/
H A DSkCreateCGImageRef.cpp156 void SkCGDrawBitmap(CGContextRef cg, const SkBitmap& bm, float x, float y) { argument
162 CGContextSaveGState(cg);
163 CGContextTranslateCTM(cg, x, r.size.height + y);
164 CGContextScaleCTM(cg, 1, -1);
166 CGContextDrawImage(cg, r, img);
168 CGContextRestoreGState(cg);
268 CGContextRef cg = CGBitmapContextCreate(pixels, info.width(), info.height(), bitsPerComponent, local
271 if (NULL == cg) {
277 CGContextSetBlendMode(cg, kCGBlendModeCopy);
279 CGContextDrawImage(cg, CGRectMak
[all...]
/external/llvm/lib/Transforms/Scalar/
H A DEarlyCSE.cpp341 unsigned cg, DomTreeNode *n,
343 CurrentGeneration(cg), ChildGeneration(cg), Node(n),
338 StackNode(ScopedHTType *availableValues, LoadHTType *availableLoads, CallHTType *availableCalls, unsigned cg, DomTreeNode *n, DomTreeNode::iterator child, DomTreeNode::iterator end) argument
/external/llvm/tools/lto/
H A Dlto.cpp63 static void lto_add_attrs(lto_code_gen_t cg) { argument
64 LTOCodeGenerator *CG = unwrap(cg);
188 void lto_codegen_set_diagnostic_handler(lto_code_gen_t cg, argument
191 unwrap(cg)->setDiagnosticHandler(diag_handler, ctxt);
205 void lto_codegen_dispose(lto_code_gen_t cg) { delete unwrap(cg); } argument
207 bool lto_codegen_add_module(lto_code_gen_t cg, lto_module_t mod) { argument
208 return !unwrap(cg)->addModule(unwrap(mod), sLastErrorString);
211 bool lto_codegen_set_debug_model(lto_code_gen_t cg, lto_debug_model debug) { argument
212 unwrap(cg)
216 lto_codegen_set_pic_model(lto_code_gen_t cg, lto_codegen_model model) argument
221 lto_codegen_set_cpu(lto_code_gen_t cg, const char *cpu) argument
225 lto_codegen_set_attr(lto_code_gen_t cg, const char *attr) argument
229 lto_codegen_set_assembler_path(lto_code_gen_t cg, const char *path) argument
233 lto_codegen_set_assembler_args(lto_code_gen_t cg, const char **args, int nargs) argument
238 lto_codegen_add_must_preserve_symbol(lto_code_gen_t cg, const char *symbol) argument
243 lto_codegen_write_merged_modules(lto_code_gen_t cg, const char *path) argument
252 lto_codegen_compile(lto_code_gen_t cg, size_t *length) argument
262 lto_codegen_compile_to_file(lto_code_gen_t cg, const char **name) argument
272 lto_codegen_debug_options(lto_code_gen_t cg, const char *opt) argument
[all...]
/external/mdnsresponder/mDNSPosix/
H A DIdentify.c363 CacheGroup *cg; local
365 FORALL_CACHERECORDS(slot, cg, rr) mDNS_PurgeCacheResourceRecord(m, rr);
/external/oprofile/pp/
H A Dopreport.cpp73 "unxpected non empty cg file set");
448 void output_cg_symbols(callgraph_container const & cg, bool multiple_apps) argument
450 column_flags output_hints = cg.output_hint();
452 symbol_collection symbols = cg.get_symbols();
462 xml_out = new format_output::xml_cg_formatter(cg, symbols,
469 text_out = new format_output::cg_formatter(cg);
487 cg.extra_found_images);
/external/chromium_org/third_party/skia/src/views/mac/
H A DSkOSWindow_Mac.cpp172 CGContextRef cg = reinterpret_cast<CGContextRef>(ctx);
174 CGContextSaveGState(cg);
175 CGContextTranslateCTM(cg, 0, r.size.height);
176 CGContextScaleCTM(cg, 1, -1);
178 CGContextDrawImage(cg, r, img);
180 CGContextRestoreGState(cg);
390 CGContextRef cg; local
397 &cg);
399 cg = NULL;
401 win->doPaint(cg);
[all...]
/external/skia/src/views/mac/
H A DSkOSWindow_Mac.cpp172 CGContextRef cg = reinterpret_cast<CGContextRef>(ctx);
174 CGContextSaveGState(cg);
175 CGContextTranslateCTM(cg, 0, r.size.height);
176 CGContextScaleCTM(cg, 1, -1);
178 CGContextDrawImage(cg, r, img);
180 CGContextRestoreGState(cg);
390 CGContextRef cg; local
397 &cg);
399 cg = NULL;
401 win->doPaint(cg);
[all...]
/external/oprofile/libpp/
H A Dformat_output.cpp933 xml_cg_formatter(callgraph_container const & cg, symbol_collection & s, argument
936 xml_formatter(0, s, cg.extra_found_images, sf),
937 callgraph(cg)
/external/opencv/cxcore/src/
H A Dcxdrawing.cpp306 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; \
/external/mdnsresponder/mDNSCore/
H A DuDNS.c4306 CacheGroup *const cg = CacheGroupForName(m, slot, q->qnamehash, &q->qname); local
4307 if (cg)
4308 for (rr = cg->members; rr; rr=rr->next)
4359 CreateNewCacheEntry(m, slot, cg, NonZeroTime(m->timenow));
4923 CacheGroup *cg; local
4925 FORALL_CACHERECORDS(slot, cg, cr)
H A DDNSCommon.c138 CacheGroup *cg; local
140 FORALL_CACHERECORDS(slot, cg, rr)
H A DmDNS.c324 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
2584 for (rr = cg
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
3711 CheckCacheExpiration(mDNS *const m, const mDNSu32 slot, CacheGroup *const cg) argument
3788 CacheGroup *const cg = CacheGroupForName(m, slot, q->qnamehash, &q->qname); local
4118 GetCacheRecord(mDNS *const m, CacheGroup *cg, mDNSu16 RDLength) argument
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
6356 CreateNewCacheEntry(mDNS *const m, const mDNSu32 slot, CacheGroup *cg, mDNSs32 delay) argument
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...]
H A DmDNSEmbeddedAPI.h1348 union CacheEntity_union { CacheEntity *next; CacheGroup cg; CacheRecord cr; }; member in union:CacheEntity_union
2719 extern CacheRecord *CreateNewCacheEntry(mDNS *const m, const mDNSu32 slot, CacheGroup *cg, mDNSs32 delay);
/external/mdnsresponder/mDNSShared/
H A Duds_daemon.c4320 const CacheGroup *cg; local
4331 for (cg = m->rrcache_hash[slot]; cg; cg=cg->next)
4334 for (cr = cg->members; cr; cr=cr->next)
/external/owasp/sanitizer/tools/findbugs/lib/
H A Dbcel.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/apache/bcel/ org/apache/bcel/classfile/ ...

Completed in 1786 milliseconds

12