Searched refs:cg (Results 1 - 25 of 49) sorted by relevance

12

/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/mockito/cglib-and-asm/src/org/mockito/cglib/core/
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;
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
/external/oprofile/daemon/
H A Dopd_mangling.h23 * @param cg if this is a callgraph file
31 struct sfile * sf, int counter, int cg);
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/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/llvm/include/llvm-c/
H A Dlto.h348 lto_codegen_add_module(lto_code_gen_t cg, lto_module_t mod);
357 lto_codegen_set_debug_model(lto_code_gen_t cg, lto_debug_model);
367 lto_codegen_set_pic_model(lto_code_gen_t cg, lto_codegen_model);
376 lto_codegen_set_cpu(lto_code_gen_t cg, const char *cpu);
384 lto_codegen_set_attr(lto_code_gen_t cg, const char *attr);
394 lto_codegen_set_assembler_path(lto_code_gen_t cg, const char* path);
402 lto_codegen_set_assembler_args(lto_code_gen_t cg, const char **args,
413 lto_codegen_add_must_preserve_symbol(lto_code_gen_t cg, const char* symbol);
423 lto_codegen_write_merged_modules(lto_code_gen_t cg, const char* path);
436 lto_codegen_compile(lto_code_gen_t cg, size_
[all...]
/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
144 CGContextRef cg = 0; local
[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/chromium_org/third_party/skia/src/utils/ios/
H A DSkImageDecoder_iOS.mm45 CGContextRef cg = CGBitmapContextCreate(bm->getPixels(), width, height,
47 CGContextDrawImage(cg, CGRectMake(0, 0, width, height), uimage.CGImage);
48 CGContextRelease(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/valgrind/main/none/tests/s390x/
H A Dcomp-1.stdout.exp109 cg (0, 0) --> cc = 0
110 cg (0, 1) --> cc = 1
111 cg (0, -1) --> cc = 2
112 cg (1, 0) --> cc = 2
113 cg (-1, 0) --> cc = 1
114 cg (-2, -1) --> cc = 1
115 cg (-2, -2) --> cc = 0
116 cg (-2, -3) --> cc = 2
117 cg (2, 1) --> cc = 2
118 cg (
[all...]
H A Dcomp-1.c2 cr, cgr, cgfr, c, cg, cgf, cfi, cgfi
184 run_scomp_reg_mem(cg, int64_t);
185 /* Special cases for cg */
186 SCOMP_REG_MEM(cg, INT64_MIN, INT64_MIN, int64_t);
187 SCOMP_REG_MEM(cg, INT64_MIN, INT64_MAX, int64_t);
188 SCOMP_REG_MEM(cg, INT64_MAX, INT64_MIN, int64_t);
189 SCOMP_REG_MEM(cg, INT64_MAX, INT64_MAX, int64_t);
/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/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/src/utils/ios/
H A DSkImageDecoder_iOS.mm46 CGContextRef cg = CGBitmapContextCreate(bm->getPixels(), width, height,
48 CGContextDrawImage(cg, CGRectMake(0, 0, width, height), uimage.CGImage);
49 CGContextRelease(cg);
/external/llvm/include/llvm/Transforms/Utils/
H A DCloning.h160 explicit InlineFunctionInfo(CallGraph *cg = nullptr, const DataLayout *DL = nullptr)
161 : CG(cg), DL(DL) {}
/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/deqp/framework/platform/ios/
H A DtcuIOSPlatform.mm165 const bool cg = config.greenBits != glu::RenderConfig::DONT_CARE;
170 (!cg || config.greenBits == 8) &&
176 (!cg || config.greenBits == 6) &&
/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/mdnsresponder/mDNSCore/
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...]
/external/mksh/src/
H A Dcheck.pl843 local($ce, $cg);
858 $cg = substr($got, $i, 1);
859 last if $ce ne $cg;
868 . &format_char($cg) . "'";

Completed in 915 milliseconds

12