Lines Matching refs:progDir
224 char* progDir;
238 /* Get program's directory name in progDir */
239 path_split(progName, &progDir, NULL);
243 p = bufprint(path, pathEnd, "%s/%s%s%s", progDir, emulator64Prefix, avdArch, exeExt);
248 free(progDir);
254 p = bufprint(path, pathEnd, "%s/%s%s%s", progDir, emulatorPrefix, avdArch, exeExt);
255 free(progDir);
314 char* progDir;
319 path_split(progName, &progDir, NULL);
326 if (probePathForFile(progDir, libName)) {
327 return progDir;
330 /* Try under $progDir/lib/, this should correspond to the SDK installation
334 p = bufprint(temp, end, "%s/lib", progDir);
341 /* try in $progDir/../lib, this corresponds to the platform build
346 char* parentDir = path_parent(progDir, 1);
361 free(progDir);