| /openbmc/u-boot/common/eeprom/ |
| H A D | eeprom_field.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * (C) Copyright 2009-2016 CompuLab, Ltd. 14 char *delimiter, bool reverse) in __eeprom_field_print_bin() argument 17 int from = reverse ? field->size - 1 : 0; in __eeprom_field_print_bin() 18 int to = reverse ? 0 : field->size - 1; in __eeprom_field_print_bin() 20 printf(PRINT_FIELD_SEGMENT, field->name); in __eeprom_field_print_bin() 21 for (i = from; i != to; reverse ? i-- : i++) in __eeprom_field_print_bin() 22 printf("%02x%s", field->buf[i], delimiter); in __eeprom_field_print_bin() 24 printf("%02x\n", field->buf[i]); in __eeprom_field_print_bin() 28 const char *value, bool reverse) in __eeprom_field_update_bin() argument [all …]
|
| /openbmc/openbmc/poky/bitbake/lib/toaster/tests/views/ |
| H A D | test_views.py | 5 # Copyright (C) 2013-2015 Intel Corporation 7 # SPDX-License-Identifier: GPL-2.0-only 16 from django.urls import reverse 42 fixtures = ['toastergui-unittest-data'] 51 file_path = f"{self.builldir}/{self.recipe1.name.strip().replace(' ', '-')}.bb" 66 """Basic test for all-projects view""" 67 response = self.client.get(reverse('all-projects'), follow=True) 69 self.assertTrue(response['Content-Type'].startswith('text/html')) 70 self.assertTemplateUsed(response, "projects-toastertable.html") 74 url = reverse('all-projects') [all …]
|
| /openbmc/openbmc/poky/bitbake/lib/toaster/toastergui/static/js/ |
| H A D | customrecipe.js | 7 var addPkgDepsModalBtn = $("#add-package-deps-modal-btn"); 8 var rmdPkgReverseDepsModalBtn = $("#rm-package-reverse-deps-modal-btn"); 11 $("#image-created-notification").show(); 14 customiseTable.on('table-done', function(e, total){ 16 $(".add-rm-package-btn").click(function(e){ 18 var targetPkg = $(this).data(); 45 headers: { 'X-CSRFToken' : $.cookie('csrftoken')}, 46 success: function(data){ argument 47 if (data.error !== 'ok'){ 48 console.warn(data.error); [all …]
|
| /openbmc/openbmc/poky/bitbake/lib/toaster/toastergui/templates/ |
| H A D | customrecipe.html | 44 <!-- Delete recipe modal --> 45 <div id="delete-recipe-modal" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="myMod… 46 <div class="modal-dialog"> 47 <div class="modal-content"> 48 <div class="modal-body"> 52 <div class="modal-footer"> 53 <button type="button" class="btn btn-primary" id="delete-custom-recipe-confirmed"> 54 <span data-role="submit-state">Delete custom image</span> 55 <span data-role="loading-state" style="display:none"> 56 <span class="fa-pulse"> [all …]
|
| /openbmc/openbmc/poky/bitbake/lib/toaster/tests/browser/ |
| H A D | test_all_projects_page.py | 5 # Copyright (C) 2013-2016 Intel Corporation 7 # SPDX-License-Identifier: GPL-2.0-only 13 from django.urls import reverse 101 url = reverse('all-projects') 103 self.wait_until_visible('#empty-state-projectstable') 112 url = reverse('all-projects') 132 self.get(reverse('all-projects')) 140 selector = 'span[data-project-field="release"] span.text-muted' 150 selector = 'span[data-project-field="release"]' 154 'release name should be shown for non-default project') [all …]
|
| H A D | test_sample.py | 5 # Copyright (C) 2013-2016 Intel Corporation 7 # SPDX-License-Identifier: GPL-2.0-only 19 from django.urls import reverse 26 url = reverse('landing') 28 brand_link = self.find('.toaster-navbar-brand a.brand') 33 url = reverse('all-builds') 35 … self.wait_until_visible('#empty-state-allbuildstable') # wait for the empty state div to appear 36 div_msg = self.find('#empty-state-allbuildstable .alert-info') 38 msg = 'Sorry - no data found'
|
| H A D | test_most_recent_builds_states.py | 5 # SPDX-License-Identifier: GPL-2.0-only 7 # Copyright (C) 2013-2016 Intel Corporation 9 from django.urls import reverse 40 url = reverse('all-builds') 44 base_selector = '[data-latest-build-result="%s"] ' % build.id 47 selector = base_selector + '[data-build-state="Queued"]' 63 selector = base_selector + '[data-build-state="Parsing"]' 66 bar_selector = '#recipes-parsed-percentage-bar-%s' % build.id 97 selector = base_selector + '[data-build-state="Starting"]' 108 selector = base_selector + '[data-build-state="In Progress"]' [all …]
|
| H A D | test_all_builds_page.py | 5 # Copyright (C) 2013-2016 Intel Corporation 7 # SPDX-License-Identifier: GPL-2.0-only 13 from django.urls import reverse 74 selector = 'div[data-latest-build-result="%s"] ' \ 75 '[data-role="data-recent-build-buildtime-field"]' % build.id 94 url = reverse('builddashboard', args=(build.id,)) 127 'completed_on'] = now - timezone.timedelta(days=i) 138 'completed_on'] = now - timezone.timedelta(days=i) 176 url = reverse('all-builds') 191 'Rebuild' button should not be shown for command-line builds, [all …]
|
| H A D | test_js_unit_tests.py | 5 # Copyright (C) 2013-2016 Intel Corporation 7 # SPDX-License-Identifier: GPL-2.0-only 14 from django.urls import reverse 24 fixtures = ['toastergui-unittest-data'] 27 url = reverse('js-unit-tests') 29 self.wait_until_present('#qunit-testresult .failed') 31 failed = self.find("#qunit-testresult .failed").text 32 passed = self.find("#qunit-testresult .passed").text 33 total = self.find("#qunit-testresult .total").text 40 failed_tests = self.find_all("li .fail .test-message")
|
| H A D | test_project_page.py | 5 # Copyright (C) 2013-2016 Intel Corporation 7 # SPDX-License-Identifier: GPL-2.0-only 10 from django.urls import reverse 17 """ Test project data at /project/X/ is displayed correctly """ 42 url = reverse("project", args=(default_project.id,)) 46 project_name = self.find('.project-name').text.strip()
|
| H A D | test_project_builds_page.py | 5 # Copyright (C) 2013-2016 Intel Corporation 7 # SPDX-License-Identifier: GPL-2.0-only 13 from django.urls import reverse 20 """ Test data at /project/X/builds is displayed correctly """ 82 url = reverse('projectbuilds', args=(project_id,)) 129 url = reverse('projectbuilds', args=(self.project1.id,)) 144 url = reverse('projectbuilds', args=(self.default_project.id,)) 146 tabs = self.find_all('#project-topbar') 152 Non-command-line builds projects should show the tabs 154 url = reverse('projectbuilds', args=(self.project1.id,)) [all …]
|
| H A D | test_new_project_page.py | 5 # Copyright (C) 2013-2016 Intel Corporation 7 # SPDX-License-Identifier: GPL-2.0-only 9 from django.urls import reverse 19 """ Test project data at /project/X/ is displayed correctly """ 48 url = reverse('newproject') 50 self.wait_until_visible('#new-project-name') 51 self.enter_text('#new-project-name', project_name) 56 self.click("#create-project-button") 61 '#project-created-notification') 80 url = reverse('newproject') [all …]
|
| H A D | test_project_config_page.py | 5 # Copyright (C) 2013-2016 Intel Corporation 7 # SPDX-License-Identifier: GPL-2.0-only 11 from django.urls import reverse 18 """ Test data at /project/X/builds is displayed correctly """ 44 url = reverse('projectconf', args=(self.project1.id,)); 47 self.click('#change-image_fstypes-icon') 49 self.enter_text('#new-imagefs_types', imagefs_type) 51 element = self.wait_until_visible('#hintError-image-fs_type') 65 url = reverse('projectconf', args=(self.project1.id,)); 68 self.click('#change-image_fstypes-icon') [all …]
|
| H A D | test_new_custom_image_page.py | 5 # Copyright (C) 2013-2016 Intel Corporation 7 # SPDX-License-Identifier: GPL-2.0-only 11 from django.urls import reverse 19 CUSTOM_IMAGE_NAME = 'roopa-doopa' 50 name='core-image-minimal', 52 file_path=f'{builldir}/core-image-minimal.bb', 71 name='core-image-minimal', 86 2. Click the button for the fake core-image-minimal 91 url = reverse('newcustomimage', args=(self.project.id,)) 93 self.wait_until_visible('#global-nav') [all …]
|
| /openbmc/openbmc/poky/bitbake/lib/toaster/tests/functional/ |
| H A D | functional_helpers.py | 7 # SPDX-License-Identifier: GPL-2.0-only 17 from django.urls import reverse 46 cmd = "bash -c 'source toaster start'" 53 port_use = os.popen("lsof -i -P -n | grep '8000 (LISTEN)'").read().strip() 57 process = os.popen(f"ps -o cmd= -p {process_id}").read().strip() 76 cmd = "bash -c 'source toaster stop'" 116 #return whole-table element 126 #return whole-row element 151 - Project Name: Any string 152 - Release: Any string [all …]
|
| /openbmc/qemu/net/ |
| H A D | colo.c | 2 * COarse-grain LOck-stepping Virtual Machines for Non-stop Service (COLO) 12 * later. See the COPYING file in the top-level directory. 27 a += key->src.s_addr; in connection_key_hash() 28 b += key->dst.s_addr; in connection_key_hash() 29 c += (key->src_port | key->dst_port << 16); in connection_key_hash() 32 a += key->ip_proto; in connection_key_hash() 47 uint8_t *data = pkt->data; in parse_packet_early() local 51 assert(data); in parse_packet_early() 54 if ((pkt->vnet_hdr_len > sizeof(struct virtio_net_hdr_v1_hash)) || in parse_packet_early() 55 (pkt->size < sizeof(struct eth_header) + sizeof(struct vlan_header) + in parse_packet_early() [all …]
|
| H A D | colo.h | 2 * COarse-grain LOck-stepping Virtual Machines for Non-stop Service (COLO) 12 * later. See the COPYING file in the top-level directory. 21 #include "standard-headers/linux/virtio_net.h" 38 void *data; member 83 /* offset = secondary_seq - primary_seq */ 94 Packet *pkt, bool reverse); 95 void fill_connection_key(Packet *pkt, ConnectionKey *key, bool reverse); 104 Packet *packet_new(const void *data, int size, int vnet_hdr_len); 105 Packet *packet_new_nocopy(void *data, int size, int vnet_hdr_len);
|
| /openbmc/qemu/docs/system/ |
| H A D | replay.rst | 4 Copyright (c) 2010-2022 Institute for System Programming 8 See the COPYING file in the top-level directory. 14 Execution recording writes a non-deterministic events log, which can be later 17 Execution replaying reads the log and replays all non-deterministic events 26 * Supports i386, x86_64, ARM, AArch64, Risc-V, MIPS, MIPS64, S390X, Alpha, 36 .. parsed-literal:: 38 -icount shift=auto,rr=record,rrfile=replay.bin \\ 39 -drive file=disk.qcow2,if=none,snapshot,id=img-direct \\ 40 -drive driver=blkreplay,if=none,image=img-direct,id=img-blkreplay \\ 41 -device ide-hd,drive=img-blkreplay \\ [all …]
|
| /openbmc/u-boot/doc/device-tree-bindings/video/ |
| H A D | exynos_mipi_dsi.txt | 1 Exynos MIPI-DSIM Controller 6 compatible: should be "samsung,exynos-mipi-dsi" 7 reg: Base address of MIPI-DSIM IP. 10 samsung,dsim-config-e-interface: interface to be used (RGB interface 12 samsung,dsim-config-e-virtual-ch: virtual channel number that main 14 samsung,dsim-config-e-pixel-format: pixel stream format for main 16 samsung,dsim-config-e-burst-mode: selects Burst mode in Video mode. 17 in Non-burst mode, RGB data area is filled with RGB data and 19 samsung,dsim-config-e-no-data-lane: data lane count used by Master. 20 samsung,dsim-config-e-byte-clk: select byte clock source. [all …]
|
| /openbmc/u-boot/include/ |
| H A D | MCD_dma.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 3 * Copyright (C) 2004-2007 Freescale Semiconductor, Inc. 62 * multi-channel DMA 129 #define MCD_ERROR -1 130 #define MCD_TABLE_UNALIGNED -2 131 #define MCD_CHANNEL_INVALID -3 140 * MCD_NO_DMA - No DMA has been requested since reset 141 * MCD_IDLE - DMA active, but the initiator is currently inactive 142 * MCD_RUNNING - DMA active, and the initiator is currently active 143 * MCD_PAUSED - DMA active but it is currently paused [all …]
|
| /openbmc/openbmc/poky/bitbake/lib/toaster/bldcollector/ |
| H A D | views.py | 6 # SPDX-License-Identifier: GPL-2.0-only 9 from django.urls import reverse 23 """ Receives a file by POST, and runs toaster-eventreply on this file """ 25 …T requests. Post a file with:\n\ncurl -F eventlog=@bitbake_eventlog.json %s\n" % request.build_abs… 34 # compute the path to "bitbake/bin/toaster-eventreplay" 36 … import_script = os.path.join(DN(DN(DN(DN(os.path.abspath(__file__))))), "bin/toaster-eventreplay") 42 # run the data loading process and return the results
|
| /openbmc/openbmc/poky/bitbake/lib/toaster/toastergui/ |
| H A D | widgets.py | 6 # SPDX-License-Identifier: GPL-2.0-only 26 from django.urls import reverse 64 self.empty_state = "Sorry - no data found" 67 # prevent HTTP caching of table data 99 data = self.get_filter_info(request, **kwargs) 101 # If no cmd is specified we give you the table data 102 data = self.get_data(request, **kwargs) 104 return HttpResponse(data, content_type="application/json") 157 field_name (str or list): field(s) required for this column's data 161 as data [all …]
|
| H A D | api.py | 6 # SPDX-License-Identifier: GPL-2.0-only 27 from django.urls import reverse 239 # recipes-*/*/*.bb 240 recipes_list = glob.glob(os.path.join(layer.local_source_dir, 'recipes-*/*/*.bb')) 243 recipe_path = recipe[recipe.rfind('recipes-'):] 397 layer_data = json.loads(request.body.decode('utf-8')) 412 return JsonResponse({"error": "layer-name-exists"}) 466 return error_response("layer-dep-not-found") 468 return error_response("project-not-found") 471 return error_response(f"incorrect-parameters") [all …]
|
| /openbmc/openbmc/poky/bitbake/lib/toaster/toastergui/templates/snippets/ |
| H A D | pkg_revdependencies_popover.html | 1 {# Popover that displays the reverse dependences and sizes of a package 'data' used in the Packages… 4 {% with package_deps=data.package_dependencies_target|for_target:extra.target_name %} 8 <a data-content='<ul class="list-unstyled"> 22 </ul>' class="btn btn-default" title=' 25 …<a href="{% url 'package_included_reverse_dependencies' extra.build.pk extra.target_id data.pk %}"> 26 {{data.name}}</a> 28 {{data.name}} 31 dependencies -
|
| /openbmc/phosphor-webui/app/common/directives/ |
| H A D | ldap-user-roles.js | 9 template: require('./ldap-user-roles.html'), 23 $scope.reverse = false; 29 (data) => { 30 $scope.privileges = data; 50 const data = {}; 53 data[roleGroupType] = {}; 54 data[roleGroupType]['RemoteRoleMapping'] = roleGroups; 55 data[roleGroupType]['RemoteRoleMapping'][roleGroups.length] = 58 APIUtils.saveLdapProperties(data) 81 const data = {}; [all …]
|