Home
last modified time | relevance | path

Searched refs:os (Results 1 – 25 of 1438) sorted by relevance

12345678910>>...58

/OK3568_Linux_fs/external/xserver/
H A Dconfig.sub983 os=${os:-unicosmp}
987 os=${os:-unicos}
1031 os=${os:-bosx}
1040 os=linux
1053 os=$os"spe"
1063 os=linux
1073 os=linux
1133 os=${os:-elf}
1144 os=${os:-elf}
1171 os=${os:-linux-gnu}
[all …]
/OK3568_Linux_fs/buildroot/support/gnuconfig/
H A Dconfig.sub1318 case $os in
1323 os=auroraux
1326 os=cnk
1329 os=`echo $os | sed -e 's|solaris1|sunos4|'`
1332 os=solaris2
1335 os=sysv4.2uw
1339 os=ose
1343 os=chorusos
1346 os=isc2.2
1349 os=sco5v6
[all …]
/OK3568_Linux_fs/buildroot/dl/stressapptest/git/
H A Dconfig.sub122 os=-$maybe_os
126 os=-linux-android
132 then os=`echo $1 | sed 's/.*-/-/'`
133 else os=; fi
141 case $os in
142 -sun*os*)
152 os=
156 os=-cnk
159 os=
165 os=-vxworks
[all …]
/OK3568_Linux_fs/yocto/poky/meta/lib/oe/
H A Dpath.py9 import os.path
13 return os.path.normpath("/".join(paths))
28 return os.path.relpath(dest, src)
32 if not os.path.islink(path):
34 link = os.readlink(path)
35 if not os.path.isabs(link):
54 os.remove(path)
55 os.symlink(base, path)
64 for walkroot, dirs, files in os.walk(basedir):
66 path = os.path.join(walkroot, file)
[all …]
H A Dcopy_buildsystem.py20 mode = os.stat(src).st_mode
34 self.layerdirs = [os.path.abspath(pth) for pth in d.getVar('BBLAYERS').split()]
46 corebase = os.path.abspath(self.d.getVar('COREBASE'))
51 layers.append(os.path.join(corebase, 'meta-skeleton'))
69 layernames = [os.path.basename(layer) for layer in layers]
82 layerconf = os.path.join(layer, 'conf', 'layer.conf')
83 layernewname = os.path.basename(layer)
85 if os.path.exists(layerconf):
98 if corebase == os.path.dirname(layer):
99 layerdestpath += '/' + os.path.basename(corebase)
[all …]
/OK3568_Linux_fs/yocto/poky/meta/lib/oeqa/utils/
H A Dtestexport.py9 import os, re, glob as g, shutil as sh,sys
37 check_env = True if ("/scripts" and "/bitbake/bin") in os.getenv("PATH") else False
70 os.chdir(dest_pth)
72 os.chdir("%s" % os.sep)# this is for native package
79 arch = get_dest_folder(d.getVar("TUNE_FEATURES"), os.listdir(rpm_deploy_dir))
80 arch_rpm_dir = os.path.join(rpm_deploy_dir, arch)
81 extracted_bin_dir = os.path.join(exportpath,"binaries", arch, "extracted_binaries")
82 packaged_bin_dir = os.path.join(exportpath,"binaries", arch, "packaged_binaries")
85 if not os.path.exists(extracted_bin_dir): bb.utils.mkdirhier(extracted_bin_dir)
86 if not os.path.exists(packaged_bin_dir): bb.utils.mkdirhier(packaged_bin_dir)
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/rapidjson/1.1.0/include/rapidjson/
H A Dencodings.h102 static void Encode(OutputStream& os, unsigned codepoint) { in Encode()
104 os.Put(static_cast<Ch>(codepoint & 0xFF)); in Encode()
106 os.Put(static_cast<Ch>(0xC0 | ((codepoint >> 6) & 0xFF))); in Encode()
107 os.Put(static_cast<Ch>(0x80 | ((codepoint & 0x3F)))); in Encode()
110 os.Put(static_cast<Ch>(0xE0 | ((codepoint >> 12) & 0xFF))); in Encode()
111 os.Put(static_cast<Ch>(0x80 | ((codepoint >> 6) & 0x3F))); in Encode()
112 os.Put(static_cast<Ch>(0x80 | (codepoint & 0x3F))); in Encode()
116 os.Put(static_cast<Ch>(0xF0 | ((codepoint >> 18) & 0xFF))); in Encode()
117 os.Put(static_cast<Ch>(0x80 | ((codepoint >> 12) & 0x3F))); in Encode()
118 os.Put(static_cast<Ch>(0x80 | ((codepoint >> 6) & 0x3F))); in Encode()
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/geometry/io/wkt/
H A Dwrite.hpp66 static inline void apply(std::basic_ostream<Char, Traits>& os, P const& p) in apply()
68 os << (I > 0 ? " " : "") << get<I>(p); in apply()
69 stream_coordinate<P, I + 1, Count>::apply(os, p); in apply()
114 static inline void apply(std::basic_ostream<Char, Traits>& os, Point const& p) in apply()
116 os << Policy::apply() << "("; in apply()
117 stream_coordinate<Point, 0, dimension<Point>::type::value>::apply(os, p); in apply()
118 os << ")"; in apply()
130 static inline void apply(std::basic_ostream<Char, Traits>& os, in apply()
142 os << PrefixPolicy::apply(); in apply()
150 os << (first ? "" : ","); in apply()
[all …]
/OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-support/websocketpp/websocketpp-0.8.2/
H A D857.patch19 -import os, sys, commands
20 +import os, sys
22 env = Environment(ENV = os.environ)
25 -if os.environ.has_key('CXX'):
26 +if 'CXX' in os.environ:
27 env['CXX'] = os.environ['CXX']
29 -if os.environ.has_key('DEBUG'):
30 +if 'DEBUG' in os.environ:
31 env['DEBUG'] = os.environ['DEBUG']
33 -if os.environ.has_key('CXXFLAGS'):
[all …]
/OK3568_Linux_fs/yocto/poky/bitbake/lib/bb/tests/
H A Dfetch.py13 import os
21 if os.environ.get("BB_SKIP_NETTESTS") == "yes":
378 self.origdir = os.getcwd()
381 self.dldir = os.path.join(self.tempdir, "download")
382 os.mkdir(self.dldir)
384 self.unpackdir = os.path.join(self.tempdir, "unpacked")
385 os.mkdir(self.unpackdir)
386 persistdir = os.path.join(self.tempdir, "persistdata")
390 os.chdir(self.origdir)
391 if os.environ.get("BB_TMPDIR_NOCLEAN") == "yes":
[all …]
/OK3568_Linux_fs/yocto/poky/scripts/lib/wic/plugins/source/
H A Drootfs.py15 import os
37 if os.path.isabs(path):
44 full_path = os.path.realpath(os.path.join(rootfs_dir, path))
45 if not full_path.startswith(os.path.realpath(rootfs_dir)):
53 if rootfs_dir and os.path.isdir(rootfs_dir):
54 return os.path.realpath(rootfs_dir)
57 if not os.path.isdir(image_rootfs_dir):
62 return os.path.realpath(image_rootfs_dir)
97 part.has_fstab = os.path.exists(os.path.join(part.rootfs_dir, "etc/fstab"))
98 pseudo_dir = os.path.join(part.rootfs_dir, "../pseudo")
[all …]
/OK3568_Linux_fs/yocto/poky/meta/lib/oeqa/selftest/cases/
H A D_sstatetests_noauto.py5 import os
18 self.builddir = os.path.join(os.environ.get('BUILDDIR'))
23 with open(os.path.join(self.builddir, 'pn-buildlist'), 'r') as pnfile:
28 os.mkdir(builddir)
30 os.mkdir(os.path.join(builddir, 'conf'))
31 …shutil.copyfile(os.path.join(os.environ.get('BUILDDIR'), 'conf/local.conf'), os.path.join(builddir…
37 ftools.append_file(os.path.join(builddir, 'conf/selftest.inc'), config[key])
38 …shutil.copyfile(os.path.join(os.environ.get('BUILDDIR'), 'conf/bblayers.conf'), os.path.join(build…
40 …shutil.copyfile(os.path.join(os.environ.get('BUILDDIR'), 'conf/auto.conf'), os.path.join(builddir,…
45 os.mkdir(dst)
[all …]
H A Ddevtool.py5 import os
24 corecopydir = os.path.join(templayerdir, 'core-copy')
25 bblayers_conf = os.path.join(os.environ['BUILDDIR'], 'conf', 'bblayers.conf')
38 canonical_layerpath = os.path.realpath(canonical_layerpath) + '/'
40 oldmetapath = os.path.realpath(layerpath)
43 newmetapath = os.path.join(corecopydir, os.path.relpath(oldmetapath, oldreporoot))
55 pth = os.path.join(oldreporoot, relpth)
58 destdir = os.path.join(corecopydir, relpth)
62 destdir = os.path.join(corecopydir, os.path.dirname(relpth))
79 bblayers_conf = os.path.join(os.environ['BUILDDIR'], 'conf', 'bblayers.conf')
[all …]
H A Dwic.py11 import os
78 self.resultdir = os.path.join(self.builddir, "wic-tmp")
103 WicTestCase.wicenv_cache[image] = os.path.join(stdir, machine, 'imgdata')
172 self.assertEqual(1, len(glob(os.path.join (self.resultdir, "wictestdisk-*.direct"))))
179 self.assertEqual(1, len(glob(os.path.join(self.resultdir, "directdisk-*.direct"))))
192 self.assertEqual(1, len(glob(os.path.join(self.resultdir, "HYBRID_ISO_IMG-*.direct"))))
193 self.assertEqual(1, len(glob(os.path.join (self.resultdir, "HYBRID_ISO_IMG-*.iso"))))
200 self.assertEqual(1, len(glob(os.path.join(self.resultdir, "qemux86-directdisk-*direct"))))
207 self.assertEqual(1, len(glob(os.path.join(self.resultdir, "mkefidisk-*direct"))))
218 …self.assertEqual(1, len(glob(os.path.join(self.resultdir, "directdisk-bootloader-config-*direct"))…
[all …]
H A Drecipetool.py5 import os
35 self.testfile = os.path.join(self.tempdir, 'testfile')
57 filesdir = os.path.join(os.path.dirname(bbappendfile), testrecipe)
59 …self.assertTrue(os.path.isfile(os.path.join(filesdir, expectedfile)), 'Expected file %s to be copi…
63 for root, _, files in os.walk(filesdir):
65 createdfiles.append(os.path.relpath(os.path.join(root, f), filesdir))
112 testfile2 = os.path.join(self.corebase, 'oe-init-build-env')
113 testfile2name = os.path.basename(testfile2)
126 copiedfile = os.path.join(os.path.dirname(bbappendfile), 'coreutils', testfile2name)
133 ls = os.path.realpath("/bin/ls")
[all …]
H A Dsigning.py7 import os
29 self.pub_key_path = os.path.join(self.testlayer_path, 'files', 'signing', "key.pub")
30 self.secret_key_path = os.path.join(self.testlayer_path, 'files', 'signing', "key.secret")
44 origenv = os.environ.copy()
46 for e in os.environ:
47 if builddir + "/" in os.environ[e]:
48 os.environ[e] = os.environ[e].replace(builddir + "/", newbuilddir + "/")
49 if os.environ[e].endswith(builddir):
50 os.environ[e] = os.environ[e].replace(builddir, newbuilddir)
52 os.chdir(newbuilddir)
[all …]
/OK3568_Linux_fs/yocto/poky/scripts/lib/devtool/
H A Dstandard.py9 import os
55 if os.sep in args.recipename:
58 elif os.path.isdir(args.recipename):
67 if args.srctree and os.path.isfile(args.srctree):
68 args.fetchuri = 'file://' + os.path.abspath(args.srctree)
87 srctree = os.path.abspath(args.srctree)
96 if srctree and os.path.exists(srctree):
98 if not os.path.isdir(srctree):
102 elif os.listdir(srctree):
169 recipes = glob.glob(os.path.join(tempdir, '*.bb'))
[all …]
/OK3568_Linux_fs/u-boot/test/py/
H A Dmake_test_disk.py7 import os
10 if (os.path.exists("testdisk.raw")):
11 os.remove("testdisk.raw")
12 fd = os.open("testdisk.raw", os.O_RDWR|os.O_CREAT )
13 os.ftruncate(fd, 4194304)
14 os.close(fd)
15 os.spawnl(os.P_WAIT, "/sbin/sgdisk", "sgdisk", "-U",
17 os.spawnl(os.P_WAIT, "/sbin/sgdisk", "sgdisk", "--new=1:2048:2560", "testdisk.raw")
18 os.spawnl(os.P_WAIT, "/sbin/sgdisk", "sgdisk", "--new=2:4096:4608", "testdisk.raw")
19 os.spawnl(os.P_WAIT, "/sbin/gdisk", "sgdisk", "-l", "testdisk.raw")
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/geometry/io/dsv/
H A Dwrite.hpp77 static inline void apply(std::basic_ostream<Char, Traits>& os, in apply()
81 os << (Dimension > 0 ? settings.coordinate_separator : "") in apply()
87 >::apply(os, point, settings); in apply()
115 static inline void apply(std::basic_ostream<Char, Traits>& os, in apply()
119 os << (Dimension > 0 ? settings.coordinate_separator : "") in apply()
124 >::apply(os, geometry, settings); in apply()
145 static inline void apply(std::basic_ostream<Char, Traits>& os, in apply()
149 os << settings.point_open; in apply()
150 stream_coordinate<Point, 0, dimension<Point>::type::value>::apply(os, p, settings); in apply()
151 os << settings.point_close; in apply()
[all …]
/OK3568_Linux_fs/yocto/poky/bitbake/lib/toaster/tests/builds/
H A Dbuildtest.py10 import os
36 current_builddir = os.environ.get("BUILDDIR")
42 oe_init_build_env_path = os.path.join(
43 os.path.dirname(os.path.abspath(__file__)),
44 os.pardir,
45 os.pardir,
46 os.pardir,
47 os.pardir,
48 os.pardir,
51 if not os.path.exists(oe_init_build_env_path):
[all …]
/OK3568_Linux_fs/yocto/poky/meta/lib/oe/package_manager/deb/
H A D__init__.py12 bb.utils.mkdirhier(os.path.join(self.apt_conf_dir, "lists", "partial"))
13 bb.utils.mkdirhier(os.path.join(self.apt_conf_dir, "apt.conf.d"))
14 bb.utils.mkdirhier(os.path.join(self.apt_conf_dir, "preferences.d"))
16 with open(os.path.join(self.apt_conf_dir, "preferences"),
19 with open(os.path.join(self.apt_conf_dir, "sources.list"),
24 with open(os.path.join(self.d.expand("${STAGING_ETCDIR_NATIVE}"),
32 self.apt_conf_dir = os.path.join(self.d.expand("${APTCONF_TARGET}"),
34 self.apt_conf_file = os.path.join(self.apt_conf_dir, "apt.conf")
37 os.environ['APT_CONFIG'] = self.apt_conf_file
51 apt_ftparchive = bb.utils.which(os.getenv('PATH'), "apt-ftparchive")
[all …]
/OK3568_Linux_fs/yocto/poky/scripts/
H A Doe-pkgdata-util13 import os
14 import os.path
21 scripts_path = os.path.dirname(os.path.realpath(__file__))
43 if not os.path.exists(args.pkglistfile):
84 return os.path.join(args.pkgdata_dir, "runtime-reverse", pkgn)
86 return os.path.join(args.pkgdata_dir, "runtime", pkgn)
96 pn = os.path.basename(pkgdata_file)
109 if os.path.exists(revlink):
110 mappedpkg = os.path.basename(os.readlink(revlink))
112 if os.path.exists(fwdfile):
[all …]
/OK3568_Linux_fs/kernel/drivers/block/drbd/
H A Ddrbd_state.c25 union drbd_state os; member
280 static void after_state_ch(struct drbd_device *device, union drbd_state os,
285 static enum drbd_state_rv is_valid_transition(union drbd_state os, union drbd_state ns);
286 static union drbd_state sanitize_state(struct drbd_device *device, union drbd_state os,
468 union drbd_state os, union drbd_state ns) in cl_wide_st_chg() argument
470 return (os.conn >= C_CONNECTED && ns.conn >= C_CONNECTED && in cl_wide_st_chg()
471 ((os.role != R_PRIMARY && ns.role == R_PRIMARY) || in cl_wide_st_chg()
472 (os.conn != C_STARTING_SYNC_T && ns.conn == C_STARTING_SYNC_T) || in cl_wide_st_chg()
473 (os.conn != C_STARTING_SYNC_S && ns.conn == C_STARTING_SYNC_S) || in cl_wide_st_chg()
474 (os.disk != D_FAILED && ns.disk == D_FAILED))) || in cl_wide_st_chg()
[all …]
/OK3568_Linux_fs/yocto/poky/bitbake/lib/toaster/bldcontrol/
H A Dlocalhostbecontroller.py9 import os
25 install_dir = os.environ.get('TOASTER_DIR')
45 env=os.environ.copy()
71 from os.path import dirname as DN
72 local_checkout_path = DN(DN(DN(DN(DN(os.path.abspath(__file__))))))
90 git_env = os.environ.copy()
155 … localdirname = os.path.join(self.be.sourcedir, self.getGitCloneDirectory(giturl, commit))
159 if os.path.exists(localdirname):
189 … if self.pokydirname is None and os.path.exists(os.path.join(localdirname, "oe-init-build-env")):
194 if not os.path.exists(os.path.join(self.pokydirname, 'bitbake')):
[all …]
/OK3568_Linux_fs/buildroot/package/polkit/
H A D0002-Improve-meson_post_install-script.patch43 import os
47 +destdir = os.environ.get('DESTDIR')
48 prefix = os.environ['MESON_INSTALL_DESTDIR_PREFIX']
50 -bindir = os.path.join(prefix, sys.argv[1])
51 -pkgdatadir = os.path.join(prefix, sys.argv[2])
52 -pkglibdir = os.path.join(prefix, sys.argv[3])
53 -pkgsysconfdir = os.path.join(prefix, sys.argv[4])
55 + if os.path.isabs(p):
59 + return os.path.join(destdir, os.path.relpath(p, '/'))
61 + return os.path.join(prefix, p)
[all …]

12345678910>>...58