Home
last modified time | relevance | path

Searched refs:l (Results 1 – 25 of 29) sorted by relevance

12

/bionic/tests/
Dstrings_test.cpp42 locale_t l = newlocale(LC_ALL, "C", 0); in TEST() local
43 ASSERT_EQ(0, strcasecmp_l("hello", "HELLO", l)); in TEST()
44 ASSERT_LT(strcasecmp_l("hello1", "hello2", l), 0); in TEST()
45 ASSERT_GT(strcasecmp_l("hello2", "hello1", l), 0); in TEST()
46 freelocale(l); in TEST()
57 locale_t l = newlocale(LC_ALL, "C", 0); in TEST() local
58 ASSERT_EQ(0, strncasecmp_l("hello", "HELLO", 3, l)); in TEST()
59 ASSERT_EQ(0, strncasecmp_l("abcXX", "ABCYY", 3, l)); in TEST()
60 ASSERT_LT(strncasecmp_l("hello1", "hello2", 6, l), 0); in TEST()
61 ASSERT_GT(strncasecmp_l("hello2", "hello1", 6, l), 0); in TEST()
[all …]
Dlocale_test.cpp93 locale_t l = newlocale(LC_ALL, "C", 0); in TEST() local
94 ASSERT_TRUE(l != NULL); in TEST()
95 freelocale(l); in TEST()
Dpthread_test.cpp674 pthread_rwlock_t l; in TEST() local
675 ASSERT_EQ(0, pthread_rwlock_init(&l, NULL)); in TEST()
678 ASSERT_EQ(0, pthread_rwlock_rdlock(&l)); in TEST()
679 ASSERT_EQ(0, pthread_rwlock_unlock(&l)); in TEST()
682 ASSERT_EQ(0, pthread_rwlock_rdlock(&l)); in TEST()
683 ASSERT_EQ(0, pthread_rwlock_rdlock(&l)); in TEST()
684 ASSERT_EQ(0, pthread_rwlock_unlock(&l)); in TEST()
685 ASSERT_EQ(0, pthread_rwlock_unlock(&l)); in TEST()
688 ASSERT_EQ(0, pthread_rwlock_wrlock(&l)); in TEST()
689 ASSERT_EQ(0, pthread_rwlock_unlock(&l)); in TEST()
[all …]
/bionic/libc/arch-arm/generic/bionic/
Dstrlen.c47 size_t l = 0; in strlen() local
55 l++; in strlen()
129 : [l]"=&r"(l), [v]"=&r"(v), [t]"=&r"(t), [s]"=&r"(u.b) in strlen()
130 : "%[l]"(l), "%[s]"(u.b), [mask]"r"(0x80808080UL) in strlen()
135 return l; in strlen()
/bionic/libc/dns/nameser/
Dns_name.c104 int l; in ns_name_ntop() local
123 if ((l = labellen(cp - 1)) < 0) { in ns_name_ntop()
127 if (dn + l >= eom) { in ns_name_ntop()
147 for (; l > 0; l--) { in ns_name_ntop()
363 int l; in ns_name_ntol() local
380 if ((l = labellen(cp - 1)) < 0) { in ns_name_ntol()
384 if (dn + l >= eom) { in ns_name_ntol()
388 for (; l > 0; l--) { in ns_name_ntol()
428 int n, len, checked, l; in ns_name_unpack2() local
446 if ((l = labellen(srcp - 1)) < 0) { in ns_name_unpack2()
[all …]
Dns_print.c744 u_int t, w, l, j, k, c; in ns_sprintrrf() local
840 l = *rdata++; in ns_sprintrrf()
841 for (j = 0; j < l; j++) { in ns_sprintrrf()
852 rdata += l; in ns_sprintrrf()
858 u_int w, l, j, k, c; in ns_sprintrrf() local
864 l = *rdata++; in ns_sprintrrf()
865 for (j = 0; j < l; j++) { in ns_sprintrrf()
876 rdata += l; in ns_sprintrrf()
/bionic/libc/private/
Dthread_private.h37 #define _MUTEX_LOCK(l) pthread_mutex_lock((pthread_mutex_t*) l) argument
38 #define _MUTEX_UNLOCK(l) pthread_mutex_unlock((pthread_mutex_t*) l) argument
/bionic/libc/kernel/uapi/linux/
Dromfs_fs.h30 #define __mkw(h,l) (((h) & 0x00ff) << 8 | ((l) & 0x00ff)) argument
31 #define __mkl(h,l) (((h) & 0xffff) << 16 | ((l) & 0xffff)) argument
Datm.h49 #define __SO_ENCODE(l,n,t) ((((l) & 0x1FF) << 22) | ((n) << 16) | sizeof(t)) argument
Dmap_to_7segment.h39 #define _SEG7(l,a,b,c,d,e,f,g) (a << BIT_SEG7_A | b << BIT_SEG7_B | c << BIT_SEG7_C | d << BIT_SEG7… argument
/bionic/libc/bionic/
Dmemmem.c44 size_t k = 1, l = 2; in memmem() local
48 l = 1; in memmem()
56 j += l; in memmem()
Dlocale.cpp62 locale_t l = uselocale(NULL); in __ctype_get_mb_cur_max() local
63 if (l == LC_GLOBAL_LOCALE) { in __ctype_get_mb_cur_max()
66 return l->mb_cur_max; in __ctype_get_mb_cur_max()
116 locale_t duplocale(locale_t l) { in duplocale() argument
117 return new __locale_t(l); in duplocale()
120 void freelocale(locale_t l) { in freelocale() argument
121 delete l; in freelocale()
Dgetentropy_linux.c72 #define HR(x, l) (SHA512_Update(&ctx, (char *)(x), (l))) argument
/bionic/libm/upstream-freebsd/lib/msun/src/
Dimprecise.c60 long double imprecise_ ## f ## l(long double v) { return f(v); }\
61 DECLARE_WEAK(f ## l)
De_hypotl.c24 #define GET_LDBL_MAN(h, l, v) do { \ argument
29 l = uv.bits.manl; \
/bionic/libc/upstream-openbsd/lib/libc/stdio/
Dopen_memstream.c39 memstream_write(void *v, const char *b, int l) in memstream_write() argument
45 end = (st->pos + l); in memstream_write()
61 for (i = 0; i < l; i++) in memstream_write()
63 st->pos += l; in memstream_write()
Dfmemopen.c36 fmemopen_read(void *v, char *b, int l) in fmemopen_read() argument
41 for (i = 0; i < l && i + st->pos < st->len; i++) in fmemopen_read()
49 fmemopen_write(void *v, const char *b, int l) in fmemopen_write() argument
54 for (i = 0; i < l && i + st->pos < st->size; i++) in fmemopen_write()
Dopen_wmemstream.c41 wmemstream_write(void *v, const char *b, int l) in wmemstream_write() argument
47 end = (st->pos + l); in wmemstream_write()
64 len = mbsnrtowcs(st->string + st->pos, &b, nmc, l, &st->mbs); in wmemstream_write()
/bionic/libc/upstream-openbsd/lib/libc/net/
Dinet_ntop.c75 int l; in inet_ntop4() local
77 l = snprintf(tmp, sizeof(tmp), "%u.%u.%u.%u", in inet_ntop4()
79 if (l <= 0 || l >= size) { in inet_ntop4()
/bionic/libm/upstream-freebsd/lib/msun/ld128/
Ds_logl.c430 #define RETURN2(rp, h, l) do { \ argument
432 (rp)->lo = (l); \
444 #define RETURN2(rp, h, l) RETURNI((h) + (l)) argument
/bionic/libc/upstream-netbsd/common/lib/libc/hash/sha1/
Dsha1.c56 # define blk0(i) (block->l[i] = (rol(block->l[i],24)&0xFF00FF00) \
57 |(rol(block->l[i],8)&0x00FF00FF))
59 # define blk0(i) block->l[i]
61 #define blk(i) (block->l[i&15] = rol(block->l[(i+13)&15]^block->l[(i+8)&15] \
62 ^block->l[(i+2)&15]^block->l[i&15],1))
85 uint32_t l[16]; member
/bionic/libc/include/arpa/
Dnameser.h493 #define NS_GET32(l, cp) do { \ argument
495 (l) = ((uint32_t)t_cp[0] << 24) \
511 #define NS_PUT32(l, cp) do { \ argument
512 uint32_t t_l = (uint32_t)(l); \
/bionic/libc/kernel/tools/
Dcpp.py788 op, l, r = e
789 l = self.optimize_node(l, macros)
791 li = self.int_node(l)
802 return l
803 return (op, l, r)
806 op, l, r = e
807 l = self.optimize_node(l, macros)
809 li = self.int_node(l)
818 return l
821 return (op, l, r)
/bionic/libc/kernel/uapi/asm-x86/asm/
Dkvm.h152 __u8 present, dpl, db, s, l, g, avl; member
/bionic/libc/tzcode/
Dlocaltime.c1648 register int_fast32_t const l = *lp; in increment_overflow32() local
1650 if ((l >= 0) ? (m > INT_FAST32_MAX - l) : (m < INT_FAST32_MIN - l)) in increment_overflow32()

12