Home
last modified time | relevance | path

Searched refs:cwd (Results 1 – 25 of 175) sorted by relevance

1234567

/openbmc/linux/drivers/soundwire/
H A Dslave.c140 struct sdw_acpi_child_walk_data *cwd = data; in sdw_acpi_check_duplicate() local
141 struct sdw_bus *bus = cwd->bus; in sdw_acpi_check_duplicate()
144 if (adev == cwd->adev) in sdw_acpi_check_duplicate()
150 if (cwd->id.sdw_version != id.sdw_version || cwd->id.mfg_id != id.mfg_id || in sdw_acpi_check_duplicate()
151 cwd->id.part_id != id.part_id || cwd->id.class_id != id.class_id) in sdw_acpi_check_duplicate()
154 if (cwd->id.unique_id != id.unique_id) { in sdw_acpi_check_duplicate()
157 cwd->id.unique_id, id.unique_id, cwd->id.mfg_id, in sdw_acpi_check_duplicate()
158 cwd->id.part_id); in sdw_acpi_check_duplicate()
159 cwd->ignore_unique_id = false; in sdw_acpi_check_duplicate()
165 cwd->id.unique_id, id.unique_id, cwd->id.mfg_id, cwd->id.part_id); in sdw_acpi_check_duplicate()
[all …]
/openbmc/openbmc/poky/meta/lib/oe/
H A Dbuildcfg.py19 rev, _ = bb.process.run('git rev-parse --abbrev-ref HEAD', cwd=path)
26 rev, _ = bb.process.run('git rev-parse HEAD', cwd=path)
33 toplevel, _ = bb.process.run('git rev-parse --show-toplevel', cwd=path)
40 remotes_list, _ = bb.process.run('git remote', cwd=path)
48 uri, _ = bb.process.run('git remote get-url {remote}'.format(remote=remote), cwd=path)
55 describe, _ = bb.process.run('git describe --tags --dirty', cwd=path)
/openbmc/openbmc/poky/bitbake/lib/bb/tests/
H A Dfetch.py433 def git(self, cmd, cwd=None): argument
438 if cwd is None:
439 cwd = self.gitdir
440 return bb.process.run(cmd, cwd=cwd)[0]
442 def git_init(self, cwd=None): argument
443 self.git('init', cwd=cwd)
447 self.git(['checkout', '-b', 'master'], cwd=cwd)
450 self.git(['config', 'user.email'], cwd=cwd)
452 self.git(['config', 'user.email', 'you@example.com'], cwd=cwd)
455 self.git(['config', 'user.name'], cwd=cwd)
[all …]
/openbmc/openbmc/poky/meta/lib/oeqa/selftest/cases/
H A Ddevtool.py52 runCmd('git rev-parse --is-inside-work-tree', cwd=canonical_layerpath)
56 result = runCmd('git rev-parse --show-toplevel', cwd=canonical_layerpath)
59 runCmd('git clone file://%s %s' % (oldreporoot, corecopydir), cwd=templayerdir)
66 result = runCmd('git status --porcelain', cwd=oldreporoot)
116 result = runCmd('git status --porcelain', cwd=repo_dir)
119 result = runCmd('git symbolic-ref HEAD', cwd=repo_dir)
126 cwd=repo_dir)
189 result = runCmd('bitbake-layers show-appends', cwd=self.builddir)
215 result = runCmd('bitbake-layers add-layer %s' % templayerdir, cwd=self.builddir)
372 result = runCmd('wget %s' % url, cwd=tempdir)
[all …]
H A Dexternalsrc.py38 runCmd('git checkout .gitmodules', cwd=externalsrc_dir)
39 runCmd('git submodule update --init --recursive', cwd=externalsrc_dir)
/openbmc/openbmc/poky/scripts/lib/devtool/
H A D__init__.py200 bb.process.run('git init', cwd=repodir)
201 bb.process.run('git config --local gc.autodetach 0', cwd=repodir)
202 bb.process.run('git add -f -A .', cwd=repodir)
206 stdout, _ = bb.process.run('git status --porcelain', cwd=repodir)
215 bb.process.run(commit_cmd, cwd=repodir)
236 bb.process.run('git checkout -b %s' % devbranch, cwd=repodir)
237 bb.process.run('git tag -f %s' % basetag, cwd=repodir)
241 stdout, _ = bb.process.run("git status --porcelain", cwd=repodir)
248 (stdout, _) = bb.process.run('git remote', cwd=root)
250 (stdout, _) = bb.process.run('git remote get-url %s' % remote, cwd=root)
[all …]
/openbmc/openbmc/poky/meta/lib/oeqa/sdkext/cases/
H A Ddevtool.py23 subprocess.check_output(['git', 'init', '.'], cwd=cls.myapp_dst)
24 subprocess.check_output(['git', 'add', '.'], cwd=cls.myapp_dst)
25 subprocess.check_output(['git', 'commit', '-m', "'test commit'"], cwd=cls.myapp_dst)
30 subprocess.check_output(['git', 'init', '.'], cwd=cls.myapp_cmake_dst)
31 subprocess.check_output(['git', 'add', '.'], cwd=cls.myapp_cmake_dst)
32 subprocess.check_output(['git', 'commit', '-m', "'test commit'"], cwd=cls.myapp_cmake_dst)
/openbmc/openbmc/poky/meta/recipes-devtools/gnu-config/gnu-config/
H A Dgnu-configize.in221 my $cwd = cwd;
234 chdir $cwd
235 or error "cannot chdir to $cwd: $!";
/openbmc/openbmc/poky/meta/lib/oeqa/utils/
H A Dgit.py35 def _run_git_cmd_at(git_args, cwd, **kwargs): argument
39 ret = runCmd(git_cmd, ignore_status=True, cwd=cwd, **kwargs)
53 GitRepo._run_git_cmd_at(cmd, cwd=path)
H A Dmetadata.py68 …'] = subprocess.check_output(["git", "rev-parse", "--abbrev-ref", "HEAD"], cwd=path).decode('utf-8…
72 …info['commit'] = subprocess.check_output(["git", "rev-parse", "HEAD"], cwd=path).decode('utf-8').s…
76 …nt'] = int(subprocess.check_output(["git", "rev-list", "--count", "HEAD"], cwd=path).decode('utf-8…
/openbmc/openbmc/poky/meta/classes/
H A Ddevtool-source.bbclass111 (stdout, _) = bb.process.run('git rev-parse HEAD', cwd=srcsubdir)
134 bb.process.run('git checkout -- patches', cwd=srcsubdir)
152 bb.process.run('git checkout %s -b devtool-no-overrides' % initial_rev, cwd=srcsubdir)
161 bb.process.run('git checkout %s' % devbranch, cwd=srcsubdir)
162 bb.process.run('git rebase devtool-no-overrides', cwd=srcsubdir)
164 bb.process.run('git checkout %s -b devtool-no-overrides' % devbranch, cwd=srcsubdir)
169 … bb.process.run('git branch devtool-override-%s %s' % (override, devbranch), cwd=srcsubdir)
172 … bb.process.run('git checkout %s -b devtool-override-%s' % (initial_rev, override), cwd=srcsubdir)
180 bb.process.run('git rebase devtool-no-overrides', cwd=srcsubdir)
181 bb.process.run('git checkout %s' % devbranch, cwd=srcsubdir)
[all …]
/openbmc/qemu/util/
H A Dpath.c26 char *cwd = g_get_current_dir(); in init_paths() local
27 base = g_build_filename(cwd, prefix, NULL); in init_paths()
28 g_free(cwd); in init_paths()
/openbmc/u-boot/tools/buildman/
H A Dbuilderthread.py94 def Make(self, commit, brd, stage, cwd, *args, **kwargs): argument
113 return self.builder.do_make(commit, brd, stage, cwd, *args,
204 cwd = work_dir
217 cwd = None
238 result = self.Make(commit, brd, 'mrproper', cwd,
241 result = self.Make(commit, brd, 'config', cwd,
248 result = self.Make(commit, brd, 'build', cwd, *args,
332 capture_stderr=True, cwd=result.out_dir,
342 capture_stderr=True, cwd=result.out_dir,
357 capture_stderr=True, cwd=result.out_dir,
[all …]
/openbmc/openbmc/meta-security/recipes-perl/perl/files/
H A Dlibwhisker2.patch31 $CWD=&cwd if($MODULES{Cwd}>0);
40 $CWD=&cwd if($MODULES{Cwd}>0);
49 $CWD=&cwd if($MODULES{Cwd}>0);
58 $CWD=&cwd if($MODULES{Cwd}>0);
67 $CWD=&cwd if($MODULES{Cwd}>0);
/openbmc/openbmc/poky/scripts/
H A Doe-setup-layers95 subprocess.check_output(cmd, shell=True, cwd=repodir)
99 subprocess.check_output(cmd, shell=True, cwd=repodir)
104 subprocess.check_output(cmd, shell=True, cwd=repodir)
108 subprocess.check_output(cmd, shell=True, cwd=repodir)
130 …tput('git rev-parse --show-toplevel', universal_newlines=True, shell=True, cwd=os.path.dirname(__f…
/openbmc/openbmc/poky/meta/recipes-devtools/syslinux/syslinux/
H A D0002-linux-syslinux-implement-open_ext2_fs.patch51 +ext2_ino_t root, cwd; /* The root and cwd of e2fs */
113 + root = cwd = EXT2_ROOT_INO;
116 + retval = ext2fs_namei(e2fs, root, cwd, subdir, &dirino);
128 + cwd = dirino;
/openbmc/linux/tools/testing/selftests/exec/
H A Dexecveat.c162 char *cwd = getcwd(NULL, 0); in check_execveat_pathmax() local
164 if (!cwd) { in check_execveat_pathmax()
169 strcpy(longpath, cwd); in check_execveat_pathmax()
174 count = (PATH_MAX - 3 - strlen(cwd)) / XX_DIR_LEN; in check_execveat_pathmax()
179 len = (PATH_MAX - 3 - strlen(cwd)) - (count * XX_DIR_LEN); in check_execveat_pathmax()
185 free(cwd); in check_execveat_pathmax()
/openbmc/linux/arch/x86/kernel/fpu/
H A Dcore.c484 fpstate->regs.fxsave.cwd = 0x37f; in fpstate_init_fxstate()
493 fpstate->regs.fsave.cwd = 0xffff037fu; in fpstate_init_fstate()
845 unsigned short cwd, swd; in fpu__exception_code() local
857 cwd = fpu->fpstate->regs.fxsave.cwd; in fpu__exception_code()
860 cwd = (unsigned short)fpu->fpstate->regs.fsave.cwd; in fpu__exception_code()
864 err = swd & ~cwd; in fpu__exception_code()
/openbmc/u-boot/tools/patman/
H A Dcommand.py44 raise_on_error=True, cwd=None, **kwargs): argument
90 last_pipe = cros_subprocess.Popen(cmd, cwd=cwd, **kwargs)
/openbmc/linux/arch/x86/include/asm/
H A Duser_32.h46 long cwd; member
57 unsigned short cwd; member
H A Duser32.h9 u32 cwd; member
21 unsigned short cwd; member
/openbmc/qemu/target/i386/
H A Dxsave_helper.c17 uint16_t cwd, swd, twd; in x86_cpu_xsave_all_areas() local
29 cwd = env->fpuc; in x86_cpu_xsave_all_areas()
33 legacy->fcw = cwd; in x86_cpu_xsave_all_areas()
154 uint16_t cwd, swd, twd; in x86_cpu_xrstor_all_areas() local
161 cwd = legacy->fcw; in x86_cpu_xrstor_all_areas()
167 env->fpuc = cwd; in x86_cpu_xrstor_all_areas()
/openbmc/qemu/.gitlab-ci.d/
H A Dcheck-patch.py18 cwd = os.getcwd() variable
19 reponame = os.path.basename(cwd)
/openbmc/linux/tools/testing/selftests/capabilities/
H A Dtest_execve.c141 char cwd[PATH_MAX]; in chdir_to_tmpfs() local
142 if (getcwd(cwd, sizeof(cwd)) != cwd) in chdir_to_tmpfs()
149 if (chdir(cwd) != 0) in chdir_to_tmpfs()
/openbmc/u-boot/test/py/
H A Du_boot_spawn.py25 def __init__(self, args, cwd=None): argument
57 if cwd:
58 os.chdir(cwd)

1234567