Home
last modified time | relevance | path

Searched defs:cg (Results 1 – 25 of 33) sorted by relevance

12

/third_party/ltp/include/
Dtst_cgroup.h169 #define TST_CG_VER(cg, ctrl_name) \ argument
177 #define TST_CG_VER_IS_V1(cg, ctrl_name) \ argument
180 #define SAFE_CG_HAS(cg, file_name) \ argument
188 #define SAFE_CG_READ(cg, file_name, out, len) \ argument
198 #define SAFE_CG_PRINTF(cg, file_name, fmt, ...) \ argument
202 #define SAFE_CG_PRINT(cg, file_name, str) \ argument
211 #define SAFE_CG_OPEN(cg, file_name, flags, fds) \ argument
220 #define SAFE_CG_FCHOWN(cg, file_name, owner, group) \ argument
229 #define SAFE_CG_SCANF(cg, file_name, fmt, ...) \ argument
239 #define SAFE_CG_LINES_SCANF(cg, file_name, fmt, ...) \ argument
[all …]
/third_party/ltp/testcases/kernel/sched/cfs-scheduler/
Dcfs_bandwidth01.c42 static void set_cpu_quota(const struct tst_cg_group *const cg, in set_cpu_quota()
62 static void mk_cpu_cgroup(struct tst_cg_group **cg, in mk_cpu_cgroup()
90 static void fork_busy_procs_in_cgroup(const struct tst_cg_group *const cg) in fork_busy_procs_in_cgroup()
/third_party/ltp/lib/
Dtst_cgroup.c319 #define for_each_dir(cg, ctrl, t) \ argument
1054 struct tst_cg_group *const cg, in cgroup_group_add_dir()
1087 struct tst_cg_group *cg; in tst_cg_group_mk() local
1113 const char *tst_cg_group_name(const struct tst_cg_group *const cg) in tst_cg_group_name()
1118 int tst_cg_group_unified_dir_fd(const struct tst_cg_group *const cg) in tst_cg_group_unified_dir_fd()
1126 struct tst_cg_group *tst_cg_group_rm(struct tst_cg_group *const cg) in tst_cg_group_rm()
1188 const struct tst_cg_group *const cg, in tst_cg_ver()
1236 const struct tst_cg_group *cg, in safe_cg_has()
1266 static void group_from_roots(struct tst_cg_group *const cg) in group_from_roots()
1300 const struct tst_cg_group *const cg, in safe_cg_read()
[all …]
/third_party/ltp/testcases/kernel/controllers/cgroup/
Dcgroup_core03.c50 static int cg_run_nowait(const struct tst_cg_group *const cg) in cg_run_nowait()
65 static int cg_count_procs(const struct tst_cg_group *cg) in cg_count_procs()
/third_party/skia/src/utils/mac/
DSkCreateCGImageRef.cpp136 void SkCGDrawBitmap(CGContextRef cg, const SkBitmap& bm, float x, float y) { in SkCGDrawBitmap()
172 CGContextRef cg = CGBitmapContextCreate(pmap.writable_addr(), pmap.width(), pmap.height(), in SkCreateCGContext() local
195 SkUniqueCFRef<CGContextRef> cg(CGBitmapContextCreate( in SkCopyPixelsFromCGImage() local
/third_party/skia/src/core/
DSkTraceEventCommon.h68 #define TRACE_EVENT0(cg, n) TRACE_EMPTY argument
69 #define TRACE_EVENT0_ALWAYS(cg, n) TRACE_EMPTY argument
70 #define TRACE_EVENT1(cg, n, a1n, a1v) TRACE_EMPTY argument
71 #define TRACE_EVENT2(cg, n, a1n, a1v, a2n, a2v) TRACE_EMPTY argument
72 #define TRACE_EVENT_INSTANT0(cg, n, scope) TRACE_EMPTY argument
73 #define TRACE_EVENT_INSTANT1(cg, n, scope, a1n, a1v) TRACE_EMPTY argument
74 #define TRACE_EVENT_INSTANT2(cg, n, scope, a1n, a1v, a2n, a2v) TRACE_EMPTY argument
75 #define TRACE_COUNTER1(cg, n, value) TRACE_EMPTY argument
76 #define TRACE_COUNTER2(cg, n, v1n, v1v, v2n, v2v) TRACE_EMPTY argument
/third_party/ltp/testcases/kernel/controllers/memcg/
Dmemcontrol03.c98 static void alloc_anon_in_child(const struct tst_cg_group *const cg, in alloc_anon_in_child()
132 static void alloc_pagecache_in_child(const struct tst_cg_group *const cg, in alloc_pagecache_in_child()
Dmemcontrol04.c87 static void alloc_anon_in_child(const struct tst_cg_group *const cg, in alloc_anon_in_child()
106 static void alloc_pagecache_in_child(const struct tst_cg_group *const cg, in alloc_pagecache_in_child()
/third_party/skia/gm/
Drasterhandleallocator.cpp97 CGContextRef cg = (CGContextRef)fCanvas->accessTopRasterHandle(); in drawRect() local
109 static CGAffineTransform matrix_to_transform(CGContextRef cg, const SkMatrix& ctm) { in matrix_to_transform()
129 CGContextRef cg = SkCreateCGContext(SkPixmap(info, nullptr, 0)); in allocHandle() local
143 CGContextRef cg = (CGContextRef)hndl; in updateHandle() local
/third_party/libabigail/tests/data/test-read-ctf/
Dtest-array-of-pointers.c9 struct cgroup *cg; member
/third_party/ffmpeg/libavcodec/
Dvp6.c290 int node, cg, ctx, pos; in vp6_parse_coeff_models() local
414 int b, cg, idx; in vp6_parse_coeff_huffman() local
476 int b, i, cg, idx, ctx; in vp6_parse_coeff() local
702 int pt, ct, cg; in vp6_decode_free_context() local
Dvp5.c140 int node, cg, ctx; in vp5_parse_coeff_models() local
189 int b, i, cg, idx, ctx, ctx_last; in vp5_parse_coeff() local
Drasc.c616 int cg = s->cursor[3 * s->cursor_w * (s->cursor_h - i - 1) + 3 * j + 1]; in draw_cursor() local
644 int cg = s->cursor[3 * s->cursor_w * (s->cursor_h - i - 1) + 3 * j + 1]; in draw_cursor() local
659 int cg = s->cursor[3 * s->cursor_w * (s->cursor_h - i - 1) + 3 * j + 1]; in draw_cursor() local
Ddds.c500 int cg = src[1] - 128; in run_postproc() local
Dtexturedsp.c358 int cg = (g - 128) / s; in ycocg2rgba() local
/third_party/skia/src/sksl/
DSkSLCompiler.cpp611 SPIRVCodeGenerator cg(fContext.get(), &program, &buffer); in toSPIRV() local
645 SPIRVCodeGenerator cg(fContext.get(), &program, &out); in toSPIRV() local
664 GLSLCodeGenerator cg(fContext.get(), &program, &out); in toGLSL() local
690 MetalCodeGenerator cg(fContext.get(), &program, &out); in toMetal() local
/third_party/ffmpeg/libavutil/
Dcsp.h40 AVRational cr, cg, cb; member
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DCallGraphSCCPass.h93 CallGraphSCC(CallGraph &cg, void *context) : CG(cg), Context(context) {} in CallGraphSCC()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Utils/
DCloning.h181 : CG(cg), GetAssumptionCache(GetAssumptionCache), PSI(PSI), in CG() argument
/third_party/ffmpeg/libavfilter/
Dvf_vibrance.c90 const float cg = 1.f + gintensity * (1.f - sgintensity * color_saturation); in vibrance_slice8() local
149 const float cg = 1.f + gintensity * (1.f - sgintensity * color_saturation); in vibrance_slice16() local
206 const float cg = 1.f + gintensity * (1.f - sgintensity * color_saturation); in vibrance_slice8p() local
263 const float cg = 1.f + gintensity * (1.f - sgintensity * color_saturation); in vibrance_slice16p() local
Dcolorspace.c129 double cr = av_q2d(coeffs->cr), cg = av_q2d(coeffs->cg), cb = av_q2d(coeffs->cb); in ff_fill_rgb2yuv_table() local
Davf_showspatial.c243 float cg; in draw_spatial() local
/third_party/libabigail/src/
Dabg-fe-iface.cc243 fe_iface::corpus_group(const ir::corpus_group_sptr& cg) in corpus_group()
/third_party/cups-filters/cupsfilters/
Dimage-colorspace.c338 int cr, cg, cb; /* Calibrated RGB values */ in cupsImageCMYKToRGB() local
787 int cr, cg, cb; /* Calibrated RGB values */ in cupsImageRGBToRGB() local
/third_party/ltp/testcases/kernel/mem/lib/
Dmem.c573 void write_cpusets(const struct tst_cg_group *cg, long nd) in write_cpusets()

12