Lines Matching defs:path
102 char path[PATH_MAX];
110 rc = snprintf_s(path, sizeof(path), sizeof(path) - 1, STARTUP_INIT_UT_PATH"%s" MODULE_SUFFIX_D, module->name);
114 rc = snprintf_s(path, sizeof(path), sizeof(path) - 1,
118 BEGET_LOGV("Module install path %s", path);
119 char *realPath = GetRealPath(path);
120 BEGET_ERROR_CHECK(realPath != NULL, return NULL, "Failed to get real path");
124 BEGET_CHECK_ONLY_ELOG(handle != NULL, "ModuleInstall path %s fail %d", realPath, errno);
199 static void ScanModules(MODULE_MGR *moduleMgr, const char *path)
201 BEGET_LOGV("Scan module with name '%s'", path);
202 DIR *dir = opendir(path);
221 int len = sprintf_s(moduleName, PATH_MAX - 1, "%s/%s", path, file->d_name);
240 char path[PATH_MAX];
248 BEGET_CHECK(snprintf_s(path, sizeof(path), sizeof(path) - 1,
250 ScanModules(moduleMgr, path);
252 BEGET_CHECK(snprintf_s(path, sizeof(path), sizeof(path) - 1,
254 CfgFiles *files = GetCfgFiles(path);