Home
last modified time | relevance | path

Searched refs:byteset (Results 1 – 10 of 10) sorted by relevance

/third_party/musl/src/string/
Dstrcspn.c9 size_t byteset[32/sizeof(size_t)]; in strcspn() local
13 memset(byteset, 0, sizeof byteset); in strcspn()
14 for (; *c && BITOP(byteset, *(unsigned char *)c, |=); c++); in strcspn()
15 for (; *s && !BITOP(byteset, *(unsigned char *)s, &); s++); in strcspn()
Dstrspn.c9 size_t byteset[32/sizeof(size_t)] = { 0 }; in strspn() local
17 for (; *c && BITOP(byteset, *(unsigned char *)c, |=); c++); in strspn()
18 for (; *s && BITOP(byteset, *(unsigned char *)s, &); s++); in strspn()
Dstrstr.c37 size_t byteset[32 / sizeof(size_t)] = { 0 }; in twoway_strstr() local
42 BITOP(byteset, n[l], |=), shift[n[l]] = l+1; in twoway_strstr()
109 if (BITOP(byteset, h[l-1], &)) { in twoway_strstr()
Dmemmem.c40 size_t byteset[32 / sizeof(size_t)] = { 0 }; in twoway_memmem() local
45 BITOP(byteset, n[i], |=), shift[n[i]] = i+1; in twoway_memmem()
100 if (BITOP(byteset, h[l-1], &)) { in twoway_memmem()
/third_party/musl/porting/liteos_a/kernel/src/string/
Dstrcspn.c9 size_t byteset[32/sizeof(size_t)]; in strcspn() local
13 memset(byteset, 0, sizeof byteset); in strcspn()
14 for (; *c && BITOP(byteset, *(unsigned char *)c, |=); c++); in strcspn()
15 for (; *s && !BITOP(byteset, *(unsigned char *)s, &); s++); in strcspn()
Dstrspn.c9 size_t byteset[32/sizeof(size_t)] = { 0 }; in strspn() local
17 for (; *c && BITOP(byteset, *(unsigned char *)c, |=); c++); in strspn()
18 for (; *s && BITOP(byteset, *(unsigned char *)s, &); s++); in strspn()
Dstrstr.c37 size_t byteset[32 / sizeof(size_t)] = { 0 }; in twoway_strstr() local
42 BITOP(byteset, n[l], |=), shift[n[l]] = l+1; in twoway_strstr()
109 if (BITOP(byteset, h[l-1], &)) { in twoway_strstr()
/third_party/musl/porting/liteos_m/kernel/src/string/
Dstrcspn.c9 size_t byteset[32/sizeof(size_t)]; in strcspn() local
13 memset(byteset, 0, sizeof byteset); in strcspn()
14 for (; *c && BITOP(byteset, *(unsigned char *)c, |=); c++); in strcspn()
15 for (; *s && !BITOP(byteset, *(unsigned char *)s, &); s++); in strcspn()
Dstrspn.c9 size_t byteset[32/sizeof(size_t)] = { 0 }; in strspn() local
17 for (; *c && BITOP(byteset, *(unsigned char *)c, |=); c++); in strspn()
18 for (; *s && BITOP(byteset, *(unsigned char *)s, &); s++); in strspn()
Dstrstr.c37 size_t byteset[32 / sizeof(size_t)] = { 0 }; in twoway_strstr() local
42 BITOP(byteset, n[l], |=), shift[n[l]] = l+1; in twoway_strstr()
109 if (BITOP(byteset, h[l-1], &)) { in twoway_strstr()