} state = normal_char;
while (p < pe) {
- if (G_LIKELY(is_utf)) {
+ if (is_utf) {
gint32 off = p - begin;
U8_NEXT (begin, off, pe - begin, uc);
*/
break;
}
- else if (G_UNLIKELY (*p) == '\r') {
+ else if (*p == '\r') {
switch (state) {
case normal_char:
state = seen_cr;
p ++;
}
- else if (G_UNLIKELY (*p == '\n')) {
+ else if (*p == '\n') {
switch (state) {
case normal_char:
state = seen_lf;
switch (state) {
case normal_char:
- if (G_UNLIKELY (*p) == ' ') {
+ if (*p == ' ') {
part->spaces ++;
if (p > begin && *(p - 1) == ' ') {
else {
part->non_spaces ++;
- if (G_UNLIKELY (*p & 0x80)) {
+ if ((*p) & 0x80) {
part->non_ascii_chars ++;
}
else {
}
/* Skip initial spaces */
- if (G_UNLIKELY (*p == ' ')) {
+ if (*p == ' ') {
if (!crlf_added) {
g_byte_array_append (part->utf_stripped_content,
(const guint8 *)" ", 1);
(const guint8 *)c, p - c);
while (c < p) {
- if (G_UNLIKELY (*c) == ' ') {
+ if (*c == ' ') {
part->spaces ++;
if (c > begin && *(c - 1) == ' ') {
else {
part->non_spaces ++;
- if (G_UNLIKELY (*c & 0x80)) {
+ if ((*c) & 0x80) {
part->non_ascii_chars ++;
}
else {