Searched refs:stack_buffer (Results 1 - 6 of 6) sorted by relevance

/external/chromium/base/
H A Dstack_container_unittest.cc35 const int* stack_buffer = &vect.stack_data().stack_buffer()[0]; local
41 EXPECT_EQ(stack_buffer, &vect.container()[0]);
48 EXPECT_NE(stack_buffer, &vect.container()[0]);
68 EXPECT_EQ(stack_buffer, &other.front());
H A Dstack_container.h46 T* stack_buffer() { return reinterpret_cast<T*>(stack_buffer_); } function in struct:StackAllocator::Source
47 const T* stack_buffer() const { function in struct:StackAllocator::Source
103 return source_->stack_buffer();
112 if (source_ != NULL && p == source_->stack_buffer())
H A Dvalues_unittest.cc117 char stack_buffer[42]; local
118 memset(stack_buffer, '!', 42);
119 binary.reset(BinaryValue::CreateWithCopiedBuffer(stack_buffer, 42));
122 ASSERT_NE(stack_buffer, binary->GetBuffer());
124 ASSERT_EQ(0, memcmp(stack_buffer, binary->GetBuffer(), binary->GetSize()));
/external/chromium_org/base/containers/
H A Dstack_container_unittest.cc38 const int* stack_buffer = &vect.stack_data().stack_buffer()[0]; local
44 EXPECT_EQ(stack_buffer, &vect.container()[0]);
51 EXPECT_NE(stack_buffer, &vect.container()[0]);
71 EXPECT_EQ(stack_buffer, &other.front());
H A Dstack_container.h50 T* stack_buffer() { return stack_buffer_.template data_as<T>(); } function in struct:base::StackAllocator::Source
51 const T* stack_buffer() const { function in struct:base::StackAllocator::Source
103 return source_->stack_buffer();
112 if (source_ != NULL && p == source_->stack_buffer())
/external/chromium_org/base/
H A Dvalues_unittest.cc122 char stack_buffer[42]; local
123 memset(stack_buffer, '!', 42);
124 binary.reset(BinaryValue::CreateWithCopiedBuffer(stack_buffer, 42));
127 ASSERT_NE(stack_buffer, binary->GetBuffer());
129 ASSERT_EQ(0, memcmp(stack_buffer, binary->GetBuffer(), binary->GetSize()));

Completed in 119 milliseconds