Searched refs:dst_str (Results 1 – 4 of 4) sorted by relevance
/third_party/ltp/testcases/network/stress/route/ |
D | route-change-netlink.c | 146 char dst_str[INET6_ADDRSTRLEN]; in setup() local 148 if (!strncpy(dst_str, p_rhost->ip_str, sizeof(dst_str))) in setup() 150 dst_str[strlen(p_rhost->ip_str)-1] = '\0'; in setup() 152 if (!strcat(dst_str, "0")) in setup() 153 tst_brk(TBROK, "strcat failed: '%s'", dst_str); in setup() 155 save_ip((void **)&dst, dst_str); in setup() 181 char dst_str[INET6_ADDRSTRLEN], gw_str[INET6_ADDRSTRLEN]; in brk_on_route_error() local 182 tst_sock_addr(dst, sizeof(dst), dst_str, sizeof(dst_str)); in brk_on_route_error() 188 iface, dst_str, gw ? gw_str : "null"); in brk_on_route_error()
|
/third_party/mbedtls/tests/suites/ |
D | test_suite_base64.function | 83 unsigned char dst_str[1000]; 87 memset(dst_str, 0x00, 1000); 93 TEST_ASSERT( mbedtls_base64_encode( dst_str, dst_buf_size, &len, src_str, src_len) == result ); 98 TEST_CF_PUBLIC( dst_str, len ); 102 TEST_ASSERT( strcmp( (char *) dst_str, dst_string ) == 0 ); 111 unsigned char dst_str[1000]; 116 memset(dst_str, 0x00, 1000); 119 …res = mbedtls_base64_decode( dst_str, sizeof( dst_str ), &len, src_str, strlen( (char *) src_str )… 123 TEST_ASSERT( strcmp( (char *) dst_str, dst_string ) == 0 );
|
/third_party/mesa3d/src/gallium/drivers/r300/compiler/tests/ |
D | rc_test_helpers.c | 266 const char * dst_str) in init_rc_normal_dst() argument 274 if (!regex_helper(regex_str, dst_str, matches, REGEX_DST_MATCHES)) { in init_rc_normal_dst() 280 tokens.File.String = dst_str + matches[1].rm_so; in init_rc_normal_dst() 282 tokens.Index.String = dst_str + matches[2].rm_so; in init_rc_normal_dst() 284 tokens.WriteMask.String = dst_str + matches[3].rm_so; in init_rc_normal_dst() 405 char * dst_str; in parse_rc_normal_instruction() local 410 dst_str = malloc(sizeof(char) * (tokens.Dst.Length + 1)); in parse_rc_normal_instruction() 411 strncpy(dst_str, tokens.Dst.String, tokens.Dst.Length); in parse_rc_normal_instruction() 412 dst_str[tokens.Dst.Length] = '\0'; in parse_rc_normal_instruction() 413 init_rc_normal_dst(inst, dst_str); in parse_rc_normal_instruction() [all …]
|
D | rc_test_helpers.h | 46 const char * dst_str);
|