/third_party/jerryscript/jerry-libm/ |
H A 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 in sqrt() [all...] |
/third_party/musl/porting/liteos_m/kernel/src/math/ |
H A 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 in sqrt() [all...] |
/third_party/mesa3d/src/gallium/drivers/llvmpipe/ |
H A 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 in lp_rast_rectangle() [all...] |
H A D | lp_rast_linear_fallback.c | 170 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, iy in lp_rast_linear_rect_fallback() [all...] |
H A D | lp_setup_rect.c | 377 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, iy in lp_setup_bin_rectangle() [all...] |
H A D | lp_setup_tri.c | 810 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/ |
H A D | libm.rs | 1094 let mut ix0: i32; in sqrtd() variables 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 in sqrtd() [all...] |
/third_party/FreeBSD/lib/msun/src/ |
H A D | math_private.h | 25 * ix0 = *(n0+(int*)&x); * high word of x * 135 #define EXTRACT_WORDS(ix0,ix1,d) \ 139 (ix0) = ew_u.parts.msw; \ 171 #define INSERT_WORDS(d,ix0,ix1) \ 174 iw_u.parts.msw = (ix0); \ 242 #define EXTRACT_LDBL80_WORDS(ix0,ix1,d) \ 246 (ix0) = ew_u.xbits.expsign; \ 255 #define EXTRACT_LDBL128_WORDS(ix0,ix1,ix2,d) \ 259 (ix0) = ew_u.xbits.expsign; \ 278 #define INSERT_LDBL80_WORDS(d,ix0,ix [all...] |
/third_party/mesa3d/src/imgui/ |
H A D | imstb_truetype.h | 884 STBTT_DEF void stbtt_GetCodepointBitmapBox(const stbtt_fontinfo *font, int codepoint, float scale_x, float scale_y, int *ix0, int *iy0, int *ix1, int *iy1); 886 // bitmap width is ix1-ix0, height is iy1-iy0, and location to place 891 STBTT_DEF void stbtt_GetCodepointBitmapBoxSubpixel(const stbtt_fontinfo *font, int codepoint, float scale_x, float scale_y, float shift_x, float shift_y, int *ix0, int *iy0, int *ix1, int *iy1); 902 STBTT_DEF void stbtt_GetGlyphBitmapBox(const stbtt_fontinfo *font, int glyph, float scale_x, float scale_y, int *ix0, int *iy0, int *ix1, int *iy1); 903 STBTT_DEF void stbtt_GetGlyphBitmapBoxSubpixel(const stbtt_fontinfo *font, int glyph, float scale_x, float scale_y,float shift_x, float shift_y, int *ix0, int *iy0, int *ix1, int *iy1); 2629 STBTT_DEF void stbtt_GetGlyphBitmapBoxSubpixel(const stbtt_fontinfo *font, int glyph, float scale_x, float scale_y,float shift_x, float shift_y, int *ix0, int *iy0, int *ix1, int *iy1) 2634 if (ix0) *ix0 = 0; 2640 if (ix0) *ix0 [all...] |
/third_party/skia/third_party/externals/imgui/ |
H A D | imstb_truetype.h | 884 STBTT_DEF void stbtt_GetCodepointBitmapBox(const stbtt_fontinfo *font, int codepoint, float scale_x, float scale_y, int *ix0, int *iy0, int *ix1, int *iy1); 886 // bitmap width is ix1-ix0, height is iy1-iy0, and location to place 891 STBTT_DEF void stbtt_GetCodepointBitmapBoxSubpixel(const stbtt_fontinfo *font, int codepoint, float scale_x, float scale_y, float shift_x, float shift_y, int *ix0, int *iy0, int *ix1, int *iy1); 902 STBTT_DEF void stbtt_GetGlyphBitmapBox(const stbtt_fontinfo *font, int glyph, float scale_x, float scale_y, int *ix0, int *iy0, int *ix1, int *iy1); 903 STBTT_DEF void stbtt_GetGlyphBitmapBoxSubpixel(const stbtt_fontinfo *font, int glyph, float scale_x, float scale_y,float shift_x, float shift_y, int *ix0, int *iy0, int *ix1, int *iy1); 2629 STBTT_DEF void stbtt_GetGlyphBitmapBoxSubpixel(const stbtt_fontinfo *font, int glyph, float scale_x, float scale_y,float shift_x, float shift_y, int *ix0, int *iy0, int *ix1, int *iy1) 2634 if (ix0) *ix0 = 0; 2640 if (ix0) *ix0 [all...] |
/third_party/skia/src/core/ |
H A D | SkScan_Hairline.cpp | 120 int ix0 = SkFDot6Round(x0); 122 if (ix0 == ix1) {// too short to draw 126 if ((ix1 - ix0) > 100000 || (ix1 - ix0) < 0) { 133 horiline(ix0, ix1, startY, slope, blitter);
|
/third_party/node/deps/v8/src/base/ |
H A D | ieee754.cc | 42 * ix0 = *(n0+(int*)&x); * high word of x * 54 #define EXTRACT_WORDS(ix0, ix1, d) \ 57 (ix0) = bits >> 32; \ 79 #define INSERT_WORDS(d, ix0, ix1) \ 82 bits |= static_cast<uint64_t>(ix0) << 32; \
|
/third_party/vk-gl-cts/external/openglcts/modules/common/ |
H A D | glcShaderRenderCase.cpp | 753 int ix0 = deCeilFloatToInt32(sx0 - 0.5f); in computeVertexReference() local 767 //printf("(%d,%d) -> (%f..%f, %f..%f) (%d..%d, %d..%d)\n", x, y, sx0, sx1, sy0, sy1, ix0, ix1, iy0, iy1); in computeVertexReference() 770 for (int ix = ix0; ix < ix1; ix++) in computeVertexReference()
|
/third_party/vk-gl-cts/modules/glshared/ |
H A D | glsShaderRenderCase.cpp | 681 int ix0 = deCeilFloatToInt32(sx0 - 0.5f); in computeVertexReference() local 695 //printf("(%d,%d) -> (%f..%f, %f..%f) (%d..%d, %d..%d)\n", x, y, sx0, sx1, sy0, sy1, ix0, ix1, iy0, iy1); in computeVertexReference() 698 for (int ix = ix0; ix < ix1; ix++) in computeVertexReference()
|
/third_party/vk-gl-cts/modules/gles2/functional/ |
H A 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/external/vulkancts/modules/vulkan/shaderrender/ |
H A D | vktShaderRender.cpp | 2433 const int ix0 = deCeilFloatToInt32(sx0 - 0.5f); 2447 //printf("(%d,%d) -> (%f..%f, %f..%f) (%d..%d, %d..%d)\n", x, y, sx0, sx1, sy0, sy1, ix0, ix1, iy0, iy1); 2450 for (int ix = ix0; ix < ix1; ix++)
|
/third_party/vk-gl-cts/modules/gles3/functional/ |
H A 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_no_buildgn/vulkan/shaderrender/ |
H A D | vktShaderRender.cpp | 2435 const int ix0 = deCeilFloatToInt32(sx0 - 0.5f); 2449 //printf("(%d,%d) -> (%f..%f, %f..%f) (%d..%d, %d..%d)\n", x, y, sx0, sx1, sy0, sy1, ix0, ix1, iy0, iy1); 2452 for (int ix = ix0; ix < ix1; ix++)
|
/third_party/glfw/deps/ |
H A D | nuklear.h | 11583 int *ix0, int *iy0, int *ix1, int *iy1) in nk_tt_GetGlyphBitmapBoxSubpixel() 11588 if (ix0) *ix0 = 0; in nk_tt_GetGlyphBitmapBoxSubpixel() 11594 if (ix0) *ix0 = nk_ifloorf((float)x0 * scale_x + shift_x); in nk_tt_GetGlyphBitmapBoxSubpixel() 11602 float scale_x, float scale_y, int *ix0, int *iy0, int *ix1, int *iy1) in nk_tt_GetGlyphBitmapBox() 11604 nk_tt_GetGlyphBitmapBoxSubpixel(font, glyph, scale_x, scale_y,0.0f,0.0f, ix0, iy0, ix1, iy1); in nk_tt_GetGlyphBitmapBox() 12235 int ix0,iy0; in nk_tt_MakeGlyphBitmapSubpixel() local 12241 shift_y, &ix0,&iy0,0,0); in nk_tt_MakeGlyphBitmapSubpixel() 12249 shift_x, shift_y, ix0,iy in nk_tt_MakeGlyphBitmapSubpixel() 11581 nk_tt_GetGlyphBitmapBoxSubpixel(const struct nk_tt_fontinfo *font, int glyph, float scale_x, float scale_y,float shift_x, float shift_y, int *ix0, int *iy0, int *ix1, int *iy1) nk_tt_GetGlyphBitmapBoxSubpixel() argument 11601 nk_tt_GetGlyphBitmapBox(const struct nk_tt_fontinfo *font, int glyph, float scale_x, float scale_y, int *ix0, int *iy0, int *ix1, int *iy1) nk_tt_GetGlyphBitmapBox() argument [all...] |