/external/icu4c/test/intltest/ |
H A D | wbnf.cpp | 437 // Every number has different chance (aka weight) to be selected. 463 void append(int weight){ argument 464 weights.append(weight); 465 total += weight; 468 // Give a random number with the consideration of weight. 469 // Every random number is associated with a weight. 471 // larger weight has more chance to be selected. 768 Alternation & append (Pick * node, int weight = DEFAULT_WEIGHT){ 770 wr.append(weight); 959 UBool weight(in function in class:Parser [all...] |
/external/kernel-headers/original/linux/ |
H A D | pkt_sched.h | 378 __u32 weight; member in struct:tc_cbq_wrropt
|
H A D | netdevice.h | 398 int weight; member in struct:net_device
|
/external/libvpx/libvpx/vp9/encoder/ |
H A D | vp9_firstpass.c | 303 // Loop throught the Y plane raw examining levels and creating a weight for the image 744 double weight = 0.0; local 752 weight = simple_weight(cpi->Source); 755 if (weight < 0.1) 756 weight = 0.1; 758 fps.ssim_weighted_pred_err = fps.coded_error * weight; 1525 // Save the weight of the last frame in the sequence before next
|
H A D | vp9_onyx_if.c | 70 double *weight); 3916 double weight = 0; local 3946 recon, 1, &weight); 3948 cpi->summed_quality += frame_ssim2 * weight; 3949 cpi->summed_weights += weight; 3952 &cm->post_proc_buffer, 1, &weight); 3954 cpi->summedp_quality += frame_ssim2 * weight; 3955 cpi->summedp_weights += weight;
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
H A D | TargetLowering.cpp | 2158 // weight: -1 = invalid match, and 0 = so-so match to 5 = good match. 2159 int weight = -1; local 2162 // of the best (highest weight) one so far. 2187 weight = getMultipleConstraintMatchWeight(OpInfo, maIndex); 2188 if (weight == -1) { 2192 weightSum += weight; 2264 /// Examine constraint type and operand type and determine a weight value. 2279 ConstraintWeight weight = local 2281 if (weight > BestWeight) 2282 BestWeight = weight; 2294 ConstraintWeight weight = CW_Invalid; local [all...] |
/external/llvm/lib/Target/SystemZ/ |
H A D | SystemZISelLowering.cpp | 346 ConstraintWeight weight = CW_Invalid; local 349 // but allow it at the lowest weight. 356 weight = TargetLowering::getSingleConstraintMatchWeight(info, constraint); 363 weight = CW_Register; 368 weight = CW_Register; 374 weight = CW_Constant; 380 weight = CW_Constant; 386 weight = CW_Constant; 392 weight = CW_Constant; 398 weight [all...] |
/external/llvm/lib/Transforms/Instrumentation/ |
H A D | PathProfiling.cpp | 135 // weight. The counter increment counts the number of executions of 253 long weight, BallLarusNode* v, BallLarusEdge* e); 458 // weight. The counter increment is counts the number of executions of 852 void BLInstrumentationDag::calculateChordIncrementsDfs(long weight, argument 861 calculateChordIncrementsDir(e,f)*(weight) + 866 calculateChordIncrementsDir(e,f)*(weight) + 876 calculateChordIncrementsDir(e,f)*weight);
|
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
H A D | lp_bld_sample_aos.c | 231 LLVMValueRef weight; local 235 &coord0, &weight); 242 weight = lp_build_mul_imm(&bld->coord_bld, weight, 256); 243 *weight_i = lp_build_itrunc(&bld->coord_bld, weight); 283 LLVMValueRef weight; local 287 &coord0, &weight); 288 weight = lp_build_mul_imm(&bld->coord_bld, weight, 256); 289 *weight_i = lp_build_itrunc(&bld->coord_bld, weight); 353 lp_build_sample_wrap_linear_float(struct lp_build_sample_context *bld, unsigned block_length, LLVMValueRef coord, LLVMValueRef length, boolean is_pot, unsigned wrap_mode, LLVMValueRef *coord0, LLVMValueRef *coord1, LLVMValueRef *weight, unsigned force_nearest) argument [all...] |
/external/mesa3d/src/gallium/drivers/nv50/codegen/ |
H A D | nv50_ir_ra.cpp | 649 float weight; member in class:nv50_ir::GCRA::RIG_Node 724 INFO("RIG_Node[%%%i]($[%u]%i): %u colors, weight %f, deg %u/%u\n X", 727 nodes[i].weight, 751 weight = std::numeric_limits<float>::infinity(); 1102 nodes[i].weight = 1170 float bestScore = best->weight / (float)best->degree; 1173 float score = it->weight / (float)it->degree;
|
/external/opencv/cv/include/ |
H A D | cvtypes.h | 333 float weight; member in struct:CvHaarFeature::__anon23383
|
/external/opencv/cv/src/ |
H A D | cvstereogc.cpp | 61 short weight; member in struct:GCVtx 70 int weight; member in struct:GCEdge 150 if( v->weight != 0 ) 155 v->t = v->weight < 0; 169 int e0 = -1, ei = 0, ej = 0, min_weight, weight; local 181 if( edges[ei^vt].weight == 0 ) 223 // find the minimum edge weight along the path 224 min_weight = edges[e0].weight; 233 weight = edges[ei^k].weight; [all...] |
H A D | mycvHaarDetectObjects.cpp | 59 int weight; member in struct:MyCvHidHaarFeature::__anon23397 304 if( fabs(feature->rect[2].weight) < DBL_EPSILON || 360 ipp_weights[k] = classifier->haar_feature->rect[l].weight*ipp_weight_scale; 413 double sum = calc_sum(node->feature.rect[0],p_offset) * node->feature.rect[0].weight; 414 sum += calc_sum(node->feature.rect[1],p_offset) * node->feature.rect[1].weight; 417 sum += calc_sum(node->feature.rect[2],p_offset) * node->feature.rect[2].weight; 563 int sum = calc_sum(node->feature.rect[0],p_offset) * node->feature.rect[0].weight; 564 sum += calc_sum(node->feature.rect[1],p_offset) * node->feature.rect[1].weight; 575 int sum = calc_sum(node->feature.rect[0],p_offset) * node->feature.rect[0].weight; 576 sum += calc_sum(node->feature.rect[1],p_offset) * node->feature.rect[1].weight; [all...] |
/external/opencv/ml/src/ |
H A D | mlboost.cpp | 376 // (i.e. by the weight of samples in j-th category that belong to class 1) 384 double weight = w0 + w1; local 386 if( weight < FLT_EPSILON ) 397 L += weight; 398 R -= weight; 506 // calculate sum response and weight of each category of the input var 656 // 1. for each category calculate the weight of samples 1003 // compute weight scale for each class from their prior probabilities 1023 // the particular sample weight, and where to store the response. 1233 // as weight trimmin [all...] |
/external/openfst/src/include/fst/extensions/ngram/ |
H A D | ngram-fst.h | 180 Weight weight; local 191 offset = (offset + sizeof(weight) - 1) & ~(sizeof(weight) - 1); 192 offset += (num_states + 1) * sizeof(weight) + num_final * sizeof(weight) + 193 (num_futures + 1) * sizeof(weight); 376 arc.weight, state)); 405 Weight weight; local 432 offset = (offset + sizeof(weight) - 1) & ~(sizeof(weight) [all...] |
/external/sfntly/cpp/src/sfntly/table/core/ |
H A D | os2_table.cc | 308 void OS2Table::Builder::SetUsWeightClass(int32_t weight) { argument 309 InternalWriteData()->WriteUShort(Offset::kUsWeightClass, weight);
|
/external/skia/src/gpu/ |
H A D | GrAAHairLinePathRenderer.cpp | 196 int split_conic(const SkPoint src[3], SkConic dst[2], const SkScalar weight) { argument 200 dst[0].set(src, weight); 206 conic.set(src, weight); 216 int chop_conic(const SkPoint src[3], SkConic dst[4], const SkScalar weight) { argument 218 int conicCnt = split_conic(src, dstTemp, weight); 337 // hyperbolas with high weight still show error. 604 // Three control points: p[0], p[1], p[2] and weight: w 610 void calc_conic_klm(const SkPoint p[3], const SkScalar weight, argument 612 const SkScalar w2 = 2 * weight; 652 void set_conic_coeffs(const SkPoint p[3], BezierVertex verts[kVertsPerQuad], const float weight) { argument 667 add_conics(const SkPoint p[3], float weight, const SkMatrix* toDevice, const SkMatrix* toSrc, BezierVertex** vert, SkRect* devBounds) argument [all...] |
/external/srec/srec/Recognizer/src/ |
H A D | RecognizerImpl.c | 1546 const LCHAR* ruleName, unsigned int weight) 1545 SR_RecognizerActivateRuleImpl(SR_Recognizer* self, SR_Grammar* grammar, const LCHAR* ruleName, unsigned int weight) argument
|
/external/valgrind/main/coregrind/ |
H A D | m_transtab.c | 137 /* Profiling only: the count and weight (arbitrary meaning) for 144 UShort weight; member in struct:__anon27415 298 TTEntry .count and .weight fields, if required. 1555 sectors[y].tt[i].weight = n_guest_instrs == 0 ? 1 : n_guest_instrs; 2239 return ((ULong)tte->weight) * ((ULong)tte->count);
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/ |
H A D | org.eclipse.equinox.p2.engine_2.0.0.v20100606.jar | META-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ... |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/softpipe/ |
H A D | sp_tex_sample.c | 261 * \param w returns blend factor/weight between texture indices 1614 float weight = (float) exp(-alpha * r2); local 1615 weightLut[i] = weight; 1730 float weight = weightLut[qClamped]; local 1732 weight_buffer[buffer_next] = weight; 1756 den += weight; 2701 * each texture pixel as it is and weight it later; using linear
|
/external/chromium_org/third_party/mesa/src/src/mesa/swrast/ |
H A D | s_texfilter.c | 156 * weight = returns blend factor between texels 162 GLint *i0, GLint *i1, GLfloat *weight) 280 *weight = FRAC(u); 414 GLint *i0, GLint *i1, GLfloat *weight) 419 *weight = FRAC(u); 448 GLint *i0out, GLint *i1out, GLfloat *weight) 481 *weight = FRAC(fcol); 1626 GLfloat weight = (GLfloat) exp(-alpha * r2); local 1627 weightLut[i] = weight; 1719 GLfloat weight local 159 linear_texel_locations(GLenum wrapMode, const struct gl_texture_image *img, GLint size, GLfloat s, GLint *i0, GLint *i1, GLfloat *weight) argument 413 linear_repeat_texel_location(GLuint size, GLfloat s, GLint *i0, GLint *i1, GLfloat *weight) argument 447 clamp_rect_coord_linear(GLenum wrapMode, GLfloat coord, GLint max, GLint *i0out, GLint *i1out, GLfloat *weight) argument [all...] |
/external/guava/guava/src/com/google/common/cache/ |
H A D | LocalCache.java | 187 /** The maximum weight of this map. UNSET_INT if there is no maximum. */ 376 Segment<K, V> segment, ReferenceEntry<K, V> entry, V value, int weight) { 377 return (weight == 1) 379 : new WeightedStrongValueReference<K, V>(value, weight); 391 Segment<K, V> segment, ReferenceEntry<K, V> entry, V value, int weight) { 392 return (weight == 1) 395 segment.valueReferenceQueue, value, entry, weight); 407 Segment<K, V> segment, ReferenceEntry<K, V> entry, V value, int weight) { 408 return (weight == 1) 411 segment.valueReferenceQueue, value, entry, weight); 423 referenceValue( Segment<K, V> segment, ReferenceEntry<K, V> entry, V value, int weight) argument 1778 final int weight; field in class:LocalCache.WeightedWeakValueReference 1780 WeightedWeakValueReference(ReferenceQueue<V> queue, V referent, ReferenceEntry<K, V> entry, int weight) argument 1802 final int weight; field in class:LocalCache.WeightedSoftValueReference 1804 WeightedSoftValueReference(ReferenceQueue<V> queue, V referent, ReferenceEntry<K, V> entry, int weight) argument 1825 final int weight; field in class:LocalCache.WeightedStrongValueReference 1827 WeightedStrongValueReference(V referent, int weight) argument 1882 newValueReference(ReferenceEntry<K, V> entry, V value, int weight) argument 2595 recordWrite(ReferenceEntry<K, V> entry, int weight, long now) argument [all...] |
/external/libvpx/libvpx/vp8/encoder/ |
H A D | firstpass.c | 321 /* Loop throught the Y plane raw examining levels and creating a weight 797 double weight = 0.0; local 804 weight = simple_weight(cpi->Source); 807 if (weight < 0.1) 808 weight = 0.1; 810 fps.ssim_weighted_pred_err = fps.coded_error * weight;
|
H A D | onyx_if.c | 81 double *weight 5294 double weight = 0; local 5322 &cm->post_proc_buffer, 1, &weight); 5324 cpi->summed_quality += frame_ssim2 * weight; 5325 cpi->summed_weights += weight; 5341 cpi->sum_ssim[i] += frame_ssim2 * weight; 5342 cpi->sum_weights[i] += weight;
|