Home
last modified time | relevance | path

Searched refs:lowerLimit (Results 1 – 25 of 165) sorted by relevance

1234567

/aosp_15_r20/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/util/
DMathUtils.java30 public static long extractValidNumberInRange(long value, long lowerLimit, long upperLimit) { in extractValidNumberInRange() argument
31 if (value < lowerLimit) { in extractValidNumberInRange()
32 return lowerLimit; in extractValidNumberInRange()
41 UnsignedLong value, UnsignedLong lowerLimit, UnsignedLong upperLimit) { in extractValidNumberInRange() argument
42 if (value.compareTo(lowerLimit) < 0) { in extractValidNumberInRange()
43 return lowerLimit; in extractValidNumberInRange()
/aosp_15_r20/external/icu/icu4c/source/i18n/
H A Dcollationweights.cpp211 CollationWeights::getWeightRanges(uint32_t lowerLimit, uint32_t upperLimit) { in getWeightRanges() argument
212 U_ASSERT(lowerLimit != 0); in getWeightRanges()
216 int32_t lowerLength=lengthOfWeight(lowerLimit); in getWeightRanges()
220 printf("length of lower limit 0x%08lx is %ld\n", lowerLimit, lowerLength); in getWeightRanges()
226 if(lowerLimit>=upperLimit) { in getWeightRanges()
235 if(lowerLimit==truncateWeight(upperLimit, lowerLength)) { in getWeightRanges()
237 … printf("error: lower limit 0x%08lx is a prefix of upper limit 0x%08lx\n", lowerLimit, upperLimit); in getWeightRanges()
263 uint32_t weight=lowerLimit; in getWeightRanges()
497 CollationWeights::allocWeights(uint32_t lowerLimit, uint32_t upperLimit, int32_t n) { in allocWeights() argument
502 if(!getWeightRanges(lowerLimit, upperLimit)) { in allocWeights()
H A Dcollationweights.h67 UBool allocWeights(uint32_t lowerLimit, uint32_t upperLimit, int32_t n);
98 UBool getWeightRanges(uint32_t lowerLimit, uint32_t upperLimit);
/aosp_15_r20/external/cronet/third_party/icu/source/i18n/
H A Dcollationweights.cpp211 CollationWeights::getWeightRanges(uint32_t lowerLimit, uint32_t upperLimit) { in getWeightRanges() argument
212 U_ASSERT(lowerLimit != 0); in getWeightRanges()
216 int32_t lowerLength=lengthOfWeight(lowerLimit); in getWeightRanges()
220 printf("length of lower limit 0x%08lx is %ld\n", lowerLimit, lowerLength); in getWeightRanges()
226 if(lowerLimit>=upperLimit) { in getWeightRanges()
235 if(lowerLimit==truncateWeight(upperLimit, lowerLength)) { in getWeightRanges()
237 … printf("error: lower limit 0x%08lx is a prefix of upper limit 0x%08lx\n", lowerLimit, upperLimit); in getWeightRanges()
263 uint32_t weight=lowerLimit; in getWeightRanges()
497 CollationWeights::allocWeights(uint32_t lowerLimit, uint32_t upperLimit, int32_t n) { in allocWeights() argument
502 if(!getWeightRanges(lowerLimit, upperLimit)) { in allocWeights()
H A Dcollationweights.h67 UBool allocWeights(uint32_t lowerLimit, uint32_t upperLimit, int32_t n);
98 UBool getWeightRanges(uint32_t lowerLimit, uint32_t upperLimit);
/aosp_15_r20/external/icu/icu4j/main/collate/src/main/java/com/ibm/icu/impl/coll/
H A DCollationWeights.java85 public boolean allocWeights(long lowerLimit, long upperLimit, int n) { in allocWeights() argument
91 if(!getWeightRanges(lowerLimit, upperLimit)) { in allocWeights()
287 private boolean getWeightRanges(long lowerLimit, long upperLimit) { in getWeightRanges() argument
288 assert(lowerLimit != 0); in getWeightRanges()
292 int lowerLength=lengthOfWeight(lowerLimit); in getWeightRanges()
300 if(lowerLimit>=upperLimit) { in getWeightRanges()
307 if(lowerLimit==truncateWeight(upperLimit, lowerLength)) { in getWeightRanges()
332 long weight=lowerLimit; in getWeightRanges()
/aosp_15_r20/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/
H A DCollationWeights.java87 public boolean allocWeights(long lowerLimit, long upperLimit, int n) { in allocWeights() argument
93 if(!getWeightRanges(lowerLimit, upperLimit)) { in allocWeights()
289 private boolean getWeightRanges(long lowerLimit, long upperLimit) { in getWeightRanges() argument
290 assert(lowerLimit != 0); in getWeightRanges()
294 int lowerLength=lengthOfWeight(lowerLimit); in getWeightRanges()
302 if(lowerLimit>=upperLimit) { in getWeightRanges()
309 if(lowerLimit==truncateWeight(upperLimit, lowerLength)) { in getWeightRanges()
334 long weight=lowerLimit; in getWeightRanges()
/aosp_15_r20/hardware/interfaces/broadcastradio/1.0/vts/functional/
H A DVtsHalBroadcastradioV1_0TargetTest.cpp279 if (l.lowerLimit != r.lowerLimit) return false; in operator ==()
502 badConfig.lowerLimit = 0xFFFFFFFF; in TEST_P()
602 ASSERT_GT(band.upperLimit, band.lowerLimit); in TEST_P()
605 uint32_t lowerLimit = band.lowerLimit; in TEST_P() local
610 lowerLimit + (((upperLimit - lowerLimit) / 2 + spacing - 1) / spacing) * spacing; in TEST_P()
633 EXPECT_GE(halInfo.channel, lowerLimit); in TEST_P()
637 mTuner->tune(lowerLimit, 0); in TEST_P()
/aosp_15_r20/external/icu/icu4j/main/collate/src/test/java/com/ibm/icu/dev/test/collator/
H A DCollationTest.java572 private void checkAllocWeights(CollationWeights cw, long lowerLimit, long upperLimit, in checkAllocWeights() argument
575 if (!cw.allocWeights(lowerLimit, upperLimit, n)) { in checkAllocWeights()
577 + Utility.hex(lowerLimit) + ",0x" in checkAllocWeights()
582 long previous = lowerLimit; in checkAllocWeights()
588 + Utility.hex(lowerLimit) + ",0x" in checkAllocWeights()
596 + Utility.hex(lowerLimit) + ",0x" in checkAllocWeights()
611 + Utility.hex(lowerLimit) + ",0x" in checkAllocWeights()
922 long lowerLimit = prevSec == 0 ? in TestRootElements() local
924 if (!cw2.allocWeights(lowerLimit, sec, 1)) { in TestRootElements()
926 + "0x" + Utility.hex(lowerLimit) in TestRootElements()
[all …]
/aosp_15_r20/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/
H A DCollationTest.java575 private void checkAllocWeights(CollationWeights cw, long lowerLimit, long upperLimit, in checkAllocWeights() argument
578 if (!cw.allocWeights(lowerLimit, upperLimit, n)) { in checkAllocWeights()
580 + Utility.hex(lowerLimit) + ",0x" in checkAllocWeights()
585 long previous = lowerLimit; in checkAllocWeights()
591 + Utility.hex(lowerLimit) + ",0x" in checkAllocWeights()
599 + Utility.hex(lowerLimit) + ",0x" in checkAllocWeights()
614 + Utility.hex(lowerLimit) + ",0x" in checkAllocWeights()
925 long lowerLimit = prevSec == 0 ? in TestRootElements() local
927 if (!cw2.allocWeights(lowerLimit, sec, 1)) { in TestRootElements()
929 + "0x" + Utility.hex(lowerLimit) in TestRootElements()
[all …]
/aosp_15_r20/hardware/interfaces/broadcastradio/1.1/default/
H A DTuner.cpp79 mCurrentProgram = utils::make_selector(mAmfmConfig.type, mAmfmConfig.lowerLimit); in setConfigurationInternalLocked()
95 if (config.lowerLimit <= frequency && config.upperLimit >= frequency) { in autoConfigureLocked()
113 if (config.lowerLimit >= config.upperLimit) return Result::INVALID_ARGUMENTS; in setConfiguration()
262 if (current > mAmfmConfig.upperLimit) current = mAmfmConfig.lowerLimit; in step()
263 if (current < mAmfmConfig.lowerLimit) current = mAmfmConfig.upperLimit; in step()
296 if (freq < mAmfmConfig.lowerLimit || freq > mAmfmConfig.upperLimit) { in tuneByProgramSelector()
/aosp_15_r20/frameworks/base/core/java/android/hardware/radio/
H A DRadioManager.java622 BandDescriptor(int region, int type, int lowerLimit, int upperLimit, int spacing) { in BandDescriptor() argument
628 mLowerLimit = lowerLimit; in BandDescriptor()
802 public FmBandDescriptor(int region, int type, int lowerLimit, int upperLimit, int spacing, in FmBandDescriptor() argument
804 super(region, type, lowerLimit, upperLimit, spacing); in FmBandDescriptor()
936 public AmBandDescriptor(int region, int type, int lowerLimit, int upperLimit, int spacing, in AmBandDescriptor() argument
938 super(region, type, lowerLimit, upperLimit, spacing); in AmBandDescriptor()
1019 BandConfig(int region, int type, int lowerLimit, int upperLimit, int spacing) { in BandConfig() argument
1020 mDescriptor = new BandDescriptor(region, type, lowerLimit, upperLimit, spacing); in BandConfig()
1159 FmBandConfig(int region, int type, int lowerLimit, int upperLimit, int spacing, in FmBandConfig() argument
1161 super(region, type, lowerLimit, upperLimit, spacing); in FmBandConfig()
[all …]
/aosp_15_r20/external/icu/icu4c/source/test/intltest/
H A Dcollationtest.cpp88 uint32_t lowerLimit, uint32_t upperLimit, int32_t n,
525 uint32_t lowerLimit, uint32_t upperLimit, int32_t n, in checkAllocWeights() argument
527 if(!cw.allocWeights(lowerLimit, upperLimit, n)) { in checkAllocWeights()
529 (long)lowerLimit, (long)upperLimit, (long)n); in checkAllocWeights()
532 uint32_t previous = lowerLimit; in checkAllocWeights()
539 (long)lowerLimit, (long)upperLimit, (long)n, (long)i); in checkAllocWeights()
545 (long)lowerLimit, (long)upperLimit, (long)n, in checkAllocWeights()
554 (long)lowerLimit, (long)upperLimit, (long)n, in checkAllocWeights()
851 uint32_t lowerLimit = in TestRootElements() local
853 if(!cw2.allocWeights(lowerLimit, sec, 1)) { in TestRootElements()
[all …]
/aosp_15_r20/external/cronet/third_party/icu/source/test/intltest/
H A Dcollationtest.cpp88 uint32_t lowerLimit, uint32_t upperLimit, int32_t n,
525 uint32_t lowerLimit, uint32_t upperLimit, int32_t n, in checkAllocWeights() argument
527 if(!cw.allocWeights(lowerLimit, upperLimit, n)) { in checkAllocWeights()
529 (long)lowerLimit, (long)upperLimit, (long)n); in checkAllocWeights()
532 uint32_t previous = lowerLimit; in checkAllocWeights()
539 (long)lowerLimit, (long)upperLimit, (long)n, (long)i); in checkAllocWeights()
545 (long)lowerLimit, (long)upperLimit, (long)n, in checkAllocWeights()
554 (long)lowerLimit, (long)upperLimit, (long)n, in checkAllocWeights()
851 uint32_t lowerLimit = in TestRootElements() local
853 if(!cw2.allocWeights(lowerLimit, sec, 1)) { in TestRootElements()
[all …]
/aosp_15_r20/external/zxing/core/src/main/java/com/google/zxing/qrcode/encoder/
H A DMinimalEncoder.java501 int lowerLimit; in ResultList() local
505 lowerLimit = 1; in ResultList()
509 lowerLimit = 10; in ResultList()
514 lowerLimit = 27; in ResultList()
525 …while (versionNumber > lowerLimit && Encoder.willFit(size, Version.getVersionForNumber(versionNumb… in ResultList()
/aosp_15_r20/external/lz4/tests/
H A DREADME.md27 If compression or decompression speed for one of lz4 levels is lower than `lowerLimit` (an optional…
28 If second results are also lower than `lowerLimit` the warning e-mail is sent to recipients from th…
56 --lowerLimit LOWERLIMIT
H A Dtest-lz4-speed.py96 args.lowerLimit, args.ratioLimit)
171 if (cspeed[i]/last_cspeed[i] < args.lowerLimit):
173 if (dspeed[i]/last_dspeed[i] < args.lowerLimit):
287 print("lowerLimit=%s" % args.lowerLimit)
/aosp_15_r20/external/libmpeg2/common/
H A Dimpeg2_macros.h39 #define IS_VAL_IN_RANGE(val,upperLimit,lowerLimit) ((val) >= (lowerLimit) && (val) <= (upperLimit)) argument
/aosp_15_r20/external/icu/libicu/cts_headers/
H A Dcollationweights.h67 UBool allocWeights(uint32_t lowerLimit, uint32_t upperLimit, int32_t n);
98 UBool getWeightRanges(uint32_t lowerLimit, uint32_t upperLimit);
/aosp_15_r20/prebuilts/runtime/mainline/i18n/test-exports/common_os/include/external/icu/icu4c/source/i18n/
H A Dcollationweights.h67 UBool allocWeights(uint32_t lowerLimit, uint32_t upperLimit, int32_t n);
98 UBool getWeightRanges(uint32_t lowerLimit, uint32_t upperLimit);
/aosp_15_r20/external/freetype/src/gxvalid/
H A Dgxvjust.c185 FT_Fixed lowerLimit; in gxv_just_actSubrecord_type0_validate() local
196 lowerLimit = FT_NEXT_LONG( p ); in gxv_just_actSubrecord_type0_validate()
205 if ( lowerLimit >= upperLimit ) in gxv_just_actSubrecord_type0_validate()
209 lowerLimit, upperLimit )); in gxv_just_actSubrecord_type0_validate()
/aosp_15_r20/external/zstd/tests/
H A DDEPRECATED-test-zstd-speed.py99 args.lowerLimit, args.ratioLimit)
182 if (cspeed[i]/last_cspeed[i] < args.lowerLimit):
184 if (dspeed[i]/last_dspeed[i] < args.lowerLimit):
314 print("lowerLimit=%s" % args.lowerLimit)
/aosp_15_r20/frameworks/base/services/core/jni/BroadcastRadio/
H A Dconvert.cpp84 jfieldID lowerLimit; member
428 region, config.type, config.lowerLimit, config.upperLimit, spacing, in BandDescriptorFromHal()
434 region, config.type, config.lowerLimit, config.upperLimit, spacing, am.stereo)); in BandDescriptorFromHal()
472 config.lowerLimit = env->GetIntField(jDescriptor, gjni.BandDescriptor.lowerLimit); in BandConfigToHal()
674 gjni.BandDescriptor.lowerLimit = GetFieldIDOrDie(env, bandDescriptorClass, "mLowerLimit", "I"); in register_android_server_broadcastradio_convert()
H A Dregions.cpp146 if (mLowerLimit < bandConfig.lowerLimit) return false; in fitsInsideBand()
158 config.lowerLimit = mLowerLimit; in withConfig()
/aosp_15_r20/external/armnn/src/armnnTestUtils/
H A DCommonTestUtils.hpp102 static constexpr DataType lowerLimit = std::numeric_limits<DataType>::min(); in GenerateRandomData() local
105 static Distribution distribution(lowerLimit, upperLimit); in GenerateRandomData()

1234567