Lines Matching refs:my_argv
95 const char** my_argv = calloc(argc + 2 + 1, sizeof(char *)); in wrap_cgpt() local
96 if (my_argv == NULL) { in wrap_cgpt()
100 memcpy(my_argv, argv, sizeof(char *) * argc); in wrap_cgpt()
103 free(my_argv); in wrap_cgpt()
106 my_argv[0] = real_cgpt; in wrap_cgpt()
110 if (strcmp(my_argv[i], mtd_device) == 0) { in wrap_cgpt()
111 my_argv[i] = rw_gpt_path; in wrap_cgpt()
114 my_argv[argc] = "-D"; in wrap_cgpt()
117 my_argv[argc + 1] = size; in wrap_cgpt()
118 i = ForkExecV(NULL, my_argv); in wrap_cgpt()
120 free(my_argv); in wrap_cgpt()