Home
last modified time | relevance | path

Searched refs:dst_str (Results 1 - 4 of 4) sorted by relevance

/third_party/ltp/testcases/network/stress/route/
H A Droute-change-netlink.c144 char dst_str[INET6_ADDRSTRLEN]; in setup() local
146 if (!strncpy(dst_str, p_rhost->ip_str, sizeof(dst_str))) in setup()
148 dst_str[strlen(p_rhost->ip_str)-1] = '\0'; in setup()
150 if (!strcat(dst_str, "0")) in setup()
151 tst_brk(TBROK, "strcat failed: '%s'", dst_str); in setup()
153 save_ip((void **)&dst, dst_str); in setup()
179 char dst_str[INET6_ADDRSTRLEN], gw_str[INET6_ADDRSTRLEN]; in brk_on_route_error() local
180 tst_sock_addr(dst, sizeof(dst), dst_str, sizeof(dst_str)); in brk_on_route_error()
[all...]
/third_party/mesa3d/src/gallium/drivers/r300/compiler/tests/
H A Drc_test_helpers.c256 * Initialize the destination for the instruction based on dst_str.
261 * @param dst_str A string that represents the destination register. The format
267 const char * dst_str) in init_rc_normal_dst()
275 if (!regex_helper(regex_str, dst_str, matches, REGEX_DST_MATCHES)) { in init_rc_normal_dst()
281 tokens.File.String = dst_str + matches[1].rm_so; in init_rc_normal_dst()
283 tokens.Index.String = dst_str + matches[2].rm_so; in init_rc_normal_dst()
285 tokens.WriteMask.String = dst_str + matches[3].rm_so; in init_rc_normal_dst()
406 char * dst_str; in parse_rc_normal_instruction() local
411 dst_str = malloc(sizeof(char) * (tokens.Dst.Length + 1)); in parse_rc_normal_instruction()
412 strncpy(dst_str, token in parse_rc_normal_instruction()
265 init_rc_normal_dst( struct rc_instruction * inst, const char * dst_str) init_rc_normal_dst() argument
[all...]
H A Drc_test_helpers.h46 const char * dst_str);
/third_party/spirv-tools/test/diff/
H A Dlcs_test.cpp267 const std::string dst_str = in TEST() local
315 dst.reserve(dst_str.length()); in TEST()
320 for (char c : dst_str) { in TEST()

Completed in 3 milliseconds