Home | History | Annotate | Download | only in src

Lines Matching full:str_len

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