/third_party/jerryscript/jerry-libm/ |
H A D | sqrt.c | 108 unsigned r, t1, s1, ix1, q1; in sqrt() local 112 ix1 = __LO (x); /* low word of x */ in sqrt() 122 if (((ix0 & (~sign)) | ix1) == 0) /* sqrt(+-0) = +-0 */ in sqrt() 138 ix0 |= (ix1 >> 11); in sqrt() 139 ix1 <<= 21; in sqrt() 146 ix0 |= (ix1 >> (32 - i)); in sqrt() 147 ix1 <<= i; in sqrt() 153 ix0 += ix0 + ((ix1 & sign) >> 31); in sqrt() 154 ix1 += ix1; in sqrt() [all...] |
/third_party/musl/porting/liteos_m/kernel/src/math/ |
H A D | sqrt.c | 88 uint32_t r,t1,s1,ix1,q1; in sqrt() local 90 EXTRACT_WORDS(ix0, ix1, x); in sqrt() 98 if (((ix0&~sign)|ix1) == 0) in sqrt() 108 ix0 |= (ix1>>11); in sqrt() 109 ix1 <<= 21; in sqrt() 114 ix0 |= ix1>>(32-i); in sqrt() 115 ix1 <<= i; in sqrt() 120 ix0 += ix0 + ((ix1&sign)>>31); in sqrt() 121 ix1 += ix1; 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 193 ix1 = box.x1 / STAMP_SIZE; in lp_rast_rectangle() 199 if (ix0 == ix1 && iy0 == iy1) { in lp_rast_rectangle() 206 else if (ix0 == ix1) { in lp_rast_rectangle() 220 for (i = ix0 + 1; i < ix1; i++) in lp_rast_rectangle() 222 partial(task, rect, ix1, iy0, mask & right_mask); in lp_rast_rectangle() 230 partial(task, rect, ix1, iy0, right_mask & top_mask); in lp_rast_rectangle() 231 partial(task, rect, ix1, iy1, right_mask & bottom_mask); in lp_rast_rectangle() 233 for (i = ix0 + 1; i < ix1; i++) in lp_rast_rectangle() 236 for (i = ix0 + 1; i < ix1; in lp_rast_rectangle() [all...] |
H A D | lp_rast_linear_fallback.c | 171 const unsigned ix1 = box->x1 / STAMP_SIZE; in lp_rast_linear_rect_fallback() local 177 if (ix0 == ix1 && iy0 == iy1) { in lp_rast_linear_rect_fallback() 184 else if (ix0 == ix1) { in lp_rast_linear_rect_fallback() 198 for (unsigned i = ix0 + 1; i < ix1; i++) in lp_rast_linear_rect_fallback() 200 partial(task, inputs, ix1, iy0, mask & right_mask); in lp_rast_linear_rect_fallback() 208 partial(task, inputs, ix1, iy0, right_mask & top_mask); in lp_rast_linear_rect_fallback() 209 partial(task, inputs, ix1, iy1, right_mask & bottom_mask); in lp_rast_linear_rect_fallback() 211 for (unsigned i = ix0 + 1; i < ix1; i++) in lp_rast_linear_rect_fallback() 214 for (unsigned i = ix0 + 1; i < ix1; i++) in lp_rast_linear_rect_fallback() 221 partial(task, inputs, ix1, in lp_rast_linear_rect_fallback() [all...] |
H A D | lp_setup_rect.c | 379 const unsigned ix1 = rect->box.x1 / TILE_SIZE; in lp_setup_bin_rectangle() local 387 assert(ix1 == MIN2(ix1, scene->tiles_x - 1)); in lp_setup_bin_rectangle() 393 if (ix1 * TILE_SIZE + TILE_SIZE - 1 != rect->box.x1) in lp_setup_bin_rectangle() 404 if (iy0 == iy1 && ix0 == ix1) { in lp_setup_bin_rectangle() 407 } else if (ix0 == ix1) { in lp_setup_bin_rectangle() 416 for (unsigned i = ix0 + 1; i < ix1; i++) in lp_setup_bin_rectangle() 418 partial(setup, rect, opaque, ix1, iy0, mask | right_mask); in lp_setup_bin_rectangle() 422 partial(setup, rect, opaque, ix1, iy0, right_mask | top_mask); in lp_setup_bin_rectangle() 423 partial(setup, rect, opaque, ix1, iy in lp_setup_bin_rectangle() [all...] |
H A D | lp_setup_tri.c | 892 const int ix1 = trimmed_box.x1 / TILE_SIZE; in lp_setup_bin_triangle() local 923 for (x = ix0; x <= ix1; x++) { in lp_setup_bin_triangle()
|
/third_party/rust/crates/minimal-lexical/src/ |
H A D | libm.rs | 1103 let mut ix1: Wrapping<u32>; in sqrtd() variables 1107 ix1 = Wrapping(x.to_bits() as u32); in sqrtd() 1115 if ((ix0 & !(sign.0 as i32)) | ix1.0 as i32) == 0 { in sqrtd() 1128 ix0 |= (ix1 >> 11).0 as i32; in sqrtd() 1129 ix1 <<= 21; in sqrtd() 1137 ix0 |= (ix1 >> (32 - i) as usize).0 as i32; in sqrtd() 1138 ix1 = ix1 << i as usize; in sqrtd() 1144 ix0 += ix0 + ((ix1 & sign) >> 31).0 as i32; in sqrtd() 1145 ix1 in sqrtd() [all...] |
/third_party/FreeBSD/lib/msun/src/ |
H A D | math_private.h | 26 * ix1 = *((1-n0)+(int*)&x); * low word of x * 135 #define EXTRACT_WORDS(ix0,ix1,d) \ 140 (ix1) = ew_u.parts.lsw; \ 171 #define INSERT_WORDS(d,ix0,ix1) \ 175 iw_u.parts.lsw = (ix1); \ 242 #define EXTRACT_LDBL80_WORDS(ix0,ix1,d) \ 247 (ix1) = ew_u.xbits.man; \ 255 #define EXTRACT_LDBL128_WORDS(ix0,ix1,ix2,d) \ 260 (ix1) = ew_u.xbits.manh; \ 278 #define INSERT_LDBL80_WORDS(d,ix0,ix1) \ [all...] |
/third_party/skia/src/core/ |
H A D | SkScan_Hairline.cpp | 121 int ix1 = SkFDot6Round(x1); 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/vk-gl-cts/external/vulkancts/modules/vulkan/geometry/ |
H A D | vktGeometryInstancedRenderingTests.cpp | 236 const int ix1 = std::max(deRoundFloatToInt32(x1), 0); in getSubregion() local 241 return tcu::getSubregion(image, ix1, iy1, ix2 - ix1, iy2 - iy1); in getSubregion()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/geometry/ |
H A D | vktGeometryInstancedRenderingTests.cpp | 236 const int ix1 = std::max(deRoundFloatToInt32(x1), 0); in getSubregion() local 241 return tcu::getSubregion(image, ix1, iy1, ix2 - ix1, iy2 - iy1); in getSubregion()
|
/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) 2636 if (ix1) *ix1 = 0; 2642 if (ix1) *ix1 [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) 2636 if (ix1) *ix1 = 0; 2642 if (ix1) *ix1 [all...] |
/third_party/astc-encoder/Source/ |
H A D | astcenc_ideal_endpoints_and_weights.cpp | 1089 vfloat ix1 = ix * quant_level_m1v; 1091 vint weightl = float_to_int(ix1); 1120 vfloat ix1 = ix * quant_level_m1v; 1122 vint weightl = float_to_int(ix1);
|
/third_party/node/deps/v8/src/base/ |
H A D | ieee754.cc | 43 * ix1 = *((1-n0)+(int*)&x); * low word of x * 54 #define EXTRACT_WORDS(ix0, ix1, d) \ 58 (ix1) = bits & 0xFFFFFFFFu; \ 79 #define INSERT_WORDS(d, ix0, ix1) \ 83 bits |= static_cast<uint32_t>(ix1); \
|
/third_party/vk-gl-cts/external/openglcts/modules/common/ |
H A D | glcShaderRenderCase.cpp | 754 int ix1 = deCeilFloatToInt32(sx1 - 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 | 682 int ix1 = deCeilFloatToInt32(sx1 - 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 | 344 const int ix1 = deCeilFloatToInt32(ldru.z() * (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 | 2434 const int ix1 = deCeilFloatToInt32(sx1 - 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 | 439 const int ix1 = deCeilFloatToInt32(ldru.z() * (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 | 2436 const int ix1 = deCeilFloatToInt32(sx1 - 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() 11590 if (ix1) *ix1 = 0; in nk_tt_GetGlyphBitmapBoxSubpixel() 11596 if (ix1) *ix1 = nk_iceilf ((float)x1 * 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() 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
|