Home
last modified time | relevance | path

Searched refs:dst_str (Results 1 – 9 of 9) sorted by relevance

/external/ltp/testcases/network/stress/route/
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()
186 iface, dst_str, gw ? gw_str : "null"); in brk_on_route_error()
/external/openthread/third_party/mbedtls/repo/tests/suites/
Dtest_suite_base64.function83 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 );
Dtest_suite_arc4.function13 unsigned char dst_str[1000];
16 memset(dst_str, 0x00, 1000);
22 src_str->x, dst_str ) == 0 );
24 TEST_ASSERT( mbedtls_test_hexcmp( dst_str, dst->x,
/external/mbedtls/tests/suites/
Dtest_suite_base64.function83 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 );
/external/mesa3d/src/gallium/drivers/r300/compiler/tests/
Drc_test_helpers.c266 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 …]
Drc_test_helpers.h46 const char * dst_str);
/external/swiftshader/third_party/SPIRV-Tools/test/diff/
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()
/external/deqp-deps/SPIRV-Tools/test/diff/
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()
/external/angle/third_party/vulkan-deps/spirv-tools/src/test/diff/
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()