Home
last modified time | relevance | path

Searched refs:lm (Results 1 – 25 of 556) sorted by relevance

12345678910>>...23

/third_party/musl/src/locale/
Dsetlocale.c13 const struct __locale_map *lm; in setlocale() local
37 lm = __get_locale(i, part); in setlocale()
38 if (lm == LOC_MAP_FAILED) { in setlocale()
42 tmp_locale.cat[i] = lm; in setlocale()
50 const struct __locale_map *lm = in setlocale() local
52 if (lm == libc.global_locale.cat[0]) same++; in setlocale()
53 part = lm ? lm->name : "C"; in setlocale()
65 lm = __get_locale(cat, name); in setlocale()
66 if (lm == LOC_MAP_FAILED) { in setlocale()
70 libc.global_locale.cat[cat] = lm; in setlocale()
[all …]
Ddcngettext.c106 const struct __locale_map *lm; member
122 const struct __locale_map *lm; in dcngettext() local
139 lm = loc->cat[category]; in dcngettext()
140 if (!lm) { in dcngettext()
147 if (p->binding == q && p->lm == lm && p->cat == category) in dcngettext()
157 locname = lm->name; in dcngettext()
202 p->lm = lm; in dcngettext()
D__lctrans.c4 static const char *dummy(const char *msg, const struct __locale_map *lm) in dummy() argument
11 const char *__lctrans(const char *msg, const struct __locale_map *lm) in __lctrans() argument
13 return __lctrans_impl(msg, lm); in __lctrans()
/third_party/musl/src/internal/
Dfdpic_crt.h16 } *lm = map; in __fdpic_fixup() local
17 int nsegs = lm->nsegs, rseg = 0, vseg = 0; in __fdpic_fixup()
19 while (*a-lm->segs[rseg].p_vaddr >= lm->segs[rseg].p_memsz) in __fdpic_fixup()
22 (*a + lm->segs[rseg].addr - lm->segs[rseg].p_vaddr); in __fdpic_fixup()
24 while (*r-lm->segs[vseg].p_vaddr >= lm->segs[vseg].p_memsz) in __fdpic_fixup()
26 *r += lm->segs[vseg].addr - lm->segs[vseg].p_vaddr; in __fdpic_fixup()
/third_party/flutter/skia/src/shaders/
DSkLocalMatrixShader.cpp24 SkMatrix lm; in CreateProc() local
25 buffer.readMatrix(&lm); in CreateProc()
30 return baseShader->makeWithLocalMatrix(lm); in CreateProc()
42 SkTCopyOnFirstWrite<SkMatrix> lm(this->getLocalMatrix()); in onMakeContext() local
44 lm.writable()->preConcat(*rec.fLocalMatrix); in onMakeContext()
48 newRec.fLocalMatrix = lm; in onMakeContext()
77 SkTCopyOnFirstWrite<SkMatrix> lm(this->getLocalMatrix()); in onAppendStages() local
79 lm.writable()->preConcat(*rec.fLocalM); in onAppendStages()
83 newRec.fLocalM = lm; in onAppendStages()
92 const SkMatrix* lm = &localMatrix; in makeWithLocalMatrix() local
[all …]
DSkComposeShader.cpp21 sk_sp<SkShader> wrap_lm(sk_sp<SkShader> shader, const SkMatrix* lm) { in wrap_lm() argument
22 return (shader && lm) ? shader->makeWithLocalMatrix(*lm) : shader; in wrap_lm()
26 LocalMatrixStageRec(const SkStageRec& rec, const SkMatrix& lm) in LocalMatrixStageRec()
28 if (!lm.isIdentity()) { in LocalMatrixStageRec()
30 fStorage.setConcat(lm, *fLocalM); in LocalMatrixStageRec()
33 fLocalM = &lm; in LocalMatrixStageRec()
47 const SkMatrix* lm) { in Blend() argument
50 case SkBlendMode::kDst: return wrap_lm(std::move(dst), lm); in Blend()
51 case SkBlendMode::kSrc: return wrap_lm(std::move(src), lm); in Blend()
54 return sk_sp<SkShader>(new SkShader_Blend(mode, std::move(dst), std::move(src), lm)); in Blend()
[all …]
DSkComposeShader.h16 SkShader_Blend(SkBlendMode mode, sk_sp<SkShader> dst, sk_sp<SkShader> src, const SkMatrix* lm) in SkShader_Blend() argument
17 : INHERITED(lm) in SkShader_Blend()
44 SkShader_Lerp(float weight, sk_sp<SkShader> dst, sk_sp<SkShader> src, const SkMatrix* lm) in SkShader_Lerp() argument
45 : INHERITED(lm) in SkShader_Lerp()
75 const SkMatrix* lm) in SkShader_LerpRed() argument
76 : INHERITED(lm) in SkShader_LerpRed()
DSkPictureShader.cpp162 SkMatrix lm; in CreateProc() local
163 buffer.readMatrix(&lm); in CreateProc()
175 return SkPictureShader::Make(picture, tmx, tmy, &lm, &tile); in CreateProc()
274 auto lm = this->totalLocalMatrix(rec.fLocalM); in onAppendStages() local
278 bitmapShader = this->refBitmapShader(rec.fCTM, &lm, rec.fDstColorType, rec.fDstCS); in onAppendStages()
285 localRec.fLocalM = lm->isIdentity() ? nullptr : lm.get(); in onAppendStages()
295 auto lm = this->totalLocalMatrix(rec.fLocalMatrix); in onMakeContext() local
296 sk_sp<SkShader> bitmapShader = this->refBitmapShader(*rec.fMatrix, &lm, rec.fDstColorType, in onMakeContext()
303 localRec.fLocalMatrix = lm->isIdentity() ? nullptr : lm.get(); in onMakeContext()
347 auto lm = this->totalLocalMatrix(args.fPreLocalMatrix, args.fPostLocalMatrix); in asFragmentProcessor() local
[all …]
/third_party/skia/platform_tools/android/apps/AndroidKit/src/main/java/org/skia/androidkit/
DGradient.java18 protected Gradient(int[] colors, float[] pos, TileMode tm, Matrix lm, in Gradient() argument
20 super(makeGradient(colors, pos, tm, lm, gf)); in Gradient()
23 protected Gradient(float[] colors, float[] pos, TileMode tm, Matrix lm, in Gradient() argument
25 super(makeGradient(colors, pos, tm, lm, gf)); in Gradient()
28 private static long makeGradient(int[] colors, float[] pos, TileMode tm, Matrix lm, in makeGradient() argument
43 return gf.make(fcolors, pos, tm.ordinal(), lm != null ? lm.getNativeInstance() : 0); in makeGradient()
46 private static long makeGradient(float[] colors, float[] pos, TileMode tm, Matrix lm, in makeGradient() argument
56 return gf.make(colors, pos, tm.ordinal(), lm != null ? lm.getNativeInstance() : 0); in makeGradient()
/third_party/skia/src/shaders/
DSkLocalMatrixShader.cpp27 SkMatrix lm; in CreateProc() local
28 buffer.readMatrix(&lm); in CreateProc()
33 return baseShader->makeWithLocalMatrix(lm); in CreateProc()
45 SkTCopyOnFirstWrite<SkMatrix> lm(this->getLocalMatrix()); in onMakeContext() local
47 lm.writable()->preConcat(*rec.fLocalMatrix); in onMakeContext()
51 newRec.fLocalMatrix = lm; in onMakeContext()
69 SkTCopyOnFirstWrite<SkMatrix> lm(this->getLocalMatrix()); in onAppendStages() local
71 lm.writable()->preConcat(*rec.fLocalM); in onAppendStages()
75 newRec.fLocalM = lm; in onAppendStages()
85 SkTCopyOnFirstWrite<SkMatrix> lm(this->getLocalMatrix()); in onProgram() local
[all …]
DSkPictureShader.cpp119 SkFilterMode filter, const SkMatrix* lm, const SkRect* tile) { in Make() argument
123 return sk_sp<SkShader>(new SkPictureShader(std::move(picture), tmx, tmy, filter, lm, tile)); in Make()
127 SkMatrix lm; in CreateProc() local
128 buffer.readMatrix(&lm); in CreateProc()
153 return SkPictureShader::Make(picture, tmx, tmy, filter, &lm, &tile); in CreateProc()
281 auto lm = this->totalLocalMatrix(rec.fLocalM); in onAppendStages() local
284 bitmapShader = this->rasterShader(rec.fMatrixProvider.localToDevice(), &lm, in onAppendStages()
291 localRec.fLocalM = lm->isIdentity() ? nullptr : lm.get(); in onAppendStages()
301 auto lm = this->totalLocalMatrix(localM); in onProgram() local
305 bitmapShader = this->rasterShader(matrices.localToDevice(), &lm, in onProgram()
[all …]
/third_party/flutter/skia/src/gpu/
DGrFPArgs.h54 WithPreLocalMatrix(const GrFPArgs& args, const SkMatrix& lm) : INHERITED(args) { in WithPreLocalMatrix() argument
55 if (!lm.isIdentity()) { in WithPreLocalMatrix()
57 fStorage.setConcat(lm, *fPreLocalMatrix); in WithPreLocalMatrix()
60 fPreLocalMatrix = &lm; in WithPreLocalMatrix()
76 WithPostLocalMatrix(const GrFPArgs& args, const SkMatrix& lm) : INHERITED(args) { in WithPostLocalMatrix() argument
77 if (!lm.isIdentity()) { in WithPostLocalMatrix()
79 fStorage.setConcat(*fPostLocalMatrix, lm); in WithPostLocalMatrix()
82 fPostLocalMatrix = &lm; in WithPostLocalMatrix()
/third_party/wayland-ivi-extension/screen-info/test/
Dmain.c9 struct screen_info_module* lm; member
14 void lminfo(void *data, struct screen_info_module *lm, uint32_t number) in lminfo() argument
29 d->lm = wl_registry_bind(registry, id, &screen_info_module_interface, 1); in registry_handle_global()
30 screen_info_module_add_listener(d->lm, &lmlistener, d); in registry_handle_global()
31 screen_info_module_get(d->lm); in registry_handle_global()
65 if (d.lm) in main()
66 screen_info_module_destroy(d.lm); in main()
/third_party/ltp/testcases/misc/math/float/trigo/
DREADME12 gcc -lm -lpthread gensin.c -o gensin
13 gcc -lm -lpthread gencos.c -o gencos
14 gcc -lm -lpthread gentan.c -o gentan
15 gcc -lm -lpthread genatan.c -o genatan
16 gcc -lm -lpthread genatan2.c -o genatan2
17 gcc -lm -lpthread genasin.c -o genasin
18 gcc -lm -lpthread genacos.c -o genacos
19 gcc -lm -lpthread gentrigo.c -o gentrigo
/third_party/mesa3d/src/amd/compiler/
Daco_insert_exec_mask.cpp355 exec_mask = bld.pseudo(aco_opcode::p_parallelcopy, bld.def(bld.lm), Operand(exec, bld.lm)); in transition_to_WQM()
359 exec_mask = bld.sop1(Builder::s_wqm, Definition(exec, bld.lm), bld.def(s1, scc), in transition_to_WQM()
367 assert(ctx.info[idx].exec.back().first.size() == bld.lm.size()); in transition_to_WQM()
370 aco_opcode::p_parallelcopy, Definition(exec, bld.lm), ctx.info[idx].exec.back().first); in transition_to_WQM()
385 assert(ctx.info[idx].exec.back().first.size() == bld.lm.size()); in transition_to_Exact()
388 aco_opcode::p_parallelcopy, Definition(exec, bld.lm), ctx.info[idx].exec.back().first); in transition_to_Exact()
394 wqm = bld.sop1(Builder::s_and_saveexec, bld.def(bld.lm), bld.def(s1, scc), in transition_to_Exact()
395 Definition(exec, bld.lm), ctx.info[idx].exec[0].first, Operand(exec, bld.lm)); in transition_to_Exact()
397 bld.sop2(Builder::s_and, Definition(exec, bld.lm), bld.def(s1, scc), in transition_to_Exact()
401 ctx.info[idx].exec.emplace_back(Operand(bld.lm), mask_type_exact); in transition_to_Exact()
[all …]
/third_party/musl/porting/liteos_a/kernel/src/locale/
Dlocale_map.c5 const char *__lctrans_impl(const char *msg, const struct __locale_map *lm) in __lctrans_impl() argument
8 if (lm) trans = __mo_lookup(lm->map, lm->map_size, msg); in __lctrans_impl()
/third_party/mesa3d/src/amd/compiler/tests/
Dtest_optimizer.cpp269 …return bld.vop2_e64(aco_opcode::v_subbrev_co_u32, bld.def(v1), bld.hint_vcc(bld.def(bld.lm)), op0,… in create_subbrev_co()
561 writeout(0, bld.sop2(aco_opcode::s_or_b64, bld.def(bld.lm), bld.def(s1, scc),
562 bld.vopc(aco_opcode::v_cmp_neq_f32, bld.def(bld.lm), inputs[0], inputs[0]),
563 bld.vopc(aco_opcode::v_cmp_lt_f32, bld.def(bld.lm),
568 writeout(1, bld.sop2(aco_opcode::s_or_b64, bld.def(bld.lm), bld.def(s1, scc),
569 bld.vopc(aco_opcode::v_cmp_neq_f32, bld.def(bld.lm), inputs[0], inputs[0]),
570 bld.vopc(aco_opcode::v_cmp_nge_f32, bld.def(bld.lm),
575 writeout(2, bld.sop2(aco_opcode::s_or_b64, bld.def(bld.lm), bld.def(s1, scc),
576 bld.vopc(aco_opcode::v_cmp_neq_f32, bld.def(bld.lm), inputs[0], inputs[0]),
577 bld.vopc(aco_opcode::v_cmp_lt_f32, bld.def(bld.lm),
[all …]
Dtest_optimizer_postRA.cpp51 auto vcmp = bld.vopc(aco_opcode::v_cmp_eq_u32, bld.def(bld.lm, vcc), Operand::zero(),
53 …and = bld.sop2(Builder::s_and, bld.def(bld.lm, reg_s0), bld.def(s1, scc), bld.vcc(vcmp), Operand(e…
68 auto vcmp = bld.vopc(aco_opcode::v_cmp_eq_u32, bld.def(bld.lm, vcc), Operand::zero(),
70 …and = bld.sop2(Builder::s_and, bld.def(bld.lm, reg_s0), bld.def(s1, scc), bld.vcc(vcmp), Operand(e…
71 auto ovrwr = bld.sop1(Builder::s_mov, bld.def(bld.lm, vcc), Operand::zero());
85 auto vcmp = bld.vopc_e64(aco_opcode::v_cmp_eq_u32, bld.def(bld.lm, reg_s4), Operand::zero(),
87 …= bld.sop2(Builder::s_and, bld.def(bld.lm, reg_s0), bld.def(s1, scc), Operand(vcmp, reg_s4), Opera…
101 auto salu = bld.sop2(Builder::s_or, bld.def(bld.lm, vcc), bld.def(s1, scc),
102 Operand::c32(1u), Operand(reg_s4, bld.lm));
103 …d = bld.sop2(Builder::s_and, bld.def(bld.lm, reg_s0), bld.def(s1, scc), Operand(salu, vcc), Operan…
[all …]
/third_party/flutter/skia/gm/
Dbmpfilterqualityrepeat.cpp73 SkMatrix lm = SkMatrix::I(); in drawAll() local
74 lm.setScaleX(scaleX); in drawAll()
75 lm.setTranslateX(423); in drawAll()
76 lm.setTranslateY(330); in drawAll()
89 bmpPaint.setShader(fBmp.makeShader(kTM, kTM, &lm)); in drawAll()
/third_party/skia/gm/
Dbmpfilterqualityrepeat.cpp62 SkMatrix lm = SkMatrix::I(); in drawAll() local
63 lm.setScaleX(scaleX); in drawAll()
64 lm.setTranslateX(423); in drawAll()
65 lm.setTranslateY(330); in drawAll()
88 bmpPaint.setShader(fBmp.makeShader(kTM, kTM, rec.sampling, lm)); in drawAll()
/third_party/ffmpeg/doc/examples/
DMakefile.example37 avcodec: LDLIBS += -lm
38 encode_audio: LDLIBS += -lm
39 muxing: LDLIBS += -lm
40 resampling_audio: LDLIBS += -lm
/third_party/musl/porting/linux/user/src/locale/
Ddcngettext.c137 const struct __locale_map *lm; member
153 const struct __locale_map *lm; in dcngettext() local
180 lm = loc->cat[category]; in dcngettext()
181 if (!lm) { in dcngettext()
188 if (p->binding == q && p->lm == lm && p->cat == category) { in dcngettext()
200 locname = lm->name; in dcngettext()
253 p->lm = lm; in dcngettext()
/third_party/skia/src/gpu/
DGrFPArgs.h45 WithPreLocalMatrix(const GrFPArgs& args, const SkMatrix& lm) : INHERITED(args) { in WithPreLocalMatrix() argument
46 if (!lm.isIdentity()) { in WithPreLocalMatrix()
48 fStorage.setConcat(lm, *fPreLocalMatrix); in WithPreLocalMatrix()
51 fPreLocalMatrix = &lm; in WithPreLocalMatrix()
/third_party/musl/porting/uniproton/kernel/src/locale/
D__lctrans.c4 static const char *dummy(const char *msg, const struct __locale_map *lm) in dummy() argument
11 const char *__lctrans(const char *msg, const struct __locale_map *lm) in __lctrans() argument
13 return __lctrans_impl(msg, lm); in __lctrans()
/third_party/musl/porting/liteos_m/kernel/src/locale/
D__lctrans.c4 static const char *dummy(const char *msg, const struct __locale_map *lm) in dummy() argument
11 const char *__lctrans(const char *msg, const struct __locale_map *lm) in __lctrans() argument
13 return __lctrans_impl(msg, lm); in __lctrans()

12345678910>>...23