Home
last modified time | relevance | path

Searched refs:byteset (Results 1 – 15 of 15) 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_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()
/third_party/musl/porting/uniproton/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_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/rust/crates/memchr/src/memmem/
Dtwoway.rs62 byteset: ApproximateByteSet, field
85 let byteset = ApproximateByteSet::new(needle); in new() localVariable
95 Forward(TwoWay { byteset, critical_pos, shift }) in new()
174 if !self.0.byteset.contains(haystack[pos + last_byte]) { in find_small_imp()
220 if !self.0.byteset.contains(haystack[pos + last_byte]) { in find_large_imp()
252 let byteset = ApproximateByteSet::new(needle); in new() localVariable
263 Reverse(TwoWay { byteset, critical_pos, shift }) in new()
321 if !self.0.byteset.contains(haystack[pos - nlen]) { in rfind_small_imp()
358 if !self.0.byteset.contains(haystack[pos - nlen]) { in rfind_large_imp()
386 byteset: ApproximateByteSet::new(b""), in empty()
/third_party/rust/crates/aho-corasick/src/
Dprefilter.rs815 byteset: Vec<bool>, field
828 byteset: vec![false; 256], in new()
852 if !self.byteset[b] { in build()
900 if !self.byteset[byte as usize] { in add_one_byte()
901 self.byteset[byte as usize] = true; in add_one_byte()