Home
last modified time | relevance | path

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

/external/ltp/include/
Dtst_net.h108 char *prefix_str = NULL; in get_prefix() local
111 prefix_str = strchr(ip_str, '/'); in get_prefix()
112 if (!prefix_str) in get_prefix()
115 *(prefix_str++) = '\0'; in get_prefix()
117 if (!is_ipv6 && strchr(prefix_str, '.')) in get_prefix()
118 prefix = ipv4_mask_to_int(prefix_str); in get_prefix()
120 r = safe_atoi(prefix_str, &prefix); in get_prefix()
123 prefix_str); in get_prefix()
129 prefix_str); in get_prefix()
/external/arm-trusted-firmware/common/
Dtf_log.c28 const char *prefix_str; in tf_log() local
40 prefix_str = plat_log_get_prefix(log_level); in tf_log()
42 while (*prefix_str != '\0') { in tf_log()
43 (void)putchar(*prefix_str); in tf_log()
44 prefix_str++; in tf_log()
/external/u-boot/lib/
Dhexdump.c182 void print_hex_dump(const char *prefix_str, int prefix_type, int rowsize, in print_hex_dump() argument
201 printf("%s%p: %s\n", prefix_str, ptr + i, linebuf); in print_hex_dump()
204 printf("%s%.8x: %s\n", prefix_str, i, linebuf); in print_hex_dump()
207 printf("%s%s\n", prefix_str, linebuf); in print_hex_dump()
225 void print_hex_dump_bytes(const char *prefix_str, int prefix_type, in print_hex_dump_bytes() argument
228 print_hex_dump(prefix_str, prefix_type, 16, 1, buf, len, true); in print_hex_dump_bytes()
235 void print_hex_dump(const char *prefix_str, int prefix_type, in print_hex_dump() argument
241 void print_hex_dump_bytes(const char *prefix_str, int prefix_type, in print_hex_dump_bytes() argument
/external/autotest/client/cros/chameleon/
Dscreen_comparison.py97 prefix_str = '%s-%dx%d' % ((time_str,) + images[0].size)
100 prefix_str, num_wrong_pixels, max_diff_value))
117 prefix_str = '%s-%dx%d' % ((time_str,) + images[i].size)
121 '%s-%s.png' % (prefix_str, tags[i]))
126 self._output_dir, '%s-diff.png' % prefix_str)
/external/ltp/testcases/lib/
Dtst_net_ip_prefix.c50 char *ip_str = NULL, *prefix_str = NULL; in main() local
67 prefix_str = strchr(ip_str, '/'); in main()
69 if (prefix_str) in main()
Dtst_net_iface_prefix.c108 char *ip_str = NULL, *prefix_str = NULL; in main() local
125 prefix_str = strchr(ip_str, '/'); in main()
126 if (prefix_str) { in main()
/external/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 "_"
/external/u-boot/include/
Dhexdump.h86 void print_hex_dump(const char *prefix_str, int prefix_type, int rowsize,
88 void print_hex_dump_bytes(const char *prefix_str, int prefix_type,
/external/autotest/client/site_tests/network_Ipv6SimpleNegotiation/
Dnetwork_Ipv6SimpleNegotiation.py138 address, prefix_str = address_and_prefix.split('/')
139 prefix = int(prefix_str)
/external/selinux/libselinux/src/android/
Dandroid_platform.c140 struct prefix_str { struct
146 static void free_prefix_str(struct prefix_str *p) in free_prefix_str() argument
160 struct prefix_str user;
162 struct prefix_str name;
163 struct prefix_str path;
/external/google-breakpad/src/third_party/libdisasm/
Dia32_insn.h485 char prefix_str[16]; /* mnemonics for prefix */
/external/googletest/googlemock/test/
Dgmock-generated-actions_test.cc708 std::string prefix_str(prefix); in ACTION_P2() local
710 return prefix_str + arg0 + suffix_char; in ACTION_P2()
Dgmock-generated-matchers_test.cc886 std::string prefix_str(prefix);
888 return arg == prefix_str + suffix_char;
/external/tensorflow/tensorflow/core/platform/cloud/
Dgcs_file_system.cc1467 const string& prefix_str = prefix.asString(); in GetChildrenBounded() local
1468 StringPiece relative_path(prefix_str); in GetChildrenBounded()
1471 "Unexpected response: the returned folder name ", prefix_str, in GetChildrenBounded()
/external/google-breakpad/src/testing/test/
Dgmock-generated-actions_test.cc867 std::string prefix_str(prefix); in ACTION_P2() local
869 return prefix_str + arg0 + suffix_char; in ACTION_P2()
Dgmock-generated-matchers_test.cc905 std::string prefix_str(prefix);
907 return arg == prefix_str + suffix_char;
/external/selinux/libsepol/src/
Dmodule_to_cil.c3172 char *prefix_str = NULL; in user_extra_to_cil() local
3192 matched = tokenize(tmp, ' ', 4, &user_str, &user, &prefix_str, &prefix); in user_extra_to_cil()
3201 if (*eol != ';' || strcmp(user_str, "user") || strcmp(prefix_str, "prefix")) { in user_extra_to_cil()
3213 free(prefix_str); in user_extra_to_cil()
3214 user = prefix = line = user_str = prefix_str = NULL; in user_extra_to_cil()
/external/selinux/libsepol/cil/src/
Dcil_internal.h483 char *prefix_str; member
Dcil.c1395 …trlen("user ") + strlen(user->datum.fqn) + strlen(" prefix ") + strlen(userprefix->prefix_str) + 2; in cil_userprefixes_to_string()
1408 userprefix->prefix_str); in cil_userprefixes_to_string()
2179 (*userprefix)->prefix_str = NULL; in cil_userprefix_init()
Dcil_copy_ast.c494 new->prefix_str = orig->prefix_str; in cil_copy_userprefix()
Dcil_build_ast.c1533 userprefix->prefix_str = parse_current->next->next->data; in cil_gen_userprefix()
/external/elfutils/libcpu/
Di386_disasm.c170 static const char *prefix_str[] =