/third_party/boost/libs/config/test/ |
D | limits_test.cpp | 78 typedef std::numeric_limits<T> lim; in test_integral_limits() typedef 81 << " min: " << make_char_numeric_for_streaming((lim::min)()) in test_integral_limits() 82 << ", max: " << make_char_numeric_for_streaming((lim::max)()) in test_integral_limits() 85 BOOST_TEST(static_cast<bool>(lim::is_specialized)); in test_integral_limits() 86 BOOST_TEST(static_cast<bool>(lim::is_integer)); in test_integral_limits() 88 BOOST_TEST(static_cast<bool>((lim::min)() < (lim::max)())); in test_integral_limits() 108 typedef std::numeric_limits<T> lim; in test_float_limits() typedef 110 BOOST_TEST(static_cast<bool>(lim::is_specialized)); in test_float_limits() 111 BOOST_TEST(static_cast<bool>(!lim::is_modulo)); in test_float_limits() 112 BOOST_TEST(static_cast<bool>(!lim::is_integer)); in test_float_limits() [all …]
|
/third_party/boost/boost/wave/cpplexer/re2clex/ |
D | cpp_re.hpp | 42 limit = uchar_wrapper (s->lim); \ 54 s->lim = limit; \ 63 if (s->cur > s->lim) \ 182 if (NULL == s->lim) in fill() 183 s->lim = s->top; in fill() 184 memmove(s->bot, s->tok, s->lim - s->tok); in fill() 188 s->lim -= cnt; in fill() 192 if((s->top - s->lim) < BOOST_WAVE_BSIZE) in fill() 194 uchar *buf = (uchar*) malloc(((s->lim - s->bot) + BOOST_WAVE_BSIZE)*sizeof(uchar)); in fill() 205 memmove(buf, s->tok, s->lim - s->tok); in fill() [all …]
|
/third_party/musl/libc-test/src/regression/ |
D | rlimit-open-files.c | 11 static const long lim = 42; in main() local 16 rl.rlim_max = lim; in main() 17 rl.rlim_cur = lim; in main() 19 t_error("setrlimit(%d, %ld) failed: %s\n", r, lim, strerror(errno)); in main() 22 if (rl.rlim_max != lim || rl.rlim_cur != lim) in main() 23 …limit %d says cur=%ld,max=%ld after setting the limit to %ld\n", r, rl.rlim_cur, rl.rlim_max, lim); in main() 29 if (maxfd+1 != lim) in main() 30 t_error("more fds are open than rlimit allows: fd=%d, limit=%d\n", maxfd, lim); in main()
|
/third_party/boost/libs/wave/samples/waveidl/idllexer/ |
D | idl_re.hpp | 47 #define YYLIMIT s->lim 176 memcpy(s->bot, s->tok, s->lim - s->tok); in fill() 180 s->lim -= cnt; in fill() 184 if((s->top - s->lim) < BOOST_WAVE_BSIZE) in fill() 186 uchar *buf = (uchar*) malloc(((s->lim - s->bot) + BOOST_WAVE_BSIZE)*sizeof(uchar)); in fill() 203 memcpy(buf, s->tok, s->lim - s->tok); in fill() 207 s->lim = &buf[s->lim - s->bot]; in fill() 208 s->top = &s->lim[BOOST_WAVE_BSIZE]; in fill() 216 uchar * dst = s->lim; in fill() 222 s->eof = &s->lim[cnt]; in fill() [all …]
|
/third_party/musl/libc-test/src/functionalext/supplement/linux/ |
D | prlimit.c | 27 static const unsigned long long lim = 4; in prlimit_0100() local 28 struct rlimit new_limit = {.rlim_cur = lim, .rlim_max = lim}; in prlimit_0100() 36 EXPECT_LONGLONGEQ("prlimit_0100", old_limit.rlim_cur, lim); in prlimit_0100() 37 EXPECT_LONGLONGEQ("prlimit_0100", old_limit.rlim_max, lim); in prlimit_0100() 47 static const unsigned long long lim = 4; in prlimit_0200() local 48 struct rlimit new_limit = {.rlim_cur = lim, .rlim_max = lim}; in prlimit_0200() 53 new_limit.rlim_cur = lim + 1; in prlimit_0200()
|
/third_party/boost/boost/geometry/srs/projections/impl/ |
D | pj_gridinfo.hpp | 112 ilp_t lim; // limits of conversion matrix member 120 std::swap(lim, r.lim); in swap() 202 std::size_t a_size = ct.lim.lam * ct.lim.phi; in pj_gridinfo_load_ctable() 233 std::size_t a_size = ct.lim.lam * ct.lim.phi; in pj_gridinfo_load_ctable2() 270 std::size_t const r_size = gi.ct.lim.lam * 2; in pj_gridinfo_load_ntv1() 276 gi.ct.cvs.resize(gi.ct.lim.lam * gi.ct.lim.phi); in pj_gridinfo_load_ntv1() 278 for (boost::int32_t row = 0; row < gi.ct.lim.phi; row++ ) in pj_gridinfo_load_ntv1() 292 for (boost::int32_t i = 0; i < gi.ct.lim.lam; i++ ) in pj_gridinfo_load_ntv1() 294 pj_ctable::flp_t & cvs = gi.ct.cvs[row * gi.ct.lim.lam + (gi.ct.lim.lam - i - 1)]; in pj_gridinfo_load_ntv1() 320 std::size_t const r_size = gi.ct.lim.lam * 4; in pj_gridinfo_load_ntv2() [all …]
|
/third_party/musl/libc-test/src/common/ |
D | setrlim.c | 6 int t_setrlim(int r, long lim) in t_setrlim() argument 14 if (lim > rl.rlim_max) in t_setrlim() 16 if (lim == rl.rlim_max && lim == rl.rlim_cur) in t_setrlim() 18 rl.rlim_max = lim; in t_setrlim() 19 rl.rlim_cur = lim; in t_setrlim() 21 t_error("setrlimit(%d, %ld): %s\n", r, lim, strerror(errno)); in t_setrlim()
|
/third_party/libwebsockets/lib/roles/mqtt/ |
D | primitives.c | 146 lws_mqtt_str_init(lws_mqtt_str_t *s, uint8_t *buf, uint16_t lim, char nf) in lws_mqtt_str_init() argument 151 s->limit = lim; in lws_mqtt_str_init() 157 lws_mqtt_str_create(uint16_t lim) in lws_mqtt_str_create() argument 159 lws_mqtt_str_t *s = lws_malloc(sizeof(*s) + lim + 1, __func__); in lws_mqtt_str_create() 167 s->limit = lim; in lws_mqtt_str_create() 175 lws_mqtt_str_create_init(uint8_t *buf, uint16_t len, uint16_t lim) in lws_mqtt_str_create_init() argument 179 if (!lim) in lws_mqtt_str_create_init() 180 lim = len; in lws_mqtt_str_create_init() 182 s = lws_mqtt_str_create(lim); in lws_mqtt_str_create_init() 197 lws_mqtt_str_create_cstr_dup(const char *buf, uint16_t lim) in lws_mqtt_str_create_cstr_dup() argument [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/texture/ |
D | vktTextureConversionTests.cpp | 70 static int lim (const tcu::TextureFormat& format, 99 , m_a (lim(m_inFormat, 0), lim(m_inFormat, 1)+2, lim(m_inFormat, 2), lim(m_inFormat, 3)+2) in SnormLinearClampInstance() 100 , m_b (lim(m_inFormat, 0)+2, lim(m_inFormat, 1), lim(m_inFormat, 2)+2, lim(m_inFormat, 3) ) in SnormLinearClampInstance() 101 , m_c (lim(m_inFormat, 0)+1, lim(m_inFormat, 1)+1, lim(m_inFormat, 2)+1, lim(m_inFormat, 3)+1) in SnormLinearClampInstance() 102 , m_d (lim(m_inFormat, 0), lim(m_inFormat, 1), lim(m_inFormat, 2), lim(m_inFormat, 3) ) in SnormLinearClampInstance() 132 int SnormLinearClampInstance::lim (const tcu::TextureFormat& format, int channelIdx) in lim() function in vkt::texture::__anonaae3cf3f0111::SnormLinearClampInstance 157 lookupPrec.colorThreshold = tcu::Vec4(0.9f/float(-lim(m_inFormat, 0)), in verifyPixels() 158 0.9f/float(-lim(m_inFormat, 1)), in verifyPixels() 159 0.9f/float(-lim(m_inFormat, 2)), in verifyPixels() 160 0.9f/float(-lim(m_inFormat, 3))); in verifyPixels()
|
/third_party/musl/porting/liteos_m/kernel/src/internal/ |
D | intscan.c | 26 unsigned long long __intscan(FILE *f, unsigned base, int pok, unsigned long long lim) in __intscan() argument 85 y = lim; in __intscan() 86 if (lim&1) neg = 0; in __intscan() 90 if (y>=lim) { in __intscan() 91 if (!(lim&1) && !neg) { in __intscan() 93 return lim-1; in __intscan() 94 } else if (y>lim) { in __intscan() 96 return lim; in __intscan()
|
D | shgetc.c | 8 void __shlim(FILE *f, off_t lim) in __shlim() argument 10 f->shlim = lim; in __shlim() 13 if (lim && f->rend - f->rpos > lim) in __shlim() 14 f->shend = f->rpos + lim; in __shlim()
|
/third_party/musl/porting/liteos_a/kernel/src/internal/ |
D | intscan.c | 26 unsigned long long __intscan(FILE *f, unsigned base, int pok, unsigned long long lim) in __intscan() argument 85 y = lim; in __intscan() 86 if (lim&1) neg = 0; in __intscan() 90 if (y>=lim) { in __intscan() 91 if (!(lim&1) && !neg) { in __intscan() 93 return lim-1; in __intscan() 94 } else if (y>lim) { in __intscan() 96 return lim; in __intscan()
|
D | shgetc.c | 8 void __shlim(FILE *f, off_t lim) in __shlim() argument 10 f->shlim = lim; in __shlim() 13 if (lim && f->rend - f->rpos > lim) in __shlim() 14 f->shend = f->rpos + lim; in __shlim()
|
/third_party/musl/src/internal/ |
D | intscan.c | 26 unsigned long long __intscan(FILE *f, unsigned base, int pok, unsigned long long lim) in __intscan() argument 85 y = lim; in __intscan() 86 if (lim&1) neg = 0; in __intscan() 90 if (y>=lim) { in __intscan() 91 if (!(lim&1) && !neg) { in __intscan() 93 return lim-1; in __intscan() 94 } else if (y>lim) { in __intscan() 96 return lim; in __intscan()
|
D | shgetc.c | 8 void __shlim(FILE *f, off_t lim) in __shlim() argument 10 f->shlim = lim; in __shlim() 13 if (lim && f->rend - f->rpos > lim) in __shlim() 14 f->shend = f->rpos + lim; in __shlim()
|
/third_party/musl/porting/uniproton/kernel/src/internal/ |
D | intscan.c | 26 unsigned long long __intscan(FILE *f, unsigned base, int pok, unsigned long long lim) in __intscan() argument 85 y = lim; in __intscan() 86 if (lim&1) neg = 0; in __intscan() 90 if (y>=lim) { in __intscan() 91 if (!(lim&1) && !neg) { in __intscan() 93 return lim-1; in __intscan() 94 } else if (y>lim) { in __intscan() 96 return lim; in __intscan()
|
D | shgetc.c | 8 void __shlim(FILE *f, off_t lim) in __shlim() argument 10 f->shlim = lim; in __shlim() 13 if (lim && f->rend - f->rpos > lim) in __shlim() 14 f->shend = f->rpos + lim; in __shlim()
|
/third_party/ltp/testcases/kernel/controllers/pids/ |
D | pids.sh | 182 lim=$((max + 2)) 183 tst_res TINFO "limit the number of avalaible pid to $lim" 184 ROD echo $lim \> $testpath/pids.max 231 lim=$((max - 1)) 232 ROD echo $lim \> $testpath/pids.max 252 lim=$((max / subcgroup_num)) 262 start_pids_tasks2_path $testpath/child$i $lim 306 lim=$((max - 1)) 307 ROD echo $lim \> $testpath/child/pids.max 329 lim=$((max - 1)) [all …]
|
/third_party/musl/libc-test/src/functionalext/supplement/misc/ |
D | getrlimit.c | 27 static const long lim = 42; in getrlimit_0100() local 31 rl.rlim_max = lim; in getrlimit_0100() 32 rl.rlim_cur = lim; in getrlimit_0100() 38 EXPECT_LONGLONGEQ("getrlimit_0100", retrl.rlim_max, lim); in getrlimit_0100() 39 EXPECT_LONGLONGEQ("getrlimit_0100", retrl.rlim_cur, lim); in getrlimit_0100()
|
/third_party/boost/boost/multiprecision/detail/functions/ |
D | constants.hpp | 108 T lim; in calc_e() local 109 lim = ui_type(1); in calc_e() 110 eval_ldexp(lim, lim, digits); in calc_e() 125 } while (denom.compare(lim) <= 0); in calc_e() 167 T lim; in calc_pi() local 168 lim = ui_type(1); in calc_pi() 169 eval_ldexp(lim, lim, -(int)digits); in calc_pi() 206 if (result.compare(lim) <= 0) in calc_pi() 213 eval_ldexp(lim, lim, 1); in calc_pi()
|
/third_party/protobuf/java/core/src/test/java/com/google/protobuf/ |
D | IsValidUtf8TestUtil.java | 170 final long lim; field in IsValidUtf8TestUtil.Shard 173 public Shard(long index, long start, long lim, long expected) { in Shard() argument 174 assertTrue(start < lim); in Shard() 177 this.lim = lim; in Shard() 221 long lim = 1L << 32; 222 long increment = lim / numShards; 223 assertTrue(lim % numShards == 0); 253 ByteStringFactory factory, int numBytes, long expectedCount, long start, long lim) { 257 if (lim == -1) { 258 lim = 1L << (numBytes * 8); [all …]
|
/third_party/gettext/gettext-tools/libgrep/ |
D | m-fgrep.c | 105 const char *lim; in Fcompile() local 107 for (lim = beg; lim < pattern + pattern_size && *lim != '\n'; ++lim) in Fcompile() 109 if ((err = kwsincr (ckwset->kwset, beg, lim - beg)) != NULL) in Fcompile() 111 if (lim < pattern + pattern_size) in Fcompile() 112 ++lim; in Fcompile() 113 beg = lim; in Fcompile()
|
/third_party/skia/third_party/externals/icu/source/i18n/ |
D | utf16collationiterator.h | 37 const UChar *s, const UChar *p, const UChar *lim) in UTF16CollationIterator() argument 39 start(s), pos(p), limit(lim) {} in UTF16CollationIterator() 51 void setText(const UChar *s, const UChar *lim) { in setText() argument 54 limit = lim; in setText() 88 const UChar *s, const UChar *p, const UChar *lim) in FCDUTF16CollationIterator() argument 89 : UTF16CollationIterator(data, numeric, s, p, lim), in FCDUTF16CollationIterator() 90 rawStart(s), segmentStart(p), segmentLimit(NULL), rawLimit(lim), in FCDUTF16CollationIterator()
|
/third_party/icu/icu4c/source/i18n/ |
D | utf16collationiterator.h | 37 const UChar *s, const UChar *p, const UChar *lim) in UTF16CollationIterator() argument 39 start(s), pos(p), limit(lim) {} in UTF16CollationIterator() 51 void setText(const UChar *s, const UChar *lim) { in setText() argument 54 limit = lim; in setText() 88 const UChar *s, const UChar *p, const UChar *lim) in FCDUTF16CollationIterator() argument 89 : UTF16CollationIterator(data, numeric, s, p, lim), in FCDUTF16CollationIterator() 90 rawStart(s), segmentStart(p), segmentLimit(NULL), rawLimit(lim), in FCDUTF16CollationIterator()
|
/third_party/flutter/skia/third_party/externals/icu/source/i18n/ |
D | utf16collationiterator.h | 37 const UChar *s, const UChar *p, const UChar *lim) in UTF16CollationIterator() argument 39 start(s), pos(p), limit(lim) {} in UTF16CollationIterator() 51 void setText(const UChar *s, const UChar *lim) { in setText() argument 54 limit = lim; in setText() 88 const UChar *s, const UChar *p, const UChar *lim) in FCDUTF16CollationIterator() argument 89 : UTF16CollationIterator(data, numeric, s, p, lim), in FCDUTF16CollationIterator() 90 rawStart(s), segmentStart(p), segmentLimit(NULL), rawLimit(lim), in FCDUTF16CollationIterator()
|