search for: matchinv

Displaying 3 results from an estimated 3 matches for "matchinv".

Did you mean: matching
2011 Apr 04
1
[PATCH] com32: Do not use centralized bitops header in vsscanf
...unsigned int bit) +{ + return (int)(bitmap[bit / LONG_BIT] >> (bit % LONG_BIT)) & 1; +} + int vsscanf(const char *buffer, const char *format, va_list ap) { const char *p = format; @@ -298,7 +309,7 @@ set_integer: if (ch == '^' && !(flags & FL_INV)) { matchinv = 1; } else { - set_bit((unsigned char)ch, matchmap); + set_bit(matchmap, (unsigned char)ch); state = st_match; } break; @@ -310,18 +321,18 @@ set_integer: range_start = (unsigned char)ch; state = st_match_range; } else { - set_bit((unsigned char)ch, matchmap); +...
2011 Nov 30
1
[PATCH] vsscanf: remove unused variables
...har *buffer, const char *format, va_list ap) } state = st_normal; char *sarg = NULL; /* %s %c or %[ string argument */ enum bail bail = bail_none; - int sign; int converted = 0; /* Successful conversions */ unsigned long matchmap[((1 << CHAR_BIT) + (LONG_BIT - 1)) / LONG_BIT]; int matchinv = 0; /* Is match map inverted? */ @@ -177,33 +176,27 @@ int vsscanf(const char *buffer, const char *format, va_list ap) case 'p': /* Pointer */ rank = rank_ptr; base = 0; - sign = 0; goto scan_int; case 'i': /* Base-independent integer */ base...
2011 Dec 04
0
[GIT PULL] klibc minor fixes
...har *buffer, const char *format, va_list ap) } state = st_normal; char *sarg = NULL; /* %s %c or %[ string argument */ enum bail bail = bail_none; - int sign; int converted = 0; /* Successful conversions */ unsigned long matchmap[((1 << CHAR_BIT) + (LONG_BIT - 1)) / LONG_BIT]; int matchinv = 0; /* Is match map inverted? */ @@ -177,33 +176,27 @@ int vsscanf(const char *buffer, const char *format, va_list ap) case 'p': /* Pointer */ rank = rank_ptr; base = 0; - sign = 0; goto scan_int; case 'i': /* Base-independent integer */ base...