Searched refs:ExpectText (Results 1 – 2 of 2) sorted by relevance
/external/tensorflow/tensorflow/core/lib/wav/ |
D | wav_io_test.cc | 31 Status ExpectText(const string& data, const string& expected_text, int* offset); 239 TEST(WavIO, ExpectText) { in TEST() argument 246 TF_EXPECT_OK(ExpectText(test_string, "Expected", &offset)); in TEST() 250 Status expect_status = ExpectText(test_string, "Unexpected", &offset); in TEST() 254 TF_EXPECT_OK(ExpectText(test_string, "Exp", &offset)); in TEST() 256 TF_EXPECT_OK(ExpectText(test_string, "ected", &offset)); in TEST() 258 expect_status = ExpectText(test_string, "foo", &offset); in TEST()
|
D | wav_io.cc | 111 Status ExpectText(const string& data, const string& expected_text, in ExpectText() function 216 TF_RETURN_IF_ERROR(ExpectText(wav_string, kRiffChunkId, &offset)); in DecodeLin16WaveAsFloatVector() 219 TF_RETURN_IF_ERROR(ExpectText(wav_string, kRiffType, &offset)); in DecodeLin16WaveAsFloatVector() 220 TF_RETURN_IF_ERROR(ExpectText(wav_string, kFormatChunkId, &offset)); in DecodeLin16WaveAsFloatVector()
|