Home
last modified time | relevance | path

Searched refs:ix0 (Results 1 – 19 of 19) sorted by relevance

/third_party/jerryscript/jerry-libm/
Dsqrt.c109 int ix0, s0, q, m, t, i; in sqrt() local
111 ix0 = __HI (x); /* high word of x */ in sqrt()
115 if ((ix0 & 0x7ff00000) == 0x7ff00000) in sqrt()
120 if (ix0 <= 0) in sqrt()
122 if (((ix0 & (~sign)) | ix1) == 0) /* sqrt(+-0) = +-0 */ in sqrt()
126 else if (ix0 < 0) /* sqrt(-ve) = sNaN */ in sqrt()
132 m = (ix0 >> 20); in sqrt()
135 while (ix0 == 0) in sqrt()
138 ix0 |= (ix1 >> 11); in sqrt()
141 for (i = 0; (ix0 & 0x00100000) == 0; i++) in sqrt()
[all …]
/third_party/musl/porting/liteos_m/kernel/src/math/
Dsqrt.c87 int32_t ix0,s0,q,m,t,i; in sqrt() local
90 EXTRACT_WORDS(ix0, ix1, x); in sqrt()
93 if ((ix0&0x7ff00000) == 0x7ff00000) { in sqrt()
97 if (ix0 <= 0) { in sqrt()
98 if (((ix0&~sign)|ix1) == 0) in sqrt()
100 if (ix0 < 0) in sqrt()
104 m = ix0>>20; in sqrt()
106 while (ix0 == 0) { in sqrt()
108 ix0 |= (ix1>>11); in sqrt()
111 for (i=0; (ix0&0x00100000) == 0; i++) in sqrt()
[all …]
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_rast_rect.c154 unsigned ix0, ix1, iy0, iy1; in lp_rast_rectangle() local
192 ix0 = box.x0 / STAMP_SIZE; in lp_rast_rectangle()
199 if (ix0 == ix1 && iy0 == iy1) { in lp_rast_rectangle()
202 partial(task, rect, ix0, iy0, in lp_rast_rectangle()
206 else if (ix0 == ix1) { in lp_rast_rectangle()
210 partial(task, rect, ix0, iy0, mask & top_mask); in lp_rast_rectangle()
212 partial(task, rect, ix0, i, mask); in lp_rast_rectangle()
213 partial(task, rect, ix0, iy1, mask & bottom_mask); in lp_rast_rectangle()
219 partial(task, rect, ix0, iy0, mask & left_mask); in lp_rast_rectangle()
220 for (i = ix0 + 1; i < ix1; i++) in lp_rast_rectangle()
[all …]
Dlp_rast_linear_fallback.c170 const unsigned ix0 = box->x0 / STAMP_SIZE; in lp_rast_linear_rect_fallback() local
177 if (ix0 == ix1 && iy0 == iy1) { in lp_rast_linear_rect_fallback()
180 partial(task, inputs, ix0, iy0, in lp_rast_linear_rect_fallback()
184 else if (ix0 == ix1) { in lp_rast_linear_rect_fallback()
188 partial(task, inputs, ix0, iy0, mask & top_mask); in lp_rast_linear_rect_fallback()
190 partial(task, inputs, ix0, i, mask); in lp_rast_linear_rect_fallback()
191 partial(task, inputs, ix0, iy1, mask & bottom_mask); in lp_rast_linear_rect_fallback()
197 partial(task, inputs, ix0, iy0, mask & left_mask); in lp_rast_linear_rect_fallback()
198 for (unsigned i = ix0 + 1; i < ix1; i++) in lp_rast_linear_rect_fallback()
206 partial(task, inputs, ix0, iy0, left_mask & top_mask); in lp_rast_linear_rect_fallback()
[all …]
Dlp_setup_rect.c377 const unsigned ix0 = rect->box.x0 / TILE_SIZE; in lp_setup_bin_rectangle() local
385 assert(ix0 == MAX2(ix0, 0)); in lp_setup_bin_rectangle()
390 if (ix0 * TILE_SIZE != rect->box.x0) in lp_setup_bin_rectangle()
404 if (iy0 == iy1 && ix0 == ix1) { in lp_setup_bin_rectangle()
405 partial(setup, rect, opaque, ix0, iy0, in lp_setup_bin_rectangle()
407 } else if (ix0 == ix1) { in lp_setup_bin_rectangle()
409 partial(setup, rect, opaque, ix0, iy0, mask | top_mask); in lp_setup_bin_rectangle()
411 partial(setup, rect, opaque, ix0, i, mask); in lp_setup_bin_rectangle()
412 partial(setup, rect, opaque, ix0, iy1, mask | bottom_mask); in lp_setup_bin_rectangle()
415 partial(setup, rect, opaque, ix0, iy0, mask | left_mask); in lp_setup_bin_rectangle()
[all …]
Dlp_setup_tri.c810 const int ix0 = bbox->x0 / TILE_SIZE; in lp_setup_bin_triangle() local
816 ix0 == bbox->x1 / TILE_SIZE); in lp_setup_bin_triangle()
828 return lp_scene_bin_cmd_with_state(scene, ix0, iy0, in lp_setup_bin_triangle()
852 return lp_scene_bin_cmd_with_state(scene, ix0, iy0, in lp_setup_bin_triangle()
867 return lp_scene_bin_cmd_with_state(scene, ix0, iy0, in lp_setup_bin_triangle()
878 return lp_scene_bin_cmd_with_state(scene, ix0, iy0, setup->fs.stored, cmd, in lp_setup_bin_triangle()
890 const int ix0 = trimmed_box.x0 / TILE_SIZE; in lp_setup_bin_triangle() local
898 IMUL64(plane[i].dcdx, ix0) * TILE_SIZE); in lp_setup_bin_triangle()
923 for (x = ix0; x <= ix1; x++) { in lp_setup_bin_triangle()
/third_party/rust/crates/minimal-lexical/src/
Dlibm.rs1094 let mut ix0: i32; in sqrtd() localVariable
1106 ix0 = (x.to_bits() >> 32) as i32; in sqrtd()
1110 if (ix0 & 0x7ff00000) == 0x7ff00000 { in sqrtd()
1114 if ix0 <= 0 { in sqrtd()
1115 if ((ix0 & !(sign.0 as i32)) | ix1.0 as i32) == 0 { in sqrtd()
1118 if ix0 < 0 { in sqrtd()
1123 m = ix0 >> 20; in sqrtd()
1126 while ix0 == 0 { in sqrtd()
1128 ix0 |= (ix1 >> 11).0 as i32; in sqrtd()
1132 while (ix0 & 0x00100000) == 0 { in sqrtd()
[all …]
/third_party/FreeBSD/lib/msun/src/
Dmath_private.h135 #define EXTRACT_WORDS(ix0,ix1,d) \ argument
139 (ix0) = ew_u.parts.msw; \
171 #define INSERT_WORDS(d,ix0,ix1) \ argument
174 iw_u.parts.msw = (ix0); \
242 #define EXTRACT_LDBL80_WORDS(ix0,ix1,d) \ argument
246 (ix0) = ew_u.xbits.expsign; \
255 #define EXTRACT_LDBL128_WORDS(ix0,ix1,ix2,d) \ argument
259 (ix0) = ew_u.xbits.expsign; \
278 #define INSERT_LDBL80_WORDS(d,ix0,ix1) \ argument
281 iw_u.xbits.expsign = (ix0); \
[all …]
/third_party/skia/third_party/externals/imgui/
Dimstb_truetype.h884 …st stbtt_fontinfo *font, int codepoint, float scale_x, float scale_y, int *ix0, int *iy0, int *ix1…
891 …odepoint, float scale_x, float scale_y, float shift_x, float shift_y, int *ix0, int *iy0, int *ix1…
902 …(const stbtt_fontinfo *font, int glyph, float scale_x, float scale_y, int *ix0, int *iy0, int *ix1…
903 …int glyph, float scale_x, float scale_y,float shift_x, float shift_y, int *ix0, int *iy0, int *ix1…
2629 …int glyph, float scale_x, float scale_y,float shift_x, float shift_y, int *ix0, int *iy0, int *ix1… in stbtt_GetGlyphBitmapBoxSubpixel() argument
2634 if (ix0) *ix0 = 0; in stbtt_GetGlyphBitmapBoxSubpixel()
2640 if (ix0) *ix0 = STBTT_ifloor( x0 * scale_x + shift_x); in stbtt_GetGlyphBitmapBoxSubpixel()
2647 …(const stbtt_fontinfo *font, int glyph, float scale_x, float scale_y, int *ix0, int *iy0, int *ix1… in stbtt_GetGlyphBitmapBox() argument
2649 stbtt_GetGlyphBitmapBoxSubpixel(font, glyph, scale_x, scale_y,0.0f,0.0f, ix0, iy0, ix1, iy1); in stbtt_GetGlyphBitmapBox()
2652 …odepoint, float scale_x, float scale_y, float shift_x, float shift_y, int *ix0, int *iy0, int *ix1… in stbtt_GetCodepointBitmapBoxSubpixel() argument
[all …]
/third_party/mesa3d/src/imgui/
Dimstb_truetype.h884 …st stbtt_fontinfo *font, int codepoint, float scale_x, float scale_y, int *ix0, int *iy0, int *ix1…
891 …odepoint, float scale_x, float scale_y, float shift_x, float shift_y, int *ix0, int *iy0, int *ix1…
902 …(const stbtt_fontinfo *font, int glyph, float scale_x, float scale_y, int *ix0, int *iy0, int *ix1…
903 …int glyph, float scale_x, float scale_y,float shift_x, float shift_y, int *ix0, int *iy0, int *ix1…
2629 …int glyph, float scale_x, float scale_y,float shift_x, float shift_y, int *ix0, int *iy0, int *ix1… in stbtt_GetGlyphBitmapBoxSubpixel() argument
2634 if (ix0) *ix0 = 0; in stbtt_GetGlyphBitmapBoxSubpixel()
2640 if (ix0) *ix0 = STBTT_ifloor( x0 * scale_x + shift_x); in stbtt_GetGlyphBitmapBoxSubpixel()
2647 …(const stbtt_fontinfo *font, int glyph, float scale_x, float scale_y, int *ix0, int *iy0, int *ix1… in stbtt_GetGlyphBitmapBox() argument
2649 stbtt_GetGlyphBitmapBoxSubpixel(font, glyph, scale_x, scale_y,0.0f,0.0f, ix0, iy0, ix1, iy1); in stbtt_GetGlyphBitmapBox()
2652 …odepoint, float scale_x, float scale_y, float shift_x, float shift_y, int *ix0, int *iy0, int *ix1… in stbtt_GetCodepointBitmapBoxSubpixel() argument
[all …]
/third_party/skia/third_party/externals/oboe/samples/RhythmGame/third_party/glm/gtc/
Dulp.inl38 #define GLM_EXTRACT_WORDS(ix0,ix1,d) \ argument
42 (ix0) = ew_u.parts.msw; \
60 #define GLM_INSERT_WORDS(d,ix0,ix1) \ argument
63 iw_u.parts.msw = (ix0); \
/third_party/skia/src/core/
DSkScan_Hairline.cpp120 int ix0 = SkFDot6Round(x0); in HairLineRgn() local
122 if (ix0 == ix1) {// too short to draw in HairLineRgn()
126 if ((ix1 - ix0) > 100000 || (ix1 - ix0) < 0) { in HairLineRgn()
133 horiline(ix0, ix1, startY, slope, blitter); in HairLineRgn()
/third_party/node/deps/v8/src/base/
Dieee754.cc54 #define EXTRACT_WORDS(ix0, ix1, d) \ argument
57 (ix0) = bits >> 32; \
79 #define INSERT_WORDS(d, ix0, ix1) \ argument
82 bits |= static_cast<uint64_t>(ix0) << 32; \
/third_party/vk-gl-cts/modules/glshared/
DglsShaderRenderCase.cpp681 int ix0 = deCeilFloatToInt32(sx0 - 0.5f); in computeVertexReference() local
698 for (int ix = ix0; ix < ix1; ix++) in computeVertexReference()
/third_party/vk-gl-cts/external/openglcts/modules/common/
DglcShaderRenderCase.cpp753 int ix0 = deCeilFloatToInt32(sx0 - 0.5f); in computeVertexReference() local
770 for (int ix = ix0; ix < ix1; ix++) in computeVertexReference()
/third_party/vk-gl-cts/modules/gles2/functional/
Des2fVertexTextureTests.cpp343 const int ix0 = deCeilFloatToInt32(ldru.x() * (float)region.w - 0.5f); in setPixelColors() local
349 for (int ix = ix0; ix < ix1; ix++) in setPixelColors()
/third_party/vk-gl-cts/modules/gles3/functional/
Des3fVertexTextureTests.cpp438 const int ix0 = deCeilFloatToInt32(ldru.x() * (float)region.w - 0.5f); in setPixelColors() local
444 for (int ix = ix0; ix < ix1; ix++) in setPixelColors()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRender.cpp2435 const int ix0 = deCeilFloatToInt32(sx0 - 0.5f); in computeVertexReference() local
2452 for (int ix = ix0; ix < ix1; ix++) in computeVertexReference()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/shaderrender/
DvktShaderRender.cpp2435 const int ix0 = deCeilFloatToInt32(sx0 - 0.5f); in computeVertexReference() local
2452 for (int ix = ix0; ix < ix1; ix++) in computeVertexReference()