Searched refs:class_buf_len (Results 1 – 1 of 1) sorted by relevance
/external/selinux/libsepol/src/ |
D | services.c | 319 int class_buf_len = 0; in get_class_info() local 326 new_class_buf_len = class_buf_len + EXPR_BUF_SIZE; in get_class_info() 330 class_buf_len = new_class_buf_len; in get_class_info() 336 len = snprintf(p, class_buf_len - buf_used, "%s", statements[state_num]); in get_class_info() 337 if (len < 0 || len >= class_buf_len - buf_used) in get_class_info() 343 len = snprintf(p, class_buf_len - buf_used, "%s ", in get_class_info() 345 if (len < 0 || len >= class_buf_len - buf_used) in get_class_info() 352 len = snprintf(p, class_buf_len - buf_used, "{%s } (", in get_class_info() 356 len = snprintf(p, class_buf_len - buf_used, "("); in get_class_info() 358 if (len < 0 || len >= class_buf_len - buf_used) in get_class_info()
|