Searched refs:terminators (Results 1 - 1 of 1) sorted by relevance

/ast/src/lib/libast/misc/
H A Drecfmt.c58 static unsigned char terminators[] = { '\n', 0x15, 0x25 }; local
80 for (i = 0; i < elementsof(terminators); i++)
81 if ((t = (unsigned char*)memchr((void*)s, k = terminators[i], size / 2)) && (n = t - s + 1) > 1 && (total <= 0 || !(total % n)))
90 return REC_D_TYPE(terminators[i]);
137 for (j = 0; j < elementsof(terminators); j++)
138 if (s[i] == terminators[j])

Completed in 17 milliseconds