Home
last modified time | relevance | path

Searched refs:prefix_str (Results 1 – 13 of 13) sorted by relevance

/third_party/ltp/lib/
Dtst_net.c101 char *prefix_str = NULL; in tst_get_prefix() local
104 prefix_str = strchr(ip_str, '/'); in tst_get_prefix()
105 if (!prefix_str) in tst_get_prefix()
108 *(prefix_str++) = '\0'; in tst_get_prefix()
110 if (!is_ipv6 && strchr(prefix_str, '.')) in tst_get_prefix()
111 prefix = tst_ipv4_mask_to_int(prefix_str); in tst_get_prefix()
113 r = tst_safe_atoi(prefix_str, &prefix); in tst_get_prefix()
116 prefix_str); in tst_get_prefix()
122 prefix_str); in tst_get_prefix()
/third_party/ltp/testcases/lib/
Dtst_net_ip_prefix.c51 char *ip_str = NULL, *prefix_str = NULL; in main() local
68 prefix_str = strchr(ip_str, '/'); in main()
70 if (prefix_str) in main()
Dtst_net_iface_prefix.c109 char *ip_str = NULL, *prefix_str = NULL; in main() local
126 prefix_str = strchr(ip_str, '/'); in main()
127 if (prefix_str) { in main()
/third_party/e2fsprogs/lib/et/
Det_h.awk123 prefix_str = ""
141 tag=prefix_str substr($2,1,length($2)-1)
162 prefix_str = ""
166 prefix_str = $2 "_"
Det_c.awk201 prefix_str = ""
205 prefix_str = $2 "_"
/third_party/selinux/libsepol/src/
Dmodule_to_cil.c3182 char *prefix_str = NULL; in user_extra_to_cil() local
3202 matched = tokenize(tmp, ' ', 4, &user_str, &user, &prefix_str, &prefix); in user_extra_to_cil()
3211 if (*eol != ';' || strcmp(user_str, "user") || strcmp(prefix_str, "prefix")) { in user_extra_to_cil()
3223 free(prefix_str); in user_extra_to_cil()
3224 user = prefix = line = user_str = prefix_str = NULL; in user_extra_to_cil()
/third_party/selinux/libsepol/cil/src/
Dcil_internal.h491 char *prefix_str; member
Dcil.c1445 …trlen("user ") + strlen(user->datum.fqn) + strlen(" prefix ") + strlen(userprefix->prefix_str) + 2; in cil_userprefixes_to_string()
1458 userprefix->prefix_str); in cil_userprefixes_to_string()
2263 (*userprefix)->prefix_str = NULL; in cil_userprefix_init()
Dcil_copy_ast.c503 new->prefix_str = orig->prefix_str; in cil_copy_userprefix()
Dcil_write_ast.c983 fprintf(out, "%s)\n", prefix->prefix_str); in cil_write_ast_node()
Dcil_build_ast.c1597 userprefix->prefix_str = parse_current->next->next->data; in cil_gen_userprefix()
/third_party/googletest/googlemock/test/
Dgmock-more-actions_test.cc1262 std::string prefix_str(prefix); in ACTION_P2() local
1264 return prefix_str + arg0 + suffix_char; in ACTION_P2()
Dgmock-matchers_test.cc7948 std::string prefix_str(prefix); in TEST()
7950 return arg == prefix_str + suffix_char; in TEST()