Lines Matching defs:filepath
714 char filepath[4096];
722 memcpy(filepath, execname, posbin - execname); // not include trailing '/'
723 filepath[posbin - execname] = '\0';
727 strcpy(filepath, java_home);
732 strcpy(filepath, dypath);
733 strcat(filepath, filename);
734 if (exists(filepath)) {
735 strcpy(rpath, filepath);
744 // for exec and java_home, jdkpath now is filepath
745 size_t filepath_base_size = strlen(filepath);
748 strcat(filepath, "/lib");
749 strcat(filepath, filename);
750 if (exists(filepath)) {
751 strcpy(rpath, filepath);
754 char* pos = strstr(filepath, filename); // like /libjvm.dylib
756 strcat(filepath, "/server");
757 strcat(filepath, filename);
758 if (exists(filepath)) {
759 strcpy(rpath, filepath);
764 filepath[filepath_base_size] = '\0';
765 strcat(filepath, "/jre/lib");
766 strcat(filepath, filename);
767 if (exists(filepath)) {
768 strcpy(rpath, filepath);
771 pos = strstr(filepath, filename);
773 strcat(filepath, "/server");
774 strcat(filepath, filename);
775 if (exists(filepath)) {
776 strcpy(rpath, filepath);