Home
last modified time | relevance | path

Searched refs:ny (Results 1 - 25 of 90) sorted by relevance

1234

/third_party/jerryscript/jerry-core/ecma/operations/
H A Decma-comparison.c333 ECMA_OP_TO_NUMBER_TRY_CATCH (ny, py, ret_value); in ecma_op_abstract_relational_compare()
337 || ecma_number_is_nan (ny)) in ecma_op_abstract_relational_compare()
344 bool is_x_less_than_y = (nx < ny); in ecma_op_abstract_relational_compare()
349 if (nx == ny in ecma_op_abstract_relational_compare()
351 && ecma_number_is_zero (ny))) in ecma_op_abstract_relational_compare()
362 else if (ecma_number_is_infinity (ny) in ecma_op_abstract_relational_compare()
363 && !ecma_number_is_negative (ny)) in ecma_op_abstract_relational_compare()
368 else if (ecma_number_is_infinity (ny) in ecma_op_abstract_relational_compare()
369 && ecma_number_is_negative (ny)) in ecma_op_abstract_relational_compare()
385 JERRY_ASSERT (!ecma_number_is_nan (ny) in ecma_op_abstract_relational_compare()
[all...]
/third_party/skia/third_party/externals/angle2/samples/torus_lighting/
H A Dtorus.h63 float ny = -sinV * cosU; in GenerateTorus() local
66 float length = sqrtf(nx * nx + ny * ny + nz * nz); in GenerateTorus()
68 ny /= length; in GenerateTorus()
72 vertices.push_back(ny); in GenerateTorus()
/third_party/musl/src/math/
H A Dfma.c47 struct num nx, ny, nz; in fma() local
49 ny = normalize(y); in fma()
52 if (nx.e >= ZEROINFNAN || ny.e >= ZEROINFNAN) in fma()
62 mul(&rhi, &rlo, nx.m, ny.m); in fma()
66 int e = nx.e + ny.e; in fma()
100 int sign = nx.sign^ny.sign; in fma()
/third_party/musl/porting/liteos_a/kernel/src/math/
H A Dfma.c47 struct num nx, ny, nz; in fma() local
49 ny = normalize(y); in fma()
52 if (nx.e >= ZEROINFNAN || ny.e >= ZEROINFNAN) in fma()
62 mul(&rhi, &rlo, nx.m, ny.m); in fma()
66 int e = nx.e + ny.e; in fma()
100 int sign = nx.sign^ny.sign; in fma()
/third_party/skia/src/effects/
H A DSkEmbossMask.cpp74 int ny = alpha[x + next_row] - alpha[x - prev_row]; in Emboss() local
76 SkFixed numer = lx * nx + ly * ny + lz_dot_nz; in Emboss()
81 int denom = SkSqrt32(nx * nx + ny * ny + kDelta*kDelta); in Emboss()
/third_party/vk-gl-cts/modules/gles2/accuracy/
H A Des2aVaryingInterpolationTests.cpp59 static inline float projectedTriInterpolate (const tcu::Vec3& s, const tcu::Vec3& w, float nx, float ny) in projectedTriInterpolate() argument
61 return (s[0]*(1.0f-nx-ny)/w[0] + s[1]*ny/w[1] + s[2]*nx/w[2]) / ((1.0f-nx-ny)/w[0] + ny/w[1] + nx/w[2]); in projectedTriInterpolate()
81 float ny = wy / dstH; in renderReference() local
83 int triNdx = nx + ny >= 1.0f ? 1 : 0; in renderReference()
85 float triNy = triNdx ? 1.0f - ny : ny; in renderReference()
/third_party/vk-gl-cts/modules/gles3/accuracy/
H A Des3aVaryingInterpolationTests.cpp61 static inline float projectedTriInterpolate (const tcu::Vec3& s, const tcu::Vec3& w, float nx, float ny) in projectedTriInterpolate() argument
63 return (s[0]*(1.0f-nx-ny)/w[0] + s[1]*ny/w[1] + s[2]*nx/w[2]) / ((1.0f-nx-ny)/w[0] + ny/w[1] + nx/w[2]); in projectedTriInterpolate()
83 float ny = wy / dstH; in renderReference() local
85 int triNdx = nx + ny >= 1.0f ? 1 : 0; in renderReference()
87 float triNy = triNdx ? 1.0f - ny : ny; in renderReference()
/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/
H A Dnv50_miptree.c32 nv50_tex_choose_tile_dims_helper(unsigned nx, unsigned ny, unsigned nz, in nv50_tex_choose_tile_dims_helper() argument
37 if (ny > 64) tile_mode = 0x040; /* height 128 tiles */ in nv50_tex_choose_tile_dims_helper()
39 if (ny > 32) tile_mode = 0x030; /* height 64 tiles */ in nv50_tex_choose_tile_dims_helper()
41 if (ny > 16) tile_mode = 0x020; /* height 32 tiles */ in nv50_tex_choose_tile_dims_helper()
43 if (ny > 8) tile_mode = 0x010; /* height 16 tiles */ in nv50_tex_choose_tile_dims_helper()
62 nv50_tex_choose_tile_dims(unsigned nx, unsigned ny, unsigned nz, bool is_3d) in nv50_tex_choose_tile_dims() argument
64 return nv50_tex_choose_tile_dims_helper(nx, ny * 2, nz, is_3d); in nv50_tex_choose_tile_dims()
H A Dnv50_resource.h37 nv50_tex_choose_tile_dims_helper(unsigned nx, unsigned ny, unsigned nz,
/third_party/ffmpeg/libavcodec/
H A Dmotion_est_template.c248 int i, nx, ny; in qpel_motion_search() local
265 for(ny= -3; ny <= 3; ny++){ in qpel_motion_search()
271 int score= (ny*ny*(b2 + t2 - 2*c2) + 4*ny*(b2 - t2) + 32*c2 + 512)>>10; in qpel_motion_search()
274 if((nx&3)==0 && (ny&3)==0) continue; in qpel_motion_search()
276 score += (mv_penalty[4*mx + nx - pred_x] + mv_penalty[4*my + ny - pred_y])*penalty_factor; in qpel_motion_search()
279 // if(ny in qpel_motion_search()
[all...]
/third_party/vk-gl-cts/framework/opengl/
H A DgluTextureTestUtil.cpp291 static inline float projectedTriInterpolate (const tcu::Vec3& s, const tcu::Vec3& w, float nx, float ny) in projectedTriInterpolate() argument
293 return (s[0]*(1.0f-nx-ny)/w[0] + s[1]*ny/w[1] + s[2]*nx/w[2]) / ((1.0f-nx-ny)/w[0] + ny/w[1] + nx/w[2]); in projectedTriInterpolate()
296 static inline float triDerivateX (const tcu::Vec3& s, const tcu::Vec3& w, float wx, float width, float ny) in triDerivateX() argument
298 float d = w[1]*w[2]*(width*(ny - 1.0f) + wx) - w[0]*(w[2]*width*ny + w[1]*wx); in triDerivateX()
299 return (w[0]*w[1]*w[2]*width * (w[1]*(s[0] - s[2])*(ny - 1.0f) + ny*( in triDerivateX()
497 float ny = wy / dstH; sampleTextureProjected() local
541 float ny = wy / dstH; sampleTextureProjected() local
679 const float ny = wy / dstH; sampleTextureCube() local
888 float ny = wy / dstH; sampleTextureProjected() local
955 const float ny = wy / dstH; sampleTextureCubeArray() local
1349 const float ny = wy / dstH; computeTextureLookupDiff() local
1475 const float ny = wy / dstH; computeTextureLookupDiff() local
1699 const float ny = wy / dstH; computeTextureLookupDiff() local
1890 const float ny = wy / dstH; computeTextureLookupDiff() local
2057 const float ny = wy / dstH; computeTextureLookupDiff() local
2166 const float ny = wy / dstH; computeTextureLookupDiff() local
2373 const float ny = wy / dstH; computeTextureLookupDiff() local
2550 const float ny = wy / dstH; computeTextureCompareDiff() local
2666 const float ny = wy / dstH; computeTextureCompareDiff() local
2788 const float ny = wy / dstH; computeTextureCompareDiff() local
2900 const float ny = wy / dstH; computeTextureCompareDiff() local
3007 const float ny = wy / dstH; computeTextureCompareDiff() local
3118 const float ny = wy / dstH; computeTextureCompareDiff() local
[all...]
/third_party/skia/third_party/externals/abseil-cpp/absl/synchronization/internal/
H A Dgraphcycles.cc396 Node* ny = r->nodes_[y]; in CheckInvariants() local
397 if (nx->rank >= ny->rank) { in CheckInvariants()
399 nx->rank, ny->rank); in CheckInvariants()
498 Node* ny = FindNode(r, idy); in InsertEdge() local
499 if (nx == nullptr || ny == nullptr) return true; // Expired ids in InsertEdge()
501 if (nx == ny) return false; // Self edge in InsertEdge()
507 ny->in.insert(x); in InsertEdge()
509 if (nx->rank <= ny->rank) { in InsertEdge()
515 // We only need to consider nodes that fall in the range [ny->rank,nx->rank]. in InsertEdge()
519 ny in InsertEdge()
[all...]
/third_party/skia/experimental/docs/
H A DinterpolatorFunctions.js41 var ny = fy * 27 - ay - dy * 8;
43 var by = (my * 2 - ny) / 18;
45 var cy = (ny * 2 - my) / 18;
/third_party/ffmpeg/libavfilter/
H A Dvf_monochrome.c73 float tt, t, ny; \
75 ny = filter(b, r, u, v, size); \
78 ny = (1.f - t) * y + t * ny * y;
110 yptr[x] = av_clip_uint8(lrintf(ny * max)); in monochrome_slice8()
149 yptr[x] = av_clip_uintp2_c(lrintf(ny * max), depth); in monochrome_slice16()
H A Dvf_lenscorrection.c151 const int ny = FFMIN(y + 1, h - 1); \
156 const uint64_t p2 = indata[ny * inlinesize + x]; \
157 const uint64_t p3 = indata[ny * inlinesize + nx]; \
/third_party/glfw/examples/
H A Dsplitview.c64 double s, t, x, y, z, nx, ny, nz, scale, twopi; in drawTorus() local
91 ny = y; in drawTorus()
93 scale = 1.0 / sqrt(nx*nx + ny*ny + nz*nz); in drawTorus()
95 ny *= scale; in drawTorus()
98 glNormal3f((float) nx, (float) ny, (float) nz); in drawTorus()
/third_party/vk-gl-cts/modules/gles2/functional/
H A Des2fShaderBuiltinVarTests.cpp359 static inline float projectedTriInterpolate (const tcu::Vec3& s, const tcu::Vec3& w, float nx, float ny) in projectedTriInterpolate() argument
361 return (s[0]*(1.0f-nx-ny)/w[0] + s[1]*ny/w[1] + s[2]*nx/w[2]) / ((1.0f-nx-ny)/w[0] + ny/w[1] + nx/w[2]); in projectedTriInterpolate()
/third_party/skia/third_party/externals/angle2/src/libANGLE/
H A DContext_gles_1_0_autogen.h71 void normal3f(GLfloat nx, GLfloat ny, GLfloat nz); \
72 void normal3x(GLfixed nx, GLfixed ny, GLfixed nz); \
H A DContext_gles_1_0.cpp409 void Context::normal3f(GLfloat nx, GLfloat ny, GLfloat nz) in normal3f() argument
411 mState.gles1().setCurrentNormal({nx, ny, nz}); in normal3f()
414 void Context::normal3x(GLfixed nx, GLfixed ny, GLfixed nz) in normal3x() argument
417 {ConvertFixedToFloat(nx), ConvertFixedToFloat(ny), ConvertFixedToFloat(nz)}); in normal3x()
H A DContext_gl_1_autogen.h130 void normal3b(GLbyte nx, GLbyte ny, GLbyte nz); \
132 void normal3d(GLdouble nx, GLdouble ny, GLdouble nz); \
135 void normal3i(GLint nx, GLint ny, GLint nz); \
137 void normal3s(GLshort nx, GLshort ny, GLshort nz); \
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/timezone/
H A DTimeZoneRuleTest.java219 TimeZone ny = TimeZone.getTimeZone("America/New_York", TimeZone.TIMEZONE_ICU); in TestHistoricalRuleBasedTimeZone()
275 if (!(((BasicTimeZone)ny).hasEquivalentTransitions(rbtz, jan1_1967, jan1_2010))) { in TestHistoricalRuleBasedTimeZone()
278 if (((BasicTimeZone)ny).hasEquivalentTransitions(rbtz, jan1_1950, jan1_2010)) { in TestHistoricalRuleBasedTimeZone()
283 if (!rbtz.hasEquivalentTransitions(ny, jan1_1967, jan1_2010)) { in TestHistoricalRuleBasedTimeZone()
286 if (rbtz.hasEquivalentTransitions(ny, jan1_1950, jan1_2010)) { in TestHistoricalRuleBasedTimeZone()
291 if (ny.hasSameRules(rbtz) || rbtz.hasSameRules(ny)) { in TestHistoricalRuleBasedTimeZone()
313 ny.getOffset(times[i], false, offsets2); in TestHistoricalRuleBasedTimeZone()
315 errln("FAIL: Incompatible time zone offsets for ny and rbtz"); in TestHistoricalRuleBasedTimeZone()
319 if (rbtz.inDaylightTime(d) != ny in TestHistoricalRuleBasedTimeZone()
[all...]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/
H A DTimeZoneRuleTest.java217 TimeZone ny = TimeZone.getTimeZone("America/New_York", TimeZone.TIMEZONE_ICU); in TestHistoricalRuleBasedTimeZone()
273 if (!(((BasicTimeZone)ny).hasEquivalentTransitions(rbtz, jan1_1967, jan1_2010))) { in TestHistoricalRuleBasedTimeZone()
276 if (((BasicTimeZone)ny).hasEquivalentTransitions(rbtz, jan1_1950, jan1_2010)) { in TestHistoricalRuleBasedTimeZone()
281 if (!rbtz.hasEquivalentTransitions(ny, jan1_1967, jan1_2010)) { in TestHistoricalRuleBasedTimeZone()
284 if (rbtz.hasEquivalentTransitions(ny, jan1_1950, jan1_2010)) { in TestHistoricalRuleBasedTimeZone()
289 if (ny.hasSameRules(rbtz) || rbtz.hasSameRules(ny)) { in TestHistoricalRuleBasedTimeZone()
311 ny.getOffset(times[i], false, offsets2); in TestHistoricalRuleBasedTimeZone()
313 errln("FAIL: Incompatible time zone offsets for ny and rbtz"); in TestHistoricalRuleBasedTimeZone()
317 if (rbtz.inDaylightTime(d) != ny in TestHistoricalRuleBasedTimeZone()
[all...]
/third_party/skia/third_party/externals/angle2/src/libGLESv1_CM/
H A DlibGLESv1_CM.cpp143 void GL_APIENTRY glNormal3f(GLfloat nx, GLfloat ny, GLfloat nz) in glNormal3f() argument
145 return GL_Normal3f(nx, ny, nz); in glNormal3f()
599 void GL_APIENTRY glNormal3x(GLfixed nx, GLfixed ny, GLfixed nz) in glNormal3x() argument
601 return GL_Normal3x(nx, ny, nz); in glNormal3x()
/third_party/skia/third_party/externals/angle2/src/libGLESv2/
H A Dentry_points_gles_1_0_autogen.cpp1333 void GL_APIENTRY GL_Normal3f(GLfloat nx, GLfloat ny, GLfloat nz) in GL_Normal3f() argument
1336 EVENT(context, GLNormal3f, "context = %d, nx = %f, ny = %f, nz = %f", CID(context), nx, ny, nz); in GL_Normal3f()
1342 ValidateNormal3f(context, angle::EntryPoint::GLNormal3f, nx, ny, nz)); in GL_Normal3f()
1345 context->normal3f(nx, ny, nz); in GL_Normal3f()
1347 ANGLE_CAPTURE(Normal3f, isCallValid, context, nx, ny, nz); in GL_Normal3f()
1355 void GL_APIENTRY GL_Normal3x(GLfixed nx, GLfixed ny, GLfixed nz) in GL_Normal3x() argument
1358 EVENT(context, GLNormal3x, "context = %d, nx = 0x%X, ny = 0x%X, nz = 0x%X", CID(context), nx, in GL_Normal3x()
1359 ny, nz); in GL_Normal3x()
1365 ValidateNormal3x(context, angle::EntryPoint::GLNormal3x, nx, ny, n in GL_Normal3x()
[all...]
/third_party/vk-gl-cts/modules/gles3/functional/
H A Des3fShaderBuiltinVarTests.cpp377 static inline float projectedTriInterpolate (const tcu::Vec3& s, const tcu::Vec3& w, float nx, float ny) in projectedTriInterpolate() argument
379 return (s[0]*(1.0f-nx-ny)/w[0] + s[1]*ny/w[1] + s[2]*nx/w[2]) / ((1.0f-nx-ny)/w[0] + ny/w[1] + nx/w[2]); in projectedTriInterpolate()

Completed in 26 milliseconds

1234