• Home
  • Raw
  • Download

Lines Matching refs:str_len

1213 	size_t str_len = 0;  in cil_userprefixes_to_string()  local
1231str_len += strlen("user ") + strlen(user->datum.fqn) + strlen(" prefix ") + strlen(userprefix->pre… in cil_userprefixes_to_string()
1234 *size = str_len * sizeof(char); in cil_userprefixes_to_string()
1235 str_len++; in cil_userprefixes_to_string()
1236 str_tmp = cil_malloc(str_len * sizeof(char)); in cil_userprefixes_to_string()
1243 buf_pos = snprintf(str_tmp, str_len, "user %s prefix %s;\n", user->datum.fqn, in cil_userprefixes_to_string()
1245 str_len -= buf_pos; in cil_userprefixes_to_string()
1338 int str_len = 0; in __cil_level_strlen() local
1344 str_len += strlen(lvl->sens->datum.fqn); in __cil_level_strlen()
1347 str_len++; /* initial ":" */ in __cil_level_strlen()
1359 str_len += strlen(str1) + strlen(cat->datum.fqn) + 1; in __cil_level_strlen()
1361 str_len += strlen(str1) + strlen(str2) + strlen(cat->datum.fqn) + 2; in __cil_level_strlen()
1363 str_len += strlen(str1) + strlen(str2) + strlen(cat->datum.fqn) + 2; in __cil_level_strlen()
1368 str_len++; /* space for "," after */ in __cil_level_strlen()
1374 str_len += strlen(str1); in __cil_level_strlen()
1376 str_len += strlen(str1) + strlen(str2) + 1; in __cil_level_strlen()
1378 str_len += strlen(str1) + strlen(str2) + 1; in __cil_level_strlen()
1383 return str_len; in __cil_level_strlen()
1455 size_t str_len = 0; in cil_selinuxusers_to_string() local
1470 str_len += strlen(selinuxuser->name_str) + strlen(user->datum.fqn) + 1; in cil_selinuxusers_to_string()
1474 str_len += __cil_level_strlen(range->low) + __cil_level_strlen(range->high) + 2; in cil_selinuxusers_to_string()
1477 str_len++; in cil_selinuxusers_to_string()
1480 *size = str_len * sizeof(char); in cil_selinuxusers_to_string()
1525 size_t str_len = 0; in cil_filecons_to_string() local
1533 str_len += strlen(filecon->path_str); in cil_filecons_to_string()
1538 str_len += 3; in cil_filecons_to_string()
1546 str_len += (strlen(user->datum.fqn) + strlen(role->datum.fqn) + strlen(type->datum.fqn) + 3); in cil_filecons_to_string()
1551 str_len += __cil_level_strlen(range->low) + 1; in cil_filecons_to_string()
1553 str_len += __cil_level_strlen(range->low) + __cil_level_strlen(range->high) + 2; in cil_filecons_to_string()
1557 str_len += strlen("\t<<none>>"); in cil_filecons_to_string()
1560 str_len++; in cil_filecons_to_string()
1563 *size = str_len * sizeof(char); in cil_filecons_to_string()