Logo Search packages:      
Sourcecode: chromium-browser version File versions  Download package

#define UTF8_NEXT_CHAR_UNSAFE ( s,
i,
 ) 

Value:

{ \
    (c)=(s)[(i)++]; \
    if((uint8_t)((c)-0xc0)<0x35) { \
        uint8_t __count=UTF8_COUNT_TRAIL_BYTES(c); \
        UTF8_MASK_LEAD_BYTE(c, __count); \
        switch(__count) { \
        /* each following branch falls through to the next one */ \
        case 3: \
            (c)=((c)<<6)|((s)[(i)++]&0x3f); \
        case 2: \
            (c)=((c)<<6)|((s)[(i)++]&0x3f); \
        case 1: \
            (c)=((c)<<6)|((s)[(i)++]&0x3f); \
        /* no other branches to optimize switch() */ \
            break; \
        } \
    } \
}
Deprecated:
ICU 2.4. Renamed to U8_NEXT_UNSAFE, see utf_old.h.

Definition at line 350 of file utf_old.h.


Generated by  Doxygen 1.6.0   Back to index