Home
last modified time | relevance | path

Searched refs:repo (Results 1 – 25 of 309) sorted by relevance

12345678910>>...13

/openbmc/phosphor-logging/test/openpower-pels/
H A Drepository_test.cpp71 Repository repo{repoPath}; in TEST_F() local
75 repo.add(pel); in TEST_F()
89 EXPECT_EQ(repo.lastPelID(), pel->id()); in TEST_F()
99 Repository repo{repoPath}; in TEST_F() local
107 repo.add(pel); in TEST_F()
109 auto removedID = repo.remove(id); in TEST_F()
113 EXPECT_FALSE(repo.hasPEL(id)); in TEST_F()
116 EXPECT_FALSE(repo.remove(id)); in TEST_F()
127 Repository repo{repoPath}; in TEST_F() local
134 repo.add(pel); in TEST_F()
[all …]
H A Dhost_notifier_test.cpp43 HostNotifierTest() : repo(repoPath) in HostNotifierTest()
71 Repository repo; member in HostNotifierTest
160 HostNotifier notifier{repo, dataIface, std::move(hostIface)}; in TEST_F()
163 repo.add(pel); in TEST_F()
174 repo.setPELHostTransState(pel->id(), TransmissionState::acked); in TEST_F()
184 HostNotifier notifier{repo, dataIface, std::move(hostIface)}; in TEST_F()
193 repo.add(pel); in TEST_F()
203 HostNotifier notifier{repo, dataIface, std::move(hostIface)}; in TEST_F()
212 repo.add(pel); in TEST_F()
224 HostNotifier notifier{repo, dataIface, std::move(hostIface)}; in TEST_F()
[all …]
/openbmc/libpldm/tests/dsp/
H A Dpdr.cpp15 auto repo = pldm_pdr_init(); in TEST() local
16 EXPECT_EQ(pldm_pdr_get_record_count(repo), 0u); in TEST()
17 EXPECT_EQ(pldm_pdr_get_repo_size(repo), 0u); in TEST()
18 pldm_pdr_destroy(repo); in TEST()
23 auto repo = pldm_pdr_init(); in TEST() local
27 EXPECT_EQ(pldm_pdr_add(repo, data.data(), data.size(), false, 1, &handle), in TEST()
30 EXPECT_EQ(pldm_pdr_get_record_count(repo), 1u); in TEST()
31 EXPECT_EQ(pldm_pdr_get_repo_size(repo), data.size()); in TEST()
34 EXPECT_EQ(pldm_pdr_add(repo, data.data(), data.size(), false, 1, &handle), in TEST()
39 EXPECT_EQ(pldm_pdr_add(repo, data.data(), data.size(), false, 1, &handle), in TEST()
[all …]
/openbmc/linux/arch/powerpc/platforms/ps3/
H A Drepository.c290 int ps3_repository_find_device(struct ps3_repository_device *repo) in ps3_repository_find_device() argument
293 struct ps3_repository_device tmp = *repo; in ps3_repository_find_device()
296 BUG_ON(repo->bus_index > 10); in ps3_repository_find_device()
297 BUG_ON(repo->dev_index > 10); in ps3_repository_find_device()
335 *repo = tmp; in ps3_repository_find_device()
339 int ps3_repository_find_device_by_id(struct ps3_repository_device *repo, in ps3_repository_find_device_by_id() argument
412 *repo = tmp; in ps3_repository_find_device_by_id()
417 int (*callback)(const struct ps3_repository_device *repo)) in ps3_repository_find_devices() argument
420 struct ps3_repository_device repo; in ps3_repository_find_devices() local
424 repo.bus_type = bus_type; in ps3_repository_find_devices()
[all …]
H A Ddevice-init.c115 const struct ps3_repository_device *repo) in ps3_setup_gelic_device() argument
125 BUG_ON(repo->bus_type != PS3_BUS_TYPE_SB); in ps3_setup_gelic_device()
126 BUG_ON(repo->dev_type != PS3_DEV_TYPE_SB_GELIC); in ps3_setup_gelic_device()
137 p->dev.bus_id = repo->bus_id; in ps3_setup_gelic_device()
138 p->dev.dev_id = repo->dev_id; in ps3_setup_gelic_device()
141 result = ps3_repository_find_interrupt(repo, in ps3_setup_gelic_device()
182 const struct ps3_repository_device *repo, enum ps3_match_id match_id, in ps3_setup_uhc_device() argument
196 BUG_ON(repo->bus_type != PS3_BUS_TYPE_SB); in ps3_setup_uhc_device()
197 BUG_ON(repo->dev_type != PS3_DEV_TYPE_SB_USB); in ps3_setup_uhc_device()
208 p->dev.bus_id = repo->bus_id; in ps3_setup_uhc_device()
[all …]
/openbmc/libpldm/src/dsp/
H A Dpdr.c38 static inline uint32_t get_next_record_handle(const pldm_pdr *repo, in get_next_record_handle() argument
41 if (record == repo->last) { in get_next_record_handle()
48 int pldm_pdr_add(pldm_pdr *repo, const uint8_t *data, uint32_t size, in pldm_pdr_add() argument
54 if (!repo || !data || !size) { in pldm_pdr_add()
60 } else if (repo->last) { in pldm_pdr_add()
61 curr = repo->last->record_handle; in pldm_pdr_add()
102 assert(!repo->first == !repo->last); in pldm_pdr_add()
103 if (repo->first == NULL) { in pldm_pdr_add()
104 repo->first = record; in pldm_pdr_add()
105 repo->last = record; in pldm_pdr_add()
[all …]
/openbmc/libpldm/include/libpldm/
H A Dpdr.h42 void pldm_pdr_destroy(pldm_pdr *repo);
52 uint32_t pldm_pdr_get_record_count(const pldm_pdr *repo);
62 uint32_t pldm_pdr_get_repo_size(const pldm_pdr *repo);
79 int pldm_pdr_add(pldm_pdr *repo, const uint8_t *data, uint32_t size,
94 uint32_t pldm_pdr_get_record_handle(const pldm_pdr *repo,
107 uint16_t pldm_pdr_get_terminus_handle(const pldm_pdr *repo,
123 const pldm_pdr_record *pldm_pdr_find_record(const pldm_pdr *repo,
142 pldm_pdr_get_next_record(const pldm_pdr *repo,
160 pldm_pdr_find_record_by_type(const pldm_pdr *repo, uint8_t pdr_type,
178 void pldm_pdr_remove_remote_pdrs(pldm_pdr *repo);
[all …]
/openbmc/pldm/common/test/
H A Dpldm_utils_test.cpp141 auto repo = pldm_pdr_init(); in TEST() local
164 ASSERT_EQ(pldm_pdr_add(repo, pdr.data(), pdr.size(), false, 1, &handle), 0); in TEST()
166 auto record = findStateEffecterPDR(tid, entityID, stateSetId, repo); in TEST()
170 pldm_pdr_destroy(repo); in TEST()
175 auto repo = pldm_pdr_init(); in TEST() local
198 ASSERT_EQ(pldm_pdr_add(repo, pdr.data(), pdr.size(), false, 1, &handle), 0); in TEST()
200 auto record = findStateEffecterPDR(tid, entityID, stateSetId, repo); in TEST()
204 pldm_pdr_destroy(repo); in TEST()
209 auto repo = pldm_pdr_init(); in TEST() local
218 auto record = findStateEffecterPDR(tid, entityID, stateSetId, repo); in TEST()
[all …]
/openbmc/openbmc/poky/scripts/
H A Dcombo-layer62 def readsection(parser, section, repo): argument
65 self.repos[repo][name] = eval(value.strip("@"))
72 self.repos[repo][name] = value
88 for repo in self.parser.sections():
89 if repo == "combo-layer-settings":
91 readglobalsection(self.parser, repo)
93 self.repos[repo] = {}
94 readsection(self.parser, repo, repo)
116 repo = sectionvals[0]
120 repo = section
[all …]
H A Doe-build-perf-report41 def list_test_revs(repo, tag_name, verbosity, **kwargs): argument
45 fields, revs = gitarchive.get_test_runs(log, repo, tag_name, **valid_kwargs)
90 def is_xml_format(repo, commit): argument
92 if repo.rev_parse(commit + ':results.xml'):
99 def read_results(repo, tags, xml=True): argument
135 data = parse_xml_stream(repo.run_cmd(['show'] + git_objs + ['--']))
140 data = parse_json_stream(repo.run_cmd(['show'] + git_objs + ['--']))
379 def get_buildstats(repo, notes_ref, notes_ref2, revs, outdir=None): argument
382 if not repo.rev_parse(full_ref):
399 … bs_all = json.loads(repo.run_cmd(['notes', '--ref', notes_ref, 'show', tag + '^0']))
[all …]
H A Dtest-remote-image257 self.repo = self.get_repo_profile(self.repolink)
261 repo = getattr(sys.modules[__name__], self.repoprofile)(*args, **kwargs)
262 log.info("Using repo profile: %s" % repo.__class__.__name__)
263 return repo
274 postconfig = "DEPLOY_DIR_IMAGE = \"%s\"" % self.repo.localdir
299 log.info("Creating directory structure %s" % self.repo.localdir)
300 if not os.path.exists(self.repo.localdir):
301 os.makedirs(self.repo.localdir)
313 if self.repo.check_old_file(files_dict[f]):
314 filepath = os.path.join(self.repo.localdir, files_dict[f])
[all …]
/openbmc/openbmc/poky/meta/lib/oeqa/utils/
H A Dgitarchive.py47 repo = GitRepo.init(path, bare)
49 repo = GitRepo(path, is_topdir=True)
55 return repo
58 def git_commit_data(repo, data_dir, branch, message, exclude, notes, log): argument
61 tmp_index = os.path.join(repo.git_dir, 'index.oe-git-archive')
66 repo.run_cmd('add .', env_update)
70 repo.run_cmd(['rm', '--cached', '--ignore-unmatch'] + [f for f in exclude], env_update)
72 tree = repo.run_cmd('write-tree', env_update)
75 parent = repo.rev_parse(branch)
77 parent = repo.rev_parse("origin/" + branch)
[all …]
/openbmc/openbmc/poky/meta/lib/patchtest/
H A Drepo.py22 self.repo = git.Repo.init(repodir)
24 self.current_branch = self.repo.active_branch.name
29 if self.patch.branch in self.repo.branches:
47 self.repo.git.execute(['git', 'checkout', '-B', self._workingbranch, self._commit])
55 …self.repo.git.execute(['git', 'apply', '--check', os.path.abspath(self.patch.path)], with_exceptio…
71 return self.repo.rev_parse(commit).hexsha
79 self.repo.git.execute(['git', 'am', '--keep-cr', os.path.abspath(self.patch.path)])
83 self.repo.git.execute(['git', 'checkout', self.current_branch])
84 self.repo.git.execute(['git', 'branch', '-D', self._workingbranch])
H A DREADME.md8 1. Clone https://git.openembedded.org/openembedded-core (this repo) and https://git.openembedded.or…
11 repo, do `pip install -r requirements.txt`
12 4. Add patchtest to PATH: `export PATH=/path/to/patchtest/repo:$PATH`
19 For more information on using patchtest, see the patchtest repo at
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-graphics/vk-gl-cts/files/
H A Dgenerate-srcuri.py12 def resolve_commit(repo, ref): argument
18 cmd = ("git", "ls-remote", "--tags", "--exit-code", repo, ref)
79 for repo in data.repos:
81 if hasattr(repo, "build_platforms") and repo.build_platforms != "linux":
85 parts = urllib.parse.urlparse(repo.url)
90 sha = resolve_commit(repo.url, repo.commit)
92 destsuffix = destination + "/" + repo.sub_dir
/openbmc/openbmc/meta-arm/ci/
H A Dupdate-repos37 for repo in repositories:
38 repodir = base_repodir / repo_shortname(repo)
41 print("Cleaning %s..." % repo)
46 print("Updating %s..." % repo)
52 print("Cloning %s..." % repo)
53 subprocess.run(["git", "clone", "--bare", repo, repodir], check=True)
/openbmc/openbmc/poky/meta/recipes-devtools/repo/
H A Drepo_2.49.3.bb6 HOMEPAGE = "https://android.googlesource.com/tools/repo"
12 SRC_URI = "git://gerrit.googlesource.com/git-repo.git;protocol=https;branch=main \
16 MIRRORS += "git://gerrit.googlesource.com/git-repo.git git://github.com/GerritCodeReview/git-repo.g…
21 sed -Ei "s/REPO_REV\s*=\s*('|\")stable('|\")/REPO_REV = '${SRCREV}'/g" ${S}/repo
25 install -D ${S}/repo ${D}${bindir}/repo
/openbmc/openbmc/poky/scripts/lib/recipetool/
H A Dcreate_go.py121 repo = "repo" variable in GoRecipeHandler.__resolve_repository_static.vcs
131 vcsGitHub[vcs.repo] = "https://\\g<root>"
139 vcsBitbucket[vcs.repo] = "https://\\g<root>"
147 vcsIBMDevOps[vcs.repo] = "https://\\g<root>"
155 vcsApacheGit[vcs.repo] = "https://\\g<root>"
163 vcsOpenStackGit[vcs.repo] = "https://\\g<root>"
171 vcsChiselapp[vcs.repo] = "https://\\g<root>"
203 repourl = m.expand(srv[vcs.repo])
209 repourl = m[vcs.repo]
356 def __build_coderepo(self, repo, path): argument
[all …]
/openbmc/pldm/oem/ibm/libpldmresponder/
H A Doem_ibm_handler.cpp182 uint16_t stateSetID, pdr_utils::Repo& repo) in buildAllCodeUpdateEffecterPDR() argument
229 repo.addRecord(pdrEntry); in buildAllCodeUpdateEffecterPDR()
233 pdr_utils::Repo& repo, in buildAllSlotEnableEffecterPDR() argument
293 repo.addRecord(pdrEntry); in buildAllSlotEnableEffecterPDR()
299 uint16_t stateSetID, pdr_utils::Repo& repo) in buildAllCodeUpdateSensorPDR() argument
343 repo.addRecord(pdrEntry); in buildAllCodeUpdateSensorPDR()
347 pdr_utils::Repo& repo, in buildAllSlotEnableSensorPDR() argument
402 repo.addRecord(pdrEntry); in buildAllSlotEnableSensorPDR()
407 pdr_utils::Repo& repo) in buildOEMPDR() argument
411 repo); in buildOEMPDR()
[all …]
/openbmc/pldm/pldmd/
H A Doem_ibm.hpp60 pldm_pdr* repo, pldm::InstanceIdDb& instanceIdDb, in OemIBM() argument
67 dBusIntf(dBusIntf), mctp_fd(mctp_fd), mctp_eid(mctp_eid), repo(repo), in OemIBM()
108 std::make_unique<pldm::responder::SlotHandler>(event, repo); in createSlotHandler()
134 oemFruHandler = std::make_unique<responder::oem_ibm_fru::Handler>(repo); in createOemFruHandler()
156 instanceIdDb, repo, reqHandler); in createHostLampTestHandler()
179 pldm_pdr* repo; member in pldm::oem_ibm::OemIBM
/openbmc/pldm/libpldmresponder/
H A Dpdr_utils.hpp129 RepoInterface(pldm_pdr* repo) : repo(repo) {} in RepoInterface() argument
189 pldm_pdr* repo; member in pldm::responder::pdr_utils::RepoInterface
202 Repo(pldm_pdr* repo) : RepoInterface(repo) {} in Repo() argument
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-connectivity/openthread/
H A Dot-br-posix_git.bb8 … file://third_party/Simple-web-server/repo/LICENSE;md5=091ac9fd29d87ad1ae5bf765d95278b0 \
9 file://third_party/cJSON/repo/LICENSE;md5=218947f77e8cb8e2fa02918dc41c50d0 \
10 … file://third_party/http-parser/repo/LICENSE-MIT;md5=9bfa835d048c194ab30487af8d7b3778 \
11 … file://third_party/openthread/repo/LICENSE;md5=543b6fe90ec5901a683320a36390c65f \
21 file://0001-fix-build-on-GCC-14-for-yocto.patch;patchdir=third_party/openthread/repo \
22 file://0001-Musl-build-fix.patch;patchdir=third_party/openthread/repo \
/openbmc/openbmc/poky/meta/lib/oeqa/selftest/cases/oelib/
H A Dbuildhistory.py22 self.repo = Repo.init(self.repo_path)
39 return self.repo.heads.main
41 return self.repo.heads.master
56 self.repo.git.add("--all")
57 self.repo.git.commit(message=msg)
67 blob = self.repo.head.commit.tree.blobs[0]
/openbmc/openbmc/poky/meta/lib/oeqa/selftest/cases/
H A Dgitarchivetests.py35 repo = ga.init_git_repo(tempdir, False, False, logger)
37 repo.run_cmd(["remote", "add", "origin", "."])
41 repo.run_cmd(["add", fake_data_file])
42 repo.run_cmd(["commit", "-m", "\"Add fake data\""])
44 repo.run_cmd(["tag", tag])
46 return tempdir, repo
/openbmc/openbmc/meta-raspberrypi/.github/workflows/docker-images/yocto-builder/
H A Dentrypoint-yocto-check-layer.sh25 for repo in $REPOS; do
26 log "Cloning $repo on branch $BASE_REF..."
27 git clone --depth 1 --branch "$BASE_REF" "$repo"

12345678910>>...13