| /external/jacoco/org.jacoco.report.test/src/org/jacoco/report/check/ |
| D | LimitTest.java | 26 * Unit tests for {@link Limit}. 30 private Limit limit; field in LimitTest 34 limit = new Limit(); in setup() 39 assertNull(limit.getMinimum()); in default_should_define_no_limits() 40 assertNull(limit.getMaximum()); in default_should_define_no_limits() 45 assertEquals(CounterEntity.INSTRUCTION, limit.getEntity()); in default_should_check_coverageratio_on_instructions() 46 assertEquals(CounterValue.COVEREDRATIO, limit.getValue()); in default_should_check_coverageratio_on_instructions() 51 limit.setValue(CounterValue.TOTALCOUNT.name()); in check_should_fail_on_value_totalcount() 52 limit.setMaximum("-1"); in check_should_fail_on_value_totalcount() 53 assertEquals(CounterValue.TOTALCOUNT, limit.getValue()); in check_should_fail_on_value_totalcount() [all …]
|
| /external/rust/crates/rusqlite/src/ |
| D | limits.rs | 6 /// Run-Time limit categories, for use with [`Connection::limit`] and 16 pub enum Limit { enum 49 /// Returns the current value of a [`Limit`]. 52 pub fn limit(&self, limit: Limit) -> i32 { in limit() method 54 unsafe { ffi::sqlite3_limit(c.db(), limit as c_int, -1) } in limit() 57 /// Changes the [`Limit`] to `new_val`, returning the prior 58 /// value of the limit. 61 pub fn set_limit(&self, limit: Limit, new_val: i32) -> i32 { in set_limit() argument 63 unsafe { ffi::sqlite3_limit(c.db(), limit as c_int, new_val) } in set_limit() 75 Limit::SQLITE_LIMIT_LENGTH as i32, in test_limit_values() [all …]
|
| /external/rust/crates/vulkano/src/pipeline/layout/ |
| D | limits_check.rs | 79 limit: properties.max_bound_descriptor_sets as usize, in check_desc_against_limits() 87 limit: properties.max_per_stage_resources, in check_desc_against_limits() 96 limit: properties.max_per_stage_descriptor_samplers, in check_desc_against_limits() 106 limit: properties.max_per_stage_descriptor_uniform_buffers, in check_desc_against_limits() 116 limit: properties.max_per_stage_descriptor_storage_buffers, in check_desc_against_limits() 126 limit: properties.max_per_stage_descriptor_sampled_images, in check_desc_against_limits() 136 limit: properties.max_per_stage_descriptor_storage_images, in check_desc_against_limits() 147 limit: properties in check_desc_against_limits() 157 limit: properties.max_descriptor_set_samplers, in check_desc_against_limits() 165 limit: properties.max_descriptor_set_uniform_buffers, in check_desc_against_limits() [all …]
|
| /external/webrtc/api/audio/ |
| D | echo_canceller3_config.cc | 20 bool Limit(float* value, float min, float max) { in Limit() function 28 bool Limit(size_t* value, size_t min, size_t max) { in Limit() function 35 bool Limit(int* value, int min, int max) { in Limit() function 111 res = res & Limit(&c->delay.default_delay, 0, 5000); in Validate() 112 res = res & Limit(&c->delay.num_filters, 0, 5000); in Validate() 113 res = res & Limit(&c->delay.delay_headroom_samples, 0, 5000); in Validate() 114 res = res & Limit(&c->delay.hysteresis_limit_blocks, 0, 5000); in Validate() 115 res = res & Limit(&c->delay.fixed_capture_delay_samples, 0, 5000); in Validate() 116 res = res & Limit(&c->delay.delay_estimate_smoothing, 0.f, 1.f); in Validate() 117 res = res & Limit(&c->delay.delay_candidate_detection_threshold, 0.f, 1.f); in Validate() [all …]
|
| /external/v4l2_codec2/ |
| D | README.md | 104 <Limit name="size" min="32x32" max="1920x1088" /> 105 <Limit name="alignment" value="2x2" /> 106 <Limit name="block-size" value="16x16" /> 107 <Limit name="blocks-per-second" range="1-244800" /> 108 <Limit name="bitrate" range="1-12000000" /> 109 <Limit name="concurrent-instances" max="8" /> 110 <Limit name="performance-point-1280x720" range="30-30" /> 114 <Limit name="size" min="32x32" max="1920x1088" /> 115 <Limit name="alignment" value="2x2" /> 116 <Limit name="block-size" value="16x16" /> [all …]
|
| /external/cldr/tools/cldr-code/src/main/resources/org/unicode/cldr/util/data/test/ |
| D | widthSpecification.xml | 10 <!-- .add("//ldml/delimiters/(quotation|alternateQuotation)", new Limit[] 11 { new Limit(1, 1, Measure.CODE_POINTS, LimitType.MAXIMUM, Special.NONE) }) --> 15 <limit>MAXIMUM</limit> 21 new Limit[] { new Limit(1, 1, Measure.CODE_POINTS, LimitType.MAXIMUM, Special.NUMBERSYMBOLS) 26 <limit>MAXIMUM</limit> 33 new Limit[] { new Limit(2 * EM, 5 * EM, Measure.DISPLAY_WIDTH, LimitType.MAXIMUM, 38 <limit>MAXIMUM</limit> 43 <!-- .add("//ldml/localeDisplayNames/localeDisplayPattern/", new Limit[] 44 { // {0}: {1}, {0} ({1}), , new Limit(2 * EM, 3 * EM, Measure.DISPLAY_WIDTH, 49 <limit>MAXIMUM</limit> [all …]
|
| /external/libcups/conf/ |
| D | cupsd.conf.in | 58 <Limit Create-Job Print-Job Print-URI Validate-Job> 60 </Limit> 62 …<Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Creat… 65 </Limit> 68 …<Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Se… 72 </Limit> 75 …<Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job… 79 </Limit> 82 <Limit Cancel-Job CUPS-Authenticate-Job> 85 </Limit> [all …]
|
| /external/ImageMagick/MagickCore/ |
| D | resource.c | 129 MAGICK_SSIZE_MAX/sizeof(Quantum)/5,/* width limit */ 130 MAGICK_SSIZE_MAX/sizeof(Quantum)/5,/* height limit */ 131 MagickResourceInfinity, /* list length limit */ 132 MagickULLConstant(3072)*1024*1024, /* area limit */ 133 MagickULLConstant(1536)*1024*1024, /* memory limit */ 134 MagickULLConstant(3072)*1024*1024, /* map limit */ 135 MagickResourceInfinity, /* disk limit */ 136 MagickULLConstant(768), /* file limit */ 137 MagickULLConstant(1), /* thread limit */ 138 MagickULLConstant(0), /* throttle limit */ [all …]
|
| /external/okio/okio/src/commonMain/kotlin/okio/internal/ |
| D | Buffer.kt | 59 var segmentLimit = segment.limit in <lambda>() 68 segmentLimit = segment.limit in <lambda>() 114 offset -= (s.limit - s.pos).toLong() in seek() 121 val nextOffset = offset + (s.limit - s.pos) in seek() 148 var limit = head.limit in selectPrefix() variable 178 if (pos == limit) { in selectPrefix() 182 limit = s.limit in selectPrefix() 211 if (pos == limit) { in selectPrefix() 215 limit = s.limit in selectPrefix() 248 while (offset >= s!!.limit - s.pos) { in commonCopyTo() [all …]
|
| /external/python/cpython2/Lib/ |
| D | traceback.py | 46 def print_tb(tb, limit=None, file=None): argument 47 """Print up to 'limit' stack trace entries from the traceback 'tb'. 49 If 'limit' is omitted or None, all entries are printed. If 'file' 56 if limit is None: 58 limit = sys.tracebacklimit 60 while tb is not None and (limit is None or n < limit): 74 def format_tb(tb, limit = None): argument 75 """A shorthand for 'format_list(extract_tb(tb, limit))'.""" 76 return format_list(extract_tb(tb, limit)) 78 def extract_tb(tb, limit = None): argument [all …]
|
| /external/icu/icu4c/source/layoutex/layout/ |
| D | RunArrays.h | 45 * maintains an array of limit indices into the text, subclasses 55 * array of limit indices. 57 * @param limits is an array of limit indices. This array must remain 60 * @param count is the number of entries in the limit array. 67 * Construct an empty <code>RunArray</code> object. Clients can add limit 70 * @param initialCapacity is the initial size of the limit indices array. If 87 * Get the number of entries in the limit indices array. 89 * @return the number of entries in the limit indices array. 96 * Reset the limit indices array. This method sets the number of entries in the 97 * limit indices array to zero. It does not delete the array. [all …]
|
| D | plruns.h | 48 * and limit indices. 54 * @param limits is the address of an array of limit indices. This array must remain valid until 67 * Construct an empty <code>pl_fontRuns</code> object. Clients can add font and limit 70 * @param initialCapacity is the initial size of the font and limit indices arrays. If 96 * @return the number of entries in the limit indices array. 114 * Get the limit index for the last font run. This is the 119 * @return the last limit index. 127 * Get the limit index for a particular font run. 130 * @param run is the run. This is an index into the limit index array. 132 * @return the limit index for the run, or -1 if <code>run</code> is out of bounds. [all …]
|
| /external/pcre/testdata/ |
| D | testoutput15 | 14 Failed: error -63: heap limit exceeded 22 Minimum match limit = 7 23 Minimum depth limit = 7 27 Minimum match limit = 20481 28 Minimum depth limit = 30 36 Minimum match limit = 64 37 Minimum depth limit = 7 43 Minimum match limit = 5 44 Minimum depth limit = 3 47 Minimum match limit = 12 [all …]
|
| /external/libchrome/mojo/core/ |
| D | quota_unittest.cc | 38 uint64_t limit = 0; in TEST_F() local 41 MojoQueryQuota(message_pipe0, kInvalidQuotaType, nullptr, &limit, in TEST_F() 47 &kInvalidQueryQuotaOptions, &limit, &usage)); in TEST_F() 74 uint64_t limit = 0; in TEST_F() local 78 &limit, &usage)); in TEST_F() 79 EXPECT_EQ(MOJO_QUOTA_LIMIT_NONE, limit); in TEST_F() 89 &limit, &usage)); in TEST_F() 90 EXPECT_EQ(kTestLimit, limit); in TEST_F() 99 &limit, &usage)); in TEST_F() 100 EXPECT_EQ(kTestLimit, limit); in TEST_F() [all …]
|
| /external/arm-optimized-routines/string/aarch64/ |
| D | strncmp.S | 22 #define limit x2 macro 61 cbz limit, L(ret0) 77 subs limit, limit, #8 90 add limit, limit, 8 /* Rewind limit to before last subs. */ 92 /* Limit was reached. Check if the NUL byte or the difference 93 is before the limit. */ 99 cmp limit, pos, lsr #3 108 /* Not reached the limit, must have found the end or a diff. */ 109 tbz limit, #63, L(not_limit) 110 add tmp1, limit, 8 [all …]
|
| D | memcmp.S | 16 #define limit x2 macro 37 cmp limit, 16 45 add src1end, src1, limit 46 add src2end, src2, limit 47 cmp limit, 32 49 cmp limit, 160 51 sub limit, limit, 32 60 cmp limit, 16 71 subs limit, limit, 32 96 add src1end, src1, limit [all …]
|
| /external/cldr/tools/cldr-code/src/main/java/org/unicode/cldr/test/ |
| D | CheckWidths.java | 64 private static class Limit { class in CheckWidths 67 final LimitType limit; field in CheckWidths.Limit 74 …public Limit(double warningReference, double errorReference, Measure measure, LimitType limit, Spe… in Limit() argument 78 this.limit = limit; in Limit() 81 switch (limit) { in Limit() 118 … public Limit(double d, double e, Measure displayWidth, LimitType maximum, Special placeholders) { in Limit() method in CheckWidths.Limit 151 switch (limit) { in hasProblem() 190 static RegexLookup<Limit[]> lookup = new RegexLookup<Limit[]>() 195 .add("//ldml/delimiters/(quotation|alternateQuotation)", new Limit[] { 196 new Limit(1, 1, Measure.CODE_POINTS, LimitType.MAXIMUM, Special.NONE) [all …]
|
| /external/arm-optimized-routines/math/test/rtest/ |
| D | random.c | 44 * 0,...,limit-1. (Precondition: limit > 0.) 60 static uint32 random_upto_makemask(uint32 limit) { in random_upto_makemask() argument 64 if ((limit & (mask >> i)) == limit) in random_upto_makemask() 69 static uint32 random_upto_internal(uint32 limit, uint32 mask) { in random_upto_internal() argument 73 } while (ret > limit); in random_upto_internal() 77 uint32 random_upto(uint32 limit) { in random_upto() argument 78 uint32 mask = random_upto_makemask(limit); in random_upto() 79 return random_upto_internal(limit, mask); in random_upto() 82 uint32 random_upto_biased(uint32 limit, int bias) { in random_upto_biased() argument 83 uint32 mask = random_upto_makemask(limit); in random_upto_biased() [all …]
|
| /external/linux-kselftest/tools/testing/selftests/net/forwarding/ |
| D | sch_red.sh | 57 rate 10Mbit burst 10K limit 1M 103 rate 10Mbit burst 10K limit 1M 256 local limit=$1; shift 260 # Build the below-the-limit backlog using UDP. We could use TCP just 262 # length is below the limit. The main stream is using TCP, and if the 263 # limit is misconfigured, we would see this traffic being ECN marked. 265 backlog=$(build_backlog $((2 * limit / 3)) udp) 268 check_err $? "backlog $backlog / $limit Got $pct% marked packets, expected == 0." 269 log_test "$name backlog < limit" 272 # backlog crosses the limit, and we want to make sure that the backlog [all …]
|
| /external/deqp/external/openglcts/modules/gl/ |
| D | gl4cLimitsTests.cpp | 33 struct Limit struct 75 static const Limit<GLint> intLimits[] = in init() 211 static const Limit<GLint64> int64Limits[] = in init() 217 static const Limit<GLuint64> uint64Limits[] = in init() 222 static const Limit<GLfloat> floatLimits[] = in init() 229 static const Limit<tcu::IVec3> ivec3Limits[] = in init() 237 const Limit<GLint>& limit = intLimits[idx]; in init() local 238 …ld(new glcts::LimitCase<GLint>(m_context, limit.name, limit.token, limit.boundry, limit.isMaximum,… in init() 243 const Limit<GLint64>& limit = int64Limits[idx]; in init() local 244 …(new glcts::LimitCase<GLint64>(m_context, limit.name, limit.token, limit.boundry, limit.isMaximum,… in init() [all …]
|
| /external/icu/icu4c/source/common/ |
| D | bmpset.cpp | 68 * start<limit<=0x800 70 static void set32x64Bits(uint32_t table[64], int32_t start, int32_t limit) { in set32x64Bits() argument 71 U_ASSERT(start<limit); in set32x64Bits() 72 U_ASSERT(limit<=0x800); in set32x64Bits() 79 if((start+1)==limit) { // Single-character shortcut. in set32x64Bits() 84 int32_t limitLead=limit>>6; in set32x64Bits() 85 int32_t limitTrail=limit&0x3f; in set32x64Bits() 111 // limit<=0x800. If limit==0x800 then limitLead=32 and limitTrail=0. in set32x64Bits() 122 UChar32 start, limit; in initBits() local 129 limit=list[listIndex++]; in initBits() [all …]
|
| /external/cronet/third_party/icu/source/common/ |
| D | bmpset.cpp | 68 * start<limit<=0x800 70 static void set32x64Bits(uint32_t table[64], int32_t start, int32_t limit) { in set32x64Bits() argument 71 U_ASSERT(start<limit); in set32x64Bits() 72 U_ASSERT(limit<=0x800); in set32x64Bits() 79 if((start+1)==limit) { // Single-character shortcut. in set32x64Bits() 84 int32_t limitLead=limit>>6; in set32x64Bits() 85 int32_t limitTrail=limit&0x3f; in set32x64Bits() 111 // limit<=0x800. If limit==0x800 then limitLead=32 and limitTrail=0. in set32x64Bits() 122 UChar32 start, limit; in initBits() local 129 limit=list[listIndex++]; in initBits() [all …]
|
| /external/python/cpython2/Tools/scripts/ |
| D | find_recursionlimit.py | 2 """Find the maximum recursion limit that prevents interpreter termination. 4 This script finds the maximum safe recursion limit on a particular 5 platform. If you need to change the recursion limit on your system, 6 this script will tell you a safe upper bound. To use the new limit, 15 "Limit of NNNN is fine". 18 safe limit for your system (which depends on the OS, architecture, but also 29 NB: A program that does not use __methods__ can set a higher limit. 107 limit = 1000 variable 109 check_limit(limit, "test_recurse") 110 check_limit(limit, "test_add") [all …]
|
| /external/python/cpython3/Tools/scripts/ |
| D | find_recursionlimit.py | 2 """Find the maximum recursion limit that prevents interpreter termination. 4 This script finds the maximum safe recursion limit on a particular 5 platform. If you need to change the recursion limit on your system, 6 this script will tell you a safe upper bound. To use the new limit, 15 "Limit of NNNN is fine". 18 safe limit for your system (which depends on the OS, architecture, but also 29 NB: A program that does not use __methods__ can set a higher limit. 117 limit = 1000 variable 119 check_limit(limit, "test_recurse") 120 check_limit(limit, "test_add") [all …]
|
| /external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/common/src/main/java/com/google/android/exoplayer2/util/ |
| D | ParsableByteArray.java | 32 // TODO(internal b/147657250): Enforce this limit on all read methods. 33 private int limit; field in ParsableByteArray 41 * Creates a new instance with {@code limit} bytes and sets the limit. 43 * @param limit The limit to set. 45 public ParsableByteArray(int limit) { in ParsableByteArray() argument 46 this.data = new byte[limit]; in ParsableByteArray() 47 this.limit = limit; in ParsableByteArray() 51 * Creates a new instance wrapping {@code data}, and sets the limit to {@code data.length}. 57 limit = data.length; in ParsableByteArray() 64 * @param limit The limit to set. [all …]
|