/third_party/python/Lib/ |
H A D | bisect.py | 4 def insort_right(a, x, lo=0, hi=None, *, key=None): 9 Optional args lo (default 0) and hi (default len(a)) bound the 13 lo = bisect_right(a, x, lo, hi) 15 lo = bisect_right(a, key(x), lo, hi, key=key) 16 a.insert(lo, x) 19 def bisect_right(a, x, lo=0, hi=None, *, key=None): 26 Optional args lo (default 0) and hi (default len(a)) bound the 30 if lo < [all...] |
/third_party/musl/libc-test/src/functionalext/locale/ |
H A D | langinfo.c | 33 char *lo = setlocale(LC_TIME, ""); in langinfo_0100() local 34 if (!lo) { in langinfo_0100() 35 EXPECT_PTRNE("nl_langinfo_0100", lo, NULL); in langinfo_0100() 38 lo = setlocale(LC_TIME, "zh_CN.UTF-8"); in langinfo_0100() 51 char *lo = setlocale(LC_TIME, ""); in nl_langinfo_0200() local 52 if (!lo) { in nl_langinfo_0200() 53 EXPECT_PTRNE("nl_langinfo_0200", lo, NULL); in nl_langinfo_0200() 71 char *lo = setlocale(LC_TIME, ""); in nl_langinfo_0300() local 72 if (!lo) { in nl_langinfo_0300() 73 EXPECT_PTRNE("nl_langinfo_0300", lo, NUL in nl_langinfo_0300() 103 char *lo = setlocale(LC_CTYPE, ""); nl_langinfo_0500() local 128 char *lo = setlocale(LC_ALL, ""); nl_langinfo_0600() local 145 char *lo = setlocale(LC_ALL, ""); nl_langinfo_0700() local 162 char *lo = setlocale(LC_ALL, ""); nl_langinfo_0800() local 179 char *lo = setlocale(LC_ALL, ""); nl_langinfo_0900() local [all...] |
/third_party/protobuf/js/binary/ |
H A D | arith.js | 49 * @param {number} lo The low 32 bits. 53 jspb.arith.UInt64 = function(lo, hi) { 58 this.lo = lo; 74 if (this.hi < other.hi || (this.hi == other.hi && this.lo < other.lo)) { 76 } else if (this.hi == other.hi && this.lo == other.lo) { 90 var lo = (this.lo >>> [all...] |
/third_party/musl/porting/liteos_a/kernel/src/math/ |
H A D | sqrtl.c | 18 uint64_t lo; member 27 u.i2.lo = x.lo; in mkldbl() 32 u.i.m = x.lo; in mkldbl() 47 r.lo = u.i2.lo; in asu128() 49 r.lo = u.i.m<<49; in asu128() 77 r.lo = a.lo + b; in add64() 79 if (r.lo < in add64() 171 u128 lo = mul64_128(a.lo, b.lo); mul128_tail() local [all...] |
/third_party/musl/src/math/ |
H A D | sqrtl.c | 18 uint64_t lo; member 27 u.i2.lo = x.lo; in mkldbl() 32 u.i.m = x.lo; in mkldbl() 47 r.lo = u.i2.lo; in asu128() 49 r.lo = u.i.m<<49; in asu128() 77 r.lo = a.lo + b; in add64() 79 if (r.lo < in add64() 171 u128 lo = mul64_128(a.lo, b.lo); mul128_tail() local [all...] |
/third_party/python/Modules/_decimal/libmpdec/ |
H A D | basearith.h | 93 * n10 := lo 98 _mpd_div_words_r(mpd_uint_t *q, mpd_uint_t *r, mpd_uint_t hi, mpd_uint_t lo) in _mpd_div_words_r() argument 103 /* n1_neg = if lo >= 2**63 then MPD_UINT_MAX else 0 */ in _mpd_div_words_r() 104 n1_neg = (lo & (1ULL<<63)) ? MPD_UINT_MAX : 0; in _mpd_div_words_r() 105 /* n_adj = if lo >= 2**63 then lo+MPD_RADIX else lo */ in _mpd_div_words_r() 106 n_adj = lo + (n1_neg & MPD_RADIX); in _mpd_div_words_r() 108 /* (h, l) = if lo >= 2**63 then m'*(hi+1) else m'*hi */ in _mpd_div_words_r() 114 * 1) 0 <= 2**64*hi + lo in _mpd_div_words_r() 142 _mpd_div_words_r(mpd_uint_t *q, mpd_uint_t *r, mpd_uint_t hi, mpd_uint_t lo) _mpd_div_words_r() argument 153 mpd_uint_t hi, lo; _mpd_singlemul() local 163 mpd_uint_t hi, lo; _mpd_mul_2_le2() local [all...] |
H A D | umodarith.h | 103 dw_reduce(mpd_uint_t hi, mpd_uint_t lo, mpd_uint_t m) in dw_reduce() argument 108 _mpd_div_words(&w, &r2, r1, lo, m); in dw_reduce() 119 dw_submod(mpd_uint_t a, mpd_uint_t hi, mpd_uint_t lo, mpd_uint_t m) in dw_submod() argument 123 r = dw_reduce(hi, lo, m); in dw_submod() 142 * a) hi, lo <- a * b # Calculate a * b. 144 * b) hi, lo <- R(hi, lo) # Reduce modulo p. 146 * c) Repeat step b) until 0 <= hi * 2**64 + lo < 2*p. 148 * d) If the result is less than p, return lo. Otherwise return lo 154 mpd_uint_t hi, lo, x, y; x64_mulmod() local 328 mpd_uint_t hi, lo, q, r; std_mulmod() local [all...] |
H A D | basearith.c | 219 mpd_uint_t hi, lo; in _mpd_shortmul() local 227 _mpd_mul_words(&hi, &lo, u[i], v); in _mpd_shortmul() 228 lo = carry + lo; in _mpd_shortmul() 229 if (lo < carry) hi++; in _mpd_shortmul() 231 _mpd_div_words_r(&carry, &w[i], hi, lo); in _mpd_shortmul() 245 mpd_uint_t hi, lo; in _mpd_basemul() local 255 _mpd_mul_words(&hi, &lo, u[i], v[j]); in _mpd_basemul() 256 lo = w[i+j] + lo; in _mpd_basemul() 274 mpd_uint_t hi, lo; _mpd_shortdiv() local 312 mpd_uint_t hi, lo, x; _mpd_basedivmod() local 590 mpd_uint_t hi, lo; _mpd_shortmul_c() local 613 mpd_uint_t hi, lo; _mpd_shortmul_b() local 639 mpd_uint_t hi, lo; _mpd_shortdiv_b() local [all...] |
H A D | crt.c | 47 mpd_uint_t hi1, hi2, lo; in _crt_mulP1P2_3() local 49 _mpd_mul_words(&hi1, &lo, LH_P1P2, v); in _crt_mulP1P2_3() 50 w[0] = lo; in _crt_mulP1P2_3() 52 _mpd_mul_words(&hi2, &lo, UH_P1P2, v); in _crt_mulP1P2_3() 53 lo = hi1 + lo; in _crt_mulP1P2_3() 54 if (lo < hi1) hi2++; in _crt_mulP1P2_3() 56 w[1] = lo; in _crt_mulP1P2_3() 147 mpd_uint_t hi, lo; in crt3() local 160 _mpd_mul_words(&hi, &lo, in crt3() [all...] |
/third_party/musl/libc-test/src/functionalext/supplement/locale/ |
H A D | langinfo_sup.c | 33 char *lo = setlocale(LC_TIME, ""); in langinfo_0100() local 34 if (!lo) { in langinfo_0100() 35 EXPECT_PTRNE("nl_langinfo_0100", lo, NULL); in langinfo_0100() 38 lo = setlocale(LC_TIME, "zh_CN.UTF-8"); in langinfo_0100() 51 char *lo = setlocale(LC_TIME, ""); in nl_langinfo_0200() local 52 if (!lo) { in nl_langinfo_0200() 53 EXPECT_PTRNE("nl_langinfo_0200", lo, NULL); in nl_langinfo_0200() 70 char *lo = setlocale(LC_TIME, ""); in nl_langinfo_0300() local 71 if (!lo) { in nl_langinfo_0300() 72 EXPECT_PTRNE("nl_langinfo_0300", lo, NUL in nl_langinfo_0300() 101 char *lo = setlocale(LC_CTYPE, ""); nl_langinfo_0500() local [all...] |
/third_party/python/Modules/_decimal/libmpdec/literature/ |
H A D | umodarith.lisp | 253 (defun dw-reduce (hi lo m base) 255 (r2 (mod (+ (* r1 base) lo) m))) 260 (< hi base) (< lo base) 262 (natp hi) (natp lo)) 263 (equal (dw-reduce hi lo m base) 264 (mod (+ (* hi base) lo) m)))) 275 (< lo base) (natp lo) 277 (< (+ lo (* base x)) (* base m))) 294 (< hi base) (< lo bas [all...] |
/third_party/python/Modules/ |
H A D | _bisectmodule.c | 29 internal_bisect_right(PyObject *list, PyObject *item, Py_ssize_t lo, Py_ssize_t hi, in internal_bisect_right() argument 36 if (lo < 0) { in internal_bisect_right() 37 PyErr_SetString(PyExc_ValueError, "lo must be non-negative"); in internal_bisect_right() 45 while (lo < hi) { in internal_bisect_right() 49 mid = ((size_t)lo + hi) / 2; in internal_bisect_right() 68 lo = mid + 1; in internal_bisect_right() 70 return lo; in internal_bisect_right() 78 lo: Py_ssize_t = 0 89 Optional args lo (default 0) and hi (default len(a)) bound the 95 Py_ssize_t lo, Py_ssize_ in _bisect_bisect_right_impl() 94 _bisect_bisect_right_impl(PyObject *module, PyObject *a, PyObject *x, Py_ssize_t lo, Py_ssize_t hi, PyObject *key) _bisect_bisect_right_impl() argument 120 _bisect_insort_right_impl(PyObject *module, PyObject *a, PyObject *x, Py_ssize_t lo, Py_ssize_t hi, PyObject *key) _bisect_insort_right_impl() argument 155 internal_bisect_left(PyObject *list, PyObject *item, Py_ssize_t lo, Py_ssize_t hi, PyObject *key) internal_bisect_left() argument 221 _bisect_bisect_left_impl(PyObject *module, PyObject *a, PyObject *x, Py_ssize_t lo, Py_ssize_t hi, PyObject *key) _bisect_bisect_left_impl() argument 248 _bisect_insort_left_impl(PyObject *module, PyObject *a, PyObject *x, Py_ssize_t lo, Py_ssize_t hi, PyObject *key) _bisect_insort_left_impl() argument [all...] |
/third_party/node/deps/openssl/openssl/crypto/bn/asm/ |
H A D | armv4-gf2m.pl | 78 ($hi,$lo,$t0,$t1, $i0,$i1 )=map("r$_",(4..9),12); 105 ldr $lo,[sp,$i0] @ tab[b & 0x7] 110 eor $lo,$lo,$t1,lsl#3 @ stall 115 eor $lo,$lo,$t0,lsl#6 120 eor $lo,$lo,$t1,lsl#9 125 eor $lo,$lo, [all...] |
H A D | s390x-gf2m.pl | 65 ($lo,$hi,$b)=map("%r$_",(3..5)); $a=$lo; $mask=$a8; 78 srag $lo,$a1,63 # broadcast 63rd bit 84 ngr $lo,$b 118 srlg $hi,$lo,1 120 sllg $lo,$lo,63 134 xgr $lo,$a1 136 xgr $lo,$a2 138 xg $lo, [all...] |
H A D | sparcv9-gf2m.pl | 38 ($lo,$hi,$b)=("%g1",$a8,"%o7"); $a=$lo; 101 srax $a1,63,$lo ! broadcast 63rd bit 105 and $b,$lo,$lo 136 srlx $lo,1,$hi 138 sllx $lo,63,$lo 152 xor $a1,$lo,$lo [all...] |
/third_party/openssl/crypto/bn/asm/ |
H A D | armv4-gf2m.pl | 78 ($hi,$lo,$t0,$t1, $i0,$i1 )=map("r$_",(4..9),12); 105 ldr $lo,[sp,$i0] @ tab[b & 0x7] 110 eor $lo,$lo,$t1,lsl#3 @ stall 115 eor $lo,$lo,$t0,lsl#6 120 eor $lo,$lo,$t1,lsl#9 125 eor $lo,$lo, [all...] |
H A D | s390x-gf2m.pl | 65 ($lo,$hi,$b)=map("%r$_",(3..5)); $a=$lo; $mask=$a8; 78 srag $lo,$a1,63 # broadcast 63rd bit 84 ngr $lo,$b 118 srlg $hi,$lo,1 120 sllg $lo,$lo,63 134 xgr $lo,$a1 136 xgr $lo,$a2 138 xg $lo, [all...] |
H A D | sparcv9-gf2m.pl | 38 ($lo,$hi,$b)=("%g1",$a8,"%o7"); $a=$lo; 101 srax $a1,63,$lo ! broadcast 63rd bit 105 and $b,$lo,$lo 136 srlx $lo,1,$hi 138 sllx $lo,63,$lo 152 xor $a1,$lo,$lo [all...] |
/third_party/optimized-routines/math/test/ |
H A D | mathbench.c | 220 double lo; member 234 #define D(func, lo, hi) {#func, 'd', 0, lo, hi, {.d = func}}, 235 #define F(func, lo, hi) {#func, 'f', 0, lo, hi, {.f = func}}, 236 #define VD(func, lo, hi) {#func, 'd', 'v', lo, hi, {.vd = func}}, 237 #define VF(func, lo, hi) {#func, 'f', 'v', lo, hi, {.vf = func}}, 238 #define VND(func, lo, h 350 gen_linear(double lo, double hi) gen_linear() argument 357 genf_linear(double lo, double hi) genf_linear() argument 377 frand(double lo, double hi) frand() argument 384 gen_rand(double lo, double hi) gen_rand() argument 391 genf_rand(double lo, double hi) genf_rand() argument 535 bench1(const struct fun *f, int type, double lo, double hi) bench1() argument 592 bench(const struct fun *f, double lo, double hi, int type, int gen) bench() argument 687 double lo = 0, hi = 0; main() local [all...] |
/third_party/benchmark/src/ |
H A D | benchmark_register.h | 13 // Append the powers of 'mult' in the closed interval [lo, hi]. 16 typename std::vector<T>::iterator AddPowers(std::vector<T>* dst, T lo, T hi, in AddPowers() argument 18 BM_CHECK_GE(lo, 0); in AddPowers() 19 BM_CHECK_GE(hi, lo); in AddPowers() 28 if (i >= lo) { in AddPowers() 40 void AddNegatedPowers(std::vector<T>* dst, T lo, T hi, int mult) { in AddNegatedPowers() argument 41 // We negate lo and hi so we require that they cannot be equal to 'min'. in AddNegatedPowers() 42 BM_CHECK_GT(lo, std::numeric_limits<T>::min()); in AddNegatedPowers() 44 BM_CHECK_GE(hi, lo); in AddNegatedPowers() 50 const auto lo_complement = static_cast<T>(-lo); in AddNegatedPowers() 60 AddRange(std::vector<T>* dst, T lo, T hi, int mult) AddRange() argument [all...] |
/third_party/ltp/testcases/kernel/syscalls/fork/ |
H A D | fork05.c | 142 int lo; in main() local 161 asm volatile ("movl %%fs:0, %0":"=r" (lo)); in main() 162 tst_resm(TINFO, "a = %d", lo); in main() 164 asm volatile ("pushl %%fs; popl %0":"=q" (lo)); in main() 165 tst_resm(TINFO, "%%fs = %#06hx", lo); in main() 172 asm volatile ("pushl %%fs; popl %0":"=q" (lo)); in main() 173 tst_resm(TINFO, "%%fs = %#06hx", lo); in main() 175 asm volatile ("movl %%fs:0, %0":"=r" (lo)); in main() 176 tst_resm(TINFO, "a = %d", lo); in main() 178 if (lo ! in main() [all...] |
/third_party/libfuse/example/ |
H A D | passthrough_ll.c | 72 struct lo_inode *next; /* protected by lo->mutex */ 73 struct lo_inode *prev; /* protected by lo->mutex */ 77 uint64_t refcount; /* protected by lo->mutex */ 96 struct lo_inode root; /* protected by lo->mutex */ 171 struct lo_data *lo = (struct lo_data*) userdata; in lo_init() local 176 if (lo->writeback && in lo_init() 178 if (lo->debug) in lo_init() 182 if (lo->flock && conn->capable & FUSE_CAP_FLOCK_LOCKS) { in lo_init() 183 if (lo->debug) in lo_init() 191 struct lo_data *lo in lo_destroy() local 205 struct lo_data *lo = lo_data(req); lo_getattr() local 291 lo_find(struct lo_data *lo, struct stat *st) lo_find() argument 315 struct lo_data *lo = lo_data(req); lo_do_lookup() local 439 struct lo_data *lo = lo_data(req); lo_link() local 512 unref_inode(struct lo_data *lo, struct lo_inode *inode, uint64_t n) unref_inode() argument 539 struct lo_data *lo = lo_data(req); lo_forget_one() local 599 struct lo_data *lo = lo_data(req); lo_opendir() local 759 struct lo_data *lo = lo_data(req); lo_create() local 802 struct lo_data *lo = lo_data(req); lo_open() local 1187 struct lo_data lo = { .debug = 0, main() local [all...] |
/third_party/node/deps/openssl/openssl/crypto/modes/asm/ |
H A D | ghash-ia64.pl | 118 { .mii; $ADDP Htbl=8,in1 // &Htbl[0].lo 138 { .mii; add Hi[1]=Htbl,Hi[1] // &Htbl[nlo].lo 173 ld8 r`16+2*$i`=[r9],16 } // Htable[$i].lo 175 ldf8 f`32+2*$i`=[r11],16 // Htable[`8+$i`].lo 222 { .mmi; st8 [r8]=$rlo,16 // Htable[$i].lo 225 { .mmi; stf8 [r10]=f`32+2*$i`,16 // Htable[`8+$i`].lo 228 { .mmi; st8 [r14]=$rlo,16 // Htable[$i].lo>>4 233 { .mmi; ld8 r16=[r8],16 // Htable[8].lo 235 { .mmi; ld8 r18=[r8],16 // Htable[9].lo 242 { .mmi; ld8 r`20+2*$i`=[r8],16 // Htable[`10+$i`].lo [all...] |
/third_party/openssl/crypto/modes/asm/ |
H A D | ghash-ia64.pl | 118 { .mii; $ADDP Htbl=8,in1 // &Htbl[0].lo 138 { .mii; add Hi[1]=Htbl,Hi[1] // &Htbl[nlo].lo 173 ld8 r`16+2*$i`=[r9],16 } // Htable[$i].lo 175 ldf8 f`32+2*$i`=[r11],16 // Htable[`8+$i`].lo 222 { .mmi; st8 [r8]=$rlo,16 // Htable[$i].lo 225 { .mmi; stf8 [r10]=f`32+2*$i`,16 // Htable[`8+$i`].lo 228 { .mmi; st8 [r14]=$rlo,16 // Htable[$i].lo>>4 233 { .mmi; ld8 r16=[r8],16 // Htable[8].lo 235 { .mmi; ld8 r18=[r8],16 // Htable[9].lo 242 { .mmi; ld8 r`20+2*$i`=[r8],16 // Htable[`10+$i`].lo [all...] |
/third_party/libwebsockets/lib/plat/freertos/esp32/drivers/ |
H A D | pwm-esp32.c | 40 lws_pwm_plat_init(const struct lws_pwm_ops *lo) in lws_pwm_plat_init() argument 52 for (n = 0; n < lo->count_pwm_map; n++) { in lws_pwm_plat_init() 53 lc.channel = LEDC_CHANNEL_0 + lo->pwm_map[n].index; in lws_pwm_plat_init() 54 lc.gpio_num = lo->pwm_map[n].gpio; in lws_pwm_plat_init() 64 lws_pwm_plat_intensity(const struct lws_pwm_ops *lo, _lws_plat_gpio_t gpio, in lws_pwm_plat_intensity() argument 69 for (n = 0; n < lo->count_pwm_map; n++) { in lws_pwm_plat_intensity() 70 if (lo->pwm_map[n].gpio == gpio) { in lws_pwm_plat_intensity() 71 if (!lo->pwm_map[n].active_level) in lws_pwm_plat_intensity() 74 lo->pwm_map[n].index, inten >> 3); in lws_pwm_plat_intensity() 76 lo in lws_pwm_plat_intensity() [all...] |