Home
last modified time | relevance | path

Searched refs:IncrementOffset (Results 1 – 4 of 4) sorted by relevance

/external/tensorflow/tensorflow/core/lib/wav/
Dwav_io_test.cc212 TEST(WavIO, IncrementOffset) { in TEST() argument
214 TF_EXPECT_OK(IncrementOffset(0, 10, 20, &new_offset)); in TEST()
218 TF_EXPECT_OK(IncrementOffset(10, 4, 20, &new_offset)); in TEST()
222 TF_EXPECT_OK(IncrementOffset(99, 1, 100, &new_offset)); in TEST()
226 EXPECT_FALSE(IncrementOffset(-1, 1, 100, &new_offset).ok()); in TEST()
229 EXPECT_FALSE(IncrementOffset(0, -1, 100, &new_offset).ok()); in TEST()
232 EXPECT_FALSE(IncrementOffset(std::numeric_limits<int>::max(), 1, in TEST()
237 EXPECT_FALSE(IncrementOffset(101, 1, 100, &new_offset).ok()); in TEST()
Dwav_io.cc88 Status IncrementOffset(int old_offset, int64_t increment, size_t max_size, in IncrementOffset() function
119 IncrementOffset(*offset, expected_text.size(), data.size(), &new_offset)); in ExpectText()
134 IncrementOffset(*offset, expected_length, data.size(), &new_offset)); in ReadString()
252 IncrementOffset(offset, size_of_chunk, wav_string.size(), &offset)); in DecodeLin16WaveAsFloatVector()
331 TF_RETURN_IF_ERROR(IncrementOffset(offset, sizeof(int16) * data_count, in DecodeLin16WaveAsFloatVector()
Dwav_io.h75 Status IncrementOffset(int old_offset, int64_t increment, size_t max_size,
85 IncrementOffset(*offset, sizeof(T), data.size(), &new_offset)); in ReadValue()
/external/cronet/net/base/
Dfile_stream_context_win.cc30 void IncrementOffset(OVERLAPPED* overlapped, DWORD count) { in IncrementOffset() function
155 IncrementOffset(&io_context_.overlapped, bytes_read); in OnIOCompleted()