/third_party/lzma/C/ |
H A D | SwapBytes.c | 105 SwapBytes2_128(CSwapUInt16 *items, const CSwapUInt16 *lim)
in SwapBytes2_128() argument 113 while (items != lim);
in SwapBytes2_128() 134 SwapBytes4_128_pack(CSwapUInt32 *items, const CSwapUInt32 *lim)
144 while (items != lim);
165 SwapBytes4_128_shift(CSwapUInt32 *items, const CSwapUInt32 *lim)
176 while (items != lim);
250 const __m128i *lim = (const __m128i *)lim8;
in ShufBytes_128() local 263 while (items != lim);
in ShufBytes_128() 292 const __m256i *lim = (const __m256i *)lim8;
in ShufBytes_256() local 323 while (items != lim);
in ShufBytes_256() 384 SwapBytes2_128(CSwapUInt16 *items, const CSwapUInt16 *lim) SwapBytes2_128() argument 403 SwapBytes4_128(CSwapUInt32 *items, const CSwapUInt32 *lim) SwapBytes4_128() argument 510 SwapBytes2_64(CSwapUInt16 *items, const CSwapUInt16 *lim) SwapBytes2_64() argument 539 SwapBytes4_64(CSwapUInt32 *items, const CSwapUInt32 *lim) SwapBytes4_64() argument 588 SwapBytes2_32(CSwapUInt16 *items, const CSwapUInt16 *lim) SwapBytes2_32() argument 601 SwapBytes4_32(CSwapUInt32 *items, const CSwapUInt32 *lim) SwapBytes4_32() argument 645 CSwapUInt16 *lim; z7_SwapBytes2() local 699 CSwapUInt32 *lim; z7_SwapBytes4() local [all...] |
H A D | Bra.c | 21 #define BR_PC_GET (pc - (UInt32)(SizeT)(lim - p))
78 const Byte *lim;
in Z7_BRANCH_FUNC_MAIN() local 83 lim = p + size;
in Z7_BRANCH_FUNC_MAIN() 93 if Z7_UNLIKELY(p == lim)
in Z7_BRANCH_FUNC_MAIN() 130 const Byte *lim;
in Z7_BRANCH_FUNCS_IMP() local 132 lim = p + size;
in Z7_BRANCH_FUNCS_IMP() 142 if Z7_UNLIKELY(p >= lim) { return p; } p += 4; if Z7_UNLIKELY(p[-1] == 0xeb) break;
in Z7_BRANCH_FUNCS_IMP() 143 if Z7_UNLIKELY(p >= lim) { return p; } p += 4; if Z7_UNLIKELY(p[-1] == 0xeb) break;
in Z7_BRANCH_FUNCS_IMP() 161 const Byte *lim;
in Z7_BRANCH_FUNCS_IMP() local 163 lim in Z7_BRANCH_FUNCS_IMP() 205 const Byte *lim; Z7_BRANCH_FUNCS_IMP() local 263 Byte *lim; Z7_BRANCH_FUNCS_IMP() local 346 const Byte *lim; Z7_BRANCH_FUNCS_IMP() local [all...] |
H A D | Bra86.c | 21 #define BR_PC_GET (pc - (UInt32)(SizeT)(lim - p))
53 const Byte *lim = p + size - 4;
in X86() local 59 because BR_PC_GET uses (pc - (lim - p)), and lim was adjusted for (-4) before.
in X86() 70 if (p >= lim)
in X86() 87 if (p > lim)
in X86() 127 if (p >= lim)
in X86() 137 if (p >= lim)
in X86() 145 if (p > lim)
in X86() 167 lim in X86() [all...] |
H A D | Delta.c | 63 const Byte *lim = data + delta;
in Delta_Encode() local 71 while (p != lim)
in Delta_Encode() 92 const Byte *lim;
in Delta_Decode() local 98 lim = data + size;
in Delta_Decode() 104 while (++data != lim);
in Delta_Decode() 116 #define F(n) if (data != lim) { U(n) }
in Delta_Decode() 121 if ((lim - data) & 1) { U(0) }
in Delta_Decode() 122 while (data != lim) { U(0) U(0) }
in Delta_Decode() 128 lim -= 1; while (data < lim) { in Delta_Decode() [all...] |
/third_party/rust/crates/rustix/src/backend/linux_raw/process/ |
H A D | syscalls.rs | 383 let lim = rlimit_to_linux(new.clone()); 388 by_ref(&lim), 401 let lim = rlimit_to_linux_old(new)?; in setrlimit_old() 402 ret(syscall_readonly!(__NR_setrlimit, limit, by_ref(&lim))) in setrlimit_old() 407 let lim = rlimit_to_linux(new); 414 by_ref(&lim), 425 fn rlimit_from_linux(lim: rlimit64) -> Rlimit { in rlimit_from_linux() 426 let current = if lim.rlim_cur == RLIM64_INFINITY as _ { in rlimit_from_linux() 429 Some(lim.rlim_cur) in rlimit_from_linux() 431 let maximum = if lim in rlimit_from_linux() [all...] |
/third_party/musl/libc-test/src/regression/ |
H A D | rlimit-open-files.c | 11 static const long lim = 100; 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 t_error("getrlimit %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/musl/libc-test/src/functionalext/supplement/linux/ |
H A 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/musl/libc-test/src/common/ |
H A 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/ |
H A D | primitives.c | 138 * and lim. But buf must be in the ep context somehow, since it may have to 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) lws_mqtt_str_create_cstr_dup() argument [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/texture/ |
H A D | vktTextureConversionTests.cpp | 72 static int lim (const tcu::TextureFormat& format, 103 , m_a (lim(m_inFormat, 0), lim(m_inFormat, 1)+m_cd[1]*2, lim(m_inFormat, 2), lim(m_inFormat, 3)+m_cd[3]*2) in SnormLinearClampInstance() 104 , m_b (lim(m_inFormat, 0)+m_cd[0]*2, lim(m_inFormat, 1), lim(m_inFormat, 2)+m_cd[2]*2, lim(m_inFormat, 3) ) in SnormLinearClampInstance() 105 , m_c (lim(m_inForma in SnormLinearClampInstance() 136 int SnormLinearClampInstance::lim (const tcu::TextureFormat& format, int channelIdx) lim() function in vkt::texture::__anon28873::SnormLinearClampInstance [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/texture/ |
H A D | vktTextureConversionTests.cpp | 72 static int lim (const tcu::TextureFormat& format, 103 , m_a (lim(m_inFormat, 0), lim(m_inFormat, 1)+m_cd[1]*2, lim(m_inFormat, 2), lim(m_inFormat, 3)+m_cd[3]*2) in SnormLinearClampInstance() 104 , m_b (lim(m_inFormat, 0)+m_cd[0]*2, lim(m_inFormat, 1), lim(m_inFormat, 2)+m_cd[2]*2, lim(m_inFormat, 3) ) in SnormLinearClampInstance() 105 , m_c (lim(m_inForma in SnormLinearClampInstance() 136 int SnormLinearClampInstance::lim (const tcu::TextureFormat& format, int channelIdx) lim() function in vkt::texture::__anon30022::SnormLinearClampInstance [all...] |
/third_party/musl/porting/liteos_m/kernel/src/internal/ |
H A 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()
|
H A D | shgetc.c | 8 void __shlim(FILE *f, off_t lim) in __shlim() argument 10 f->shlim = lim; in __shlim() 12 /* If lim is nonzero, rend must be a valid pointer. */ 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/ |
H A 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()
|
H A D | shgetc.c | 8 void __shlim(FILE *f, off_t lim) in __shlim() argument 10 f->shlim = lim; in __shlim() 12 /* If lim is nonzero, rend must be a valid pointer. */ 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/ |
H A 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()
|
H A D | shgetc.c | 8 void __shlim(FILE *f, off_t lim) in __shlim() argument 10 f->shlim = lim; in __shlim() 12 /* If lim is nonzero, rend must be a valid pointer. */ 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/ |
H A 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()
|
H A D | shgetc.c | 8 void __shlim(FILE *f, off_t lim) in __shlim() argument 10 f->shlim = lim; in __shlim() 12 /* If lim is nonzero, rend must be a valid pointer. */ 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/ |
H A D | pids.sh | 131 lim=$((max + 2)) 132 tst_res TINFO "limit the number of avalaible pid to $lim" 133 ROD echo $lim \> $testpath/pids.max 180 lim=$((max - 1)) 181 ROD echo $lim \> $testpath/pids.max 201 lim=$((max / subcgroup_num)) 202 if [ "$((lim * subcgroup_num))" -ne "$max" ]; then 211 start_pids_tasks2_path $testpath/child$i $lim 255 lim=$((max - 1)) 256 ROD echo $lim \> [all...] |
/third_party/musl/libc-test/src/functionalext/supplement/misc/ |
H A 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/icu/icu4c/source/i18n/ |
H A D | utf16collationiterator.h | 37 const UChar *s, const UChar *p, const UChar *lim) in UTF16CollationIterator() 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() 89 : UTF16CollationIterator(data, numeric, s, p, lim), in FCDUTF16CollationIterator() 90 rawStart(s), segmentStart(p), segmentLimit(NULL), rawLimit(lim), in FCDUTF16CollationIterator() 36 UTF16CollationIterator(const CollationData *d, UBool numeric, const UChar *s, const UChar *p, const UChar *lim) UTF16CollationIterator() argument 87 FCDUTF16CollationIterator(const CollationData *data, UBool numeric, const UChar *s, const UChar *p, const UChar *lim) FCDUTF16CollationIterator() argument
|
/third_party/node/deps/icu-small/source/i18n/ |
H A D | utf16collationiterator.h | 37 const char16_t *s, const char16_t *p, const char16_t *lim) in UTF16CollationIterator() 39 start(s), pos(p), limit(lim) {} in UTF16CollationIterator() 51 void setText(const char16_t *s, const char16_t *lim) { in setText() argument 54 limit = lim; in setText() 88 const char16_t *s, const char16_t *p, const char16_t *lim) in FCDUTF16CollationIterator() 89 : UTF16CollationIterator(data, numeric, s, p, lim), in FCDUTF16CollationIterator() 90 rawStart(s), segmentStart(p), segmentLimit(nullptr), rawLimit(lim), in FCDUTF16CollationIterator() 36 UTF16CollationIterator(const CollationData *d, UBool numeric, const char16_t *s, const char16_t *p, const char16_t *lim) UTF16CollationIterator() argument 87 FCDUTF16CollationIterator(const CollationData *data, UBool numeric, const char16_t *s, const char16_t *p, const char16_t *lim) FCDUTF16CollationIterator() argument
|
/third_party/skia/third_party/externals/icu/source/i18n/ |
H A D | utf16collationiterator.h | 37 const UChar *s, const UChar *p, const UChar *lim) in UTF16CollationIterator() 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() 89 : UTF16CollationIterator(data, numeric, s, p, lim), in FCDUTF16CollationIterator() 90 rawStart(s), segmentStart(p), segmentLimit(NULL), rawLimit(lim), in FCDUTF16CollationIterator() 36 UTF16CollationIterator(const CollationData *d, UBool numeric, const UChar *s, const UChar *p, const UChar *lim) UTF16CollationIterator() argument 87 FCDUTF16CollationIterator(const CollationData *data, UBool numeric, const UChar *s, const UChar *p, const UChar *lim) FCDUTF16CollationIterator() argument
|
/third_party/protobuf/java/core/src/test/java/com/google/protobuf/ |
H A 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; in generateFourByteShards() 222 long increment = lim / numShards; in generateFourByteShards() 223 assertTrue(lim % numShards == 0); in generateFourByteShards() 249 * @param lim the limit of bytes to process encoded as a long as big-endian, or -1 to mean the max 253 ByteStringFactory factory, int numBytes, long expectedCount, long start, long lim) { in testBytes() 252 testBytes( ByteStringFactory factory, int numBytes, long expectedCount, long start, long lim) testBytes() argument 358 testBytesUsingByteBuffers( ByteStringFactory factory, int numBytes, long expectedCount, long start, long lim) testBytesUsingByteBuffers() argument [all...] |