Home
last modified time | relevance | path

Searched refs:expected_return (Results 1 – 7 of 7) sorted by relevance

/external/ltp/testcases/kernel/syscalls/io_setup/
Dio_setup01.c60 int expected_return; in main() local
70 expected_return = 0; in main()
73 if (TEST_RETURN == expected_return) { in main()
78 "expected %d", TEST_RETURN, expected_return); in main()
82 expected_return = -EINVAL; in main()
88 } else if (TEST_RETURN == expected_return) { in main()
94 "expected %d", TEST_RETURN, expected_return); in main()
98 expected_return = -EINVAL; in main()
103 } else if (TEST_RETURN == expected_return) { in main()
109 "expected %d", TEST_RETURN, expected_return); in main()
[all …]
/external/libcxx/utils/google-benchmark/test/
Dfilter_test.cc83 size_t expected_return; in main() local
84 ss >> expected_return; in main()
86 if (returned_count != expected_return) { in main()
87 std::cerr << "ERROR: Expected " << expected_return in main()
93 const size_t expected_reports = list_only ? 0 : expected_return; in main()
/external/google-benchmark/test/
Dfilter_test.cc83 size_t expected_return; in main() local
84 ss >> expected_return; in main()
86 if (returned_count != expected_return) { in main()
87 std::cerr << "ERROR: Expected " << expected_return in main()
93 const size_t expected_reports = list_only ? 0 : expected_return; in main()
/external/ltp/testcases/kernel/syscalls/fadvise/
Dposix_fadvise01.c67 int expected_return = 0; variable
120 if (TEST_RETURN == expected_return) { in main()
128 defined_advise[i], expected_return); in main()
/external/webrtc/webrtc/modules/audio_coding/codecs/opus/
Daudio_encoder_opus_unittest.cc121 double expected_return) { in TestSetPacketLossRate() argument
124 EXPECT_DOUBLE_EQ(expected_return, encoder->packet_loss_rate()); in TestSetPacketLossRate()
/external/webrtc/webrtc/modules/audio_processing/test/
Daudio_processing_unittest.cc376 AudioProcessing::Error expected_return);
379 AudioProcessing::Error expected_return);
381 AudioProcessing::Error expected_return);
820 AudioProcessing::Error expected_return) { in TestChangingChannelsInt16Interface() argument
822 EXPECT_EQ(expected_return, apm_->ProcessStream(frame_)); in TestChangingChannelsInt16Interface()
823 EXPECT_EQ(expected_return, apm_->AnalyzeReverseStream(frame_)); in TestChangingChannelsInt16Interface()
829 AudioProcessing::Error expected_return) { in TestChangingForwardChannels() argument
833 EXPECT_EQ(expected_return, in TestChangingForwardChannels()
840 AudioProcessing::Error expected_return) { in TestChangingReverseChannels() argument
848 expected_return, in TestChangingReverseChannels()
/external/autotest/client/common_lib/
Dutils_unittest.py383 def stub_urlopen_with_timeout_comparison(self, test_func, expected_return, argument
389 return expected_return
394 expected_return, *expected_args): argument
397 self.stub_urlopen_with_timeout_comparison(test_func, expected_return,