Home
last modified time | relevance | path

Searched refs:DETECTNULL (Results 1 – 21 of 21) sorted by relevance

/picolibc-latest/newlib/libc/string/
Dstrchr.c57 #define DETECTNULL(X) (((X) - 0x01010101) & ~(X) & 0x80808080) macro
61 #define DETECTNULL(X) (((X) - 0x0101010101010101) & ~(X) & 0x8080808080808080) macro
69 #define DETECTCHAR(X,MASK) (DETECTNULL(X ^ MASK))
94 while (!DETECTNULL (*aligned_addr)) in strchr()
118 while (!DETECTNULL (*aligned_addr) && !DETECTCHAR (*aligned_addr, mask)) in strchr()
Dstrlen.c53 #define DETECTNULL(X) (((X) - 0x01010101) & ~(X) & 0x80808080) macro
57 #define DETECTNULL(X) (((X) - 0x0101010101010101) & ~(X) & 0x8080808080808080) macro
63 #ifndef DETECTNULL
87 while (!DETECTNULL (*aligned_addr)) in strlen()
Dstpcpy.c45 #define DETECTNULL(X) (((X) - 0x01010101) & ~(X) & 0x80808080) macro
49 #define DETECTNULL(X) (((X) - 0x0101010101010101) & ~(X) & 0x8080808080808080) macro
55 #ifndef DETECTNULL
76 while (!DETECTNULL(*aligned_src)) in stpcpy()
Dstrcat.c55 #define DETECTNULL(X) (((X) - 0x01010101) & ~(X) & 0x80808080) macro
59 #define DETECTNULL(X) (((X) - 0x0101010101010101) & ~(X) & 0x8080808080808080) macro
65 #ifndef DETECTNULL
97 while (!DETECTNULL (*aligned_s1)) in strcat()
Dstrcpy.c57 #define DETECTNULL(X) (((X) - 0x01010101) & ~(X) & 0x80808080) macro
61 #define DETECTNULL(X) (((X) - 0x0101010101010101) & ~(X) & 0x8080808080808080) macro
67 #ifndef DETECTNULL
99 while (!DETECTNULL(*aligned_src)) in strcpy()
Dstrcmp.c58 #define DETECTNULL(X) (((X) - 0x01010101) & ~(X) & 0x80808080) macro
61 #define DETECTNULL(X) (((X) - 0x0101010101010101) & ~(X) & 0x8080808080808080) macro
67 #ifndef DETECTNULL
98 if (DETECTNULL (*a1)) in strcmp()
Dstrncat.c63 #define DETECTNULL(X) (((X) - 0x01010101) & ~(X) & 0x80808080) macro
67 #define DETECTNULL(X) (((X) - 0x0101010101010101) & ~(X) & 0x8080808080808080) macro
73 #ifndef DETECTNULL
104 while (!DETECTNULL (*aligned_s1)) in strncat()
Dstpncpy.c52 #define DETECTNULL(X) (((X) - 0x01010101) & ~(X) & 0x80808080) macro
56 #define DETECTNULL(X) (((X) - 0x0101010101010101) & ~(X) & 0x8080808080808080) macro
62 #ifndef DETECTNULL
88 while (count >= sizeof (long int) && !DETECTNULL(*aligned_src)) in stpncpy()
Dstrncmp.c58 #define DETECTNULL(X) (((X) - 0x01010101) & ~(X) & 0x80808080) macro
61 #define DETECTNULL(X) (((X) - 0x0101010101010101) & ~(X) & 0x8080808080808080) macro
67 #ifndef DETECTNULL
109 if (n == 0 || DETECTNULL (*a1)) in strncmp()
Drawmemchr.c47 #define DETECTNULL(X) (((X) - 0x01010101) & ~(X) & 0x80808080) macro
51 #define DETECTNULL(X) (((X) - 0x0101010101010101) & ~(X) & 0x8080808080808080) macro
57 #ifndef DETECTNULL
63 #define DETECTCHAR(X,MASK) (DETECTNULL(X ^ MASK))
Dstrncpy.c62 #define DETECTNULL(X) (((X) - 0x01010101) & ~(X) & 0x80808080) macro
66 #define DETECTNULL(X) (((X) - 0x0101010101010101) & ~(X) & 0x8080808080808080) macro
72 #ifndef DETECTNULL
116 while (count >= sizeof (long int) && !DETECTNULL(*aligned_src)) in strncpy()
Dmemchr.c62 #define DETECTNULL(X) (((X) - 0x01010101) & ~(X) & 0x80808080) macro
66 #define DETECTNULL(X) (((X) - 0x0101010101010101) & ~(X) & 0x8080808080808080) macro
72 #ifndef DETECTNULL
78 #define DETECTCHAR(X,MASK) (DETECTNULL(X ^ MASK))
Dmemrchr.c48 #define DETECTNULL(X) (((X) - 0x01010101) & ~(X) & 0x80808080) macro
52 #define DETECTNULL(X) (((X) - 0x0101010101010101) & ~(X) & 0x8080808080808080) macro
58 #ifndef DETECTNULL
64 #define DETECTCHAR(X,MASK) (DETECTNULL(X ^ MASK))
Dmemccpy.c49 #define DETECTNULL(X) (((X) - 0x01010101) & ~(X) & 0x80808080) macro
53 #define DETECTNULL(X) (((X) - 0x0101010101010101) & ~(X) & 0x8080808080808080) macro
117 if (DETECTNULL (buffer)) in memccpy()
/picolibc-latest/newlib/libc/machine/microblaze/
Dstrlen.c67 #define DETECTNULL(X) (((X) - 0x01010101) & ~(X) & 0x80808080) macro
71 #define DETECTNULL(X) (((X) - 0x0101010101010101) & ~(X) & 0x8080808080808080) macro
77 #ifndef DETECTNULL
103 while (!DETECTNULL (*aligned_addr)) in strlen()
Dstrcmp.c72 #define DETECTNULL(X) (((X) - 0x01010101) & ~(X) & 0x80808080) macro
75 #define DETECTNULL(X) (((X) - 0x0101010101010101) & ~(X) & 0x8080808080808080) macro
81 #ifndef DETECTNULL
114 if (DETECTNULL (*a1)) in strcmp()
Dstrcpy.c71 #define DETECTNULL(X) (((X) - 0x01010101) & ~(X) & 0x80808080) macro
75 #define DETECTNULL(X) (((X) - 0x0101010101010101) & ~(X) & 0x8080808080808080) macro
81 #ifndef DETECTNULL
113 while (!DETECTNULL(*aligned_src)) in strcpy()
/picolibc-latest/newlib/libc/machine/arc64/
Dstrcmp.S276 ; DETECTNULL(X) (((X) - 0x01010101) & ~(X) & 0x80808080) [0]
Dstrlen.S233 ; DETECTNULL(X) (((X) - 0x01010101) & ~(X) & 0x80808080) [0]
Dmemchr.S304 ; DETECTNULL(X) (((X) - 0x01010101) & ~(X) & 0x80808080) [0]
Dstrcat.S527 ; DETECTNULL(X) (((X) - 0x01010101) & ~(X) & 0x80808080) [0]