/openbmc/linux/tools/perf/tests/ |
H A D | expr.c | 135 TEST_ASSERT_VAL("find ids", in test__expr() 138 TEST_ASSERT_VAL("find ids", hashmap__size(ctx->ids) == 3); in test__expr() 139 TEST_ASSERT_VAL("find ids", hashmap__find(ctx->ids, "BAR", &val_ptr)); in test__expr() 140 TEST_ASSERT_VAL("find ids", hashmap__find(ctx->ids, "BAZ", &val_ptr)); in test__expr() 141 TEST_ASSERT_VAL("find ids", hashmap__find(ctx->ids, "BOZO", &val_ptr)); in test__expr() 145 TEST_ASSERT_VAL("find ids", in test__expr() 148 TEST_ASSERT_VAL("find ids", hashmap__size(ctx->ids) == 2); in test__expr() 149 TEST_ASSERT_VAL("find ids", hashmap__find(ctx->ids, "EVENT1,param=3@", &val_ptr)); in test__expr() 150 TEST_ASSERT_VAL("find ids", hashmap__find(ctx->ids, "EVENT2,param=3@", &val_ptr)); in test__expr() 153 TEST_ASSERT_VAL("find ids", in test__expr() [all …]
|
/openbmc/openbmc/meta-security/recipes-security/redhat-security/ |
H A D | redhat-security_1.0.bb | 7 SRC_URI = "file://find-chroot-py.sh \ 8 file://find-chroot.sh \ 9 file://find-elf4tmp.sh \ 10 file://find-execstack.sh \ 11 file://find-hidden-exec.sh \ 12 file://find-nodrop-groups.sh \ 13 file://find-sh4errors.sh \ 14 file://find-sh4tmp.sh \ 26 install -m 0755 ${S}/find-chroot-py.sh ${D}${bindir} 27 install -m 0755 ${S}/find-chroot.sh ${D}${bindir} [all …]
|
/openbmc/openbmc/poky/bitbake/lib/toaster/tests/functional/ |
H A D | test_project_page.py | 59 # (and so we can find the row in the ToasterTable corresponding to 95 finder = lambda driver: self.find(f'#{edit_btn_id}') 103 check_box = self.find(f'#{check_box_id}') 108 self.find( 116 self.find( 124 self.find( 132 self.find( 139 config_nav = self.find('#config-nav') 178 recipe_input = self.find(f'#{input_selector}') 180 self.find(f'#{searchBtn_selector}').click() [all …]
|
H A D | test_project_page_tab_config.py | 35 search_box = self.find('#build-input') 37 self.find('#build-button').click() 69 config_nav = self.find('#config-nav') 93 config_nav = self.find('#config-nav') 151 check_box = self.find(f'#{check_box_id}') 156 self.find( 164 self.find( 172 self.find( 180 self.find( 193 edit_column = self.find('#edit-columns-button') [all …]
|
/openbmc/phosphor-objmgr/src/ |
H A D | associations.cpp | 14 auto iface = assocMaps.ifaces.find(assocPath); in updateEndpointsOnDbus() 60 auto iface = assocMaps.ifaces.find(assocPath); in scheduleUpdateEndpointsOnDbus() 92 // Use associationOwners to find the association paths and endpoints in removeAssociation() 101 // Find the services that have associations for this object path in removeAssociation() 102 auto owners = assocMaps.owners.find(sourcePath); in removeAssociation() 108 // Find the association paths and endpoints owned by this object in removeAssociation() 110 auto assocs = owners->second.find(owner); in removeAssociation() 140 auto assoc = assocMaps.ifaces.find(assocPath); in removeAssociationEndpoints() 150 auto e = std::find(endpointsInDBus.begin(), endpointsInDBus.end(), in removeAssociationEndpoints() 167 // Find the services that have associations on this path. in checkAssociationEndpointRemoves() [all …]
|
/openbmc/openbmc/poky/bitbake/lib/toaster/tests/browser/ |
H A D | test_all_builds_page.py | 115 # (and so we can find the row in the ToasterTable corresponding to 180 cell = self.find('td[class="target"]') 296 search_box = self.find('#search-input-allbuildstable') 301 search_btn = self.find('#search-submit-allbuildstable') 312 edit_column = self.find('#edit-columns-button') 317 filter_fails_task_checkbox = self.find('#checkbox-failed_tasks') 330 failed_tasks_filter = self.find('#failed_tasks_filter') 335 self.find('#filter-modal-allbuildstable').is_displayed()) 337 build_without_failure_tasks = self.find( 341 self.find('#filter-modal-allbuildstable .btn-primary').click() [all …]
|
H A D | selenium_helpers_base.py | 50 …chrome_path = os.popen("find ~/.cache/selenium/chrome/ -name 'chrome' -type f -print -quit").read(… 52 pytest.exit(f"Failed to install/find chrome.\n{exit_message}") 53 …chromedriver_path = os.popen("find ~/.cache/selenium/chromedriver/ -name 'chromedriver' -type f -p… 55 pytest.exit(f"Failed to install/find chromedriver.\n{exit_message}") 195 def find(self, selector): member in SeleniumTestCaseBase 196 """ Find single element by CSS selector """ 200 """ Find all elements matching CSS selector """ 216 is_present = lambda driver: self.find(selector) 223 is_visible = lambda driver: self.find(selector).is_displayed() 226 return self.find(selector) [all …]
|
H A D | test_all_projects_page.py | 87 # find the row with a project name matching the one supplied 135 # find the row for the default project 146 # find the row for the default project 171 # find the row for the default project 182 # find the row for the default project 207 # find the row for the default project 220 # find the row for the other project 240 search_box = self.find('#search-input-projectstable') 245 search_btn = self.find('#search-submit-projectstable') 257 check_box = self.find(f'#{check_box_id}') [all …]
|
/openbmc/openbmc/meta-ampere/meta-common/recipes-phosphor/flash/phosphor-software-manager/ |
H A D | firmware_update.sh | 38 IMAGE=$(find "${IMG_PATH}" -type f \( -name "*.img" -o -name "*.bin" -o -name "*.rom" \)) 43 IMAGE=$(find "${IMG_PATH}" -type f \( -name "*.img" -o -name "*.bin" -o -name "*.rom" \)) 48 …IMAGE=$(find "${IMG_PATH}" -type f \( -name "*.img" -o -name "*.slim" -o -name "*.rom" -o -name "*… 53 …IMAGE=$(find "${IMG_PATH}" -type f \( -name "*.img" -o -name "*.slim" -o -name "*.rom" -o -name "*… 58 IMAGE=$(find "${IMG_PATH}" -type f \( -name "*.bin" \)) 64 IMAGE=$(find "${IMG_PATH}" -type f \( -name "*.bin" \)) 69 IMAGE=$(find "${IMG_PATH}" -type f \( -name "*.jed" -o -name "*.bin" \)) 73 IMAGE=$(find "${IMG_PATH}" -type f \( -name "*.jed" -o -name "*.bin" \)) 77 IMAGE=$(find "${IMG_PATH}" -type f \( -name "*.jed" -o -name "*.bin" \))
|
/openbmc/phosphor-gpio-monitor/multi-presence/ |
H A D | main.cpp | 102 if (obj.find("LineName") == obj.end()) in main() 108 if (obj.find("GpioNum") == obj.end() || in main() 109 obj.find("ChipId") == obj.end()) in main() 111 lg2::error("Failed to find line name or gpio number: {FILE}", in main() 126 /* Find the GPIO line */ in main() 134 lg2::error("Failed to find the {GPIO}", "GPIO", lineMsg); in main() 139 if (obj.find("Inventory") == obj.end()) in main() 149 if (obj.find("Name") == obj.end()) in main() 160 if (obj.find("Bias") != obj.end()) in main() 163 auto findBias = phosphor::gpio::biasMap.find(biasName); in main() [all …]
|
/openbmc/phosphor-pid-control/pid/ |
H A D | buildjson.cpp | 48 auto findTempToMargin = j.find("tempToMargin"); in from_json() 54 auto findMissingAcceptable = j.find("missingIsAcceptable"); in from_json() 69 auto checkHysterWithSetpt = p.find("checkHysteresisWithSetpoint"); in from_json() 70 auto positiveHysteresis = p.find("positiveHysteresis"); in from_json() 71 auto negativeHysteresis = p.find("negativeHysteresis"); in from_json() 72 auto derivativeCoeff = p.find("derivativeCoeff"); in from_json() 94 auto failSafePercent = j.find("FailSafePercent"); in from_json() 136 auto reading = p.find("reading"); in from_json() 142 auto n = r.find(std::to_string(i)); in from_json() 150 auto output = p.find("output"); in from_json() [all …]
|
/openbmc/phosphor-gpio-monitor/ |
H A D | gpioMonMain.cpp | 101 if (obj.find("LineName") == obj.end()) in main() 107 if (obj.find("GpioNum") == obj.end() || in main() 108 obj.find("ChipId") == obj.end()) in main() 110 lg2::error("Failed to find line name or gpio number: {FILE}", in main() 125 /* Find the GPIO line */ in main() 133 lg2::error("Failed to find the {GPIO}", "GPIO", lineMsg); in main() 140 if (obj.find("EventMon") != obj.end()) in main() 143 auto findEvent = phosphor::gpio::polarityMap.find(eventStr); in main() 155 if (obj.find("Continue") != obj.end()) in main() 164 if (obj.find("Target") != obj.end()) in main() [all …]
|
/openbmc/openbmc/poky/meta/recipes-kernel/lttng/ |
H A D | babeltrace2_2.0.6.bb | 44 for d in $(find "${S}/tests" -type d -printf '%P ') ; do 46 find "${S}/tests/$d" -maxdepth 1 -executable -type f \ 48 find "${S}/tests/$d" -maxdepth 1 -name *.sh \ 50 find "${S}/tests/$d" -maxdepth 1 -name *.py \ 52 find "${S}/tests/$d" -maxdepth 1 -name *.expect \ 61 for d in $(find "${B}/tests" -type d -not -name .libs -printf '%P ') ; do 63 find "${B}/tests/$d" -maxdepth 1 -executable -type f \ 67 find "${B}/tests/$d" -maxdepth 1 -name *.sh \ 71 for d in $(find "${B}/tests" -type d -name .libs -printf '%P ') ; do 72 for f in $(find "${B}/tests/$d" -maxdepth 1 -executable -type f -printf '%P ') ; do [all …]
|
/openbmc/entity-manager/src/ |
H A D | topology.cpp | 9 auto findType = exposesItem.find("Type"); in addBoard() 21 auto findConnectsTo = exposesItem.find("ConnectsToType"); in addBoard() 32 auto findPoweredBy = exposesItem.find("PowerPort"); in addBoard() 53 auto downstreamMatch = downstreamPorts.find(upstreamPortPair.first); in getAssocs() 69 if (boards.find(downstream) != boards.end()) in getAssocs() 73 if (powerPaths.find(downstream) != powerPaths.end()) in getAssocs() 92 auto boardFind = boardNames.find(boardName); in remove() 105 std::find(it->second.begin(), it->second.end(), boardPath); in remove() 124 std::find(it->second.begin(), it->second.end(), boardPath); in remove()
|
/openbmc/u-boot/test/py/tests/ |
H A D | test_avb.py | 36 assert response.find(success_str) 50 assert response.find('is current device') 58 start_pt = line.find('"') 59 end_pt = line.find('"', start_pt + 1) 103 assert response.find('is current device') 106 assert response.find('read: OK') 113 assert response.find('Read 512 bytes') 118 assert response.find('64 word')
|
/openbmc/ibm-logging/test/ |
H A D | test_policy.cpp | 239 auto details = policy.find(err, mod); in TEST_F() 250 details = policy.find(err, mod); in TEST_F() 258 details = policy.find(err, mod); in TEST_F() 268 * Test policy::find() that uses the data from a property 269 * map to find entries in the policy table. 283 auto values = policy::find(policy, testProperties); in TEST_F() 295 auto values = policy::find(policy, testProperties); in TEST_F() 308 auto values = policy::find(policy, testProperties); in TEST_F() 321 auto values = policy::find(policy, testProperties); in TEST_F() 333 auto values = policy::find(policy, testProperties); in TEST_F() [all …]
|
/openbmc/phosphor-networkd/src/ |
H A D | network_manager.cpp | 56 auto it = values.find("AdministrativeState"); in Manager() 162 if (ignoredIntf.find(info.intf.idx) != ignoredIntf.end()) in createInterface() 166 if (auto it = interfacesByIdx.find(info.intf.idx); in createInterface() 182 auto it = interfaces.find(*info.intf.name); in createInterface() 215 if (ignored.find(*info.name) != ignored.end()) in addInterface() 229 auto infoIt = intfInfo.find(info.idx); in addInterface() 239 if (auto it = systemdNetworkdEnabled.find(info.idx); in addInterface() 248 auto iit = interfacesByIdx.find(info.idx); in removeInterface() 252 nit = interfaces.find(*info.name); in removeInterface() 293 if (auto it = intfInfo.find(info.ifidx); it != intfInfo.end()) in addAddress() [all …]
|
/openbmc/u-boot/drivers/sound/ |
H A D | rockchip_sound.c | 57 log_debug("Failed to find /cpu subnode\n"); in rockchip_sound_probe() 63 log_debug("Cannot find i2s phandle: %d\n", ret); in rockchip_sound_probe() 68 log_debug("Cannot find i2s: %d\n", ret); in rockchip_sound_probe() 74 log_debug("Failed to find /codec subnode\n"); in rockchip_sound_probe() 80 log_debug("Cannot find codec phandle: %d\n", ret); in rockchip_sound_probe() 86 log_debug("Cannot find audio codec: %d\n", ret); in rockchip_sound_probe() 91 log_debug("Cannot find clock: %d\n", ret); in rockchip_sound_probe() 96 log_debug("Cannot find clock: %d\n", ret); in rockchip_sound_probe() 101 debug("%s: Cannot find pinctrl device\n", __func__); in rockchip_sound_probe()
|
/openbmc/linux/scripts/package/ |
H A D | install-extmod-build | 20 find "arch/${SRCARCH}" -maxdepth 1 -name 'Makefile*' 21 find include scripts -type f -o -type l 22 find "arch/${SRCARCH}" -name Kbuild.platforms -o -name Platform 23 find "arch/${SRCARCH}" -name include -o -name scripts -type d 31 find "arch/${SRCARCH}/include" Module.symvers include scripts -type f 34 find scripts/gcc-plugins -name '*.so'
|
/openbmc/dbus-sensors/src/intrusion/ |
H A D | IntrusionSensorMain.cpp | 67 // find matched configuration according to sensor type in createSensorsFromConfig() 88 auto sensorBase = sensorData->find(configInterfaceName(sensorType)); in createSensorsFromConfig() 99 auto findRearm = baseConfiguration->second.find("Rearm"); in createSensorsFromConfig() 112 auto findClass = baseConfiguration->second.find("Class"); in createSensorsFromConfig() 119 baseConfiguration->second.find("GpioPolarity"); in createSensorsFromConfig() 139 << "find chassis intrusion sensor polarity inverted " in createSensorsFromConfig() 157 else if (classString.find("Hwmon") != std::string::npos) in createSensorsFromConfig() 161 compatIterator = compatibleHwmonNames.find(classString); in createSensorsFromConfig() 186 auto findBus = baseConfiguration->second.find("Bus"); in createSensorsFromConfig() 187 auto findAddress = baseConfiguration->second.find("Address"); in createSensorsFromConfig() [all …]
|
/openbmc/linux/arch/powerpc/boot/ |
H A D | simpleboot.c | 36 /* Find the #address-cells and #size-cells properties */ in platform_init() 39 fatal("Cannot find root node\n"); in platform_init() 42 fatal("Cannot find #address-cells property"); in platform_init() 45 fatal("Cannot find #size-cells property"); in platform_init() 47 /* Find the memory range */ in platform_init() 51 fatal("Cannot find memory node\n"); in platform_init() 72 fatal("Cannot find cpu node\n"); in platform_init() 80 /* prepare the device tree and find the console */ in platform_init()
|
H A D | cuboot-hotfoot.c | 53 fatal("Can't find node for /plb/opb/serial@ef600300"); in hotfoot_fixups() 58 fatal("Can't find node for /plb/opb/ethernet@ef600900"); in hotfoot_fixups() 69 fatal("Can't find FDT node for nor_flash!??"); in hotfoot_fixups() 83 fatal("Can't find FDT node for partition@0"); in hotfoot_fixups() 90 fatal("Can't find FDT node for partition@1"); in hotfoot_fixups() 97 fatal("Can't find FDT node for partition@2"); in hotfoot_fixups() 104 fatal("Can't find FDT node for partition@3"); in hotfoot_fixups() 111 fatal("Can't find FDT node for partition@4"); in hotfoot_fixups() 118 fatal("Can't find FDT node for partition@6"); in hotfoot_fixups() 126 fatal("Can't find FDT node for partition@5"); in hotfoot_fixups()
|
/openbmc/openpower-hw-diags/util/ |
H A D | dbus.cpp | 19 /** @brief Find the path and service that implements the given interface */ 20 int find(const std::string& i_interface, std::string& o_path, in find() function 55 trace::err("util::dbus::find exception"); in find() 63 /** @brief Find the service that implements the given object and interface */ 78 // Find services that implement the object path, constrain the search in findService() 153 // find a dbus object and path that implements the interface in systemNames() 154 if (0 == find(interface, path, service)) in systemNames() 220 DBusService service; // will find this in autoRebootEnabled() 221 DBusPath path; // will find this in autoRebootEnabled() 223 // find a dbus object and path that implements the interface in autoRebootEnabled() [all …]
|
/openbmc/qemu/tests/unit/ |
H A D | test-interval-tree.c | 129 /* Test that we find exactly the one node. */ in test_find_one_range_many() 145 /* Test that we don't find it after it is removed. */ in test_find_one_range_many() 156 IntervalTreeNode *find; in test_find_many_range() local 179 /* Test that we find all of the nodes. */ in test_find_many_range() 180 find = interval_tree_iter_first(&root, 2000, 2999); in test_find_many_range() 181 for (i = 0; find != NULL; i++) { in test_find_many_range() 182 find = interval_tree_iter_next(find, 2000, 2999); in test_find_many_range() 201 g_test_add_func("/interval-tree/find-one-point", test_find_one_point); in main() 202 g_test_add_func("/interval-tree/find-two-point", test_find_two_point); in main() 203 g_test_add_func("/interval-tree/find-one-range", test_find_one_range); in main() [all …]
|
/openbmc/ibm-logging/ |
H A D | manager.cpp | 63 auto propertyMap = interfaces.find(LOGGING_IFACE); in createAll() 98 auto logInterface = interfaces.find(LOGGING_IFACE); in createObject() 114 auto entry = entries.find(id); in addInterface() 132 auto entry = childEntries.find(id); in addChildInterface() 148 auto i = entry->second.find(type); in addChildInterface() 165 auto values = policy::find(policies, properties); in createPolicyInterface() 185 // interface to find any callouts. Then grab all properties on in createCalloutObjects() 189 auto associations = interfaces.find(ASSOC_IFACE); in createCalloutObjects() 196 auto assocProperty = properties.find("Associations"); in createCalloutObjects() 304 // Find the Logging.Entry interface with all of its properties in interfaceAdded() [all …]
|