Searched refs:prefix_str (Results 1 – 12 of 12) sorted by relevance
/third_party/ltp/lib/ |
D | tst_net.c | 101 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/ |
D | tst_net_ip_prefix.c | 51 char *ip_str = NULL, *prefix_str = NULL; in main() local 68 prefix_str = strchr(ip_str, '/'); in main() 70 if (prefix_str) in main()
|
D | tst_net_iface_prefix.c | 109 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/selinux/libsepol/src/ |
D | module_to_cil.c | 3219 char *prefix_str = NULL; in user_extra_to_cil() local 3239 matched = tokenize(tmp, ' ', 4, &user_str, &user, &prefix_str, &prefix); in user_extra_to_cil() 3248 if (*eol != ';' || strcmp(user_str, "user") || strcmp(prefix_str, "prefix")) { in user_extra_to_cil() 3260 free(prefix_str); in user_extra_to_cil() 3261 user = prefix = line = user_str = prefix_str = NULL; in user_extra_to_cil()
|
/third_party/selinux/libsepol/cil/src/ |
D | cil_internal.h | 491 char *prefix_str; member
|
D | cil.c | 1445 …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() 2272 (*userprefix)->prefix_str = NULL; in cil_userprefix_init()
|
D | cil_copy_ast.c | 503 new->prefix_str = orig->prefix_str; in cil_copy_userprefix()
|
D | cil_write_ast.c | 983 fprintf(out, "%s)\n", prefix->prefix_str); in cil_write_ast_node()
|
D | cil_build_ast.c | 1597 userprefix->prefix_str = parse_current->next->next->data; in cil_gen_userprefix()
|
/third_party/elfutils/libcpu/ |
D | i386_disasm.c | 169 static const char *prefix_str[] =
|
/third_party/googletest/googlemock/test/ |
D | gmock-more-actions_test.cc | 1265 std::string prefix_str(prefix); in ACTION_P2() local 1267 return prefix_str + arg0 + suffix_char; in ACTION_P2()
|
D | gmock-matchers-misc_test.cc | 1310 std::string prefix_str(prefix); 1312 return arg == prefix_str + suffix_char;
|