Searched refs:strength (Results 1 - 6 of 6) sorted by relevance

/haiku/src/tests/kits/locale/
H A DCollatorTest.cpp51 for (int32 strength = B_COLLATE_PRIMARY; strength < 4; strength++) {
53 collator.SetStrength(strength);
58 CPPUNIT_ASSERT_EQUAL(tests[i].sign[strength - 1], difference);
H A DcollatorTest.cpp126 int strength = B_COLLATE_SECONDARY; local
145 int strength = c - '0'; local
146 if (strength < B_COLLATE_PRIMARY)
147 strength = B_COLLATE_PRIMARY;
148 else if (strength > B_COLLATE_IDENTICAL)
149 strength = B_COLLATE_IDENTICAL;
163 gCollator = new BCollator(addon, strength, true);
H A DcollatorSpeed.cpp50 test(BCollator *collator, const char *name, int8 strength) argument
52 collator->SetDefaultStrength(strength);
/haiku/headers/os/locale/
H A DCollator.h40 int8 strength = B_COLLATE_PRIMARY,
50 status_t SetStrength(int8 strength) const;
/haiku/src/kits/locale/
H A DCollator.cpp42 BCollator::BCollator(const char* locale, int8 strength, bool ignorePunctuation) argument
48 SetStrength(strength);
223 BCollator::SetStrength(int8 strength) const
225 if (strength == B_COLLATE_DEFAULT)
226 strength = B_COLLATE_TERTIARY;
229 switch (strength) {
/haiku/src/add-ons/media/media-add-ons/radeon/
H A DMSP3430.cpp94 MSP3430_DSP_MDB_STR = 0x0068, // MDB strength
508 void CMSP3430::SetSpatial(int strength, MSP3430_spatial_mode mode, MSP3430_spatial_highpass pass)
511 fSpatial = Clamp(0x00 + (0x7f * strength) / 100, -0x80, 0x7f) << 8;
569 void CMSP3430::SetMDB(int strength, int limit, int harmonic,
572 // set MDB effect strength 0..127
573 fMDBStrength = (mute ? 0x00 : Clamp(strength, 0x00, 0x7f)) << 7;

Completed in 98 milliseconds