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

/solaris-x11-s11/open-src/lib/libXaw4/sun-src/
H A DXaw3_1TextAction.c1014 unsigned char hexval; local
1017 hexval = 0;
1019 hexval *= 16;
1021 hexval += c - '0';
1023 hexval += c - 'a' + 10;
1025 hexval += c - 'A' + 10;
1029 text.ptr = (char*)&hexval;
/solaris-x11-s11/open-src/lib/libXaw5/sun-src/
H A DTextAction.c1611 int ind; /* steps through hexval buffer char by char */
1612 static char hexval[ XawTextActionMaxHexChars ]; local
1626 hexval[ ind ] = '\0';
1629 hexval[ ind ] *= 16;
1631 hexval[ ind ] += c - '0';
1633 hexval[ ind ] += c - 'a' + 10;
1635 hexval[ ind ] += c - 'A' + 10;
1645 hexval[ ind ] = '\0';
1656 *len_return = strlen( hexval );
1657 return( hexval ); /*
[all...]

Completed in 16 milliseconds