Home
last modified time | relevance | path

Searched refs:gm (Results 1 – 25 of 339) sorted by relevance

12345678910>>...14

/external/skia/
DAndroid.bp1057 "gm/",
1139 "gm/3dgm.cpp",
1140 "gm/OverStroke.cpp",
1141 "gm/aaa.cpp",
1142 "gm/aaclip.cpp",
1143 "gm/aarectmodes.cpp",
1144 "gm/aaxfermodes.cpp",
1145 "gm/addarc.cpp",
1146 "gm/all_bitmap_configs.cpp",
1147 "gm/alpha_image.cpp",
[all …]
/external/skqp/
DAndroid.bp87 "gm/",
168 "gm/3dgm.cpp",
169 "gm/OverStroke.cpp",
170 "gm/aaa.cpp",
171 "gm/aaclip.cpp",
172 "gm/aarectmodes.cpp",
173 "gm/aaxfermodes.cpp",
174 "gm/addarc.cpp",
175 "gm/all_bitmap_configs.cpp",
176 "gm/alpha_image.cpp",
[all …]
/external/tensorflow/tensorflow/contrib/distributions/python/kernel_tests/
Dmixture_same_family_test.py39 gm = mixture_same_family_lib.MixtureSameFamily(
43 x = gm.sample([4, 5], seed=42)
44 log_prob_x = gm.log_prob(x)
50 gm = mixture_same_family_lib.MixtureSameFamily(
54 x = gm.sample([4, 5], seed=42)
55 log_prob_x = gm.log_prob(x)
76 gm = mixture_same_family_lib.MixtureSameFamily(
80 x = gm.sample([4, 5], seed=42)
81 log_prob_x = gm.log_prob(x)
87 gm = mixture_same_family_lib.MixtureSameFamily(
[all …]
/external/libaom/libaom/av1/common/
Dmv.h210 static INLINE int_mv gm_get_motion_vector(const WarpedMotionParams *gm, in gm_get_motion_vector() argument
216 if (gm->wmtype == IDENTITY) { in gm_get_motion_vector()
221 const int32_t *mat = gm->wmmat; in gm_get_motion_vector()
224 if (gm->wmtype == TRANSLATION) { in gm_get_motion_vector()
233 res.as_mv.row = gm->wmmat[0] >> GM_TRANS_ONLY_PREC_DIFF; in gm_get_motion_vector()
234 res.as_mv.col = gm->wmmat[1] >> GM_TRANS_ONLY_PREC_DIFF; in gm_get_motion_vector()
245 if (gm->wmtype == ROTZOOM) { in gm_get_motion_vector()
246 assert(gm->wmmat[5] == gm->wmmat[2]); in gm_get_motion_vector()
247 assert(gm->wmmat[4] == -gm->wmmat[3]); in gm_get_motion_vector()
266 static INLINE TransformationType get_wmtype(const WarpedMotionParams *gm) { in get_wmtype() argument
[all …]
/external/skqp/tools/skqp/
Djitter_gms.cpp38 static void do_gm(SkBitmap* bm, skiagm::GM* gm, SkPoint jitter) { in do_gm() argument
40 SkASSERT(gm); in do_gm()
41 SkASSERT(bm->dimensions() == gm->getISize()); in do_gm()
46 gm->draw(&canvas); in do_gm()
51 static bool test_jitter(skiagm::GM* gm) { in test_jitter() argument
52 SkASSERT(gm); in test_jitter()
53 SkISize size = gm->getISize(); in test_jitter()
57 do_gm(&control, gm, {0, 0}); in test_jitter()
60 do_gm(&experimental, gm, SkPoint{kJitterMagnitude * cosf(angle), in test_jitter()
118 std::unique_ptr<skiagm::GM> gm(factory(nullptr)); in main() local
[all …]
/external/skia/tools/skqp/
Djitter_gms.cpp38 static void do_gm(SkBitmap* bm, skiagm::GM* gm, SkPoint jitter) { in do_gm() argument
40 SkASSERT(gm); in do_gm()
41 SkASSERT(bm->dimensions() == gm->getISize()); in do_gm()
46 gm->draw(&canvas); in do_gm()
51 static bool test_jitter(skiagm::GM* gm) { in test_jitter() argument
52 SkASSERT(gm); in test_jitter()
53 SkISize size = gm->getISize(); in test_jitter()
57 do_gm(&control, gm, {0, 0}); in test_jitter()
60 do_gm(&experimental, gm, SkPoint{kJitterMagnitude * cosf(angle), in test_jitter()
118 std::unique_ptr<skiagm::GM> gm(factory(nullptr)); in main() local
[all …]
/external/mesa3d/src/util/
Dformat_rgb9e5.h62 int rm, gm, bm, exp_shared; in float3_to_rgb9e5() local
91 gm = (int) (gc.f * revdenom.f); in float3_to_rgb9e5()
94 gm = (gm & 1) + (gm >> 1); in float3_to_rgb9e5()
98 assert(gm <= MAX_RGB9E5_MANTISSA); in float3_to_rgb9e5()
101 assert(gm >= 0); in float3_to_rgb9e5()
104 return (exp_shared << 27) | (bm << 18) | (gm << 9) | rm; in float3_to_rgb9e5()
/external/mesa3d/src/gallium/state_trackers/wgl/
Dstw_wgl.c236 GLYPHMETRICS gm; in wglUseFontBitmapsW() local
254 DWORD size = GetGlyphOutline(hdc, first + i, GGO_BITMAP, &gm, 0, in wglUseFontBitmapsW()
261 glBitmap(0, 0, -gm.gmptGlyphOrigin.x, gm.gmptGlyphOrigin.y, in wglUseFontBitmapsW()
262 gm.gmCellIncX, gm.gmCellIncY, NULL); in wglUseFontBitmapsW()
266 size = GetGlyphOutline(hdc, first + i, GGO_BITMAP, &gm, in wglUseFontBitmapsW()
269 glBitmap(gm.gmBlackBoxX, gm.gmBlackBoxY, in wglUseFontBitmapsW()
270 -gm.gmptGlyphOrigin.x, gm.gmptGlyphOrigin.y, in wglUseFontBitmapsW()
271 gm.gmCellIncX, gm.gmCellIncY, buffer); in wglUseFontBitmapsW()
/external/skqp/fuzz/
DFuzzGradients.cpp130 SkMatrix gm; in fuzzLinearGradient() local
131 makeMatrix(fuzz, &gm); in fuzzLinearGradient()
132 logLinearGradient(pts, colors, pos, mode, flags, localMatrix.getMaybeNull(), &gm); in fuzzLinearGradient()
134 c->setMatrix(gm); in fuzzLinearGradient()
169 SkMatrix gm; in fuzzRadialGradient() local
170 makeMatrix(fuzz, &gm); in fuzzRadialGradient()
172 c->setMatrix(gm); in fuzzRadialGradient()
207 SkMatrix gm; in fuzzTwoPointConicalGradient() local
208 makeMatrix(fuzz, &gm); in fuzzTwoPointConicalGradient()
210 c->setMatrix(gm); in fuzzTwoPointConicalGradient()
[all …]
/external/skia/fuzz/
DFuzzGradients.cpp130 SkMatrix gm; in fuzzLinearGradient() local
131 makeMatrix(fuzz, &gm); in fuzzLinearGradient()
132 logLinearGradient(pts, colors, pos, mode, flags, localMatrix.getMaybeNull(), &gm); in fuzzLinearGradient()
134 c->setMatrix(gm); in fuzzLinearGradient()
169 SkMatrix gm; in fuzzRadialGradient() local
170 makeMatrix(fuzz, &gm); in fuzzRadialGradient()
172 c->setMatrix(gm); in fuzzRadialGradient()
207 SkMatrix gm; in fuzzTwoPointConicalGradient() local
208 makeMatrix(fuzz, &gm); in fuzzTwoPointConicalGradient()
210 c->setMatrix(gm); in fuzzTwoPointConicalGradient()
[all …]
/external/webrtc/webrtc/examples/peerconnection/client/
Dmain.cc56 BOOL gm; in wWinMain() local
57 while ((gm = ::GetMessage(&msg, NULL, 0, 0)) != 0 && gm != -1) { in wWinMain()
66 (gm = ::GetMessage(&msg, NULL, 0, 0)) != 0 && gm != -1) { in wWinMain()
/external/skqp/platform_tools/android/apps/skqp/src/main/java/org/skia/skqp/
DSkQP.java18 protected native long nExecuteGM(int gm, int backend) throws SkQPException; in nExecuteGM() argument
49 for (int gm = 0; gm < mGMs.length; gm++) { in runTests()
50 String testName = kSkiaGM + mBackends[backend] + "_" +mGMs[gm]; in runTests()
55 value = this.nExecuteGM(gm, backend); in runTests()
DSkQPRunner.java59 for (int gm = 0; gm < mImpl.mGMs.length; gm++) { in SkQPRunner()
61 mImpl.mBackends[backend] + "_" + mImpl.mGMs[gm]); in SkQPRunner()
106 for (int gm = 0; gm < mImpl.mGMs.length; gm++, testIndex++) { in run()
117 value = mImpl.nExecuteGM(gm, backend); in run()
/external/skia/platform_tools/android/apps/skqp/src/main/java/org/skia/skqp/
DSkQP.java18 protected native long nExecuteGM(int gm, int backend) throws SkQPException; in nExecuteGM() argument
49 for (int gm = 0; gm < mGMs.length; gm++) { in runTests()
50 String testName = kSkiaGM + mBackends[backend] + "_" +mGMs[gm]; in runTests()
55 value = this.nExecuteGM(gm, backend); in runTests()
DSkQPRunner.java59 for (int gm = 0; gm < mImpl.mGMs.length; gm++) { in SkQPRunner()
61 mImpl.mBackends[backend] + "_" + mImpl.mGMs[gm]); in SkQPRunner()
106 for (int gm = 0; gm < mImpl.mGMs.length; gm++, testIndex++) { in run()
117 value = mImpl.nExecuteGM(gm, backend); in run()
/external/skia/tools/
Dlist_gms.cpp18 std::unique_ptr<skiagm::GM> gm(factory(nullptr)); in main() local
19 gms.push_back(std::string(gm->getName())); in main()
22 for (const std::string& gm : gms) { in main() local
23 std::cout << gm << '\n'; in main()
/external/skqp/tools/
Dlist_gms.cpp18 std::unique_ptr<skiagm::GM> gm(factory(nullptr)); in main() local
19 gms.push_back(std::string(gm->getName())); in main()
22 for (const std::string& gm : gms) { in main() local
23 std::cout << gm << '\n'; in main()
/external/libxml2/result/schemas/
Dallsg_0_4.err1gm-A-1: Schemas validity error : Element '{urn:test:foo}gm-A-1': This element is not expected. Exp…
Dallsg_0_3.err1gm-B-1: Schemas validity error : Element '{urn:test:foo}gm-B-1': This element is not expected. Exp…
/external/drm_hwcomposer/
Dhwcutils.cpp68 GraphicBufferMapper &gm(GraphicBufferMapper::get()); in CopyBufferHandle() local
78 ret = gm.importBuffer(handle, const_cast<buffer_handle_t *>(&handle_copy)); in CopyBufferHandle()
80 ret = gm.importBuffer(handle, width, height, layerCount, format, usage, in CopyBufferHandle()
101 GraphicBufferMapper &gm(GraphicBufferMapper::get()); in Clear() local
102 int ret = gm.freeBuffer(handle_); in Clear()
/external/skia/tools/skqp/src/
Dskqp.cpp151 static GrContextOptions context_options(skiagm::GM* gm = nullptr) { in context_options() argument
156 if (gm) { in context_options()
157 gm->modifyGrContextOptions(&grContextOptions); in context_options()
231 std::unique_ptr<skiagm::GM> gm(f ? f(nullptr) : nullptr); in GetGMName() local
232 return std::string(gm ? gm->getName() : ""); in GetGMName()
274 std::unique_ptr<skiagm::GM> gm(gmFact(nullptr)); in evaluateGM() local
275 SkASSERT(gm); in evaluateGM()
276 const char* const name = gm->getName(); in evaluateGM()
277 const SkISize size = gm->getISize(); in evaluateGM()
285 testCtx->makeGrContext(context_options(gm.get())).get(), in evaluateGM()
[all …]
/external/skqp/tools/skqp/src/
Dskqp.cpp151 static GrContextOptions context_options(skiagm::GM* gm = nullptr) { in context_options() argument
156 if (gm) { in context_options()
157 gm->modifyGrContextOptions(&grContextOptions); in context_options()
231 std::unique_ptr<skiagm::GM> gm(f ? f(nullptr) : nullptr); in GetGMName() local
232 return std::string(gm ? gm->getName() : ""); in GetGMName()
274 std::unique_ptr<skiagm::GM> gm(gmFact(nullptr)); in evaluateGM() local
275 SkASSERT(gm); in evaluateGM()
276 const char* const name = gm->getName(); in evaluateGM()
277 const SkISize size = gm->getISize(); in evaluateGM()
285 testCtx->makeGrContext(context_options(gm.get())).get(), in evaluateGM()
[all …]
/external/skqp/tools/viewer/
DGMSlide.cpp17 GMSlide::GMSlide(skiagm::GM* gm) : fGM(gm) { in GMSlide() argument
18 fName.printf("GM_%s", gm->getName()); in GMSlide()
/external/skia/tools/viewer/
DGMSlide.cpp17 GMSlide::GMSlide(skiagm::GM* gm) : fGM(gm) { in GMSlide() argument
18 fName.printf("GM_%s", gm->getName()); in GMSlide()
/external/python/cpython2/Modules/_ctypes/libffi/src/
Ddlmalloc.c2118 #define gm (&_gm_) macro
2552 INITIAL_LOCK(&gm->mutex); in init_mparams()
2553 gm->mflags = mparams.default_mflags; in init_mparams()
3198 (m == gm)? dlmalloc(b) : mspace_malloc(m, b)
3200 if (m == gm) dlfree(mem); else mspace_free(m,mem);
4152 if (!PREACTION(gm)) { in dlmalloc()
4160 smallbits = gm->smallmap >> idx; in dlmalloc()
4165 b = smallbin_at(gm, idx); in dlmalloc()
4168 unlink_first_small_chunk(gm, b, p, idx); in dlmalloc()
4169 set_inuse_and_pinuse(gm, p, small_index2size(idx)); in dlmalloc()
[all …]

12345678910>>...14