Searched refs:enc_char (Results 1 – 2 of 2) sorted by relevance
1055 char enc_char = *enc_hex_byte; in idm_ascii_to_hex() local1057 if (enc_char >= '0' && enc_char <= '9') { in idm_ascii_to_hex()1058 nibble1 = (enc_char - '0'); in idm_ascii_to_hex()1059 } else if (enc_char >= 'A' && enc_char <= 'F') { in idm_ascii_to_hex()1060 nibble1 = (0xA + (enc_char - 'A')); in idm_ascii_to_hex()1061 } else if (enc_char >= 'a' && enc_char <= 'f') { in idm_ascii_to_hex()1062 nibble1 = (0xA + (enc_char - 'a')); in idm_ascii_to_hex()1068 enc_char = *enc_hex_byte; in idm_ascii_to_hex()1070 if (enc_char >= '0' && enc_char <= '9') { in idm_ascii_to_hex()1071 nibble2 = (enc_char - '0'); in idm_ascii_to_hex()[all …]
7709 char enc_char = *c++; in stmf_base16_str_to_binary() local7710 nibble1 = stmf_ctoi(enc_char); in stmf_base16_str_to_binary()7712 enc_char = *c++; in stmf_base16_str_to_binary()7713 nibble2 = stmf_ctoi(enc_char); in stmf_base16_str_to_binary()