Searched refs:name_dec (Results 1 – 1 of 1) sorted by relevance
243 netbiosns_name_decode(const char *name_enc, char *name_dec, int name_dec_len) in netbiosns_name_decode() argument284 name_dec[idx++] = (cnbname != ' ' ? cnbname : '\0'); in netbiosns_name_decode()295 netbiosns_name_encode(char *name_enc, char *name_dec, int name_dec_len)327 name_dec[idx++] = ('A' + ((ucname >> 4) & 0x0F));328 name_dec[idx++] = ('A' + ( ucname & 0x0F));334 name_dec[idx++] = 'C';335 name_dec[idx++] = 'A';339 name_dec[idx] = '\0';