Home | History | Annotate | Download | only in WebServer

Lines Matching defs:Character

20   Get a UTF-8 character from the buffer

22 @param [in] pData The address of the buffer containing the character
23 @param [out] ppData The address to receive the next character address
25 @return The character value
35 INTN Character;
47 Character = 0;
51 // Get the first portion of the character
53 Character = *pData++;
54 Control = Character;
58 // Append the rest of the character
62 Character &= Mask;
65 Character <<= 6;
69 // Invalid character
72 Character = 0;
75 Character |= Data & 0x3f;
81 // Return the next character location and the character
84 return Character;
147 Convert the ANSI character to lower case
149 @param [in] Character The character to convert to lower case.
151 @return The lower case character
156 IN INTN Character
160 // Determine if the character is upper case
162 if (( 'A' <= Character ) && ( 'Z' >= Character )) {
163 Character += 'a' - 'A';
167 // Return the lower case value of the character
169 return Character;
197 // Get the character from the comparison string
202 // Convert the character to lower case
209 // Get the character from the request
214 // Error getting character
221 // Convert the character to lower case
481 @return The next character location
490 INTN Character;
496 // Get the character from the request
498 Character = HttpCharGet ( pData, &pData );
499 if ( ' ' == Character ) {
506 // Replace the space character with zero
511 // Return the next character location
778 Display a character
782 @param [in] Character Character to display
783 @param [in] pReplacement Replacement character string
792 IN CHAR8 Character,
799 // Determine if this is a printable character
801 if (( 0x20 <= Character ) && ( 0x7f > Character )) {
802 if ( '<' == Character ) {
810 else if ( '>' == Character ) {
818 else if ( '&' == Character ) {
826 else if ( '\"' == Character ) {
836 // Display the character
840 Character );
845 // Not a displayable character
879 UINT8 Character;
1006 Character = *pData++;
1009 Character,
1549 UINT16 Character;
1560 while ( 0 != ( Character = *pString++ )) {
1562 // Convert the character to UTF-8
1564 if ( 0 != ( Character & 0xf800 )) {
1568 Data = (UINT8)(( Character >> 12 ) & 0xf );
1580 Data = (UINT8)(( Character >> 6 ) & 0x3f );
1592 Data = (UINT8)( Character & 0x3f );
1595 else if ( 0 != ( Character & 0x0780 )) {
1599 Data = (UINT8)(( Character >> 6 ) & 0x1f );
1611 Data = (UINT8)( Character & 0x3f );
1615 Data = (UINT8)( Character & 0x7f );