/external/deqp/framework/common/ |
tcuFloat.hpp | 99 * The sign is turned into a sign bit and the exponent bias is added. 288 deUint64 bias = (m >> bitDiff) & 1; local 290 return Float(StorageType(s | (m + half + bias) >> bitDiff)); 305 deUint64 bias = (m >> bitDiff) & 1; local 307 m = (m + half + bias) >> bitDiff;
|
/external/deqp/framework/opengl/ |
gluTextureTestUtil.hpp | 91 , bias (0.0f) 102 float bias; //!< User-supplied bias. member in struct:glu::TextureTestUtil::RenderParams 105 // color = lookup() * scale + bias 107 tcu::Vec4 colorBias; //!< Bias for texture color values.
|
/external/deqp/modules/gles3/functional/ |
es3fFboTestCase.cpp | 127 void FboTestCase::readPixels (tcu::Surface& dst, int x, int y, int width, int height, const tcu::TextureFormat& format, const tcu::Vec4& scale, const tcu::Vec4& bias) 129 FboTestUtil::readPixels(*getCurrentContext(), dst, x, y, width, height, format, scale, bias); local
|
es3fFboTestUtil.hpp | 92 void setTexScaleBias (int samplerNdx, const tcu::Vec4& scale, const tcu::Vec4& bias); 93 void setOutScaleBias (const tcu::Vec4& scale, const tcu::Vec4& bias); 105 tcu::Vec4 bias; member in struct:deqp::gles3::Functional::FboTestUtil::Texture2DShader::Input 122 void setTexScaleBias (const tcu::Vec4& scale, const tcu::Vec4& bias); 144 void setTexScaleBias (const tcu::Vec4& scale, const tcu::Vec4& bias); 166 void setTexScaleBias (const tcu::Vec4& scale, const tcu::Vec4& bias); 220 void readPixels (sglr::Context& ctx, tcu::Surface& dst, int x, int y, int width, int height, const tcu::TextureFormat& format, const tcu::Vec4& scale, const tcu::Vec4& bias);
|
/external/deqp/modules/gles31/functional/ |
es31fFboTestCase.cpp | 131 void FboTestCase::readPixels (tcu::Surface& dst, int x, int y, int width, int height, const tcu::TextureFormat& format, const tcu::Vec4& scale, const tcu::Vec4& bias) 133 FboTestUtil::readPixels(*getCurrentContext(), dst, x, y, width, height, format, scale, bias); local
|
/external/elfutils/libdwfl/ |
frame_unwind.c | 148 size_t nops, Dwarf_Addr *result, Dwarf_Addr bias) 187 if (! push (op->number + bias)) 470 || ! expr_eval (state, NULL, cfa_ops, cfa_nops, &cfa, bias) 539 handle_cfi (Dwfl_Frame *state, Dwarf_Addr pc, Dwarf_CFI *cfi, Dwarf_Addr bias) 599 else if (! expr_eval (state, frame, reg_ops, reg_nops, ®val, bias)) 732 Dwarf_Addr bias; local 733 Dwarf_CFI *cfi_eh = INTUSE(dwfl_module_eh_cfi) (mod, &bias); 736 handle_cfi (state, pc - bias, cfi_eh, bias); 740 Dwarf_CFI *cfi_dwarf = INTUSE(dwfl_module_dwarf_cfi) (mod, &bias); [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
Punycode.java | 135 int n, delta, handledCPCount, basicLength, bias, j, m, q, k, t, srcCPCount; local 182 bias=INITIAL_BIAS; 218 t=k-bias; 226 t=k-bias; 229 } else if(k>=(bias+TMAX)) { 242 bias=adaptBias(delta, handledCPCount+1,(handledCPCount==basicLength)); 278 int n, i, bias, basicLength, j, in, oldi, w, k, digit, t, local 312 bias=INITIAL_BIAS; 345 t=k-bias; 348 } else if(k>=(bias+TMAX)) [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/stringprep/ |
PunycodeReference.java | 122 /*** Bias adaptation function ***/ 145 int delta, h, b, out, max_out, bias, j, q, k, t; local 152 bias = initial_bias; 204 t = k <= bias /* + tmin */ ? tmin : /* +tmin not needed */ 205 k >= bias + tmax ? tmax : k - bias; 212 bias = adapt(delta, h + 1, (h == b)); 305 int n, out, i, max_out, bias, local 313 bias = initial_bias; 351 t = (k <= bias) /* + tmin */ ? tmin : /* +tmin not needed * [all...] |
/external/icu/icu4c/source/common/ |
punycode.cpp | 162 /* Bias adaptation function. */ 190 int32_t n, delta, handledCPCount, basicLength, destLength, bias, j, m, q, k, t, srcCPCount; local 296 bias=INITIAL_BIAS; 333 t=k-bias; 341 t=k-bias; 344 } else if(k>=(bias+TMAX)) { 363 bias=adaptBias(delta, handledCPCount+1, (UBool)(handledCPCount==basicLength)); 381 int32_t n, destLength, i, bias, basicLength, j, in, oldi, w, k, digit, t, local 434 bias=INITIAL_BIAS; 471 t=k-bias; [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
Punycode.java | 133 int n, delta, handledCPCount, basicLength, bias, j, m, q, k, t, srcCPCount; local 180 bias=INITIAL_BIAS; 216 t=k-bias; 224 t=k-bias; 227 } else if(k>=(bias+TMAX)) { 240 bias=adaptBias(delta, handledCPCount+1,(handledCPCount==basicLength)); 276 int n, i, bias, basicLength, j, in, oldi, w, k, digit, t, local 310 bias=INITIAL_BIAS; 343 t=k-bias; 346 } else if(k>=(bias+TMAX)) [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/stringprep/ |
PunycodeReference.java | 119 /*** Bias adaptation function ***/ 142 int delta, h, b, out, max_out, bias, j, q, k, t; local 149 bias = initial_bias; 201 t = k <= bias /* + tmin */ ? tmin : /* +tmin not needed */ 202 k >= bias + tmax ? tmax : k - bias; 209 bias = adapt(delta, h + 1, (h == b)); 302 int n, out, i, max_out, bias, local 310 bias = initial_bias; 348 t = (k <= bias) /* + tmin */ ? tmin : /* +tmin not needed * [all...] |
/external/libjpeg-turbo/ |
jcsample.c | 211 * A note about the "bias" calculations: when rounding fractional values to 213 * If we did that, we'd introduce a noticeable bias towards larger values. 226 register int bias; local 238 bias = 0; /* bias = 0,1,0,1,... for successive samples */ 241 (JSAMPLE)((GETJSAMPLE(*inptr) + GETJSAMPLE(inptr[1]) + bias) >> 1); 242 bias ^= 1; /* 0=>1, 1=>0 */ 263 register int bias; local 277 bias = 1; /* bias = 1,2,1,2,... for successive samples * [all...] |
/external/libtextclassifier/lang_id/common/ |
embedding-network.cc | 53 // weights and b are the weight matrix, respectively the bias vector of a neural 212 // 128 is bias for UINT8 quantization. 307 EmbeddingNetworkParams::Matrix bias = model_->GetHiddenLayerBias(i); local 308 SAFTM_CHECK_EQ(1, bias.cols); 309 CheckNoQuantization(bias); 310 layer_bias_.push_back(bias);
|
/external/libtextclassifier/lang_id/common/flatbuffers/ |
embedding-network-params-from-flatbuffer.cc | 131 // Checks the geometry of the network layer represented by |weights| and |bias|, 136 const EmbeddingNetworkParams::Matrix &bias) { 141 if ((bias.rows != 1) && (bias.cols != 1)) { 142 SAFTM_LOG(ERROR) << "bad bias vector geometry: " << bias.rows << " x " 143 << bias.cols; 146 int bias_dimension = bias.rows * bias.cols; 225 Matrix bias = GetHiddenLayerBias(i) local 243 Matrix bias = GetSoftmaxBias(); local 350 const saft_fbs::Matrix *bias = layer->bias(); local [all...] |
/external/libvpx/libvpx/vpx_dsp/ppc/ |
vpx_convolve_vsx.c | 169 const int32x4_t bias = local 171 const int32x4_t avg = vec_sr(vec_sums(sum, bias), vec_splat_u32(FILTER_BITS));
|
/external/mesa3d/src/compiler/glsl/ |
loop_analysis.cpp | 129 const int bias[] = { -1, 0, 1 }; local 132 for (unsigned i = 0; i < ARRAY_SIZE(bias); i++) { 136 iter = new(mem_ctx) ir_constant(iter_value + bias[i]); 139 iter = new(mem_ctx) ir_constant(unsigned(iter_value + bias[i])); 142 iter = new(mem_ctx) ir_constant(float(iter_value + bias[i])); 145 iter = new(mem_ctx) ir_constant(double(iter_value + bias[i])); 168 iter_value += bias[i];
|
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
lp_bld_format_float.c | 62 * Note that compared to the references, below, we skip any rounding bias 129 /* bias exponent (and denormalize if necessary) */ 331 * magic number has exponent new exp bias + (new exp bias - old exp bias), 466 LLVMValueRef shift, scale, bias, exp; local 484 * scale factor is 2 ^ (exp - bias) 493 bias = lp_build_const_int_vec(gallivm, i32_type, 127 - (15 + 9)); 494 scale = lp_build_add(&i32_bld, exp, bias);
|
/external/mesa3d/src/gallium/tests/trivial/ |
quad-tex.c | 233 float scale, bias; local 237 bias = (float)HEIGHT; 240 bias = 0.0f; 248 p->viewport.translate[1] = (half_height + y) * scale + bias;
|
tri.c | 178 float scale, bias; local 182 bias = (float)HEIGHT; 185 bias = 0.0f; 193 p->viewport.translate[1] = (half_height + y) * scale + bias;
|
/external/mesa3d/src/mesa/swrast/ |
s_texcombine.c | 663 /* apply LOD bias, but don't clamp yet */ 664 const GLfloat bias = CLAMP(texUnit->LodBias + samp->LodBias, local 669 lambda[i] += bias;
|
/external/skia/samplecode/ |
SampleColorFilter.cpp | 32 int bias = 0; local 34 bias = -1; 36 bias = 1; 38 return trunc + bias;
|
/external/skia/src/effects/imagefilters/ |
SkMatrixConvolutionImageFilter.cpp | 32 SkScalar bias, 41 , fBias(bias) 56 SkScalar bias, 76 bias, kernelOffset, 101 SkScalar bias = buffer.readScalar(); local 112 return Make(kernelSize, kernel.get(), gain, bias, kernelOffset, tileMode,
|
/external/skia/src/gpu/gradients/ |
GrUnrolledBinaryGradientColorizer.cpp | 129 "half t = %s.x;\nfloat4 scale, bias;\nif (%d <= 4 || t < %s.w) {\n if (%d <= 2 " 131 " bias = %s;\n } else {\n scale = %s;\n bias = " 133 "scale = %s;\n bias = %s;\n } else {\n scale = %s;\n " 134 " bias = %s;\n }\n }\n} else {\n if (%d <= 6 || t < %s.y) " 158 " %s.x) {\n scale = %s;\n bias = %s;\n } else {\n " 159 " scale = %s;\n bias = %s;\n }\n } else {\n if " 160 "(%d <= 7 || t < %s.z) {\n scale = %s;\n bias = %s;\n " 161 "} else {\n scale = %s;\n bias = %s;\n }\n " 162 "}\n}\n%s = half4(float(t) * scale + bias);\n" 359 auto bias = c0 - t0 * scale; local [all...] |
/external/skqp/samplecode/ |
SampleColorFilter.cpp | 32 int bias = 0; local 34 bias = -1; 36 bias = 1; 38 return trunc + bias;
|
/external/skqp/src/effects/imagefilters/ |
SkMatrixConvolutionImageFilter.cpp | 32 SkScalar bias, 41 , fBias(bias) 56 SkScalar bias, 76 bias, kernelOffset, 101 SkScalar bias = buffer.readScalar(); local 112 return Make(kernelSize, kernel.get(), gain, bias, kernelOffset, tileMode,
|