Lines Matching refs:longword
61 /* On 32-bit hardware, choosing longword to be a 32-bit unsigned
66 typedef unsigned long int longword;
69 const longword *longword_ptr;
70 longword repeated_one;
71 longword repeated_c;
77 Do this until CHAR_PTR is aligned on a longword boundary. */
79 n > 0 && (size_t) char_ptr % sizeof (longword) != 0;
84 longword_ptr = (const longword *) char_ptr;
89 /* Compute auxiliary longword values:
95 if (0xffffffffU < (longword) -1)
99 if (8 < sizeof (longword))
103 for (i = 64; i < sizeof (longword) * 8; i *= 2)
112 longword at a time. The tricky part is testing if *any of the four*
113 bytes in the longword in question are equal to c. We first use an xor
142 while (n >= sizeof (longword))
144 longword longword1 = *longword_ptr ^ repeated_c;
150 n -= sizeof (longword);
155 /* At this point, we know that either n < sizeof (longword), or one of the
156 sizeof (longword) bytes starting at char_ptr is == c. On little-endian