Home
last modified time | relevance | path

Searched refs:ix0 (Results 1 – 22 of 22) 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_a/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/musl/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/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/flutter/skia/third_party/externals/sdl/src/libm/
De_sqrt.c108 int32_t ix0, s0, q, m, t, i; local
111 EXTRACT_WORDS(ix0, ix1, x);
114 if ((ix0 & 0x7ff00000) == 0x7ff00000) {
119 if (ix0 <= 0) {
120 if (((ix0 & (~sign)) | ix1) == 0)
122 else if (ix0 < 0)
126 m = (ix0 >> 20);
128 while (ix0 == 0) {
130 ix0 |= (ix1 >> 11);
133 for (i = 0; (ix0 & 0x00100000) == 0; i++)
[all …]
Dmath_private.h93 #define EXTRACT_WORDS(ix0,ix1,d) \ argument
97 (ix0) = ew_u.parts.msw; \
121 #define INSERT_WORDS(d,ix0,ix1) \ argument
124 iw_u.parts.msw = (ix0); \
/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.c216 unsigned ix0, ix1, iy0, iy1; in lp_rast_linear_rect_fallback() local
242 ix0 = box->x0 / STAMP_SIZE; in lp_rast_linear_rect_fallback()
249 if (ix0 == ix1 && iy0 == iy1) { in lp_rast_linear_rect_fallback()
252 partial(task, inputs, ix0, iy0, in lp_rast_linear_rect_fallback()
256 else if (ix0 == ix1) { in lp_rast_linear_rect_fallback()
260 partial(task, inputs, ix0, iy0, mask & top_mask); in lp_rast_linear_rect_fallback()
262 partial(task, inputs, ix0, i, mask); in lp_rast_linear_rect_fallback()
263 partial(task, inputs, ix0, iy1, mask & bottom_mask); in lp_rast_linear_rect_fallback()
269 partial(task, inputs, ix0, iy0, mask & left_mask); in lp_rast_linear_rect_fallback()
270 for (i = ix0 + 1; i < ix1; i++) in lp_rast_linear_rect_fallback()
[all …]
Dlp_setup_rect.c370 unsigned ix0, iy0, ix1, iy1; in lp_setup_bin_rectangle() local
384 ix0 = rect->box.x0 / TILE_SIZE; in lp_setup_bin_rectangle()
392 assert(ix0 == MAX2(ix0, 0)); in lp_setup_bin_rectangle()
397 if (ix0 * TILE_SIZE != rect->box.x0) in lp_setup_bin_rectangle()
411 if (iy0 == iy1 && ix0 == ix1) { in lp_setup_bin_rectangle()
412 partial(setup, rect, ix0, iy0, in lp_setup_bin_rectangle()
415 else if (ix0 == ix1) { in lp_setup_bin_rectangle()
417 partial(setup, rect, ix0, iy0, mask | top_mask); in lp_setup_bin_rectangle()
419 partial(setup, rect, ix0, i, mask); in lp_setup_bin_rectangle()
420 partial(setup, rect, ix0, iy1, mask | bottom_mask); in lp_setup_bin_rectangle()
[all …]
Dlp_setup_tri.c819 int ix0 = bbox->x0 / TILE_SIZE; in lp_setup_bin_triangle() local
825 ix0 == bbox->x1 / TILE_SIZE); in lp_setup_bin_triangle()
838 return lp_scene_bin_cmd_with_state( scene, ix0, iy0, in lp_setup_bin_triangle()
863 return lp_scene_bin_cmd_with_state( scene, ix0, iy0, in lp_setup_bin_triangle()
880 return lp_scene_bin_cmd_with_state(scene, ix0, iy0, in lp_setup_bin_triangle()
893 scene, ix0, iy0, setup->fs.stored, cmd, in lp_setup_bin_triangle()
907 int ix0 = trimmed_box.x0 / TILE_SIZE; in lp_setup_bin_triangle() local
915 IMUL64(plane[i].dcdx, ix0) * TILE_SIZE); in lp_setup_bin_triangle()
941 for (x = ix0; x <= ix1; x++) in lp_setup_bin_triangle()
/third_party/glib/glib/
Dgslice.c1780 unsigned int ix0, ix1; in smc_tree_insert() local
1784 ix0 = SMC_TRUNK_HASH (key); in smc_tree_insert()
1792 if (!smc_tree_root[ix0]) in smc_tree_insert()
1794 smc_tree_root[ix0] = calloc (SMC_BRANCH_COUNT, sizeof (smc_tree_root[0][0])); in smc_tree_insert()
1795 if (!smc_tree_root[ix0]) in smc_tree_insert()
1798 entry = smc_tree_branch_lookup_nearest_L (&smc_tree_root[ix0][ix1], key); in smc_tree_insert()
1800 …entry >= smc_tree_root[ix0][ix1].entries + smc_tree_root[ix0][ix1].n_entries || /* need append */ in smc_tree_insert()
1802 …entry = smc_tree_branch_grow_L (&smc_tree_root[ix0][ix1], entry - smc_tree_root[ix0][ix1].entries); in smc_tree_insert()
1813 unsigned int ix0 = SMC_TRUNK_HASH (key), ix1 = SMC_BRANCH_HASH (key); in smc_tree_lookup() local
1817 if (smc_tree_root && smc_tree_root[ix0]) in smc_tree_lookup()
[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/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/flutter/skia/third_party/externals/imgui/
Dimstb_truetype.h868 …st stbtt_fontinfo *font, int codepoint, float scale_x, float scale_y, int *ix0, int *iy0, int *ix1…
875 …odepoint, float scale_x, float scale_y, float shift_x, float shift_y, int *ix0, int *iy0, int *ix1…
886 …(const stbtt_fontinfo *font, int glyph, float scale_x, float scale_y, int *ix0, int *iy0, int *ix1…
887 …int glyph, float scale_x, float scale_y,float shift_x, float shift_y, int *ix0, int *iy0, int *ix1…
2611 …int glyph, float scale_x, float scale_y,float shift_x, float shift_y, int *ix0, int *iy0, int *ix1… in stbtt_GetGlyphBitmapBoxSubpixel() argument
2616 if (ix0) *ix0 = 0; in stbtt_GetGlyphBitmapBoxSubpixel()
2622 if (ix0) *ix0 = STBTT_ifloor( x0 * scale_x + shift_x); in stbtt_GetGlyphBitmapBoxSubpixel()
2629 …(const stbtt_fontinfo *font, int glyph, float scale_x, float scale_y, int *ix0, int *iy0, int *ix1… in stbtt_GetGlyphBitmapBox() argument
2631 stbtt_GetGlyphBitmapBoxSubpixel(font, glyph, scale_x, scale_y,0.0f,0.0f, ix0, iy0, ix1, iy1); in stbtt_GetGlyphBitmapBox()
2634 …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/flutter/skia/src/core/
DSkScan_Hairline.cpp119 int ix0 = SkFDot6Round(x0); in HairLineRgn() local
121 if (ix0 == ix1) {// too short to draw in HairLineRgn()
128 horiline(ix0, ix1, startY, slope, blitter); in HairLineRgn()
/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/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/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.cpp2399 const int ix0 = deCeilFloatToInt32(sx0 - 0.5f); in computeVertexReference() local
2416 for (int ix = ix0; ix < ix1; ix++) in computeVertexReference()