Searched refs:kInvalidBufferHandle (Results 1 – 5 of 5) sorted by relevance
98 if (buffer != kInvalidBufferHandle) { in AllocateBuffersLocked()126 return kInvalidBufferHandle; in GetEmptyBuffer()130 if (buffer == kInvalidBufferHandle) { in GetEmptyBuffer()136 return kInvalidBufferHandle; in GetEmptyBuffer()147 buffer_handle_t buffer = kInvalidBufferHandle; in GetEmptyBufferLocked()165 if (buffer_iter->second.buffer.buffer != kInvalidBufferHandle) { in GetEmptyBufferLocked()169 return kInvalidBufferHandle; in GetEmptyBufferLocked()175 } else if (buffer_iter->second.buffer.buffer == kInvalidBufferHandle && in GetEmptyBufferLocked()182 return kInvalidBufferHandle; in GetEmptyBufferLocked()194 if (buffer != kInvalidBufferHandle) { in GetEmptyBufferLocked()[all …]
400 if (buffer->buffer == kInvalidBufferHandle) { in GetStreamBuffer()
69 ASSERT_NE(buffer, kInvalidBufferHandle) << "GetEmptyBuffer failed: " << i; in TEST()73 ASSERT_EQ(buffer, kInvalidBufferHandle) << "GetEmptyBuffer is not nullptr"; in TEST()91 ASSERT_NE(empty_buffer, kInvalidBufferHandle) in TEST()127 ASSERT_NE(empty_buffer, kInvalidBufferHandle) in TEST()
203 EXPECT_NE(buffer.buffer, kInvalidBufferHandle) << "Buffer should be valid"; in TEST()
35 static constexpr buffer_handle_t kInvalidBufferHandle = nullptr; variable