Lines Matching refs:path
92 char* path = NULL; in platformSpecific() local
95 path = getPathFromRegistryKey( HKEY_CURRENT_USER, SUBKEYNAME ); in platformSpecific()
97 if ( path == NULL ) in platformSpecific()
100 path = getPathFromRegistryKey( HKEY_CURRENT_USER, SUBKEYNAME64 ); in platformSpecific()
102 if ( path == NULL ) in platformSpecific()
105 path = getPathFromRegistryKey( HKEY_LOCAL_MACHINE, SUBKEYNAME ); in platformSpecific()
107 if ( path == NULL ) in platformSpecific()
110 path = getPathFromRegistryKey( HKEY_LOCAL_MACHINE, SUBKEYNAME64 ); in platformSpecific()
113 return path; in platformSpecific()
132 char* path = NULL; in platformSpecific() local
143 path = (char*) malloc( strlen(MACDEFAULTOFFICEPATH) + 1 ); in platformSpecific()
144 strcpy( path, MACDEFAULTOFFICEPATH); in platformSpecific()
146 return path; in platformSpecific()
192 path = (char*) malloc( pos + 1 ); in platformSpecific()
193 strncpy( path, resolved, pos ); in platformSpecific()
194 path[ pos ] = '\0'; in platformSpecific()
207 return path; in platformSpecific()
217 char* path = NULL; in cppuhelper_detail_findSofficePath() local
220 path = getenv( UNOPATHVARNAME ); in cppuhelper_detail_findSofficePath()
222 if ( path == NULL || strlen( path ) == 0 ) in cppuhelper_detail_findSofficePath()
224 path = platformSpecific(); in cppuhelper_detail_findSofficePath()
227 return path; in cppuhelper_detail_findSofficePath()