Home
last modified time | relevance | path

Searched refs:uv (Results 1 – 25 of 75) sorted by relevance

123

/external/chromium_org/third_party/skia/third_party/lua/src/
Dlfunc.c40 UpVal *uv = &luaC_newobj(L, LUA_TUPVAL, sizeof(UpVal), NULL, 0)->uv; in luaF_newupval() local
41 uv->v = &uv->u.value; in luaF_newupval()
42 setnilvalue(uv->v); in luaF_newupval()
43 return uv; in luaF_newupval()
51 UpVal *uv; in luaF_findupval() local
64 uv = &luaC_newobj(L, LUA_TUPVAL, sizeof(UpVal), pp, 0)->uv; in luaF_findupval()
65 uv->v = level; /* current value lives in the stack */ in luaF_findupval()
66 uv->u.l.prev = &g->uvhead; /* double link it in `uvhead' list */ in luaF_findupval()
67 uv->u.l.next = g->uvhead.u.l.next; in luaF_findupval()
68 uv->u.l.next->u.l.prev = uv; in luaF_findupval()
[all …]
Dlgc.c190 void luaC_checkupvalcolor (global_State *g, UpVal *uv) { in luaC_checkupvalcolor() argument
191 GCObject *o = obj2gco(uv); in luaC_checkupvalcolor()
197 markvalue(g, uv->v); in luaC_checkupvalcolor()
260 UpVal *uv = gco2uv(o); in reallymarkobject() local
261 markvalue(g, uv->v); in reallymarkobject()
262 if (uv->v != &uv->u.value) /* open? */ in reallymarkobject()
325 UpVal *uv; in remarkupvals() local
326 for (uv = g->uvhead.u.l.next; uv != &g->uvhead; uv = uv->u.l.next) { in remarkupvals()
327 if (isgray(obj2gco(uv))) in remarkupvals()
328 markvalue(g, uv->v); in remarkupvals()
Dlstate.h192 struct UpVal uv; member
204 #define gco2u(o) (&rawgco2u(o)->uv)
211 #define gco2uv(o) check_exp((o)->gch.tt == LUA_TUPVAL, &((o)->uv))
Dlstring.c180 u->uv.len = s; in luaS_newudata()
181 u->uv.metatable = NULL; in luaS_newudata()
182 u->uv.env = e; in luaS_newudata()
Dlvm.c383 Upvaldesc *uv = p->upvalues; in getcached() local
386 TValue *v = uv[i].instack ? base + uv[i].idx : encup[uv[i].idx]->v; in getcached()
404 Upvaldesc *uv = p->upvalues; in pushclosure() local
410 if (uv[i].instack) /* upvalue refers to local variable? */ in pushclosure()
411 ncl->l.upvals[i] = luaF_findupval(L, base + uv[i].idx); in pushclosure()
413 ncl->l.upvals[i] = encup[uv[i].idx]; in pushclosure()
596 UpVal *uv = cl->upvals[GETARG_B(i)]; in luaV_execute()
597 setobj(L, uv->v, ra); in luaV_execute()
598 luaC_barrier(L, uv, ra); in luaV_execute()
/external/eigen/test/
DdenseLM.cpp30 VectorType model(const VectorType& uv, VectorType& x) in model()
35 eigen_assert(uv.size()%2 == 0); in model()
36 eigen_assert(uv.size() == n); in model()
40 VectorBlock<const VectorType> u(uv, 0, half); in model()
41 VectorBlock<const VectorType> v(uv, half, half); in model()
56 int operator()(const VectorType& uv, VectorType& fvec) in operator ()()
61 eigen_assert(uv.size()%2 == 0); in operator ()()
62 eigen_assert(uv.size() == n); in operator ()()
65 VectorBlock<const VectorType> u(uv, 0, half); in operator ()()
66 VectorBlock<const VectorType> v(uv, half, half); in operator ()()
[all …]
DsparseLM.cpp29 VectorType model(const VectorType& uv, VectorType& x) in model()
34 eigen_assert(uv.size()%2 == 0); in model()
35 eigen_assert(uv.size() == n); in model()
39 VectorBlock<const VectorType> u(uv, 0, half); in model()
40 VectorBlock<const VectorType> v(uv, half, half); in model()
59 int operator()(const VectorType& uv, VectorType& fvec) in operator ()()
63 eigen_assert(uv.size()%2 == 0); in operator ()()
64 eigen_assert(uv.size() == n); in operator ()()
66 VectorBlock<const VectorType> u(uv, 0, half); in operator ()()
67 VectorBlock<const VectorType> v(uv, half, half); in operator ()()
[all …]
/external/eigen/demos/opengl/
Dcamera.cpp246 Vector3f Camera::unProject(const Vector2f& uv, float depth) const in unProject() argument
249 return unProject(uv, depth, inv); in unProject()
252 Vector3f Camera::unProject(const Vector2f& uv, float depth, const Matrix4f& invModelview) const in unProject() argument
257 Vector3f a(2.*uv.x()/float(mVpWidth)-1., 2.*uv.y()/float(mVpHeight)-1., 1.); in unProject()
Dcamera.h90 …Eigen::Vector3f unProject(const Eigen::Vector2f& uv, float depth, const Eigen::Matrix4f& invModelv…
91 Eigen::Vector3f unProject(const Eigen::Vector2f& uv, float depth) const;
/external/chromium-trace/trace-viewer/src/base/
Drect_test.js13 var uv = inner.asUVRectInside(container);
14 assertRectEquals(uv, base.Rect.FromXYWH(0.1, 0.1, .8, .8));
/external/chromium_org/third_party/libwebp/dsp/
Dupsampling.c57 const uint32_t uv = LOAD_UV(cur_u[x], cur_v[x]); /* sample */ \
59 const uint32_t avg = tl_uv + t_uv + l_uv + uv + 0x00080008u; \
61 const uint32_t diag_03 = (avg + 2 * (tl_uv + uv)) >> 3; \
72 const uint32_t uv1 = (diag_12 + uv) >> 1; \
79 l_uv = uv; \
Dyuv.h273 static WEBP_INLINE int VP8ClipUV(int uv, int rounding) { in VP8ClipUV() argument
274 uv = (uv + rounding + (128 << (YUV_FIX + 2))) >> (YUV_FIX + 2); in VP8ClipUV()
275 return ((uv & ~0xff) == 0) ? uv : (uv < 0) ? 0 : 255; in VP8ClipUV()
Dupsampling_neon.c164 #define CONVERT2RGB_8(FMT, XSTEP, top_y, bottom_y, uv, \ argument
166 CONVERT8(FMT, XSTEP, len, top_y, uv, top_dst, cur_x) \
168 CONVERT8(FMT, XSTEP, len, bottom_y, (uv) + 32, bottom_dst, cur_x) \
172 #define CONVERT2RGB_1(FUNC, XSTEP, top_y, bottom_y, uv, \ argument
174 CONVERT1(FUNC, XSTEP, len, top_y, uv, top_dst, cur_x); \
176 CONVERT1(FUNC, XSTEP, len, bottom_y, (uv) + 32, bottom_dst, cur_x); \
/external/webp/src/dsp/
Dupsampling.c57 const uint32_t uv = LOAD_UV(cur_u[x], cur_v[x]); /* sample */ \
59 const uint32_t avg = tl_uv + t_uv + l_uv + uv + 0x00080008u; \
61 const uint32_t diag_03 = (avg + 2 * (tl_uv + uv)) >> 3; \
72 const uint32_t uv1 = (diag_12 + uv) >> 1; \
79 l_uv = uv; \
Dyuv.h273 static WEBP_INLINE int VP8ClipUV(int uv, int rounding) { in VP8ClipUV() argument
274 uv = (uv + rounding + (128 << (YUV_FIX + 2))) >> (YUV_FIX + 2); in VP8ClipUV()
275 return ((uv & ~0xff) == 0) ? uv : (uv < 0) ? 0 : 255; in VP8ClipUV()
Dupsampling_neon.c164 #define CONVERT2RGB_8(FMT, XSTEP, top_y, bottom_y, uv, \ argument
166 CONVERT8(FMT, XSTEP, len, top_y, uv, top_dst, cur_x) \
168 CONVERT8(FMT, XSTEP, len, bottom_y, (uv) + 32, bottom_dst, cur_x) \
172 #define CONVERT2RGB_1(FUNC, XSTEP, top_y, bottom_y, uv, \ argument
174 CONVERT1(FUNC, XSTEP, len, top_y, uv, top_dst, cur_x); \
176 CONVERT1(FUNC, XSTEP, len, bottom_y, (uv) + 32, bottom_dst, cur_x); \
/external/skia/src/gpu/
DGrPathUtils.h88 SkPoint* uv = reinterpret_cast<SkPoint*>(uvPtr); in apply() local
89 uv->fX = sx * xy->fX + kx * xy->fY + tx; in apply()
90 uv->fY = ky * xy->fX + sy * xy->fY + ty; in apply()
/external/chromium_org/third_party/skia/src/gpu/
DGrPathUtils.h88 SkPoint* uv = reinterpret_cast<SkPoint*>(uvPtr); in apply() local
89 uv->fX = sx * xy->fX + kx * xy->fY + tx; in apply()
90 uv->fY = ky * xy->fX + sy * xy->fY + ty; in apply()
/external/eigen/bench/
Dspmv.cpp176 boost::numeric::ublas::vector<Scalar> uv(cols), ures(rows); in main() local
177 Map<Matrix<Scalar,Dynamic,1> >(&uv[0], cols) = dv; in main()
180 SPMV_BENCH(ublas::axpy_prod(um, uv, ures, true)); in main()
183 SPMV_BENCH(ublas::axpy_prod(boost::numeric::ublas::trans(um), uv, ures, true)); in main()
/external/clang/test/CXX/expr/expr.post/expr.const.cast/
Dp1-0x.cpp33 volatile unsigned uv; member
43 …unsigned &t3 = const_cast<unsigned&>(a.pred() ? a.ubf : a.uv); // expected-error {{const_cast from… in test()
/external/deqp/framework/common/
DtcuTextureUtil.hpp107 union { float fv; deUint32 uv; deInt32 iv; } v; in floatToU8() member
111 deUint32 m = v.uv; in floatToU8()
/external/chromium_org/third_party/skia/src/effects/
DSkPerlinNoiseShader.cpp705 const char* uv = "uv"; in emitCode() local
788 noiseCode.appendf("\n\n\tvec2 %s;", uv); in emitCode()
796 noiseCode.appendf(".bgra;\n\t%s.x = ", uv); in emitCode()
808 noiseCode.appendf(".bgra;\n\t%s.y = ", uv); in emitCode()
814 noiseCode.appendf("\n\t%s.x = mix(%s.x, %s.y, %s.x);", ab, uv, uv, noiseSmooth); in emitCode()
824 noiseCode.appendf(".bgra;\n\t%s.y = ", uv); in emitCode()
836 noiseCode.appendf(".bgra;\n\t%s.x = ", uv); in emitCode()
841 noiseCode.appendf("\n\t%s.y = mix(%s.x, %s.y, %s.x);", ab, uv, uv, noiseSmooth); in emitCode()
/external/skia/src/effects/
DSkPerlinNoiseShader.cpp692 const char* uv = "uv"; in emitCode() local
775 noiseCode.appendf("\n\n\tvec2 %s;", uv); in emitCode()
783 noiseCode.appendf(".bgra;\n\t%s.x = ", uv); in emitCode()
795 noiseCode.appendf(".bgra;\n\t%s.y = ", uv); in emitCode()
801 noiseCode.appendf("\n\t%s.x = mix(%s.x, %s.y, %s.x);", ab, uv, uv, noiseSmooth); in emitCode()
811 noiseCode.appendf(".bgra;\n\t%s.y = ", uv); in emitCode()
823 noiseCode.appendf(".bgra;\n\t%s.x = ", uv); in emitCode()
828 noiseCode.appendf("\n\t%s.y = mix(%s.x, %s.y, %s.x);", ab, uv, uv, noiseSmooth); in emitCode()
/external/llvm/test/Transforms/LoopSimplify/
Dnotify-scev.ll35 %uv.013 = phi i32 [ 0, %for.cond127.preheader ], [ %inc191, %for.cond127 ]
36 %idxprom130 = sext i32 %uv.013 to i64
99 %inc191 = add nsw i32 %uv.013, 1
/external/fonttools/Lib/fontTools/ttLib/tables/
D_c_m_a_p.py1086 uv, addtlCnt = struct.unpack(">3sB", data[startOffset:startOffset+4])
1088 firstBaseUV = cvtToUVS(uv)
1104 uv, gid = struct.unpack(">3sH", data[startOffset:startOffset+5])
1106 uv = cvtToUVS(uv)
1108 localUVList.append( [uv, glyphName] )
1130 for uv, gname in uvList:
1134 writer.simpletag("map", [ ("uvs",hex(uvs)), ("uv",hex(uv)), ("name", gname)] )
1157 uv = safeEval(attrs["uv"])
1162 uvsDict[uvs].append( [uv, gname])
1164 uvsDict[uvs] = [ [uv, gname] ]
[all …]

123