/third_party/mesa3d/src/gallium/auxiliary/tgsi/ |
H A D | tgsi_text.c | 197 int sign = (*cur == '-' ? -1 : 1); in parse_int() local 203 *val *= sign; in parse_int()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/ |
H A D | vktImageTranscodingSupportTests.cpp | 135 *ptr = T::largestNormal(ptr->sign()); in fixFloatIfNeeded() 137 *ptr = T::smallestNormal(ptr->sign()); in fixFloatIfNeeded()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/ |
H A D | vktPipelineSamplerBorderSwizzleTests.cpp | 329 const int asign = tcu::Float32(a).sign(); in calcFloatDiff() 330 const int bsign = tcu::Float32(a).sign(); in calcFloatDiff() 1249 const deUint64 signMask = (~mask); // Used to extend the sign bit. in getRandomClearColor() 1254 // Extend sign bit for negative values. in getRandomClearColor()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/image/ |
H A D | vktImageTranscodingSupportTests.cpp | 135 *ptr = T::largestNormal(ptr->sign()); in fixFloatIfNeeded() 137 *ptr = T::smallestNormal(ptr->sign()); in fixFloatIfNeeded()
|
/third_party/vk-gl-cts/modules/gles3/functional/ |
H A D | es3fTextureUnitTests.cpp | 505 float sign = rnd.getBool() ? 1.0f : -1.0f; in MultiTexShader() local 506 transData[i] = rnd.getFloat(0.7f, 1.4f) * sign; in MultiTexShader()
|
/third_party/sqlite/src/ |
H A D | shell.c | 2383 char sign; /* 0 for positive, 1 for negative */ member 2425 p->sign = 0; in decimal_new() 2447 p->sign = 1; in decimal_new() 2551 p->sign = 0; in decimal_result() 2553 if( p->sign ){ in decimal_result() 2611 if( pA->sign!=pB->sign ){ in decimal_cmp() 2612 return pA->sign ? -1 : +1; in decimal_cmp() 2614 if( pA->sign ){ in decimal_cmp() 2721 if( pA->sign in decimal_add() [all...] |
/third_party/python/Lib/test/ |
H A D | datetimetester.py | 2101 (prefix + expected, timezone(sign * td)) 2103 for prefix, sign in [('-', -1), ('+', 1)] 2691 sign = '-' 2694 sign ='+' 2697 dtstr = "{}{:02d}{:02d} {}".format(sign, hours, minutes, tzname) 3497 (prefix + expected, timezone(sign * td)) 3499 for prefix, sign in [('-', -1), ('+', 1)] 4911 # Note that offset in TZ variable has the opposite sign to that
|
/third_party/ffmpeg/libavcodec/ |
H A D | mpeg12dec.c | 115 int code, sign, val, shift; in mpeg_decode_motion() local 123 sign = get_bits1(&s->gb); in mpeg_decode_motion() 131 if (sign) in mpeg_decode_motion()
|
/third_party/node/deps/ngtcp2/nghttp3/lib/ |
H A D | nghttp3_qpack.c | 2371 int sign = base < ricnt; in nghttp3_qpack_encoder_write_field_section_prefix() local 2372 uint64_t delta_base = sign ? ricnt - base - 1 : base - ricnt; in nghttp3_qpack_encoder_write_field_section_prefix() 2389 if (sign) { in nghttp3_qpack_encoder_write_field_section_prefix()
|
/third_party/mesa3d/src/broadcom/compiler/ |
H A D | nir_to_vir.c | 1328 /* Compute sign bit of result */ in f2f16_rtz() 1329 struct qreg sign = vir_AND(c, vir_SHR(c, f32, vir_uniform_ui(c, 16)), in f2f16_rtz() local 1340 inst = vir_OR_dest(c, result, sign, vir_uniform_ui(c, 0x7bff)); in f2f16_rtz() 1345 vir_OR(c, sign, in f2f16_rtz() 1356 inst = vir_OR_dest(c, result, sign, tmp); in f2f16_rtz() 1392 * type to a larger type and if needed, it applies sign extension to it. 1404 /* Do we need to sign-extend? */ in sign_extend() 1411 /* If so, fill in leading sign bits */ in sign_extend()
|
/third_party/mesa3d/src/gallium/auxiliary/draw/ |
H A D | draw_llvm.c | 2032 vs_type.sign = TRUE; /* values are signed */ in draw_llvm_generate() 2841 gs_type.sign = TRUE; /* values are signed */ in draw_gs_llvm_generate() 3417 tcs_type.sign = TRUE; /* values are signed */ in draw_tcs_llvm_generate() 3999 tes_type.sign = TRUE; /* values are signed */ in draw_tes_llvm_generate()
|
/third_party/vixl/test/aarch32/ |
H A D | test-simulator-cond-rd-memop-rs-shift-amount-1to31-a32.cc | 137 Sign sign; member 3392 Sign sign = kTests[i].operands.sign; in TestHelper() local 3397 MemOperand memop(rn, sign, rm, shift, amount, addr_mode); in TestHelper()
|
H A D | test-simulator-cond-rd-memop-rs-shift-amount-1to32-a32.cc | 137 Sign sign; member 3392 Sign sign = kTests[i].operands.sign; in TestHelper() local 3397 MemOperand memop(rn, sign, rm, shift, amount, addr_mode); in TestHelper()
|
/third_party/python/Python/ |
H A D | ceval.c | 3745 int sign = (dleft > dright) - (dleft < dright); local 3758 int jump = (9 << (sign + 1)) & when_to_jump_mask; 3791 int sign = (ileft > iright) - (ileft < iright); local 3801 int jump = (9 << (sign + 1)) & when_to_jump_mask; 3844 int sign = 1 - res; local 3845 int jump = (9 << (sign + 1)) & when_to_jump_mask;
|
/third_party/ffmpeg/libavfilter/ |
H A D | avf_showcqt.c | 334 int sign = (x & 1) ? (-1) : 1; in init_cqt() local 338 w *= sign * (1.0 / s->fft_len); in init_cqt()
|
/third_party/jerryscript/jerry-core/api/ |
H A D | jerry.c | 1574 jerry_create_number_infinity (bool sign) /**< true for negative Infinity in jerry_create_number_infinity() argument 1579 return ecma_make_number_value (ecma_number_make_infinity (sign)); in jerry_create_number_infinity()
|
/third_party/mbedtls/library/ |
H A D | ssl_tls12_client.c | 3260 goto sign; in ssl_write_certificate_verify() 3295 sign: in ssl_write_certificate_verify()
|
/third_party/mesa3d/src/nouveau/codegen/lib/ |
H A D | gk104.asm | 727 // except for the sign bit) 733 // For 0/inf/nan, make sure the sign bit agrees with input and return
|
/third_party/ltp/tools/sparse/sparse-src/ |
H A D | simplify.c | 1441 insn->opcode = op->sign; in simplify_compare_constant() 1916 insn->opcode = op->sign; in simplify_compare() 2300 // OK, sign bit is 0 in simplify_cast() 2312 // the mask force the sign bit to 0. in simplify_cast()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/ |
H A D | vktApiImageClearingTests.cpp | 250 const int asign = Float32(a).sign(); in calcFloatDiff() 251 const int bsign = Float32(b).sign(); in calcFloatDiff()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderrender/ |
H A D | vktShaderRenderBuiltinVarTests.cpp | 526 float sign = m_depthClampEnable ? -1.0f : 1.0f; in iterate() local 529 bufferData[ndx * scale] = (float)ndx / 256.0f * sign; in iterate()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/api/ |
H A D | vktApiImageClearingTests.cpp | 242 const int asign = Float32(a).sign(); in calcFloatDiff() 243 const int bsign = Float32(b).sign(); in calcFloatDiff()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/ |
H A D | APInt.cpp | 529 // If the sign bits don't match, then (LHS < RHS) if LHS is negative in slt() 579 assert(slen && "String is only a sign, needs a value."); 804 // Get the sign bit from the highest order bit in RoundDoubleToAPInt() 814 // Extract the mantissa by clearing the top 12 bits (sign + exponent). in RoundDoubleToAPInt() 862 // we are using. Note that the sign bit is gone since we constructed the in roundToDouble() 891 uint64_t sign = isNeg ? (1ULL << (APINT_BITS_PER_WORD - 1)) : 0; in roundToDouble() local 896 T.I = sign | (exp << 52) | mantissa; in roundToDouble() 943 // Read and sign-extend any partial word. 1060 // Adjust the top significant word for sign bit fill, if negative in ashr() 1077 // Deal with sign extensio in ashr() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
H A D | APInt.cpp | 294 // If the sign bits don't match, then (LHS < RHS) if LHS is negative in compareSigned() 507 assert(slen && "String is only a sign, needs a value."); 772 // Get the sign bit from the highest order bit 782 // Extract the mantissa by clearing the top 12 bits (sign + exponent). 830 // we are using. Note that the sign bit is gone since we constructed the 859 uint64_t sign = isNeg ? (1ULL << (APINT_BITS_PER_WORD - 1)) : 0; 860 uint64_t I = sign | (exp << 52) | mantissa; 929 // Fill with sign bits. 996 // Save the original sign bit for later. 1026 // Fill in the remainder based on the original sign [all...] |
/third_party/python/Modules/ |
H A D | _tkinter.c | 908 hexchars += neg + 2; /* skip sign and "0x" */ in asBignumObj() 917 bigValue.sign = neg ? MP_NEG : MP_ZPOS; in asBignumObj() 1127 if (res != NULL && bigValue.sign == MP_NEG) { in fromBignumObj()
|