/third_party/jerryscript/jerry-libm/ |
D | sqrt.c | 109 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/ |
D | sqrt.c | 87 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/ |
D | sqrt.c | 87 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/ |
D | sqrt.c | 87 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/ |
D | e_sqrt.c | 108 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 …]
|
D | math_private.h | 93 #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/ |
D | lp_rast_rect.c | 154 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 …]
|
D | lp_rast_linear_fallback.c | 216 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 …]
|
D | lp_setup_rect.c | 370 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 …]
|
D | lp_setup_tri.c | 819 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/ |
D | gslice.c | 1780 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/ |
D | imstb_truetype.h | 884 …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/ |
D | imstb_truetype.h | 884 …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/ |
D | imstb_truetype.h | 868 …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/ |
D | ulp.inl | 38 #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/ |
D | SkScan_Hairline.cpp | 120 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/ |
D | SkScan_Hairline.cpp | 119 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/ |
D | glcShaderRenderCase.cpp | 753 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/ |
D | glsShaderRenderCase.cpp | 681 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/ |
D | es2fVertexTextureTests.cpp | 343 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/ |
D | es3fVertexTextureTests.cpp | 438 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/ |
D | vktShaderRender.cpp | 2399 const int ix0 = deCeilFloatToInt32(sx0 - 0.5f); in computeVertexReference() local 2416 for (int ix = ix0; ix < ix1; ix++) in computeVertexReference()
|