Home
last modified time | relevance | path

Searched refs:src_string (Results 1 – 2 of 2) sorted by relevance

/freebsd/crypto/openssl/test/
H A Dcmp_asn_test.c19 ASN1_OCTET_STRING *src_string; member
36 ASN1_OCTET_STRING_free(fixture->src_string); in tear_down()
37 if (fixture->tgt_string != fixture->src_string) in tear_down()
84 fixture->src_string))) in execute_CMP_ASN1_OCTET_STRING_set1_test()
88 fixture->src_string)); in execute_CMP_ASN1_OCTET_STRING_set1_test()
97 || !TEST_ptr(fixture->src_string = ASN1_OCTET_STRING_new()) in test_ASN1_OCTET_STRING_set()
98 || !TEST_true(ASN1_OCTET_STRING_set(fixture->src_string, rand_data, in test_ASN1_OCTET_STRING_set()
111 if (!TEST_ptr(fixture->src_string = ASN1_OCTET_STRING_new()) in test_ASN1_OCTET_STRING_set_tgt_is_src()
112 || !(fixture->tgt_string = fixture->src_string) in test_ASN1_OCTET_STRING_set_tgt_is_src()
113 || !TEST_true(ASN1_OCTET_STRING_set(fixture->src_string, rand_data, in test_ASN1_OCTET_STRING_set_tgt_is_src()
/freebsd/contrib/file/src/
H A Dvasprintf.c134 const char * src_string; /* current position into input string */ member
179 len = strcspn(s->src_string, "%"); /* reaches the next '%' or end of input string */ in usual_char()
186 memcpy(s->dest_string, s->src_string, len); in usual_char()
187 s->src_string += len; in usual_char()
302 #define SRCTXT (s->src_string) in dispatch()
565 if (s->src_string == NULL) in core()
566 s->src_string = "(null)"; in core()
580 if (*(s->src_string) == 0) { in core()
602 while(*(s->src_string) != 0) { /* up to end of source string */ in core()
625 s.src_string = format_string; in vasprintf()