| /OK3568_Linux_fs/yocto/poky/bitbake/lib/bb/ |
| H A D | progress.py | 2 BitBake progress handling code 7 # SPDX-License-Identifier: GPL-2.0-only 19 ANSI_ESCAPE_REGEX = re.compile(r'\x1B\[[0-?]*[ -/]*[@-~]') 41 progress of some operation. 60 """Internal function to fire the progress event""" 69 def update(self, progress, rate=None): argument 71 if progress > 100: 72 progress = 100 73 if progress != self._progress or self._lastevent + 1 < ts: 74 self._fire_progress(progress, rate) [all …]
|
| H A D | build.py | 11 # SPDX-License-Identifier: GPL-2.0-only 26 import bb.progress 119 Task made some progress that could be reported to the user, usually in 120 the form of a progress bar or similar. 122 to - it's fired within the task context itself, so we don't have any of 125 The progress value is normally 0-100, but can also be negative 126 indicating that progress has been made but we aren't able to determine 131 def __init__(self, progress, rate=None): argument 132 self.progress = progress 205 adir = dirs[-1] [all …]
|
| /OK3568_Linux_fs/yocto/poky/bitbake/lib/toaster/toastergui/templates/ |
| H A D | mrb_section.html | 12 …<span class="glyphicon glyphicon-question-sign get-help heading-help" data-original-title="Builds … 16 <div class="page-header"> 21 <div id="latest-builds"> 23 …-latest-build-result="{{build.id}}" class="alert build-result {% if build.outcome == build.SUCCEED… 24 <!-- project title --> 26 <div class="row project-name"> 27 <div class="col-md-12"> 29 <a class="alert-link text-uppercase" href="{% project_url build.project %}"> 37 <div class="row" data-role="build-status-container"> 38 <div class="col-md-12"> [all …]
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/positioningquick/ |
| H A D | qquickgeocoordinateanimation.cpp | 14 ** and conditions see https://www.qt.io/terms-conditions. For further 15 ** information use the contact form at https://www.qt.io/contact-us. 23 ** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. 33 ** be met: https://www.gnu.org/licenses/gpl-2.0.html and 34 ** https://www.gnu.org/licenses/gpl-3.0.html. 62 map projection, the \l{latitude} animation is always between -90 and 90 degrees. 72 …iant q_coordinateInterpolator(const QGeoCoordinate &from, const QGeoCoordinate &to, qreal progress) in q_coordinateInterpolator() argument 75 if (progress < 0.5) { in q_coordinateInterpolator() 82 QGeoCoordinate result = QWebMercator::coordinateInterpolation(from, to, progress); in q_coordinateInterpolator() 87 …oordinateShortestInterpolator(const QGeoCoordinate &from, const QGeoCoordinate &to, qreal progress) in q_coordinateShortestInterpolator() argument [all …]
|
| /OK3568_Linux_fs/kernel/arch/powerpc/platforms/85xx/ |
| H A D | mpc85xx_rdb.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright 2009,2012-2013 Freescale Semiconductor Inc. 20 #include <asm/pci-bridge.h> 46 if (of_machine_is_compatible("fsl,MPC85XXRDB-CAMP")) { in mpc85xx_rdb_pic_init() 67 if (ppc_md.progress) in mpc85xx_rdb_setup_arch() 68 ppc_md.progress("mpc85xx_rdb_setup_arch()", 0); in mpc85xx_rdb_setup_arch() 82 np = of_find_node_by_name(NULL, "global-utilities"); in mpc85xx_rdb_setup_arch() 87 pr_err("mpc85xx-rdb: could not map global utilities register\n"); in mpc85xx_rdb_setup_arch() 96 setbits32(&guts->pmuxcr, MPC85xx_PMUXCR_QE(0) | in mpc85xx_rdb_setup_arch() 124 * Called very early, device-tree isn't unflattened [all …]
|
| /OK3568_Linux_fs/yocto/poky/bitbake/lib/progressbar/ |
| H A D | widgets.py | 1 # -*- coding: utf-8 -*- 3 # progressbar - Text progress bar library for Python. 6 # SPDX-License-Identifier: LGPL-2.1-or-later OR BSD-3-Clause-Clear 20 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 61 pbar - a reference to the calling ProgressBar 77 pbar - a reference to the calling ProgressBar 78 width - The total width the widget must fill 113 return 'ETA: --:--:--' 118 eta = elapsed * pbar.maxval / pbar.currval - elapsed 126 1) ETA based on the total progress and time elapsed so far [all …]
|
| H A D | __init__.py | 2 # -*- coding: utf-8 -*- 4 # progressbar - Text progress bar library for Python. 7 # SPDX-License-Identifier: LGPL-2.1-or-later OR BSD-3-Clause-Clear 21 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 23 """Text progress bar library for Python. 25 A text progress bar is typically used to display the progress of a long 28 The ProgressBar class manages the current progress, and the format of the line 30 differently depending on the state of the progress bar. There are three types 32 - a string, which always shows itself 34 - a ProgressBarWidget, which may return a different value every time its [all …]
|
| H A D | progressbar.py | 1 # -*- coding: utf-8 -*- 3 # progressbar - Text progress bar library for Python. 8 # SPDX-License-Identifier: LGPL-2.1-or-later OR BSD-3-Clause-Clear 22 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 60 >>> progress = ProgressBar() 61 >>> for i in progress(some_iterable): 65 Since the progress bar is incredibly customizable you can specify 72 parameter is set to an integer then the progress bar will use that, 77 the current progress bar. As a result, you have access to the 82 - currval: current progress (0 <= currval <= maxval) [all …]
|
| /OK3568_Linux_fs/yocto/poky/bitbake/lib/bb/tests/ |
| H A D | color.py | 7 # SPDX-License-Identifier: MIT 11 import bb.progress 14 from bb.progress import filter_color, filter_color_n 24 self._reports.append((event.progress, event.rate)) 51 class CustomProgressHandler(bb.progress.LineFilterProgressHandler): 52 PROGRESS_REGEX = re.compile(r"Progress: (?P<progress>\d+)%") 57 self.update(int(match.group("progress"))) 65 handler.write("Progress: [01;35m[K10[m[K%\n") # 10% 78 handler = bb.progress.BasicProgressHandler(self.d, outfile=buffer) 89 handler = bb.progress.OutOfProgressHandler(self.d, r'(\d+) of (\d+)', outfile=buffer)
|
| /OK3568_Linux_fs/kernel/tools/perf/ui/gtk/ |
| H A D | progress.c | 1 // SPDX-License-Identifier: GPL-2.0 5 #include "../progress.h" 8 static GtkWidget *progress; variable 12 double fraction = p->total ? 1.0 * p->curr / p->total : 0.0; in gtk_ui_progress__update() 17 GtkWidget *label = gtk_label_new(p->title); in gtk_ui_progress__update() 20 progress = gtk_progress_bar_new(); in gtk_ui_progress__update() 23 gtk_box_pack_start(GTK_BOX(vbox), progress, TRUE, TRUE, 3); in gtk_ui_progress__update() 34 gtk_progress_bar_set_fraction(GTK_PROGRESS_BAR(progress), fraction); in gtk_ui_progress__update() 35 snprintf(buf, sizeof(buf), "%"PRIu64" / %"PRIu64, p->curr, p->total); in gtk_ui_progress__update() 36 gtk_progress_bar_set_text(GTK_PROGRESS_BAR(progress), buf); in gtk_ui_progress__update()
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/positioning/ |
| H A D | qwebmercator.cpp | 14 ** and conditions see https://www.qt.io/terms-conditions. For further 15 ** information use the contact form at https://www.qt.io/contact-us. 23 ** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. 33 ** be met: https://www.gnu.org/licenses/gpl-2.0.html and 34 ** https://www.gnu.org/licenses/gpl-3.0.html. 58 lat = 0.5 - (std::log(std::tan((pi / 4.0) + (pi / 2.0) * lat / 180.0)) / pi) / 2.0; in coordToMercator() 67 return a - static_cast<double>(div) * b; in realmod() 87 lat = -90.0; in mercatorToCoord() 89 lat = (180.0 / pi) * (2.0 * std::atan(std::exp(pi * (1.0 - 2.0 * fy))) - (pi / 2.0)); in mercatorToCoord() 95 lng = realmod(1.0 - realmod(-1.0 * fx, 1.0), 1.0); in mercatorToCoord() [all …]
|
| /OK3568_Linux_fs/external/recovery/ |
| H A D | ui.c | 8 * http://www.apache.org/licenses/LICENSE-2.0 69 // Progress bar scope of current operation 73 // Set to 1 when both graphics pages are the same (except for the progress bar) 105 int iconX = (gr_fb_width() - iconWidth) / 2; in draw_background_locked() 106 int iconY = (gr_fb_height() - iconHeight) / 2; in draw_background_locked() 111 // Draw the progress bar (if any) on the screen. Does not flip pages. 121 int dx = (gr_fb_width() - width) / 2; in draw_progress_locked() 122 int dy = (3 * gr_fb_height() + iconHeight - 2 * height) / 4; in draw_progress_locked() 124 // Erase behind the progress bar (in case this was a progress-only update) in draw_progress_locked() 129 float progress = gProgressScopeStart + gProgress * gProgressScopeSize; in draw_progress_locked() local [all …]
|
| H A D | common.h | 8 * http://www.apache.org/licenses/LICENSE-2.0 24 #define MISC_PARTITION_NAME_BLOCK "/dev/block/by-name/misc" 37 // Write a message to the on-screen log shown with Alt-L (also to stderr). 53 // Set the icon (normally the only thing visible besides the progress bar). 62 // Show a progress bar and define the scope of the next operation: 63 // portion - fraction of the progress bar the next operation will use 64 // seconds - expected time interval (progress bar moves at this minimum rate) 66 void ui_set_progress(float fraction); // 0.0 - 1.0 within the defined scope 68 // Default allocation of progress bar segments to operations 77 // Hide and reset the progress bar.
|
| /OK3568_Linux_fs/yocto/poky/meta/recipes-core/sysvinit/sysvinit/ |
| H A D | rc | 15 # Version: @(#)rc 2.78 07-Nov-1999 miquels@cistron.nl 25 progress=$((($step * $progress_size / $num_steps) + $first_step)) 27 progress=$progress_size 29 …#echo "PROGRESS is $progress $runlevel $first_step + ($step of $num_steps) $step_change $progress_… 30 if type psplash-write >/dev/null 2>&1; then 31 psplash-write "PROGRESS $progress" || true 47 trap - INT QUIT TSTP 60 # Ignore CTRL-C only in this shell, so we can interrupt subprocesses. 67 [ "$STACK_SIZE" = "" ] || ulimit -S -s $STACK_SIZE 85 if [ -d /etc/rc$runlevel.d ] [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/arm/bifrost/csf/ |
| H A D | mali_kbase_csf_timeout.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 4 * (C) COPYRIGHT 2019-2021 ARM Limited. All rights reserved. 18 * http://www.gnu.org/licenses/gpl-2.0.html. 28 * kbase_csf_timeout_init - Initialize the progress timeout. 31 * Must be zero-initialized. 33 * The progress timeout is the number of GPU clock cycles allowed to elapse 35 * making no forward progress on an endpoint (e.g. a shader core). This function 46 * kbase_csf_timeout_term - Terminate the progress timeout. 51 * Does nothing if called on a zero-initialized object. 56 * kbase_csf_timeout_get - get the current global progress timeout. [all …]
|
| /OK3568_Linux_fs/kernel/arch/powerpc/mm/ |
| H A D | init_32.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 * Copyright (C) 1995-1996 Gary Thomas (gdt@linuxppc.org) 9 * PPC44x/36-bit changes by Matt Porter (mporter@mvista.com) 47 /* The amount of lowmem must be within 0xF0000000 - KERNELBASE. */ 48 #if (CONFIG_LOWMEM_SIZE > (0xF0000000 - PAGE_OFFSET)) 76 * -- Cort 85 * Check for command-line options that affect what MMU_init will do. 114 if (ppc_md.progress) in MMU_init() 115 ppc_md.progress("MMU:enter", 0x111); in MMU_init() 133 total_lowmem = total_memory = memblock_end_of_DRAM() - memstart_addr; in MMU_init() [all …]
|
| /OK3568_Linux_fs/yocto/poky/bitbake/lib/toaster/tests/browser/ |
| H A D | test_most_recent_builds_states.py | 5 # SPDX-License-Identifier: GPL-2.0-only 7 # Copyright (C) 2013-2016 Intel Corporation 39 url = reverse('all-builds') 43 base_selector = '[data-latest-build-result="%s"] ' % build.id 46 selector = base_selector + '[data-build-state="Queued"]' 61 selector = base_selector + '[data-build-state="Parsing"]' 64 bar_selector = '#recipes-parsed-percentage-bar-%s' % build.id 67 'recipe parse progress should be at 0') 69 # recipes being parsed; check parse progress 79 msg = 'recipe parse progress bar should update to 50%' [all …]
|
| /OK3568_Linux_fs/u-boot/tools/patman/ |
| H A D | tout.py | 3 # SPDX-License-Identifier: GPL-2.0+ 20 This class handles output of progress and other useful information 29 verbose: Verbosity level: 0=silent, 1=progress, 3=full, 4=debug 35 """Clean up and remove any progress message.""" 51 """Clear any active progress message on the terminal.""" 56 def Progress(msg, warning=False, trailer='...'): function 57 """Display progress information. 150 verbose: Verbosity level (0-4). 156 _progress = '' # Our last progress message
|
| /OK3568_Linux_fs/yocto/poky/meta/recipes-devtools/python/python3-git/ |
| H A D | 0001-python3-git-CVE-2022-24439-fix-from-PR-1518.patch | 4 Subject: [PATCH] python3-git: CVE-2022-24439 fix from PR 1518 7 Add `--` in some commands that receive user input 11 There may be more commands that could benefit from `--` 17 - push 18 - pull 19 - fetch 20 - clone/clone_from and friends 21 - archive (not sure if this one can be exploited, but it doesn't hurt 22 adding `--` :)) 25 make sure to always validate the input (like if starts with `--`). [all …]
|
| H A D | 0001-python3-git-CVE-2022-24439-fix-from-PR-1521.patch | 4 Subject: [PATCH] python3-git: CVE-2022-24439 fix from PR 1521 7 Since the URL is passed directly to git clone, and the remote-ext helper 10 (CVE-2022-24439) 14 CVE: CVE-2022-24439 16 Upstream-Status: Backport [https://github.com/gitpython-developers/GitPython/pull/1521] 18 Signed-off-by: Narpat Mali <narpat.mali@windriver.com> 19 --- 20 git/cmd.py | 51 ++++++++++++++++++++++++-- 22 git/objects/submodule/base.py | 19 ++++++---- 23 git/remote.py | 69 +++++++++++++++++++++++++++++++---- [all …]
|
| /OK3568_Linux_fs/buildroot/package/psplash/ |
| H A D | Config.in | 12 information to psplash such as boot progress information. 14 Start the drawing process with 'psplash -n&' as early as 16 communication with psplash-write. 19 * Set progress bar to 50 percent: 20 psplash-write "PROGRESS 50" 22 * Display message "foobar" above progress bar: 23 psplash-write "MSG foobar" 26 psplash-write "QUIT"
|
| /OK3568_Linux_fs/yocto/poky/bitbake/lib/toaster/toastergui/static/js/ |
| H A D | mrbsection.js | 3 $('#latest-builds').on('click', '.cancel-build-btn', function(e){ 7 var url = $(this).data('request-url'); 8 var buildReqIds = $(this).data('buildrequest-id'); 15 $('#latest-builds').on('click', '.rebuild-btn', function(e){ 19 var url = $(this).data('request-url'); 96 tmpl = $.templates("#build-template"); 100 selector = '[data-latest-build-result="' + build.id + '"] ' + 101 '[data-role="build-status-container"]'; 105 html.find('span.glyphicon-question-sign').tooltip(); 110 // update the clone progress text [all …]
|
| /OK3568_Linux_fs/external/rk_pcba_test/pcba_minui/ |
| H A D | common.h | 8 * http://www.apache.org/licenses/LICENSE-2.0 32 // Write a message to the on-screen log shown with Alt-L (also to stderr). 48 // Set the icon (normally the only thing visible besides the progress bar). 57 // Show a progress bar and define the scope of the next operation: 58 // portion - fraction of the progress bar the next operation will use 59 // seconds - expected time interval (progress bar moves at this minimum rate) 61 void ui_set_progress(float fraction); // 0.0 - 1.0 within the defined scope 63 // Default allocation of progress bar segments to operations 72 // Hide and reset the progress bar.
|
| H A D | ui.c | 8 * http://www.apache.org/licenses/LICENSE-2.0 72 // Progress bar scope of current operation 76 // Set to 1 when both graphics pages are the same (except for the progress bar) 96 //----------------------------------------------------------------------------- 152 //----------------------------------------------------------------------------- 167 int iconX = (gr_fb_width() - iconWidth) / 2; in draw_background_locked() 168 int iconY = (gr_fb_height() - iconHeight) / 2; in draw_background_locked() 173 // Draw the progress bar (if any) on the screen. Does not flip pages. 183 int dx = (gr_fb_width() - width)/2; in draw_progress_locked() 184 int dy = (3*gr_fb_height() + iconHeight - 2*height)/4; in draw_progress_locked() [all …]
|
| /OK3568_Linux_fs/u-boot/arch/x86/cpu/intel_common/ |
| H A D | me_status.c | 6 * SPDX-License-Identifier: GPL-2.0 50 /* GMES[31:28] ME Progress Code */ 63 [0x00] = "Clean Moff->Mx wake", 64 [0x01] = "Moff->Mx wake after an error", 69 [0x06] = "Pseudo-global reset", 70 [0x07] = "S0/M0->Sx/M3", 71 [0x08] = "Sx/M3->S0/M0", 72 [0x09] = "Non-power cycle reset", 75 [0x0c] = "Sx/Mx->Sx/Moff" 78 /* Progress Code 0 states */ [all …]
|