Searched refs:weights (Results 1 - 4 of 4) sorted by relevance

/haiku/src/kits/interface/layouter/
H A DSimpleLayouter.h39 static void DistributeSize(int32 size, float weights[],
H A DSimpleLayouter.cpp252 SimpleLayouter::DistributeSize(int32 size, float weights[], int32 sizes[], argument
259 info->weight = weights[i];
263 // compute integer weights
305 // We scale the weights so that their sum is about 100000. This should
307 // integer weights will produce exact results.
377 // Mmh, distributing according to the weights doesn't look that good.
378 // // Now distribute the additional space according to the weights.
/haiku/src/system/libroot/posix/glibc/regex/
H A Dregcomp.c3384 const unsigned char *weights, *extra, *cp;
3394 weights = (const unsigned char *) _NL_CURRENT (LC_COLLATE,
3407 len = weights[idx1 & 0xffffff];
3421 if (len == weights[idx2 & 0xffffff] && (idx1 >> 24) == (idx2 >> 24))
3426 weights[(idx1 & 0xffffff) + 1 + cnt]
3427 == weights[(idx2 & 0xffffff) + 1 + cnt])
3375 const unsigned char *weights, *extra, *cp; local
H A Dregexec.c3835 const unsigned char *weights, *extra;
3888 weights = (const unsigned char *)
3899 size_t weight_len = weights[idx & 0xffffff];
3900 if (weight_len == weights[equiv_class_idx & 0xffffff]
3909 && (weights[equiv_class_idx + 1 + cnt]
3910 == weights[idx + 1 + cnt]))
3831 const unsigned char *weights, *extra; local

Completed in 192 milliseconds