Home
last modified time | relevance | path

Searched refs:upperLimit (Results 1 – 25 of 28) sorted by relevance

12

/external/cronet/third_party/protobuf/js/compatibility_tests/v3.1.0/binary/
Ddecoder_test.js60 writeValue, epsilon, upperLimit, filter) { argument
66 writeValue.call(encoder, filter(upperLimit));
69 for (var cursor = epsilon; cursor < upperLimit; cursor *= 1.1) {
78 assertEquals(filter(upperLimit), readValue.call(decoder));
81 for (var cursor = epsilon; cursor < upperLimit; cursor *= 1.1) {
87 assertThrows(function() {writeValue.call(encoder, upperLimit * 1.1);});
102 writeValue, epsilon, lowerLimit, upperLimit, filter) { argument
110 writeValue.call(encoder, filter(upperLimit));
122 for (var cursor = epsilon; cursor < upperLimit; cursor *= 1.1) {
135 assertEquals(filter(upperLimit), readValue.call(decoder));
[all …]
Dreader_test.js246 readField, writeField, epsilon, upperLimit, filter) { argument
255 writeField.call(writer, 3, filter(upperLimit));
258 for (var cursor = epsilon; cursor < upperLimit; cursor *= 1.1) {
275 assertEquals(filter(upperLimit), readField.call(reader));
278 for (var cursor = epsilon; cursor < upperLimit; cursor *= 1.1) {
298 readField, writeField, epsilon, lowerLimit, upperLimit, filter) { argument
306 writeField.call(writer, 5, filter(upperLimit));
318 for (var cursor = epsilon; cursor < upperLimit; cursor *= 1.1) {
345 assertEquals(filter(upperLimit), readField.call(reader));
578 var upperLimit = 256;
[all …]
/external/cronet/third_party/protobuf/js/compatibility_tests/v3.0.0/binary/
Ddecoder_test.js60 writeValue, epsilon, upperLimit, filter) { argument
66 writeValue.call(encoder, filter(upperLimit));
69 for (var cursor = epsilon; cursor < upperLimit; cursor *= 1.1) {
78 assertEquals(filter(upperLimit), readValue.call(decoder));
81 for (var cursor = epsilon; cursor < upperLimit; cursor *= 1.1) {
87 assertThrows(function() {writeValue.call(encoder, upperLimit * 1.1);});
102 writeValue, epsilon, lowerLimit, upperLimit, filter) { argument
110 writeValue.call(encoder, filter(upperLimit));
122 for (var cursor = epsilon; cursor < upperLimit; cursor *= 1.1) {
135 assertEquals(filter(upperLimit), readValue.call(decoder));
[all …]
Dreader_test.js202 writeField, epsilon, upperLimit, filter) { argument
211 writeField.call(writer, 3, filter(upperLimit));
214 for (var cursor = epsilon; cursor < upperLimit; cursor *= 1.1) {
231 assertEquals(filter(upperLimit), readField.call(reader));
234 for (var cursor = epsilon; cursor < upperLimit; cursor *= 1.1) {
254 writeField, epsilon, lowerLimit, upperLimit, filter) { argument
262 writeField.call(writer, 5, filter(upperLimit));
277 for (var cursor = epsilon; cursor < upperLimit; cursor *= 1.1) {
307 assertEquals(filter(upperLimit), readField.call(reader));
554 var upperLimit = 256;
[all …]
/external/cronet/third_party/protobuf/js/binary/
Ddecoder_test.js61 writeValue, epsilon, upperLimit, filter) { argument
67 writeValue.call(encoder, filter(upperLimit));
70 for (var cursor = epsilon; cursor < upperLimit; cursor *= 1.1) {
79 assertEquals(filter(upperLimit), readValue.call(decoder));
82 for (var cursor = epsilon; cursor < upperLimit; cursor *= 1.1) {
88 assertThrows(function() {writeValue.call(encoder, upperLimit * 1.1);});
103 writeValue, epsilon, lowerLimit, upperLimit, filter) { argument
111 writeValue.call(encoder, filter(upperLimit));
123 for (var cursor = epsilon; cursor < upperLimit; cursor *= 1.1) {
136 assertEquals(filter(upperLimit), readValue.call(decoder));
[all …]
Dreader_test.js247 readField, writeField, epsilon, upperLimit, filter) { argument
256 writeField.call(writer, 3, filter(upperLimit));
259 for (var cursor = epsilon; cursor < upperLimit; cursor *= 1.1) {
276 assertEquals(filter(upperLimit), readField.call(reader));
279 for (var cursor = epsilon; cursor < upperLimit; cursor *= 1.1) {
299 readField, writeField, epsilon, lowerLimit, upperLimit, filter) { argument
307 writeField.call(writer, 5, filter(upperLimit));
319 for (var cursor = epsilon; cursor < upperLimit; cursor *= 1.1) {
346 assertEquals(filter(upperLimit), readField.call(reader));
609 var upperLimit = 256;
[all …]
/external/cronet/third_party/icu/source/i18n/
Dcollationweights.cpp211 CollationWeights::getWeightRanges(uint32_t lowerLimit, uint32_t upperLimit) { in getWeightRanges() argument
213 U_ASSERT(upperLimit != 0); in getWeightRanges()
217 int32_t upperLength=lengthOfWeight(upperLimit); in getWeightRanges()
221 printf("length of upper limit 0x%08lx is %ld\n", upperLimit, upperLength); 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()
282 weight=upperLimit; in getWeightRanges()
497 CollationWeights::allocWeights(uint32_t lowerLimit, uint32_t upperLimit, int32_t n) { in allocWeights() argument
502 if(!getWeightRanges(lowerLimit, upperLimit)) { in allocWeights()
Dcollationweights.h67 UBool allocWeights(uint32_t lowerLimit, uint32_t upperLimit, int32_t n);
98 UBool getWeightRanges(uint32_t lowerLimit, uint32_t upperLimit);
/external/icu/icu4c/source/i18n/
Dcollationweights.cpp211 CollationWeights::getWeightRanges(uint32_t lowerLimit, uint32_t upperLimit) { in getWeightRanges() argument
213 U_ASSERT(upperLimit != 0); in getWeightRanges()
217 int32_t upperLength=lengthOfWeight(upperLimit); in getWeightRanges()
221 printf("length of upper limit 0x%08lx is %ld\n", upperLimit, upperLength); 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()
282 weight=upperLimit; in getWeightRanges()
497 CollationWeights::allocWeights(uint32_t lowerLimit, uint32_t upperLimit, int32_t n) { in allocWeights() argument
502 if(!getWeightRanges(lowerLimit, upperLimit)) { in allocWeights()
Dcollationweights.h67 UBool allocWeights(uint32_t lowerLimit, uint32_t upperLimit, int32_t n);
98 UBool getWeightRanges(uint32_t lowerLimit, uint32_t upperLimit);
/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/
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
291 assert(upperLimit != 0); in getWeightRanges()
295 int upperLength=lengthOfWeight(upperLimit); in getWeightRanges()
302 if(lowerLimit>=upperLimit) { in getWeightRanges()
309 if(lowerLimit==truncateWeight(upperLimit, lowerLength)) { in getWeightRanges()
354 weight=upperLimit; in getWeightRanges()
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
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
289 assert(upperLimit != 0); in getWeightRanges()
293 int upperLength=lengthOfWeight(upperLimit); in getWeightRanges()
300 if(lowerLimit>=upperLimit) { in getWeightRanges()
307 if(lowerLimit==truncateWeight(upperLimit, lowerLength)) { in getWeightRanges()
352 weight=upperLimit; in getWeightRanges()
/external/icu/libicu/cts_headers/
Dcollationweights.h67 UBool allocWeights(uint32_t lowerLimit, uint32_t upperLimit, int32_t n);
98 UBool getWeightRanges(uint32_t lowerLimit, uint32_t upperLimit);
/external/libmpeg2/common/
Dimpeg2_macros.h39 #define IS_VAL_IN_RANGE(val,upperLimit,lowerLimit) ((val) >= (lowerLimit) && (val) <= (upperLimit)) argument
/external/armnn/src/armnnTestUtils/
DCommonTestUtils.hpp103 static constexpr DataType upperLimit = std::numeric_limits<DataType>::max(); in GenerateRandomData() local
105 static Distribution distribution(lowerLimit, upperLimit); in GenerateRandomData()
/external/armnn/src/armnnSerializer/test/
DSerializerTestUtils.hpp160 static constexpr DataType upperLimit = std::numeric_limits<DataType>::max(); in GenerateRandomData() local
162 static Distribution distribution(lowerLimit, upperLimit); in GenerateRandomData()
/external/freetype/src/gxvalid/
Dgxvjust.c186 FT_Fixed upperLimit; in gxv_just_actSubrecord_type0_validate() local
197 upperLimit = 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()
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
DCollationTest.java554 private void checkAllocWeights(CollationWeights cw, long lowerLimit, long upperLimit, in checkAllocWeights() argument
557 if (!cw.allocWeights(lowerLimit, upperLimit, n)) { in checkAllocWeights()
560 + Utility.hex(upperLimit) + "," in checkAllocWeights()
571 + Utility.hex(upperLimit) + ",0x" in checkAllocWeights()
576 if (!(previous < w && w < upperLimit)) { in checkAllocWeights()
579 + Utility.hex(upperLimit) + "," in checkAllocWeights()
584 + Utility.hex(upperLimit)); in checkAllocWeights()
594 + Utility.hex(upperLimit) + "," in checkAllocWeights()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/
DCollationTest.java557 private void checkAllocWeights(CollationWeights cw, long lowerLimit, long upperLimit, in checkAllocWeights() argument
560 if (!cw.allocWeights(lowerLimit, upperLimit, n)) { in checkAllocWeights()
563 + Utility.hex(upperLimit) + "," in checkAllocWeights()
574 + Utility.hex(upperLimit) + ",0x" in checkAllocWeights()
579 if (!(previous < w && w < upperLimit)) { in checkAllocWeights()
582 + Utility.hex(upperLimit) + "," in checkAllocWeights()
587 + Utility.hex(upperLimit)); in checkAllocWeights()
597 + Utility.hex(upperLimit) + "," in checkAllocWeights()
/external/webrtc/modules/audio_processing/agc/legacy/
Danalog_agc.h70 int32_t upperLimit; // Upper limit for mic energy member
Danalog_agc.cc441 stt->upperLimit = stt->startUpperLimit; in WebRtcAgc_UpdateAgcThresholds()
691 stt->upperLimit = stt->startUpperLimit; in WebRtcAgc_ProcessAnalog()
786 } else if (stt->Rxx160_LPw32 > stt->upperLimit) { in WebRtcAgc_ProcessAnalog()
900 stt->upperLimit = stt->upperPrimaryLimit; in WebRtcAgc_ProcessAnalog()
/external/icu/icu4c/source/test/intltest/
Dcollationtest.cpp87 uint32_t lowerLimit, uint32_t upperLimit, int32_t n,
508 uint32_t lowerLimit, uint32_t upperLimit, int32_t n, in checkAllocWeights() argument
510 if(!cw.allocWeights(lowerLimit, upperLimit, n)) { in checkAllocWeights()
512 (long)lowerLimit, (long)upperLimit, (long)n); in checkAllocWeights()
522 (long)lowerLimit, (long)upperLimit, (long)n, (long)i); in checkAllocWeights()
525 if(!(previous < w && w < upperLimit)) { in checkAllocWeights()
528 (long)lowerLimit, (long)upperLimit, (long)n, in checkAllocWeights()
529 (long)(i + 1), (long)w, (long)previous, (long)upperLimit); in checkAllocWeights()
537 (long)lowerLimit, (long)upperLimit, (long)n, in checkAllocWeights()
/external/cronet/third_party/icu/source/test/intltest/
Dcollationtest.cpp87 uint32_t lowerLimit, uint32_t upperLimit, int32_t n,
508 uint32_t lowerLimit, uint32_t upperLimit, int32_t n, in checkAllocWeights() argument
510 if(!cw.allocWeights(lowerLimit, upperLimit, n)) { in checkAllocWeights()
512 (long)lowerLimit, (long)upperLimit, (long)n); in checkAllocWeights()
522 (long)lowerLimit, (long)upperLimit, (long)n, (long)i); in checkAllocWeights()
525 if(!(previous < w && w < upperLimit)) { in checkAllocWeights()
528 (long)lowerLimit, (long)upperLimit, (long)n, in checkAllocWeights()
529 (long)(i + 1), (long)w, (long)previous, (long)upperLimit); in checkAllocWeights()
537 (long)lowerLimit, (long)upperLimit, (long)n, in checkAllocWeights()
/external/harfbuzz_ng/src/
Dhb-aat-layout-just-table.hh75 F16DOT16 upperLimit; /* If the distance factor is greater than this value, member
/external/aac/libSBRdec/src/
Denv_dec.cpp608 #define upperLimit \ in limitNoiseLevels() macro
616 fixMin(h_sbr_data->sbrNoiseFloorLevel[i], upperLimit); in limitNoiseLevels()

12