| 1134 | |
| 1135 | |
| 1136 | void INTL_pad_spaces(thread_db* tdbb, DSC* type, UCHAR* string, ULONG length) |
| 1137 | { |
| 1138 | /************************************** |
| 1139 | * |
| 1140 | * I N T L _ p a d _ s p a c e s |
| 1141 | * |
| 1142 | ************************************** |
| 1143 | * |
| 1144 | * Functional description |
| 1145 | * Pad a buffer with spaces, using the character |
| 1146 | * set's defined space character. |
| 1147 | * |
| 1148 | **************************************/ |
| 1149 | SET_TDBB(tdbb); |
| 1150 | |
| 1151 | fb_assert(type != NULL); |
| 1152 | fb_assert(IS_TEXT(type)); |
| 1153 | fb_assert(string != NULL); |
| 1154 | |
| 1155 | const USHORT charset = INTL_charset(tdbb, type->dsc_ttype()); |
| 1156 | pad_spaces(tdbb, charset, string, length); |
| 1157 | } |
| 1158 | |
| 1159 | |
| 1160 | USHORT INTL_string_to_key(thread_db* tdbb, |
nothing calls this directly
no test coverage detected