Lines Matching refs:ptr
33 char *ptr = NULL; in test() local
46 ptr = curl_easy_escape(NULL, (char *)a, asize); in test()
47 printf("%s\n", ptr); in test()
48 curl_free(ptr); in test()
51 ptr = curl_escape((char *)a, asize); in test()
52 if(!ptr) { in test()
56 printf("%s\n", ptr); in test()
58 raw = curl_easy_unescape(NULL, ptr, (int)strlen(ptr), &outlen); in test()
65 raw = curl_unescape(ptr, (int)strlen(ptr)); in test()
75 curl_free(ptr); in test()
78 ptr = curl_easy_escape(NULL, (char *)a, -1); in test()
79 printf("escape -1 length: %s\n", ptr); in test()
83 ptr = curl_easy_unescape(NULL, (char *)"moahahaha", -1, &outlen); in test()
84 printf("unescape -1 length: %s %d\n", ptr, outlen); in test()
87 curl_free(ptr); in test()