Home | History | Annotate | Download | only in dist

Lines Matching defs:cpy

6783 	char *cpy;
6805 cpy = malloc(string_size + 1); /* +1 for terminating '\0' */
6806 memcpy(cpy, string, string_size);
6807 cpy[string_size] = '\0';
6808 tcp_port = nametoport(cstate, cpy, IPPROTO_TCP);
6814 free(cpy);
6818 udp_port = nametoport(cstate, cpy, IPPROTO_UDP);
6824 free(cpy);
6846 cpy);
6849 free(cpy);
6855 free(cpy);
6860 if (strcmp(cpy, "nfs") == 0) {
6863 free(cpy);
6867 bpf_set_error(cstate, "'%s' is not a valid port", cpy);
6868 free(cpy);