Home
last modified time | relevance | path

Searched full:os (Results 1 – 25 of 4224) sorted by relevance

12345678910>>...169

/OK3568_Linux_fs/external/xserver/
H A Dconfig.sub127 os=$field3-$field4
130 # Ambiguous whether COMPANY is present, or skipped and KERNEL-OS is two
140 os=$maybe_os
144 os=linux-android
148 os=$field3
157 os=
160 # Second component is usually, but not always the OS
162 # Prevent following clause from handling this valid os
163 sun*os*)
165 os=$field2
[all …]
/OK3568_Linux_fs/buildroot/dl/stressapptest/git/
H A Dconfig.sub113 # Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any).
114 # Here we must recognize all the valid KERNEL-OS combinations.
122 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
[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/meta/lib/oe/
H A Dpath.py9 import os.path
12 """Like os.path.join but doesn't treat absolute RHS specially"""
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):
[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
68 "Please install them according to your OS recommendations") # will exit here
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)
[all …]
/OK3568_Linux_fs/buildroot/support/gnuconfig/
H A Dconfig.sub130 # Ambiguous whether COMPANY is present, or skipped and KERNEL-OS is two
159 # Second component is usually, but not always the OS
161 # Prevent following clause from handling this valid os
162 sun*os*)
677 # for a CPU type and a company and sometimes even an OS.
1284 # First recognize some ad-hoc caes, or perhaps split kernel-os, or else just
1285 # set os.
1289 os=`echo $basic_os | sed -e 's|gnu/linux|gnu|'`
1293 os=`echo $basic_os | sed -e 's|nto-qnx|qnx|'`
1297 IFS="-" read kernel os <<EOF
[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/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/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/rapidjson/1.1.0/include/rapidjson/
H A Dencodings.h45 //! \param os Output stream.
48 static void Encode(OutputStream& os, unsigned codepoint);
59 //! \param os Output for copying one codepoint.
63 static bool Validate(InputStream& is, OutputStream& os);
77 static void PutBOM(OutputByteStream& os);
81 static void Put(OutputByteStream& os, Ch c);
102 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()
[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 …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/fusion/sequence/io/detail/
H A Dout.hpp29 template <typename OS>
31 print(OS& os, char const* delim, mpl::false_ = mpl::false_()) in print()
33 detail::string_ios_manip<Tag, OS> manip(os); in print()
37 template <typename OS>
39 print(OS&, char const*, mpl::true_) in print()
46 template <typename OS, typename First, typename Last>
48 call(OS&, First const&, Last const&, mpl::true_) in call()
52 template <typename OS, typename First, typename Last>
54 call(OS& os, First const& first, Last const& last, mpl::false_) in call()
62 os << *first; in call()
[all …]
/OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-benchmark/lmbench/lmbench-3.0-a9/
H A D0002-build-Adjust-CFLAGS-LDFLAGS-to-append-values-passed-.patch37 - @env CFLAGS=-O MAKE="$(MAKE)" MAKEFLAGS="$(MAKEFLAGS)" CC="$(CC)" OS="$(OS)" ../scripts/build all
38 - -@env CFLAGS=-O MAKE="$(MAKE)" MAKEFLAGS="k$(MAKEFLAGS)" CC="$(CC)" OS="$(OS)" ../scripts/build o…
39 + @env CFLAGS+=-O MAKE="$(MAKE)" MAKEFLAGS="$(MAKEFLAGS)" CC="$(CC)" OS="$(OS)" ../scripts/build all
40 + -@env CFLAGS+=-O MAKE="$(MAKE)" MAKEFLAGS="k$(MAKEFLAGS)" CC="$(CC)" OS="$(OS)" ../scripts/build …
43 @env OS="${OS}" ../scripts/config-run
44 @@ -137,7 +137,7 @@ os: lmbench
45 @env OS="${OS}" BENCHMARK_HARDWARE=NO BENCHMARK_OS=YES ../scripts/results
48 - @env CFLAGS=-O MAKE="$(MAKE)" MAKEFLAGS="$(MAKEFLAGS)" CC="${CC}" OS="${OS}" ../scripts/build in…
49 + @env CFLAGS+=-O MAKE="$(MAKE)" MAKEFLAGS="$(MAKEFLAGS)" CC="${CC}" OS="${OS}" ../scripts/build i…
61 - @env CFLAGS="-g -O -Wall" MAKE="$(MAKE)" MAKEFLAGS="$(MAKEFLAGS)" CC="${CC}" OS="${OS}" ../script…
[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/meta/classes/
H A Dlicense_image.bbclass22 with open(os.path.join(license_image_dir, 'package.manifest'), "w+") as package_manifest:
36 pkg_info = os.path.join(d.getVar('PKGDATA_DIR'),
38 pkg_name = os.path.basename(os.readlink(pkg_info))
45 rootfs_license_manifest = os.path.join(d.getVar('LICENSE_DIRECTORY'),
95 lic_file = os.path.join(d.getVar('LICENSE_DIRECTORY'),
102 if not os.path.exists(lic_file):
118 rootfs_license_manifest = os.path.join(rootfs_license_dir,
119 os.path.split(license_manifest)[1])
120 if not os.path.exists(rootfs_license_manifest):
125 pkg_rootfs_license_dir = os.path.join(rootfs_license_dir, pkg)
[all …]
H A Dtestexport.bbclass89 bb.utils.mkdirhier(os.path.join(export_path, 'lib', 'oeqa'))
95 files_to_copy = [ os.path.join('meta', 'lib', 'oeqa', 'core'),
96 os.path.join('meta', 'lib', 'oeqa', 'runtime'),
97 os.path.join('meta', 'lib', 'oeqa', 'files'),
98 os.path.join('meta', 'lib', 'oeqa', 'utils'),
99 os.path.join('scripts', 'oe-test'),
100 os.path.join('scripts', 'lib', 'argparse_oe.py'),
101 os.path.join('scripts', 'lib', 'scriptutils.py'), ]
104 src = os.path.join(corebase_path, f)
105 dst = os.path.join(export_path, f.split('/', 1)[-1])
[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/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/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/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/predef/
H A Dos.h14 #include <boost/predef/os/aix.h>
15 #include <boost/predef/os/amigaos.h>
16 #include <boost/predef/os/android.h>
17 #include <boost/predef/os/beos.h>
18 #include <boost/predef/os/bsd.h>
19 #include <boost/predef/os/cygwin.h>
20 #include <boost/predef/os/haiku.h>
21 #include <boost/predef/os/hpux.h>
22 #include <boost/predef/os/irix.h>
23 #include <boost/predef/os/ios.h>
[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 …]
/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,
464 * @os: old (current) state.
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()
[all …]
/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/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")

12345678910>>...169