| /openbmc/estoraged/src/test/ |
| H A D | estoraged_test.cpp | 37 using ::testing::_; 186 EXPECT_CALL(*mockCryptIface, cryptFormat(_, _, _, _, _, _, _, _)).Times(1); in TEST_F() 188 EXPECT_CALL(*mockCryptIface, cryptKeyslotAddByVolumeKey(_, _, _, _, _, _)) in TEST_F() 191 EXPECT_CALL(*mockCryptIface, cryptLoad(_, _, _)).Times(1); in TEST_F() 193 EXPECT_CALL(*mockCryptIface, cryptActivateByPassphrase(_, _, _, _, _, _)) in TEST_F() 212 StrEq(esObject->getMountPoint()), _, _, _)) in TEST_F() 221 EXPECT_CALL(*mockCryptIface, cryptDeactivate(_, _)) in TEST_F() 238 EXPECT_CALL(*mockCryptIface, cryptFormat(_, _, _, _, _, _, _, _)).Times(1); in TEST_F() 240 EXPECT_CALL(*mockCryptIface, cryptKeyslotAddByVolumeKey(_, _, _, _, _, _)) in TEST_F() 243 EXPECT_CALL(*mockCryptIface, cryptLoad(_, _, _)).Times(1); in TEST_F() [all …]
|
| /openbmc/openbmc/meta-openembedded/meta-python/recipes-devtools/python/python3-pydantic-core/ |
| H A D | 0001-Upgrade-radium-to-1.0.patch | 30 let _: &BitSlice<u64, Msb0> = bits![u64, crate::order::Msb0; 1; 100]; 35 - let _: &BitSlice<AtomicU8, LocalBits> = bits![AtomicU8, LocalBits; 0, 1]; 36 - let _: &BitSlice<AtomicU8, Lsb0> = bits![AtomicU8, Lsb0; 0, 1]; 37 - let _: &BitSlice<AtomicU8, Msb0> = bits![AtomicU8, Msb0; 0, 1]; 38 - let _: &BitSlice<RadiumU8, LocalBits> = bits![RadiumU8, LocalBits; 1; 100]; 39 - let _: &BitSlice<RadiumU8, Lsb0> = bits![RadiumU8, Lsb0; 1; 100]; 40 - let _: &BitSlice<RadiumU8, Msb0> = bits![RadiumU8, Msb0; 1; 100]; 43 - let _: &BitSlice<AtomicU16, LocalBits> = bits![AtomicU16, LocalBits; 0, 1]; 44 - let _: &BitSlice<AtomicU16, Lsb0> = bits![AtomicU16, Lsb0; 0, 1]; 45 - let _: &BitSlice<AtomicU16, Msb0> = bits![AtomicU16, Msb0; 0, 1]; [all …]
|
| /openbmc/phosphor-ipmi-flash/tools/test/ |
| H A D | io_unittest.cpp | 16 using ::testing::_; 32 EXPECT_CALL(sys_mock, open(_, _)).WillOnce(Return(-1)); in TEST_F() 41 EXPECT_CALL(sys_mock, open(_, _)).WillOnce(Return(fd)); in TEST_F() 43 EXPECT_CALL(sys_mock, mmap(0, _, _, _, fd, _)).WillOnce(Return(MAP_FAILED)); in TEST_F() 54 EXPECT_CALL(sys_mock, open(_, _)).WillOnce(Return(fd)); in TEST_F() 56 EXPECT_CALL(sys_mock, mmap(0, _, _, _, fd, _)).WillOnce(Return(&source)); in TEST_F() 57 EXPECT_CALL(sys_mock, munmap(_, _)); in TEST_F() 67 EXPECT_CALL(sys_mock, open(_, _)).WillOnce(Return(-1)); in TEST_F() 76 EXPECT_CALL(sys_mock, open(_, _)).WillOnce(Return(fd)); in TEST_F() 78 EXPECT_CALL(sys_mock, mmap(0, _, _, _, fd, _)).WillOnce(Return(MAP_FAILED)); in TEST_F() [all …]
|
| /openbmc/sdbusplus/test/server/ |
| H A D | object.cpp | 8 using ::testing::_; 42 EXPECT_CALL(sdbusMock, sd_bus_emit_object_added(_, StrEq(objPath))) in TEST_F() 45 sd_bus_emit_interfaces_added_strv(_, StrEq(objPath), _)) in TEST_F() 53 EXPECT_CALL(sdbusMock, sd_bus_emit_object_removed(_, StrEq(objPath))) in TEST_F() 56 sd_bus_emit_interfaces_removed_strv(_, StrEq(objPath), _)) in TEST_F() 66 EXPECT_CALL(sdbusMock, sd_bus_emit_object_added(_, StrEq(objPath))) in TEST_F() 69 sd_bus_emit_interfaces_added_strv(_, StrEq(objPath), _)) in TEST_F() 76 EXPECT_CALL(sdbusMock, sd_bus_emit_object_added(_, StrEq(objPath))) in TEST_F() 79 sd_bus_emit_interfaces_added_strv(_, StrEq(objPath), _)) in TEST_F() 85 EXPECT_CALL(sdbusMock, sd_bus_emit_object_removed(_, StrEq(objPath))) in TEST_F() [all …]
|
| /openbmc/telemetry/tests/src/mocks/ |
| H A D | report_factory_mock.hpp | 34 ON_CALL(*this, convertMetricParams(_)) in ReportFactoryMock() 38 ON_CALL(*this, convertMetricParams(_, _)) in ReportFactoryMock() 43 make(A<const std::string&>(), _, _, _, _, _, _, _, _, _, _, _)) in ReportFactoryMock() 74 using testing::_; in expectMake() 89 make(_, _, _, _, _, _, _, rm, js, _, _, _)); in expectMake()
|
| H A D | trigger_factory_mock.hpp | 19 ON_CALL(*this, make(A<const std::string&>(), _, _, _, _, _, _, _)) in TriggerFactoryMock() 71 ON_CALL(*this, getLabeledSensorsInfo(_, sensorInfos)) in expectMake() 90 ON_CALL(*this, getLabeledSensorsInfo(_, _)) in expectMake() 94 make(_, _, _, _, tm, triggerStorage, _, dummy)); in expectMake()
|
| /openbmc/phosphor-psu-code-mgmt/test/ |
| H A D | test_item_updater.cpp | 10 using ::testing::_; 35 ON_CALL(mockedUtils, getVersionId(_)).WillByDefault(ReturnArg<0>()); in TestItemUpdater() 36 ON_CALL(mockedUtils, getPropertyImpl(_, _, _, _, StrEq(PRESENT))) in TestItemUpdater() 77 EXPECT_CALL(mockedUtils, getLatestVersion(_)).Times(1); in TEST_F() 87 EXPECT_CALL(mockedUtils, getPSUInventoryPaths(_)) in TEST_F() 89 EXPECT_CALL(mockedUtils, getService(_, StrEq(psuPath), _)) in TEST_F() 91 EXPECT_CALL(mockedUtils, getPropertyImpl(_, StrEq(service), StrEq(psuPath), in TEST_F() 92 _, StrEq(PRESENT))) in TEST_F() 96 EXPECT_CALL(sdbusMock, sd_bus_emit_object_added(_, StrEq(dBusPath))) in TEST_F() 100 EXPECT_CALL(sdbusMock, sd_bus_emit_object_added(_, StrEq(objPath))) in TEST_F() [all …]
|
| H A D | test_activation.cpp | 13 using ::testing::_; 37 ON_CALL(mockedUtils, getPropertyImpl(_, _, _, _, StrEq(PRESENT))) in TestActivation() 41 ON_CALL(mockedUtils, getPropertyImpl(_, _, _, _, StrEq(MANUFACTURER))) in TestActivation() 43 ON_CALL(mockedUtils, getModel(_)) in TestActivation() 45 ON_CALL(mockedUtils, isAssociated(_, _)).WillByDefault(Return(false)); in TestActivation() 123 ON_CALL(mockedUtils, getPSUInventoryPaths(_)) in TEST_F() 134 EXPECT_CALL(mockedActivationListener, onUpdateDone(_, _)).Times(0); in TEST_F() 144 ON_CALL(mockedUtils, getPSUInventoryPaths(_)) in TEST_F() 173 ON_CALL(mockedUtils, getPSUInventoryPaths(_)) in TEST_F() 225 ON_CALL(mockedUtils, getPSUInventoryPaths(_)) in TEST_F() [all …]
|
| /openbmc/estoraged/src/test/erase/ |
| H A D | sanitize_test.cpp | 20 using ::testing::_; 44 EXPECT_CALL(*mockPtr, doIoctl(_, _, _)).WillRepeatedly(Return(0)); in TEST() 45 EXPECT_CALL(*mockPtr, doIoctlMulti(_, _, _)).WillRepeatedly(Return(0)); in TEST() 56 EXPECT_CALL(*mockPtr, doIoctlMulti(_, _, _)).WillRepeatedly(Return(-1)); in TEST() 67 EXPECT_CALL(*mockPtr, doIoctl(_, _, _)).WillRepeatedly(Return(1)); in TEST() 68 EXPECT_CALL(*mockPtr, doIoctlMulti(_, _, _)).WillRepeatedly(Return(0)); in TEST()
|
| /openbmc/qemu/include/hw/ |
| H A D | registerfields.h | 43 enum { R_ ## reg ## _ ## field ## _SHIFT = (shift)}; \ 44 enum { R_ ## reg ## _ ## field ## _LENGTH = (length)}; \ 45 enum { R_ ## reg ## _ ## field ## _MASK = \ 50 extract8((storage), R_ ## reg ## _ ## field ## _SHIFT, \ 51 R_ ## reg ## _ ## field ## _LENGTH) 53 extract16((storage), R_ ## reg ## _ ## field ## _SHIFT, \ 54 R_ ## reg ## _ ## field ## _LENGTH) 56 extract32((storage), R_ ## reg ## _ ## field ## _SHIFT, \ 57 R_ ## reg ## _ ## field ## _LENGTH) 59 extract64((storage), R_ ## reg ## _ ## field ## _SHIFT, \ [all …]
|
| /openbmc/phosphor-power/phosphor-power-supply/test/ |
| H A D | power_supply_tests.cpp | 13 using ::testing::_; 43 EXPECT_CALL(mockPMBus, read(STATUS_WORD, _, _)) in setPMBusExpectations() 52 EXPECT_CALL(mockPMBus, read(STATUS_INPUT, _, _)) in setPMBusExpectations() 55 EXPECT_CALL(mockPMBus, read(STATUS_MFR, _, _)) in setPMBusExpectations() 58 EXPECT_CALL(mockPMBus, read(STATUS_CML, _, _)) in setPMBusExpectations() 65 EXPECT_CALL(mockPMBus, read("status0_vout", _, _)) in setPMBusExpectations() 68 EXPECT_CALL(mockPMBus, read(STATUS_IOUT, _, _)) in setPMBusExpectations() 71 EXPECT_CALL(mockPMBus, read(STATUS_FANS_1_2, _, _)) in setPMBusExpectations() 74 EXPECT_CALL(mockPMBus, read(STATUS_TEMPERATURE, _, _)) in setPMBusExpectations() 91 ON_CALL(mockedUtil, getPresence(_, _)).WillByDefault(Return(false)); in PowerSupplyTests() [all …]
|
| /openbmc/qemu/po/ |
| H A D | uk.po | 27 msgstr "_Призупинити" 30 msgstr "_Скинути" 33 msgstr "Вимкнути _живлення" 36 msgstr "_Вийти" 39 msgstr "Повний _екран" 42 msgstr "_Копіювати" 45 msgstr "_Збільшити" 48 msgstr "З_меншити" 51 msgstr "Найкращий _розмір" 54 msgstr "Збільшити до _розміру" [all …]
|
| H A D | bg.po | 27 msgstr "_Пауза" 30 msgstr "_Рестартиране" 33 msgstr "_Изключване" 36 msgstr "_Спиране на програмата" 39 msgstr "На _цял екран" 42 msgstr "_Копиране" 45 msgstr "_Увеличаване" 48 msgstr "_Намаляване" 51 msgstr "По_местване" 54 msgstr "Напас_ване" [all …]
|
| /openbmc/sdbusplus/example/ |
| H A D | calculator-client.cpp | 24 auto _ = co_await c.multiply(7, 6); in startup() local 25 std::cout << "Should be 42: " << _ << std::endl; in startup() 30 auto _ = co_await c.last_result(); in startup() local 31 std::cout << "Should be 42: " << _ << std::endl; in startup() 41 auto _ = co_await c.last_result(); in startup() local 42 std::cout << "Should be 0: " << _ << std::endl; in startup() 49 auto _ = co_await c.last_result(); in startup() local 50 std::cout << "Should be 1234: " << _ << std::endl; in startup() 58 auto _ = co_await c.owner(); in startup() local 59 std::cout << "Should be 'client': " << _ << std::endl; in startup() [all …]
|
| /openbmc/openbmc/meta-openembedded/meta-networking/recipes-support/ndisc6/ndisc6/ |
| H A D | 0001-Remove-use-of-variables-indicating-buildtime-informa.patch | 26 printf (_("rdnssd: IPv6 Recursive DNS Server discovery Daemon %s (%s)\n"), 28 - printf (_(" built %s on %s\n"), __DATE__, PACKAGE_BUILD_HOSTNAME); 29 - printf (_("Configured with: %s\n"), PACKAGE_CONFIGURE_INVOCATION); 30 puts (_("Written by Pierre Ynard and Remi Denis-Courmont\n")); 32 printf (_("Copyright (C) %u-%u Pierre Ynard, Remi Denis-Courmont\n"), 40 printf (_("addrinfo %s (%s)\n"), VERSION, "$Rev$"); 41 - printf (_(" built %s on %s\n"), __DATE__, PACKAGE_BUILD_HOSTNAME); 42 - printf (_("Configured with: %s\n"), PACKAGE_CONFIGURE_INVOCATION); 43 puts (_("Written by Remi Denis-Courmont\n")); 45 printf (_("Copyright (C) %u-%u Remi Denis-Courmont\n"), 2002, 2007); [all …]
|
| /openbmc/phosphor-mrw-tools/ |
| H A D | gen_path_callouts.pl | 96 my ($class) = @_; 98 my $self = $class->SUPER::new("I2C", $_[1], $_[2], $_[3]); 99 $self->{i2cBus} = $_[4]; 100 $self->{i2cAddr} = $_[5]; 121 my ($class) = @_; 122 my $self = $class->SUPER::new("FSI", $_[1], $_[2], $_[3]); 123 $self->{FSILink} = $_[4]; 139 my ($class) = @_; 140 my $self = $class->SUPER::new("SPI", $_[1], $_[2], $_[3]); 141 $self->{SPIBus} = $_[4]; [all …]
|
| H A D | inventory.pl | 105 my $items = shift @_; 106 my $inventory = shift @_; 154 my $type = shift @_; 155 my $newSegment = shift @_; 156 my $items = shift @_; 200 my $type = shift @_; 201 my $newSegment = shift @_; 202 my $items = shift @_; 237 my $items = shift @_; 250 my $items = shift @_; [all …]
|
| /openbmc/qemu/docs/devel/ |
| H A D | codebase.rst | 15 `MAINTAINERS <https://gitlab.com/qemu-project/qemu/-/blob/master/MAINTAINERS>`_ 48 * `accel <https://gitlab.com/qemu-project/qemu/-/tree/master/accel>`_: 53 `target <https://gitlab.com/qemu-project/qemu/-/tree/master/target>`_. 54 * `audio <https://gitlab.com/qemu-project/qemu/-/tree/master/audio>`_: 56 * `authz <https://gitlab.com/qemu-project/qemu/-/tree/master/authz>`_: 58 * `backends <https://gitlab.com/qemu-project/qemu/-/tree/master/backends>`_: 61 * `block <https://gitlab.com/qemu-project/qemu/-/tree/master/block>`_: 63 * `bsd-user <https://gitlab.com/qemu-project/qemu/-/tree/master/bsd-user>`_: 67 * `chardev <https://gitlab.com/qemu-project/qemu/-/tree/master/chardev>`_: 69 * `common-user <https://gitlab.com/qemu-project/qemu/-/tree/master/common-user>`_: [all …]
|
| /openbmc/u-boot/scripts/kconfig/ |
| H A D | mconf.c | 403 str_printf( &title, _("Enter (sub)string or regexp to search for " in search_conf() 408 dres = dialog_inputbox(_("Search Configuration Parameter"), in search_conf() 415 show_helptext(_("Search Configuration"), search_help); in search_conf() 446 dres = show_textbox_ext(_("Search Results"), (char *) in search_conf() 494 prompt = _(prompt); in build_conf() 511 item_make(" %*c*** %s ***", indent + 1, ' ', _(prompt)); in build_conf() 519 item_make("---%*c%s", indent + 1, ' ', _(prompt)); in build_conf() 563 item_add_str("%*c%s", indent + 1, ' ', _(menu_get_prompt(menu))); in build_conf() 566 item_add_str(" (%s)", _(menu_get_prompt(def_menu))); in build_conf() 578 item_make("---%*c%s", indent + 1, ' ', _(menu_get_prompt(menu))); in build_conf() [all …]
|
| /openbmc/google-ipmi-sys/test/ |
| H A D | bm_mode_transition_unittest.cpp | 34 using ::testing::_; 66 EXPECT_CALL(*fsMockPtr, exists(fs::path(bmDriveCleaningDoneAckFlagPath), _)) in TEST() 76 EXPECT_CALL(*fsMockPtr, exists(fs::path(bmDriveCleaningDoneAckFlagPath), _)) in TEST() 78 EXPECT_CALL(*fsMockPtr, exists(fs::path(bmDriveCleaningDoneFlagPath), _)) in TEST() 81 fs::path(bmDriveCleaningDoneAckFlagPath), _)) in TEST() 91 EXPECT_CALL(*fsMockPtr, exists(fs::path(bmDriveCleaningDoneAckFlagPath), _)) in TEST() 93 EXPECT_CALL(*fsMockPtr, exists(fs::path(bmDriveCleaningDoneFlagPath), _)) in TEST() 95 EXPECT_CALL(*fsMockPtr, exists(fs::path(BM_SIGNAL_PATH), _)) in TEST() 97 EXPECT_CALL(*fsMockPtr, exists(fs::path(bmDriveCleaningFlagPath), _)) in TEST() 108 EXPECT_CALL(*fsMockPtr, exists(fs::path(bmDriveCleaningDoneAckFlagPath), _)) in TEST() [all …]
|
| /openbmc/phosphor-inventory-manager/test/ |
| H A D | interface_ops_test.cpp | 121 EXPECT_CALL(mock, constructWithProperties(_, _, _)).Times(0); in TEST() 138 EXPECT_CALL(mock, constructWithProperties(_, _, _)).Times(0); in TEST() 154 EXPECT_CALL(mock, constructWithoutProperties(_)).Times(0); in TEST() 155 EXPECT_CALL(mock, constructWithProperties("bar", _, _)).Times(1); in TEST() 171 EXPECT_CALL(mock, constructWithoutProperties(_)).Times(0); in TEST() 172 EXPECT_CALL(mock, constructWithProperties("foo", _, _)).Times(1); in TEST() 188 EXPECT_CALL(mock, setPropertyByName(_, _, _)).Times(0); in TEST() 203 EXPECT_CALL(mock, setPropertyByName(_, _, _)).Times(0); in TEST() 218 EXPECT_CALL(mock, setPropertyByName(_, _, _)).Times(0); in TEST() 233 EXPECT_CALL(mock, setPropertyByName("foo"s, 1ll, _)).Times(1); in TEST() [all …]
|
| /openbmc/openbmc/meta-security/dynamic-layers/meta-perl/recipes-security/bastille/files/ |
| H A D | FileContent.pm | 53 my ($filename,$pattern) = @_; 110 my ($filename,$pattern,$line_to_insert,$line_to_follow) = @_; 184 my ($filename,$pattern,$line_to_insert,$line_to_preceed) = @_; 251 my $rtn_value = &B_insert_line_after(@_); 278 my ($filename,$pattern,$line_to_append) = @_; 327 my ($filename,$pattern,$line_to_prepend) = @_; 382 my ($filename,$pattern,$line_to_switch_in) = @_; 451 my ($filename, $pairs) = @_; 511 my ($filename,$pattern,$pattern_to_remove,$text_to_switch_in) = @_; 555 my ($file,$pattern) = @_; [all …]
|
| /openbmc/webui-vue/.github/ISSUE_TEMPLATE/ |
| H A D | design-review.md | 11 As a **\_\_\_** user, I need to be able to **\_\_\_** so that I can **\_\_\_**.
|
| /openbmc/openbmc/poky/meta/recipes-core/glibc/glibc/ |
| H A D | 0002-localedef-fix-ups-hardlink-to-make-it-compile.patch | 22 - fprintf(stderr, _("Try '%s --help' for more information.\n"), \ 55 - printf(_("Directories: %9lld\n"), ctl->ndirs); 56 - printf(_("Objects: %9lld\n"), ctl->nobjects); 57 - printf(_("Regular files: %9lld\n"), ctl->nregfiles); 58 - printf(_("Comparisons: %9lld\n"), ctl->ncomp); 64 - _("Would link: ") : 65 - _("Linked: ")), ctl->nlinks); 69 - _("Would save: ") : 70 - _("Saved: ")), ctl->nsaved); 78 - printf(_(" %s [options] directory...\n"), program_invocation_short_name); [all …]
|
| /openbmc/phosphor-logging/test/ |
| H A D | elog_quiesce_test.cpp | 106 EXPECT_CALL(sdbusMock, sd_bus_emit_object_added(testing::_, testing::_)) in TEST_F() 111 testing::_, testing::HasSubstr( in TEST_F() 132 EXPECT_CALL(sdbusMock, sd_bus_emit_object_removed(testing::_, testing::_)) in TEST_F() 136 testing::_, testing::HasSubstr( in TEST_F() 163 EXPECT_CALL(sdbusMock, sd_bus_emit_object_added(testing::_, testing::_)) in TEST_F() 168 testing::_, testing::HasSubstr( in TEST_F() 191 EXPECT_CALL(sdbusMock, sd_bus_emit_object_removed(testing::_, testing::_)) in TEST_F() 195 testing::_, testing::HasSubstr( in TEST_F() 222 EXPECT_CALL(sdbusMock, sd_bus_emit_object_added(testing::_, testing::_)) in TEST_F() 227 testing::_, testing::HasSubstr( in TEST_F() [all …]
|