Home
last modified time | relevance | path

Searched full:times (Results 1 – 25 of 877) sorted by relevance

12345678910>>...36

/openbmc/phosphor-power/phosphor-power-sequencer/test/
H A Dstandard_device_tests.cpp369 EXPECT_CALL(device, prepareForPgoodFaultDetection).Times(1); in TEST()
372 .Times(1) in TEST()
374 EXPECT_CALL(device, getReadVout(5)).Times(1).WillOnce(Return(1.2)); in TEST()
376 .Times(1) in TEST()
378 EXPECT_CALL(device, getStatusVout(7)).Times(1).WillOnce(Return(0x00)); in TEST()
410 EXPECT_CALL(device, prepareForPgoodFaultDetection).Times(1); in TEST()
413 .Times(1) in TEST()
415 EXPECT_CALL(device, getReadVout(5)).Times(0); in TEST()
416 EXPECT_CALL(device, getVoutUVFaultLimit(5)).Times(0); in TEST()
417 EXPECT_CALL(device, getStatusVout(7)).Times( in TEST()
[all...]
H A Drail_tests.cpp358 EXPECT_CALL(services, isPresent).Times(0); in TEST()
377 .Times(1) in TEST()
397 .Times(1) in TEST()
417 .Times(1) in TEST()
458 EXPECT_CALL(device, getStatusWord).Times(0); in TEST()
485 EXPECT_CALL(device, getStatusWord(2)).Times(1).WillOnce(Return(0xbeef)); in TEST()
503 .Times(1) in TEST()
541 EXPECT_CALL(device, getStatusVout).Times(0); in TEST()
568 EXPECT_CALL(device, getStatusVout(2)).Times(1).WillOnce(Return(0xad)); in TEST()
586 .Times( in TEST()
[all...]
H A Ducd90160_device_tests.cpp111 .Times(1) in TEST()
114 .Times(1); in TEST()
119 .Times(1); in TEST()
125 .Times(1); in TEST()
129 .Times(1); in TEST()
133 .Times(1); in TEST()
137 .Times(1); in TEST()
140 .Times(1); in TEST()
143 .Times(1); in TEST()
146 .Times( in TEST()
[all...]
H A Ducd90x_device_tests.cpp119 .Times(1) in TEST()
145 .Times(1) in TEST()
172 .Times(1) in TEST()
176 .Times(1); in TEST()
179 .Times(1); in TEST()
184 .Times(1); in TEST()
186 .Times(1); in TEST()
191 .Times(1); in TEST()
210 .Times(1) in TEST()
213 .Times( in TEST()
[all...]
H A Dpmbus_driver_device_tests.cpp262 .Times(1) in TEST_F()
287 .Times(1) in TEST_F()
344 .Times(1) in TEST_F()
372 .Times(1) in TEST_F()
414 .Times(1) in TEST_F()
442 .Times(1) in TEST_F()
487 .Times(1) in TEST_F()
490 .Times(1) in TEST_F()
493 .Times(1) in TEST_F()
524 .Times( in TEST_F()
[all...]
H A Ducd90320_device_tests.cpp113 .Times(1) in TEST()
116 .Times(1); in TEST()
120 .Times(1); in TEST()
125 .Times(1); in TEST()
129 .Times(1); in TEST()
132 .Times(1); in TEST()
135 .Times(1); in TEST()
138 .Times(1); in TEST()
143 .Times(1); in TEST()
145 .Times( in TEST()
[all...]
/openbmc/sdbusplus/test/server/
H A Dobject.cpp43 .Times(0); in TEST_F()
46 .Times(1); in TEST_F()
54 .Times(0); in TEST_F()
57 .Times(1); in TEST_F()
67 .Times(0); in TEST_F()
70 .Times(0); in TEST_F()
77 .Times(1); in TEST_F()
80 .Times(0); in TEST_F()
86 .Times(1); in TEST_F()
89 .Times(0); in TEST_F()
[all …]
/openbmc/phosphor-power/phosphor-regulators/test/
H A Dphase_fault_detection_tests.cpp162 // Create MockAction that will switch every 5 times between working and in TEST_F()
163 // throwing an exception. Expect it to be executed 20 times. in TEST_F()
167 .Times(20) in TEST_F()
201 // performing phase fault detection 10 times. The lambda allows us to in TEST_F()
211 .Times(3); in TEST_F()
214 .Times(3); in TEST_F()
218 .Times(1); in TEST_F()
222 .Times(1); in TEST_F()
226 .Times(1); in TEST_F()
230 .Times(1); in TEST_F()
[all …]
H A Dchassis_tests.cpp216 // us to set expectations multiple times without duplicate code. in TEST_F()
218 // Expect Sensors service to be called 10 times in TEST_F()
220 EXPECT_CALL(sensors, startRail).Times(10); in TEST_F()
221 EXPECT_CALL(sensors, setValue).Times(0); in TEST_F()
222 EXPECT_CALL(sensors, endRail).Times(10); in TEST_F()
224 // Expect Journal service to be called 6 times to log error messages in TEST_F()
227 .Times(6); in TEST_F()
228 EXPECT_CALL(journal, logError(A<const std::string&>())).Times(6); in TEST_F()
232 EXPECT_CALL(errorLogging, logDBusError).Times(1); in TEST_F()
235 // Monitor sensors 10 times. Verify errors logged. in TEST_F()
[all …]
H A Ddevice_tests.cpp287 // us to set expectations multiple times without duplicate code. in TEST_F()
295 .Times(6); in TEST_F()
297 .Times(6); in TEST_F()
301 .Times(1); in TEST_F()
305 .Times(1); in TEST_F()
311 EXPECT_CALL(errorLogging, logDBusError).Times(1); in TEST_F()
312 EXPECT_CALL(errorLogging, logPhaseFault).Times(1); in TEST_F()
315 // - startRail() and endRail() called 10 times in TEST_F()
317 EXPECT_CALL(sensors, startRail).Times(10); in TEST_F()
318 EXPECT_CALL(sensors, endRail).Times(10); in TEST_F()
[all …]
H A Dsensor_monitoring_tests.cpp156 // to set expectations multiple times without duplicate code. in TEST()
158 // Expect Sensors service to be called 10 times in TEST()
160 EXPECT_CALL(sensors, startRail).Times(10); in TEST()
161 EXPECT_CALL(sensors, setValue).Times(0); in TEST()
162 EXPECT_CALL(sensors, endRail(true)).Times(10); in TEST()
164 // Expect Journal service to be called 6 times to log error messages in TEST()
167 .Times(6); in TEST()
168 EXPECT_CALL(journal, logError(A<const std::string&>())).Times(6); in TEST()
172 EXPECT_CALL(errorLogging, logI2CError).Times(1); in TEST()
175 // Call execute() 10 times to set error history data members in TEST()
[all …]
H A Dsystem_tests.cpp170 // us to set expectations multiple times without duplicate code. in TEST()
172 // Expect Sensors service to be called 10 times in TEST()
174 EXPECT_CALL(sensors, startRail).Times(10); in TEST()
175 EXPECT_CALL(sensors, setValue).Times(0); in TEST()
176 EXPECT_CALL(sensors, endRail).Times(10); in TEST()
178 // Expect Journal service to be called 6 times to log error messages in TEST()
181 .Times(6); in TEST()
182 EXPECT_CALL(journal, logError(A<const std::string&>())).Times(6); in TEST()
186 EXPECT_CALL(errorLogging, logDBusError).Times(1); in TEST()
189 // Monitor sensors 10 times. Verify errors logged. in TEST()
[all …]
H A Dconfiguration_tests.cpp93 EXPECT_CALL(journal, logDebug("Configuring vdd_reg")).Times(1); in TEST()
94 EXPECT_CALL(journal, logError(A<const std::string&>())).Times(0); in TEST()
103 EXPECT_CALL(*i2cInterface, isOpen).Times(1).WillOnce(Return(true)); in TEST()
106 .Times(1); in TEST()
148 .Times(1); in TEST()
149 EXPECT_CALL(journal, logError(A<const std::string&>())).Times(0); in TEST()
164 EXPECT_CALL(*i2cInterface, isOpen).Times(1).WillOnce(Return(true)); in TEST()
167 .Times(1); in TEST()
213 EXPECT_CALL(journal, logDebug("Configuring vdd_reg")).Times(1); in TEST()
214 EXPECT_CALL(journal, logError(expectedErrMessagesException)).Times(1); in TEST()
[all …]
/openbmc/u-boot/include/
H A Dmpc8xx.h317 #define MAMR_RLFA_2X 0x00000200 /* The Read Loop is executed 2 times */
318 #define MAMR_RLFA_3X 0x00000300 /* The Read Loop is executed 3 times */
319 #define MAMR_RLFA_4X 0x00000400 /* The Read Loop is executed 4 times */
320 #define MAMR_RLFA_5X 0x00000500 /* The Read Loop is executed 5 times */
321 #define MAMR_RLFA_6X 0x00000600 /* The Read Loop is executed 6 times */
322 #define MAMR_RLFA_7X 0x00000700 /* The Read Loop is executed 7 times */
323 #define MAMR_RLFA_8X 0x00000800 /* The Read Loop is executed 8 times */
324 #define MAMR_RLFA_9X 0x00000900 /* The Read Loop is executed 9 times */
325 #define MAMR_RLFA_10X 0x00000A00 /* The Read Loop is executed 10 times */
326 #define MAMR_RLFA_11X 0x00000B00 /* The Read Loop is executed 11 times */
[all …]
/openbmc/phosphor-inventory-manager/test/
H A Dinterface_ops_test.cpp120 EXPECT_CALL(mock, constructWithoutProperties("foo")).Times(1); in TEST()
121 EXPECT_CALL(mock, constructWithProperties(_, _, _)).Times(0); in TEST()
137 EXPECT_CALL(mock, constructWithoutProperties("foo")).Times(1); 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()
[all …]
/openbmc/phosphor-psu-code-mgmt/test/
H A Dtest_activation.cpp129 .Times(0); in TEST_F()
131 .Times(0); in TEST_F()
133 .Times(0); in TEST_F()
134 EXPECT_CALL(mockedActivationListener, onUpdateDone(_, _)).Times(0); in TEST_F()
152 .Times(1); in TEST_F()
154 .Times(1); in TEST_F()
156 .Times(1); in TEST_F()
159 .Times(1); in TEST_F()
183 .Times(1); in TEST_F()
190 .Times(1); in TEST_F()
[all …]
H A Dtest_item_updater.cpp77 EXPECT_CALL(mockedUtils, getLatestVersion(_)).Times(1); in TEST_F()
97 .Times(1); in TEST_F()
101 .Times(0); in TEST_F()
125 .Times(1); in TEST_F()
129 .Times(2); in TEST_F()
166 .Times(1); in TEST_F()
170 .Times(2); in TEST_F()
216 .Times(1); in TEST_F()
220 .Times(2); in TEST_F()
222 .Times(2); in TEST_F()
[all …]
/openbmc/estoraged/src/test/
H A Destoraged_test.cpp132 EXPECT_CALL(*mockCryptIface, cryptFormat(_, _, _, _, _, _, _, _)).Times(1); in TEST_F()
135 .Times(1); in TEST_F()
137 EXPECT_CALL(*mockCryptIface, cryptLoad(_, _, _)).Times(1); in TEST_F()
179 EXPECT_CALL(*mockCryptIface, cryptFormat(_, _, _, _, _, _, _, _)).Times(1); in TEST_F()
182 .Times(1); in TEST_F()
184 EXPECT_CALL(*mockCryptIface, cryptLoad(_, _, _)).Times(1); in TEST_F()
196 .Times(0); in TEST_F()
250 EXPECT_CALL(*mockCryptIface, cryptFormat(_, _, _, _, _, _, _, _)).Times(1); in TEST_F()
263 EXPECT_CALL(*mockCryptIface, cryptFormat(_, _, _, _, _, _, _, _)).Times(1); in TEST_F()
266 .Times(1); in TEST_F()
[all …]
/openbmc/phosphor-power/phosphor-power-supply/test/
H A Dpower_supply_tests.cpp44 .Times(1) in setPMBusExpectations()
53 .Times(1) in setPMBusExpectations()
56 .Times(1) in setPMBusExpectations()
59 .Times(1) in setPMBusExpectations()
63 .Times(1) in setPMBusExpectations()
66 .Times(1) in setPMBusExpectations()
69 .Times(1) in setPMBusExpectations()
72 .Times(1) in setPMBusExpectations()
75 .Times(1) in setPMBusExpectations()
114 EXPECT_CALL(pmbus, read(READ_VIN, _, _)).Times(1).WillOnce(Return(1)); in setMissingToPresentExpects()
[all …]
/openbmc/openbmc/poky/scripts/contrib/bb-perf/
H A Dbuildstats.sh144 times=""
150 # Append it to times
151 if [ -z "$times" ]; then
152 times="${time}"
154 times="${times} ${time}"
158 IFS=' '; valuesarray=(${times}); IFS=':'
159 times=0
162 times=$(( $times + $value ))
165 echo "${task} ${recipe} ${times}"
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/uw-imap/uw-imap/
H A Duw-imap-fix-incompatible-pointer-types.patch5 1286 | utime (file,tp); /* set the times */
34 - utime (tmp,tp); /* set the times */
35 + utime (tmp, (const struct utimbuf *)tp); /* set the times */
52 - utime (file,tp); /* set the times */
53 + utime (file, (const struct utimbuf *)tp); /* set the times */
61 - utime (file,tp); /* set the times */
62 + utime (file, (const struct utimbuf *)tp); /* set the times */
92 - utime (file,tp); /* set the times */
93 + utime (file, (const struct utimbuf *)tp); /* set the times */
103 - utime (file,tp); /* set the times */
[all …]
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-benchmark/dhrystone/dhrystone-2.1/
H A Ddhrystone.patch5 * Redefinition of times() with wrong return type
9 value for times()
27 #ifdef TIMES
29 -extern int times ();
30 +/* extern int times (); */
31 /* see library function "times" */
/openbmc/pldm/requester/test/
H A Drequest_test.cpp55 .Times(Exactly(1))
66 // send() is called a total of 3 times, the original plus two retries
67 EXPECT_CALL(request, send()).Times(3).WillRepeatedly(Return(PLDM_SUCCESS));
78 // send() will be called a total of 10 times, the original plus 9 retries.
79 // In a ideal scenario send() would have been called 10 times in 1 sec (when
85 .Times(Between(5, 10))
102 EXPECT_CALL(request, send()).Times(Exactly(1)).WillOnce(Return(PLDM_ERROR));
/openbmc/openbmc-test-automation/ipmi/
H A Dtest_ipmi_resets.robot24 Repeat Keyword ${LOOP_COUNT} times IPMI MC Reset Warm (off)
31 Repeat Keyword ${LOOP_COUNT} times IPMI MC Reset Cold (run)
38 Repeat Keyword ${LOOP_COUNT} times IPMI Power Cycle
45 Repeat Keyword ${LOOP_COUNT} times IPMI Power Reset
/openbmc/phosphor-pid-control/test/
H A Dpid_stepwisecontroller_unittest.cpp44 .Times(3) in TEST()
49 EXPECT_CALL(z, addSetPoint(40.0, "foo")).Times(2); in TEST()
50 EXPECT_CALL(z, addSetPoint(60.0, "foo")).Times(1); in TEST()
80 .Times(3) in TEST()
85 EXPECT_CALL(z, addSetPoint(40.0, "foo")).Times(1); in TEST()
86 EXPECT_CALL(z, addSetPoint(60.0, "foo")).Times(2); in TEST()

12345678910>>...36