Lines Matching refs:a_rootPath
184 pkgOpenInGzOnlyFile(char *a_rootPath) in pkgOpenInGzOnlyFile() argument
192 if (a_rootPath == (char *)NULL) { in pkgOpenInGzOnlyFile()
193 a_rootPath = ""; in pkgOpenInGzOnlyFile()
199 a_rootPath, GLOBALZONE_ONLY_PACKAGE_FILE_PATH); in pkgOpenInGzOnlyFile()
201 progerr(ERR_CREATE_PATH_2, a_rootPath, in pkgOpenInGzOnlyFile()
241 pkgIsPkgInGzOnly(char *a_rootPath, char *a_pkgInst) in pkgIsPkgInGzOnly() argument
248 if (a_rootPath == (char *)NULL) { in pkgIsPkgInGzOnly()
249 a_rootPath = ""; in pkgIsPkgInGzOnly()
254 fp = pkgOpenInGzOnlyFile(a_rootPath); in pkgIsPkgInGzOnly()
257 a_rootPath ? a_rootPath : "/"); in pkgIsPkgInGzOnly()
347 pkgRemovePackageFromGzonlyList(char *a_rootPath, char *a_pkgInst) in pkgRemovePackageFromGzonlyList() argument
368 if (a_rootPath == (char *)NULL) { in pkgRemovePackageFromGzonlyList()
369 a_rootPath = ""; in pkgRemovePackageFromGzonlyList()
379 a_rootPath, GLOBALZONE_ONLY_PACKAGE_FILE_PATH); in pkgRemovePackageFromGzonlyList()
381 progerr(ERR_CREATE_PATH_2, a_rootPath, in pkgRemovePackageFromGzonlyList()
389 a_rootPath, GLOBALZONE_ONLY_PACKAGE_FILE_PATH); in pkgRemovePackageFromGzonlyList()
391 progerr(ERR_CREATE_PATH_2, a_rootPath, in pkgRemovePackageFromGzonlyList()
399 a_rootPath, GLOBALZONE_ONLY_PACKAGE_FILE_PATH); in pkgRemovePackageFromGzonlyList()
401 progerr(ERR_CREATE_PATH_2, a_rootPath, in pkgRemovePackageFromGzonlyList()
536 pkgAddPackageToGzonlyList(char *a_pkgInst, char *a_rootPath) in pkgAddPackageToGzonlyList() argument
557 if (a_rootPath == (char *)NULL) { in pkgAddPackageToGzonlyList()
558 a_rootPath = ""; in pkgAddPackageToGzonlyList()
563 echoDebug(DBG_PKGOPS_ADDGZPKG, a_pkgInst, a_rootPath); in pkgAddPackageToGzonlyList()
572 a_rootPath, GLOBALZONE_ONLY_PACKAGE_FILE_PATH); in pkgAddPackageToGzonlyList()
574 progerr(ERR_CREATE_PATH_2, a_rootPath, in pkgAddPackageToGzonlyList()
582 a_rootPath, GLOBALZONE_ONLY_PACKAGE_FILE_PATH); in pkgAddPackageToGzonlyList()
584 progerr(ERR_CREATE_PATH_2, a_rootPath, in pkgAddPackageToGzonlyList()
592 a_rootPath, GLOBALZONE_ONLY_PACKAGE_FILE_PATH); in pkgAddPackageToGzonlyList()
594 progerr(ERR_CREATE_PATH_2, a_rootPath, in pkgAddPackageToGzonlyList()
1020 int r_pkgInstLen, char *a_rootPath, char *a_pkgInst) in pkgLocateHighestInst() argument
1039 if ((a_rootPath == (char *)NULL) || (strcmp(a_rootPath, "/") == 0)) { in pkgLocateHighestInst()
1040 a_rootPath = ""; in pkgLocateHighestInst()
1045 (void) snprintf(pkgInstPath, sizeof (pkgInstPath), "%s%s", a_rootPath, in pkgLocateHighestInst()
1127 pkgstrPrintf_r(r_path, r_pathLen, "%s%s/%s", a_rootPath, in pkgLocateHighestInst()
1146 pkgTestInstalled(char *a_packageName, char *a_rootPath) in pkgTestInstalled() argument
1155 assert(a_rootPath != NULL); in pkgTestInstalled()
1156 assert(*a_rootPath != '\0'); in pkgTestInstalled()
1160 echoDebug(DBG_PKG_TEST_EXISTENCE, a_packageName, a_rootPath); in pkgTestInstalled()
1176 echoDebug(DBG_PKG_INSTALLED, a_packageName, a_rootPath); in pkgTestInstalled()
1182 echoDebug(DBG_PKG_NOT_INSTALLED, a_packageName, a_rootPath); in pkgTestInstalled()