Lines Matching refs:output
14 char output[1024]; in testWrite() local
16 int res = dn_expand(input, input + sizeof(input), input + 23, output, in testWrite()
17 sizeof(output)); in testWrite()
20 assert(strcmp(output, "google\\.com") == 0); in testWrite()
21 check_mem_is_good(output, strlen(output) + 1); in testWrite()
29 char output[1024]; in testWriteZeroLength() local
31 int res = dn_expand(input, input + sizeof(input), input + 23, output, in testWriteZeroLength()
32 sizeof(output)); in testWriteZeroLength()
35 assert(strcmp(output, "") == 0); in testWriteZeroLength()
36 check_mem_is_good(output, strlen(output) + 1); in testWriteZeroLength()
60 char output[1024]; in testComp() local
61 res = dn_expand(msg, msg + sizeof(msg), n1, output, sizeof(output)); in testComp()
65 assert(strcmp(output, "llvm.org") == 0); in testComp()
66 check_mem_is_good(output, strlen(output) + 1); in testComp()
70 char output[1024]; in testComp() local
71 res = dn_expand(msg, msg + sizeof(msg), n2, output, sizeof(output)); in testComp()
74 assert(strcmp(output, "lab.llvm.org") == 0); in testComp()
75 check_mem_is_good(output, strlen(output) + 1); in testComp()