Searched refs:u_char_len (Results 1 – 1 of 1) sorted by relevance
853 asn_predict_length(int type, u_char * ptr, size_t u_char_len) in asn_predict_length() argument857 return 1 + 3 + u_char_len; in asn_predict_length()861 memcpy(&value, ptr, u_char_len); in asn_predict_length()862 u_char_len = asn_predict_int_length(type, value, u_char_len); in asn_predict_length()865 if (u_char_len < 0x80) in asn_predict_length()866 return 1 + 1 + u_char_len; in asn_predict_length()867 else if (u_char_len < 0xFF) in asn_predict_length()868 return 1 + 2 + u_char_len; in asn_predict_length()870 return 1 + 3 + u_char_len; in asn_predict_length()