Home
last modified time | relevance | path

Searched refs:join (Results 1 – 25 of 702) sorted by relevance

12345678910>>...29

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/tests/
Dtest_filelist.py2 from os.path import join
43 join('global', 'one.txt'),
44 join('global', 'two.txt'),
45 join('global', 'files.x'),
46 join('global', 'here.tmp'),
47 join('f', 'o', 'f.oo'),
48 join('dir', 'graft-one'),
49 join('dir', 'dir2', 'graft2'),
50 join('dir3', 'ok'),
51 join('dir3', 'sub', 'ok.txt')
[all …]
Dtest_install_data.py19 cmd.install_dir = inst = os.path.join(pkg_dir, 'inst')
24 one = os.path.join(pkg_dir, 'one')
26 inst2 = os.path.join(pkg_dir, 'inst2')
27 two = os.path.join(pkg_dir, 'two')
40 self.assertTrue(os.path.exists(os.path.join(inst2, rtwo)))
42 self.assertTrue(os.path.exists(os.path.join(inst, rone)))
52 self.assertTrue(os.path.exists(os.path.join(inst2, rtwo)))
53 self.assertTrue(os.path.exists(os.path.join(inst, rone)))
57 cmd.root = os.path.join(pkg_dir, 'root')
58 inst3 = os.path.join(cmd.install_dir, 'inst3')
[all …]
Dtest_dep_util.py16 new_file = os.path.join(tmpdir, 'new')
34 sources = os.path.join(tmpdir, 'sources')
35 targets = os.path.join(tmpdir, 'targets')
38 one = os.path.join(sources, 'one')
39 two = os.path.join(sources, 'two')
41 four = os.path.join(targets, 'four')
51 sources = os.path.join(tmpdir, 'sources')
53 one = os.path.join(sources, 'one')
54 two = os.path.join(sources, 'two')
55 three = os.path.join(sources, 'three')
Dtest_sdist.py22 from os.path import join
67 os.mkdir(join(self.tmp_dir, 'somecode'))
68 os.mkdir(join(self.tmp_dir, 'dist'))
104 os.mkdir(join(self.tmp_dir, 'somecode', '.svn'))
107 os.mkdir(join(self.tmp_dir, 'somecode', '.hg'))
111 os.mkdir(join(self.tmp_dir, 'somecode', '.git'))
126 dist_folder = join(self.tmp_dir, 'dist')
130 zip_file = zipfile.ZipFile(join(dist_folder, 'fake-1.0.zip'))
156 dist_folder = join(self.tmp_dir, 'dist')
161 os.remove(join(dist_folder, 'fake-1.0.tar'))
[all …]
Dtest_install.py21 destination = os.path.join(builddir, "installation")
25 dist.script_name = os.path.join(builddir, "setup.py")
28 build_lib=os.path.join(builddir, "lib"),
43 libdir = os.path.join(destination, "lib", "python")
48 os.path.join(destination, "include", "python", "foopkg"))
49 check_path(cmd.install_scripts, os.path.join(destination, "bin"))
Dtest_build_py.py22 f = open(os.path.join(sources, "__init__.py"), "w")
27 f = open(os.path.join(sources, "README.txt"), "w")
38 dist.script_name = os.path.join(sources, "setup.py")
58 pkgdest = os.path.join(destination, "pkg")
74 open(os.path.join(sources, "__init__.py"), "w").close()
76 testdir = os.path.join(sources, "doc")
78 open(os.path.join(testdir, "testfile"), "w").close()
89 dist.script_name = os.path.join(sources, "setup.py")
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_shutil.py60 path = os.path.join(*path)
87 self.childpath = os.path.join(TESTFN, 'a')
154 dst_dir = os.path.join(tempfile.mkdtemp(), 'destination')
156 write_data(os.path.join(src_dir, 'test.txt'), '123')
158 os.mkdir(os.path.join(src_dir, 'test_dir'))
159 write_data(os.path.join(src_dir, 'test_dir', 'test.txt'), '456')
163 self.assertTrue(os.path.isfile(os.path.join(dst_dir, 'test.txt')))
164 self.assertTrue(os.path.isdir(os.path.join(dst_dir, 'test_dir')))
165 self.assertTrue(os.path.isfile(os.path.join(dst_dir, 'test_dir',
167 actual = read_data(os.path.join(dst_dir, 'test.txt'))
[all …]
Dtest_mhlib.py28 _mhpath = os.path.join(_mhroot, "MH")
29 _mhprofile = os.path.join(_mhroot, ".mh_profile")
32 return os.path.join(*f.split('/'))
50 writeFile(_mhprofile, "".join(contents))
54 writeFile(os.path.join(_mhpath, "context"),
59 writeFile(os.path.join(_mhpath, folder, ".mh_sequences"),
64 headers = "".join([ "%s: %s\n" % (k, v) for k, v in headers.iteritems() ])
66 mkdirs(os.path.join(_mhpath, folder))
67 writeFile(os.path.join(_mhpath, folder, str(n)), contents)
90 fullname = os.path.join(fname, f)
[all …]
Dtest_old_mailbox.py31 os.mkdir(os.path.join(self._dir, "cur"))
32 os.mkdir(os.path.join(self._dir, "tmp"))
33 os.mkdir(os.path.join(self._dir, "new"))
39 os.rmdir(os.path.join(self._dir, "cur"))
40 os.rmdir(os.path.join(self._dir, "tmp"))
41 os.rmdir(os.path.join(self._dir, "new"))
48 filename = os.extsep.join((str(t), str(pid), "myhostname", "mydomain"))
49 tmpname = os.path.join(self._dir, "tmp", filename)
50 newname = os.path.join(self._dir, dir, filename)
Dtest_telnetlib.py60 self.thread.join()
113 self.thread.join()
132 self.dataq.join()
134 self.assertEqual(data, ''.join(want[:-2]))
141 self.dataq.join()
154 self.dataq.join()
156 self.assertEqual(data, ''.join(want[:-1]))
161 self.dataq.join()
172 self.dataq.join()
185 self.dataq.join()
[all …]
/device/generic/goldfish-opengl/
Dcmake_transform.py85 mkfile = os.path.join(module['path'], 'Android.mk')
89 make.append('set(%s_src %s)' % (name, ' '.join(module['src'])))
91 …oid_add_library(TARGET {} SHARED LICENSE Apache-2.0 SRC {})'.format(name, ' '.join(module['src'])))
93 …d('android_add_library(TARGET {} LICENSE Apache-2.0 SRC {})'.format(name, ' '.join(module['src'])))
100 (name, ' '.join(includes)))
116 (name, ' '.join(defs)))
118 (name, ' '.join(flags)))
122 (name, ' '.join(libs), " ".join(staticlibs)))
125 (name, ' '.join(libs)))
164 root = os.path.join(args.outdir, 'CMakeLists.txt')
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/freeze/
Dfreeze.py218 ishome = os.path.exists(os.path.join(prefix, 'Python', 'ceval.c'))
227 incldir = os.path.join(prefix, 'Include')
229 config_c_in = os.path.join(prefix, 'Modules', 'config.c.in')
230 frozenmain_c = os.path.join(prefix, 'Python', 'frozenmain.c')
231 makefile_in = os.path.join(exec_prefix, 'Makefile')
233 frozendllmain_c = os.path.join(exec_prefix, 'Pc\\frozen_dllmain.c')
235 binlib = os.path.join(exec_prefix,
237 incldir = os.path.join(prefix, 'include', 'python%s' % version)
238 config_h_dir = os.path.join(exec_prefix, 'include',
240 config_c_in = os.path.join(binlib, 'config.c.in')
[all …]
/device/linaro/bootloader/edk2/BaseTools/Tests/
DTestTools.py29 BaseToolsDir = os.path.realpath(os.path.join(TestsDir, '..'))
30 CSourceDir = os.path.join(BaseToolsDir, 'Source', 'C')
31 PythonSourceDir = os.path.join(BaseToolsDir, 'Source', 'Python')
32 TestTempDir = os.path.join(TestsDir, 'TestTempDir')
53 return [ os.path.join(BaseToolsDir, 'Bin', sys.platform.title()) ]
59 os.path.join(BaseToolsDir, 'Bin', uname),
60 os.path.join(BaseToolsDir, 'BinWrappers', uname),
61 os.path.join(BaseToolsDir, 'BinWrappers', 'PosixLike')
71 dirItem = os.path.join(dir, dirItem)
104 bin = os.path.join(binPath, toolName)
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/C/PyEfiCompressor/
Dsetup.py32 os.path.join(BaseToolsDir, 'Source', 'C', 'Common', 'Decompress.c'),
36 os.path.join(BaseToolsDir, 'Source', 'C', 'Include'),
37 os.path.join(BaseToolsDir, 'Source', 'C', 'Include', 'Ia32'),
38 os.path.join(BaseToolsDir, 'Source', 'C', 'Common')
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/
Dsysconfig.py30 project_base = os.path.abspath(os.path.join(project_base, os.path.pardir))
33 project_base = os.path.abspath(os.path.join(project_base, os.path.pardir,
37 project_base = os.path.abspath(os.path.join(project_base, os.path.pardir,
47 if os.path.isfile(os.path.join(project_base, "Modules", fn)):
83 srcdir = os.path.abspath(os.path.join(buildir,
86 inc_dir = os.path.join(srcdir, "Include")
88 return os.path.join(prefix, "include", "python" + get_python_version())
90 return os.path.join(prefix, "include")
92 return os.path.join(prefix, "Include")
117 libpython = os.path.join(prefix,
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Common/
DMultipleWorkspace.py44 return os.path.join(Ws, os.path.relpath(Path, Ws))
73 def join(cls, Ws, *p): member in MultipleWorkspace
74 Path = os.path.join(Ws, *p)
77 Path = os.path.join(Pkg, *p)
80 Path = os.path.join(Ws, *p)
113 absPath = os.path.join(Ws, Path)
116 absPath = os.path.join(Pkg, Path)
144 PathStr = ' '.join(PathList)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/
Dlinktree.py38 linkname = os.path.join(newtree, link)
40 os.symlink(os.path.join(os.pardir, oldtree), linkname)
59 oldname = os.path.join(old, name)
60 linkname = os.path.join(link, name)
61 newname = os.path.join(new, name)
73 linkname = os.path.join(os.pardir,
Dsvneol.py37 default = os.path.join(root, ".svn", "props", fn+".svn-work")
39 format = int(open(os.path.join(root, ".svn", "format")).read().strip())
45 return [os.path.join(root, ".svn", "prop-base", fn+".svn-base"),
46 os.path.join(root, ".svn", "props", fn+".svn-work")]
90 path = os.path.join(root, fn)
Dmkreal.py11 join = os.path.join variable
39 linkto = join(os.pardir, linkto)
43 os.symlink(join(linkto, filename), join(name, filename))
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/pybench/
DStrings.py2 from string import join
13 s = join(map(str,range(100)))
14 t = join(map(str,range(1,101)))
79 s = join(map(str,range(100)))
80 t = join(map(str,range(1,101)))
95 s = join(map(str,range(10)))
96 t = join(map(str,range(10))) + "abc"
161 s = join(map(str,range(10)))
162 t = join(map(str,range(10))) + "abc"
177 s = intern(join(map(str,range(10))))
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Library/
DCommentGenerating.py49 TAB_SPACE_SPLIT).join(GetSplitValueList(TailCommentLines, END_OF_LINE))
61 …= TAB_SPECIAL_COMMENT + TAB_SPACE_SPLIT + (END_OF_LINE + TAB_COMMENT_SPLIT + TAB_SPACE_SPLIT).join\
140 …Content += CommChar + TAB_SPACE_SPLIT + ('\r\n' + CommChar + TAB_SPACE_SPLIT).join(GetSplitValueLi…
148 …Content += CommChar + TAB_SPACE_SPLIT + ('\r\n' + CommChar + TAB_SPACE_SPLIT).join(GetSplitValueLi…
157 Content += CommChar + TAB_SPACE_SPLIT + ('\r\n' + CommChar + TAB_SPACE_SPLIT).join\
163 …Content += CommChar + TAB_SPACE_SPLIT + ('\r\n' + CommChar + TAB_SPACE_SPLIT).join(GetSplitValueLi…
185 CommentLine = TAB_SPACE_SPLIT.join([Usage, TailCommentText])
203 CommentLine += TAB_SPACE_SPLIT.join([Usage, TailCommentText])
222 CommentLine = TAB_SPACE_SPLIT.join([FirstLine, TailCommentText])
230 CommentLine = TAB_SPACE_SPLIT.join(SupModuleList)
/device/linaro/bootloader/edk2/BaseTools/gcc/
Dmingw-gcc-build.py80 default = os.path.join(self.base_dir, 'src'),
86 default = os.path.join(self.base_dir, 'build'),
92 default = os.path.join(self.base_dir, 'install'),
110 default = os.path.join(self.base_dir, 'symlinks'),
126 ', '.join(allowedArchs)
131 self.target_combo = '-'.join((self.target_arch, self.target_sys, self.target_bin))
160 print "Building :", ', '.join(building)
287 local_file = os.path.join(self.config.src_dir, fdata['filename'])
348 local_file = os.path.join(self.config.src_dir, fdata['filename'])
387 extractDst = os.path.join(src, self.config.arch)
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/Python/GenFds/
DEfiSection.py88 Filename = os.path.normpath(os.path.join(FfsInf.EfiOutputPath, Filename))
120 …OutputFile = os.path.join( OutputPath, ModuleName + 'SEC' + str(Num) + Ffs.SectionSuffix.get(Secti…
130 …OutputFile = os.path.join(OutputPath, ModuleName + 'SEC' + Num + Ffs.SectionSuffix.get(SectionType…
148 BuildNumString = ' ' + ' '.join(BuildNumTuple)
158 …OutputFile = os.path.join( OutputPath, ModuleName + 'SEC' + str(Num) + Ffs.SectionSuffix.get(Secti…
176 …OutputFile = os.path.join( OutputPath, ModuleName + 'SEC' + str(Num) + Ffs.SectionSuffix.get(Secti…
185 …OutputFile = os.path.join(OutputPath, ModuleName + 'SEC' + Num + Ffs.SectionSuffix.get(SectionType…
205 …OutputFile = os.path.join( OutputPath, ModuleName + 'SEC' + str(Num) + Ffs.SectionSuffix.get(Secti…
226 …OutputFile = os.path.join( OutputPath, ModuleName + 'SEC' + Num + Ffs.SectionSuffix.get(SectionTyp…
240 CopyMapFile = os.path.join(OutputPath, ModuleName + '.map')
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/C/PyUtility/
Dsetup.py35 os.path.join(BaseToolsDir, 'Source', 'C', 'Include'),
36 os.path.join(BaseToolsDir, 'Source', 'C', 'Include', 'Ia32'),
37 os.path.join(BaseToolsDir, 'Source', 'C', 'Common')
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/command/
Dbuild_py.py108 build_dir = os.path.join(*([self.build_lib] + package.split('.')))
129 filelist = glob(os.path.join(src_dir, convert_path(pattern)))
138 target = os.path.join(build_dir, filename)
140 self.copy_file(os.path.join(src_dir, filename), target,
152 return os.path.join(*path)
159 pdir = self.package_dir['.'.join(path)]
165 return os.path.join(*tail)
179 return os.path.join(*tail)
199 init_py = os.path.join(package_dir, "__init__.py")
219 module_files = glob(os.path.join(package_dir, "*.py"))
[all …]

12345678910>>...29