Home
last modified time | relevance | path

Searched refs:util (Results 1 – 25 of 1154) sorted by relevance

12345678910>>...47

/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/include/mbgl/util/
H A Dprojection.hpp44 return scale * util::tileSize; in worldSize()
48 const double constrainedZoom = util::clamp(zoom, util::MIN_ZOOM, util::MAX_ZOOM); in getMetersPerPixelAtLatitude()
50 … const double constrainedLatitude = util::clamp(lat, -util::LATITUDE_MAX, util::LATITUDE_MAX); in getMetersPerPixelAtLatitude()
51 …return std::cos(constrainedLatitude * util::DEG2RAD) * util::M2PI * util::EARTH_RADIUS_M / worldSi… in getMetersPerPixelAtLatitude()
55 …const double constrainedLatitude = util::clamp(latLng.latitude(), -util::LATITUDE_MAX, util::LATIT… in projectedMetersForLatLng()
56 …const double constrainedLongitude = util::clamp(latLng.longitude(), -util::LONGITUDE_MAX, util::LO… in projectedMetersForLatLng()
59 const double f = util::clamp(std::sin(util::DEG2RAD * constrainedLatitude), -m, m); in projectedMetersForLatLng()
61 const double easting = util::EARTH_RADIUS_M * constrainedLongitude * util::DEG2RAD; in projectedMetersForLatLng()
62 const double northing = 0.5 * util::EARTH_RADIUS_M * std::log((1 + f) / (1 - f)); in projectedMetersForLatLng()
68 … (2 * std::atan(std::exp(projectedMeters.northing() / util::EARTH_RADIUS_M)) - (M_PI / 2.0)) * uti… in latLngForProjectedMeters()
[all …]
/OK3568_Linux_fs/kernel/tools/perf/util/
H A Dpython-ext-sources5 # processed by Makefile and util/setup.py accordingly.
8 util/python.c
10 util/cap.c
11 util/evlist.c
12 util/evsel.c
13 util/perf_event_attr_fprintf.c
14 util/cpumap.c
15 util/memswap.c
16 util/mmap.c
17 util/namespaces.c
[all …]
H A DBuild79 perf-y += util.o
205 $(OUTPUT)util/parse-events-flex.c $(OUTPUT)util/parse-events-flex.h: util/parse-events.l $(OUTPUT)u…
207 $(Q)$(call echo-cmd,flex)$(FLEX) -o $(OUTPUT)util/parse-events-flex.c \
208 --header-file=$(OUTPUT)util/parse-events-flex.h $(PARSER_DEBUG_FLEX) $<
210 $(OUTPUT)util/parse-events-bison.c $(OUTPUT)util/parse-events-bison.h: util/parse-events.y
213 -o $(OUTPUT)util/parse-events-bison.c -p parse_events_
215 $(OUTPUT)util/expr-flex.c $(OUTPUT)util/expr-flex.h: util/expr.l $(OUTPUT)util/expr-bison.c
217 $(Q)$(call echo-cmd,flex)$(FLEX) -o $(OUTPUT)util/expr-flex.c \
218 --header-file=$(OUTPUT)util/expr-flex.h $(PARSER_DEBUG_FLEX) $<
220 $(OUTPUT)util/expr-bison.c $(OUTPUT)util/expr-bison.h: util/expr.y
[all …]
/OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-core/sdbus-c++/sdbus-c++-libsystemd/
H A D0005-src-basic-missing.h-check-for-missing-strndupa.patch24 src/basic/cgroup-util.c | 1 +
25 src/basic/env-util.c | 1 +
29 src/basic/mountpoint-util.c | 1 +
30 src/basic/parse-util.c | 1 +
32 src/basic/percent-util.c | 1 +
34 src/basic/procfs-util.c | 1 +
35 src/basic/time-util.c | 1 +
39 src/core/dbus-util.c | 1 +
52 src/locale/keymap-util.c | 1 +
61 src/shared/bus-unit-util.c | 1 +
[all …]
/OK3568_Linux_fs/yocto/poky/meta/recipes-core/systemd/systemd/
H A D0005-src-basic-missing.h-check-for-missing-strndupa.patch23 src/basic/cgroup-util.c | 1 +
24 src/basic/env-util.c | 1 +
28 src/basic/mountpoint-util.c | 1 +
29 src/basic/parse-util.c | 1 +
31 src/basic/percent-util.c | 1 +
33 src/basic/procfs-util.c | 1 +
34 src/basic/time-util.c | 1 +
38 src/core/dbus-util.c | 1 +
52 src/locale/keymap-util.c | 1 +
61 src/shared/bus-unit-util.c | 1 +
[all …]
H A DCVE-2022-3821.patch10 src/basic/time-util.c | 2 +-
11 src/test/test-time-util.c | 5 +++++
14 diff --git a/src/basic/time-util.c b/src/basic/time-util.c
16 --- a/src/basic/time-util.c
17 +++ b/src/basic/time-util.c
27 diff --git a/src/test/test-time-util.c b/src/test/test-time-util.c
29 --- a/src/test/test-time-util.c
30 +++ b/src/test/test-time-util.c
/OK3568_Linux_fs/buildroot/package/mp4v2/
H A D0003-Static-cast-to-unsigned-int-for-cases.patch12 util/mp4art.cpp | 2 +-
13 util/mp4chaps.cpp | 2 +-
14 util/mp4file.cpp | 2 +-
15 util/mp4subtitle.cpp | 2 +-
16 util/mp4track.cpp | 2 +-
32 diff --git a/util/mp4art.cpp b/util/mp4art.cpp
34 --- a/util/mp4art.cpp
35 +++ b/util/mp4art.cpp
45 diff --git a/util/mp4chaps.cpp b/util/mp4chaps.cpp
47 --- a/util/mp4chaps.cpp
[all …]
/OK3568_Linux_fs/yocto/poky/meta/recipes-graphics/mesa/mesa-demos/
H A D0003-configure-Allow-to-disable-demos-which-require-GLEW-.patch110 +UTIL = util
114 - util \
189 +copypix_LDADD = ../util/libutil.la
190 +cubemap_LDADD = ../util/libutil.la
191 +cuberender_LDADD = ../util/libutil.la
192 +engine_LDADD = ../util/libutil.la
193 +fbo_firecube_LDADD = ../util/libutil.la
194 +gloss_LDADD = ../util/libutil.la
195 +isosurf_LDADD = ../util/libutil.la
196 +multiarb_LDADD = ../util/libutil.la
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/storage/
H A Dresource.cpp24 double resolution = (util::M2PI * util::EARTH_RADIUS_M / 256) / std::pow(2, z); in getMercCoord()
26 x * resolution - util::M2PI * util::EARTH_RADIUS_M / 2, in getMercCoord()
27 y * resolution - util::M2PI * util::EARTH_RADIUS_M / 2, in getMercCoord()
38 return (util::toString(min.x) + "," + util::toString(min.y) + "," + in getTileBBox()
39 util::toString(max.x) + "," + util::toString(max.y)); in getTileBBox()
64 util::URL url(base); in spriteImage()
72 util::URL url(base); in spriteJSON()
82 util::replaceTokens(urlTemplate, [&](const std::string& token) -> optional<std::string> { in glyphs()
84 return util::percentEncode(fontStackToString(fontStack)); in glyphs()
86 return util::toString(glyphRange.first) + "-" + util::toString(glyphRange.second); in glyphs()
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/tile/
H A Dtile_id_io.cpp14 namespace util { namespace
16 return util::toString(rhs.z) + "/" + util::toString(rhs.x) + "/" + util::toString(rhs.y); in toString()
24 namespace util { namespace
26 return util::toString(rhs.canonical) + "=>" + util::toString(rhs.overscaledZ); in toString()
37 namespace util { namespace
39 return util::toString(rhs.canonical) + (rhs.wrap >= 0 ? "+" : "") + util::toString(rhs.wrap); in toString()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/renderer/
H A Drender_static_data.cpp9 result.emplace_back(PositionOnlyLayoutAttributes::Vertex({{{ util::EXTENT, 0 }}})); in tileVertices()
10 result.emplace_back(PositionOnlyLayoutAttributes::Vertex({{{ 0, util::EXTENT }}})); in tileVertices()
11 result.emplace_back(PositionOnlyLayoutAttributes::Vertex({{{ util::EXTENT, util::EXTENT }}})); in tileVertices()
35 result.emplace_back(RasterProgram::layoutVertex({ util::EXTENT, 0 }, { util::EXTENT, 0 })); in rasterVertices()
36 result.emplace_back(RasterProgram::layoutVertex({ 0, util::EXTENT }, { 0, util::EXTENT })); in rasterVertices()
37 …result.emplace_back(RasterProgram::layoutVertex({ util::EXTENT, util::EXTENT }, { util::EXTENT, ut… in rasterVertices()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/map/
H A Dtransform_state.cpp27 matrix::scale(matrix, matrix, s / util::EXTENT, s / util::EXTENT, 1); in matrixFor()
137 util::RAD2DEG * (2 * std::atan(std::exp(y / Cc)) - 0.5 * M_PI), in getLatLng()
182 min_scale = zoomScale(util::clamp(minZoom, util::MIN_ZOOM, util::MAX_ZOOM)); in setMinZoom()
197 max_scale = zoomScale(util::clamp(maxZoom, util::MIN_ZOOM, util::MAX_ZOOM)); in setMaxZoom()
283 Point<double> pt = Projection::project(latLng, scale) / util::tileSize; in latLngToScreenCoordinate()
325 return Projection::unproject(util::interpolate(p0, p1, t), scale / util::tileSize, wrapMode); in screenCoordinateToLatLng()
356 scale_ = util::max(scale_, in constrain()
357 … static_cast<double>(rotatedNorth() ? size.height : size.width) / util::tileSize, in constrain()
358 … static_cast<double>(rotatedNorth() ? size.width : size.height) / util::tileSize); in constrain()
362 double max_x = (scale_ * util::tileSize - (rotatedNorth() ? size.height : size.width)) / 2; in constrain()
[all …]
/OK3568_Linux_fs/yocto/meta-openembedded/meta-gnome/recipes-connectivity/geary/geary/
H A D0001-Util.Cache.Lru-Workaround-missing-generic-type-argum.patch9 src/client/util/util-cache.vala | 2 +-
12 diff --git a/src/client/util/util-cache.vala b/src/client/util/util-cache.vala
14 --- a/src/client/util/util-cache.vala
15 +++ b/src/client/util/util-cache.vala
/OK3568_Linux_fs/yocto/poky/meta/recipes-extended/cracklib/cracklib/
H A D0002-craklib-fix-testnum-and-teststr-failed.patch12 $ ./util/teststr
21 util/testnum.c | 2 +-
22 util/teststr.c | 2 +-
25 diff --git a/util/testnum.c b/util/testnum.c
27 --- a/util/testnum.c
28 +++ b/util/testnum.c
38 diff --git a/util/teststr.c b/util/teststr.c
40 --- a/util/teststr.c
41 +++ b/util/teststr.c
/OK3568_Linux_fs/kernel/kernel/sched/
H A Dcpufreq_schedutil.c164 unsigned long util, unsigned long max) in get_next_freq() argument
171 trace_android_vh_map_util_freq(util, freq, max, &next_freq, policy, in get_next_freq()
177 freq = div64_ul((u64)(100 * freq / sg_policy->tunables->target_load) * util, max); in get_next_freq()
179 freq = map_util_freq(util, freq, max); in get_next_freq()
213 unsigned long dl_util, util, irq; in schedutil_cpu_util() local
242 util = util_cfs + cpu_util_rt(rq); in schedutil_cpu_util()
244 util = uclamp_rq_util_with(rq, util, p); in schedutil_cpu_util()
257 if (util + dl_util >= max) in schedutil_cpu_util()
265 util += dl_util; in schedutil_cpu_util()
276 util = scale_irq_capacity(util, irq, max); in schedutil_cpu_util()
[all …]
/OK3568_Linux_fs/yocto/poky/meta/recipes-graphics/mesa/files/
H A D0001-util-format-Check-for-NEON-before-using-it.patch4 Subject: [PATCH] util/format: Check for NEON before using it
11 In file included from ../mesa-21.3.0/src/util/format/u_format_unpack_neon.c:35:
18 src/util/format/u_format.c | 2 +-
19 src/util/format/u_format_unpack_neon.c | 2 +-
22 diff --git a/src/util/format/u_format.c b/src/util/format/u_format.c
24 --- a/src/util/format/u_format.c
25 +++ b/src/util/format/u_format.c
35 diff --git a/src/util/format/u_format_unpack_neon.c b/src/util/format/u_format_unpack_neon.c
37 --- a/src/util/format/u_format_unpack_neon.c
38 +++ b/src/util/format/u_format_unpack_neon.c
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/text/
H A Dget_anchors.cpp20 lineLength += util::dist<float>(*(it), *(it + 1)); in getLineLength()
48 const auto segmentDist = util::dist<float>(a, b); in resample()
49 const float angle = util::angle_to(b, a); in resample()
55 x = util::interpolate(float(a.x), float(b.x), t), in resample()
56 y = util::interpolate(float(a.y), float(b.y), t); in resample()
61 if (x >= 0 && x < util::EXTENT && y >= 0 && y < util::EXTENT && in resample()
111 …ol continuedLine = (line[0].x == 0 || line[0].x == util::EXTENT || line[0].y == 0 || line[0].y == in getAnchors()
156 const auto segmentDistance = util::dist<float>(a, b); in getCenterAnchor()
161 x = util::interpolate(float(a.x), float(b.x), t), in getCenterAnchor()
162 y = util::interpolate(float(a.y), float(b.y), t); in getCenterAnchor()
[all …]
/OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-core/ndctl/ndctl/
H A D0001-meson-Use-pkg-config-to-detect-iniparser.patch6 Add iniparser dependency to util subdir
12 util/meson.build | 1 +
28 diff --git a/util/meson.build b/util/meson.build
30 --- a/util/meson.build
31 +++ b/util/meson.build
32 @@ -12,5 +12,6 @@ util = static_library('util', [
38 util_dep = declare_dependency(link_with : util)
H A D0001-util-Correct-path-to-iniparser.h.patch4 Subject: [PATCH] util: Correct path to iniparser.h
10 util/parse-configs.c | 2 +-
13 diff --git a/util/parse-configs.c b/util/parse-configs.c
15 --- a/util/parse-configs.c
16 +++ b/util/parse-configs.c
24 #include <util/parse-configs.h>
25 #include <util/strbuf.h>
/OK3568_Linux_fs/yocto/poky/meta/recipes-bsp/grub/files/
H A D0001-grub.d-10_linux.in-add-oe-s-kernel-name.patch9 We only need add the bzImage to util/grub.d/10_linux.in, but also add it
10 to util/grub.d/20_linux_xen.in to keep compatibility.
18 util/grub.d/10_linux.in | 6 +++---
19 util/grub.d/20_linux_xen.in | 2 +-
22 diff --git a/util/grub.d/10_linux.in b/util/grub.d/10_linux.in
24 --- a/util/grub.d/10_linux.in
25 +++ b/util/grub.d/10_linux.in
42 diff --git a/util/grub.d/20_linux_xen.in b/util/grub.d/20_linux_xen.in
44 --- a/util/grub.d/20_linux_xen.in
45 +++ b/util/grub.d/20_linux_xen.in
/OK3568_Linux_fs/yocto/meta-openembedded/meta-networking/recipes-protocols/openflow/openflow/
H A D0001-Check-and-use-strlcpy-from-libc-before-defining-own.patch13 lib/util.c | 2 ++
14 lib/util.h | 1 +
30 diff --git a/lib/util.c b/lib/util.c
32 --- a/lib/util.c
33 +++ b/lib/util.c
50 diff --git a/lib/util.h b/lib/util.h
52 --- a/lib/util.h
53 +++ b/lib/util.h
/OK3568_Linux_fs/buildroot/package/pulseview/
H A D0001-Replace-obsolete-deprecated-Qt-methods.patch8 resolved in pv/util.cpp.]
10 [Fabrice: restore original patch in pv/util.cpp for 0.4.2]
13 pv/util.cpp | 21 +++++++++++++++++++--
14 pv/util.hpp | 10 ++++++++++
20 diff --git a/pv/util.cpp b/pv/util.cpp
22 --- a/pv/util.cpp
23 +++ b/pv/util.cpp
63 } // namespace util
65 diff --git a/pv/util.hpp b/pv/util.hpp
67 --- a/pv/util.hpp
[all …]
/OK3568_Linux_fs/u-boot/test/py/tests/
H A Dtest_vboot.py30 import u_boot_utils as util namespace
53 util.run_and_log(cons, 'dtc %s %s%s -O dtb '
88 util.run_and_log(cons, [mkimage, '-D', dtc_args, '-f',
102 util.run_and_log(cons, [mkimage, '-F', '-k', tmpdir, '-K', dtb,
143 util.run_and_log(cons, [fit_check_sign, '-f', fit, '-k', tmpdir,
147 sig = util.run_and_log(cons, 'fdtget -t bx %s %s value' %
153 util.run_and_log(cons, 'fdtput -t bx %s %s value %s' %
159 util.run_and_log_expect_exception(cons, [fit_check_sign, '-f', fit,
175 util.run_and_log(cons, 'openssl genpkey -algorithm RSA -out %sdev.key '
181 util.run_and_log(cons, 'openssl req -batch -new -x509 -key %sdev.key -out '
/OK3568_Linux_fs/buildroot/package/xerces/
H A D0002-InMemMsgLoader-loadMsg-fix-memory-leak-when-transcod.patch14 …scode(char const*, xercesc_4_0::MemoryManager*) gdal/xerces-c/src/xercesc/util/Transcoders/IconvGN…
15 …scode(char const*, xercesc_4_0::MemoryManager*) gdal/xerces-c/src/xercesc/util/XMLString.cpp:621:25
16 …nst*, char const*, xercesc_4_0::MemoryManager*) gdal/xerces-c/src/xercesc/util/MsgLoaders/InMemory…
17 … const*, char const*, char const*, char const*) gdal/xerces-c/src/xercesc/util/XMLException.cpp:24…
18 …nst*, char const*, xercesc_4_0::MemoryManager*) gdal/xerces-c/src/xercesc/util/UTFDataFormatExcept…
19 …*, unsigned int, unsigned int&, unsigned char*) gdal/xerces-c/src/xercesc/util/XMLUTF8Transcoder.c…
36 diff --git a/src/xercesc/util/MsgLoaders/InMemory/InMemMsgLoader.cpp b/src/xercesc/util/MsgLoaders/…
38 --- a/src/xercesc/util/MsgLoaders/InMemory/InMemMsgLoader.cpp
39 +++ b/src/xercesc/util/MsgLoaders/InMemory/InMemMsgLoader.cpp
42 #include <xercesc/util/BitOps.hpp>
[all …]
/OK3568_Linux_fs/buildroot/boot/grub2/
H A D0141-util-mkimage-Add-an-option-to-import-SBAT-metadata-i.patch4 Subject: [PATCH] util/mkimage: Add an option to import SBAT metadata into a
17 include/grub/util/install.h | 3 ++-
18 include/grub/util/mkimage.h | 1 +
19 util/grub-install-common.c | 2 +-
20 util/grub-mkimage.c | 15 ++++++++++++++-
21 util/mkimage.c | 43 ++++++++++++++++++++++++++++++++++++-------
61 diff --git a/include/grub/util/install.h b/include/grub/util/install.h
63 --- a/include/grub/util/install.h
64 +++ b/include/grub/util/install.h
75 diff --git a/include/grub/util/mkimage.h b/include/grub/util/mkimage.h
[all …]

12345678910>>...47