Lines Matching full: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()
66 char output[1024]; in testComp() local
67 res = dn_expand(msg, msg + sizeof(msg), n1, output, sizeof(output)); in testComp()
71 assert(strcmp(output, "llvm.org") == 0); in testComp()
72 check_mem_is_good(output, strlen(output) + 1); in testComp()
76 char output[1024]; in testComp() local
77 res = dn_expand(msg, msg + sizeof(msg), n2, output, sizeof(output)); in testComp()
80 assert(strcmp(output, "lab.llvm.org") == 0); in testComp()
81 check_mem_is_good(output, strlen(output) + 1); in testComp()