Home
last modified time | relevance | path

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

12

/bionic/tests/
Dwctype_test.cpp27 UtfLocale() : l(newlocale(LC_ALL, "C.UTF-8", 0)) {} in UtfLocale()
28 ~UtfLocale() { freelocale(l); } in ~UtfLocale()
29 locale_t l; member in UtfLocale
36 UtfLocale l; in TestIsWideFn() local
43 EXPECT_TRUE(fn_l(*p, l.l)) << *p; in TestIsWideFn()
51 EXPECT_FALSE(fn_l(*p, l.l)) << *p; in TestIsWideFn()
119 UtfLocale l; in TEST() local
121 EXPECT_EQ(wint_t('!'), towlower_l(L'!', l.l)); in TEST()
122 EXPECT_EQ(wint_t('a'), towlower_l(L'a', l.l)); in TEST()
123 EXPECT_EQ(wint_t('a'), towlower_l(L'A', l.l)); in TEST()
[all …]
Dstrings_test.cpp48 locale_t l = newlocale(LC_ALL, "C", 0); in TEST() local
49 ASSERT_EQ(0, strcasecmp_l("hello", "HELLO", l)); in TEST()
50 ASSERT_LT(strcasecmp_l("hello1", "hello2", l), 0); in TEST()
51 ASSERT_GT(strcasecmp_l("hello2", "hello1", l), 0); in TEST()
52 freelocale(l); in TEST()
63 locale_t l = newlocale(LC_ALL, "C", 0); in TEST() local
64 ASSERT_EQ(0, strncasecmp_l("hello", "HELLO", 3, l)); in TEST()
65 ASSERT_EQ(0, strncasecmp_l("abcXX", "ABCYY", 3, l)); in TEST()
66 ASSERT_LT(strncasecmp_l("hello1", "hello2", 6, l), 0); in TEST()
67 ASSERT_GT(strncasecmp_l("hello2", "hello1", 6, l), 0); in TEST()
[all …]
Dstdarg_test.cpp34 va_list l __attribute__((__unused__)); in TEST() local
Dlocale_test.cpp94 locale_t l = newlocale(LC_ALL, "C", 0); in TEST() local
95 ASSERT_TRUE(l != NULL); in TEST()
96 freelocale(l); in TEST()
Dpthread_test.cpp835 pthread_rwlock_t l; in TEST() local
836 ASSERT_EQ(0, pthread_rwlock_init(&l, NULL)); in TEST()
839 ASSERT_EQ(0, pthread_rwlock_rdlock(&l)); in TEST()
840 ASSERT_EQ(0, pthread_rwlock_unlock(&l)); in TEST()
843 ASSERT_EQ(0, pthread_rwlock_rdlock(&l)); in TEST()
844 ASSERT_EQ(0, pthread_rwlock_rdlock(&l)); in TEST()
845 ASSERT_EQ(0, pthread_rwlock_unlock(&l)); in TEST()
846 ASSERT_EQ(0, pthread_rwlock_unlock(&l)); in TEST()
849 ASSERT_EQ(0, pthread_rwlock_wrlock(&l)); in TEST()
850 ASSERT_EQ(0, pthread_rwlock_unlock(&l)); in TEST()
[all …]
/bionic/benchmarks/
Dstdlib_benchmark.cpp57 size_t i, j, k, l; in BM_stdlib_mbstowcs() local
58 l = 0; in BM_stdlib_mbstowcs()
61 buf[l++] = i, buf[l++] = j; in BM_stdlib_mbstowcs()
65 buf[l++] = i, buf[l++] = j, buf[l++] = k; in BM_stdlib_mbstowcs()
69 buf[l++] = i, buf[l++] = j, buf[l++] = 0x80, buf[l++] = k; in BM_stdlib_mbstowcs()
70 buf[l++] = 0; in BM_stdlib_mbstowcs()
97 size_t i, j, k, l; in BM_stdlib_mbrtowc() local
98 l = 0; in BM_stdlib_mbrtowc()
101 buf[l++] = i, buf[l++] = j; in BM_stdlib_mbrtowc()
105 buf[l++] = i, buf[l++] = j, buf[l++] = k; in BM_stdlib_mbrtowc()
[all …]
/bionic/libc/arch-arm/generic/bionic/
Dstrlen.c47 size_t l = 0; in strlen() local
55 l++; in strlen()
122 : [l]"=&r"(l), [v]"=&r"(v), [t]"=&r"(t), [s]"=&r"(u.b) in strlen()
123 : "%[l]"(l), "%[s]"(u.b), [mask]"r"(0x80808080UL) in strlen()
128 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 …]
/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.h28 #define __mkw(h,l) (((h) & 0x00ff) << 8 | ((l) & 0x00ff)) argument
29 #define __mkl(h,l) (((h) & 0xffff) << 16 | ((l) & 0xffff)) argument
Datm.h43 #define __SO_ENCODE(l,n,t) ((((l) & 0x1FF) << 22) | ((n) << 16) | sizeof(t)) argument
/bionic/libc/system_properties/
Dcontexts_split.cpp244 contexts_, [context](ContextListNode* l) { return !strcmp(l->context(), context); }); in InitializePropertiesFromFile() argument
311 ListForEach(contexts_, [&fsetxattr_failed, &open_failed](ContextListNode* l) { in Initialize() argument
312 if (!l->Open(true, fsetxattr_failed)) { in Initialize()
330 auto entry = ListFind(prefixes_, [name](PrefixNode* l) { in GetPropAreaForName() argument
331 return l->prefix[0] == '*' || !strncmp(l->prefix, name, l->prefix_len); in GetPropAreaForName()
348 ListForEach(contexts_, [propfn, cookie](ContextListNode* l) { in ForEach() argument
349 if (l->CheckAccessAndOpen()) { in ForEach()
350 l->pa()->foreach (propfn, cookie); in ForEach()
356 ListForEach(contexts_, [](ContextListNode* l) { l->ResetAccess(); }); in ResetAccess() argument
/bionic/libc/bionic/
Dmemmem.cpp45 size_t k = 1, l = 2; in memmem() local
49 l = 1; in memmem()
56 j += l; in memmem()
Dlocale.cpp73 locale_t l = uselocale(NULL); in __ctype_get_mb_cur_max() local
74 if (l == LC_GLOBAL_LOCALE) { in __ctype_get_mb_cur_max()
77 return l->mb_cur_max; in __ctype_get_mb_cur_max()
135 locale_t duplocale(locale_t l) { in duplocale() argument
136 return new __locale_t(l); in duplocale()
139 void freelocale(locale_t l) { in freelocale() argument
140 delete l; in freelocale()
/bionic/libc/arch-mips/bionic/
Dsetjmp.S379 l.d $f24, SC_FPREGS+0*REGSZ_FP($a0)
380 l.d $f25, SC_FPREGS+1*REGSZ_FP($a0)
381 l.d $f26, SC_FPREGS+2*REGSZ_FP($a0)
382 l.d $f27, SC_FPREGS+3*REGSZ_FP($a0)
383 l.d $f28, SC_FPREGS+4*REGSZ_FP($a0)
384 l.d $f29, SC_FPREGS+5*REGSZ_FP($a0)
385 l.d $f30, SC_FPREGS+6*REGSZ_FP($a0)
386 l.d $f31, SC_FPREGS+7*REGSZ_FP($a0)
390 l.d $f20, SC_FPREGS+0*REGSZ_FP($a0)
391 l.d $f22, SC_FPREGS+1*REGSZ_FP($a0)
[all …]
/bionic/libc/arch-mips64/bionic/
Dsetjmp.S379 l.d $f24, SC_FPREGS+0*REGSZ_FP($a0)
380 l.d $f25, SC_FPREGS+1*REGSZ_FP($a0)
381 l.d $f26, SC_FPREGS+2*REGSZ_FP($a0)
382 l.d $f27, SC_FPREGS+3*REGSZ_FP($a0)
383 l.d $f28, SC_FPREGS+4*REGSZ_FP($a0)
384 l.d $f29, SC_FPREGS+5*REGSZ_FP($a0)
385 l.d $f30, SC_FPREGS+6*REGSZ_FP($a0)
386 l.d $f31, SC_FPREGS+7*REGSZ_FP($a0)
390 l.d $f20, SC_FPREGS+0*REGSZ_FP($a0)
391 l.d $f22, SC_FPREGS+1*REGSZ_FP($a0)
[all …]
/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()
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/tests/headers/posix/
Dtgmath_h.c54 long l = 0; in tgmath_h() local
108 scalbln(f1, l); scalbln(d1, l); scalbln(ld1, l); in tgmath_h()
/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/libm/upstream-freebsd/lib/msun/src/
De_hypotl.c24 #define GET_LDBL_MAN(h, l, v) do { \ argument
29 l = uv.bits.manl; \
/bionic/libc/arch-arm64/generic/bionic/
Dstrlen.S54 #define L(l) .L ## l argument
Dmemcpy_base.S86 #define L(l) .L ## l argument

12