Home | History | Annotate | Download | only in coregrind

Lines Matching full:clientname

90 static const char *find_client(const char *clientname)
96 assert(clientname != NULL);
98 if (path == NULL) return clientname;
101 unsigned need = strlen(path) + strlen("/") + strlen(clientname) + 1;
122 strcat(fullname, clientname);
129 return clientname;
133 static const char *select_platform(const char *clientname)
140 VG_(debugLog)(2, "launcher", "selecting platform for '%s'\n", clientname);
142 if (strchr(clientname, '/') == NULL)
143 clientname = find_client(clientname);
145 VG_(debugLog)(2, "launcher", "selecting platform for '%s'\n", clientname);
147 if ((fd = open(clientname, O_RDONLY)) < 0)
149 // barf("open(%s): %s", clientname, strerror(errno));
151 VG_(debugLog)(2, "launcher", "opened '%s'\n", clientname);
160 (long int)n_bytes, clientname);
317 const char *clientname = NULL;
333 clientname = argv[i];
338 clientname = argv[i+1];
391 if (clientname == NULL) {
396 } else if ((platform = select_platform(clientname)) != NULL) {