Home
last modified time | relevance | path

Searched refs:stack_copy (Results 1 – 16 of 16) sorted by relevance

/external/cronet/tot/base/profiler/
Dstack_copier_unittest.cc57 uintptr_t stack_copy[4]; in TEST() local
58 EXPECT_EQ(reinterpret_cast<uintptr_t>(&stack_copy[2]), in TEST()
62 reinterpret_cast<uint8_t*>(&stack_copy[0]), in TEST()
71 uintptr_t stack_copy[4]; in TEST() local
77 reinterpret_cast<uint8_t*>(&stack_copy[0]), in TEST()
91 TestStackBuffer stack_copy; in TEST() local
96 StackBuffer::kPlatformStackAlignment, &stack_copy.as_uintptr[0]); in TEST()
98 EXPECT_EQ(original_stack.as_uintptr[0], stack_copy.as_uintptr[0]); in TEST()
99 EXPECT_EQ(original_stack.as_uintptr[1], stack_copy.as_uintptr[1]); in TEST()
100 EXPECT_EQ(reinterpret_cast<uintptr_t>(&stack_copy.as_uintptr[1]), in TEST()
[all …]
Dstack_copier_suspend_unittest.cc127 std::vector<uintptr_t> stack_copy(stack_copy_bottom, in TEST() local
129 EXPECT_EQ(stack, stack_copy); in TEST()
166 std::vector<uintptr_t> stack_copy(stack_copy_bottom, in TEST() local
170 EXPECT_THAT(stack_copy, Each(kBufferInitializer)); in TEST()
192 std::vector<uintptr_t> stack_copy(stack_copy_bottom, in TEST() local
194 EXPECT_THAT(stack_copy, in TEST()
Dstack_sampler_unittest.cc149 explicit TestUnwinder(std::vector<uintptr_t>* stack_copy) in TestUnwinder() argument
150 : stack_copy_(stack_copy) {} in TestUnwinder()
313 std::vector<uintptr_t> stack_copy; in TEST_F() local
316 MakeUnwindersFactory(std::make_unique<TestUnwinder>(&stack_copy))); in TEST_F()
327 EXPECT_EQ(stack, stack_copy); in TEST_F()
349 std::vector<uintptr_t> stack_copy; in TEST_F() local
352 MakeUnwindersFactory(std::make_unique<TestUnwinder>(&stack_copy))); in TEST_F()
385 std::vector<uintptr_t> stack_copy; in TEST_F() local
390 MakeUnwindersFactory(std::make_unique<TestUnwinder>(&stack_copy))); in TEST_F()
/external/cronet/stable/base/profiler/
Dstack_copier_unittest.cc57 uintptr_t stack_copy[4]; in TEST() local
58 EXPECT_EQ(reinterpret_cast<uintptr_t>(&stack_copy[2]), in TEST()
62 reinterpret_cast<uint8_t*>(&stack_copy[0]), in TEST()
71 uintptr_t stack_copy[4]; in TEST() local
77 reinterpret_cast<uint8_t*>(&stack_copy[0]), in TEST()
91 TestStackBuffer stack_copy; in TEST() local
96 StackBuffer::kPlatformStackAlignment, &stack_copy.as_uintptr[0]); in TEST()
98 EXPECT_EQ(original_stack.as_uintptr[0], stack_copy.as_uintptr[0]); in TEST()
99 EXPECT_EQ(original_stack.as_uintptr[1], stack_copy.as_uintptr[1]); in TEST()
100 EXPECT_EQ(reinterpret_cast<uintptr_t>(&stack_copy.as_uintptr[1]), in TEST()
[all …]
Dstack_copier_suspend_unittest.cc127 std::vector<uintptr_t> stack_copy(stack_copy_bottom, in TEST() local
129 EXPECT_EQ(stack, stack_copy); in TEST()
166 std::vector<uintptr_t> stack_copy(stack_copy_bottom, in TEST() local
170 EXPECT_THAT(stack_copy, Each(kBufferInitializer)); in TEST()
192 std::vector<uintptr_t> stack_copy(stack_copy_bottom, in TEST() local
194 EXPECT_THAT(stack_copy, in TEST()
Dstack_sampler_unittest.cc149 explicit TestUnwinder(std::vector<uintptr_t>* stack_copy) in TestUnwinder() argument
150 : stack_copy_(stack_copy) {} in TestUnwinder()
313 std::vector<uintptr_t> stack_copy; in TEST_F() local
316 MakeUnwindersFactory(std::make_unique<TestUnwinder>(&stack_copy))); in TEST_F()
327 EXPECT_EQ(stack, stack_copy); in TEST_F()
349 std::vector<uintptr_t> stack_copy; in TEST_F() local
352 MakeUnwindersFactory(std::make_unique<TestUnwinder>(&stack_copy))); in TEST_F()
385 std::vector<uintptr_t> stack_copy; in TEST_F() local
390 MakeUnwindersFactory(std::make_unique<TestUnwinder>(&stack_copy))); in TEST_F()
/external/google-breakpad/src/client/linux/minidump_writer/
Dlinux_dumper.cc788 void LinuxDumper::SanitizeStackCopy(uint8_t* stack_copy, size_t stack_len, in SanitizeStackCopy() argument
846 my_memset(stack_copy, 0, offset); in SanitizeStackCopy()
852 for (sp = stack_copy + offset; in SanitizeStackCopy()
853 sp <= stack_copy + stack_len - sizeof(uintptr_t); in SanitizeStackCopy()
878 if (sp < stack_copy + stack_len) { in SanitizeStackCopy()
879 my_memset(sp, 0, stack_copy + stack_len - sp); in SanitizeStackCopy()
883 bool LinuxDumper::StackHasPointerToMapping(const uint8_t* stack_copy, in StackHasPointerToMapping() argument
897 for (const uint8_t* sp = stack_copy + offset; in StackHasPointerToMapping()
898 sp <= stack_copy + stack_len - sizeof(uintptr_t); in StackHasPointerToMapping()
Dminidump_writer.cc210 uint8_t* stack_copy; in CrashingThreadReferencesPrincipalMapping() local
217 stack_copy = reinterpret_cast<uint8_t*>(Alloc(stack_len)); in CrashingThreadReferencesPrincipalMapping()
218 dumper_->CopyFromProcess(stack_copy, GetCrashThread(), stack, stack_len); in CrashingThreadReferencesPrincipalMapping()
224 stack_copy, stack_len, stack_pointer_offset, *principal_mapping_); in CrashingThreadReferencesPrincipalMapping()
327 uintptr_t pc, int max_stack_len, uint8_t** stack_copy) { in FillThreadStack() argument
328 *stack_copy = NULL; in FillThreadStack()
349 *stack_copy = reinterpret_cast<uint8_t*>(Alloc(stack_len)); in FillThreadStack()
350 dumper_->CopyFromProcess(*stack_copy, thread->thread_id, stack, in FillThreadStack()
362 !dumper_->StackHasPointerToMapping(*stack_copy, stack_len, in FillThreadStack()
370 dumper_->SanitizeStackCopy(*stack_copy, stack_len, stack_pointer, in FillThreadStack()
[all …]
Dlinux_dumper.h140 void SanitizeStackCopy(uint8_t* stack_copy, size_t stack_len,
152 bool StackHasPointerToMapping(const uint8_t* stack_copy, size_t stack_len,
/external/cronet/stable/third_party/abseil-cpp/absl/container/
Dfixed_array_test.cc98 absl::FixedArray<int, 10> stack_copy = on_stack; in TEST() local
99 EXPECT_THAT(stack_copy, ElementsAreArray(on_stack)); in TEST()
100 EXPECT_TRUE(IsOnStack(stack_copy)); in TEST()
115 absl::FixedArray<std::unique_ptr<int>, 10> stack_copy = std::move(on_stack); in TEST() local
116 for (int i = 0; i < 5; ++i) EXPECT_EQ(*(stack_copy[i]), i); in TEST()
117 EXPECT_EQ(stack_copy.size(), on_stack.size()); in TEST()
/external/cronet/tot/third_party/abseil-cpp/absl/container/
Dfixed_array_test.cc98 absl::FixedArray<int, 10> stack_copy = on_stack; in TEST() local
99 EXPECT_THAT(stack_copy, ElementsAreArray(on_stack)); in TEST()
100 EXPECT_TRUE(IsOnStack(stack_copy)); in TEST()
115 absl::FixedArray<std::unique_ptr<int>, 10> stack_copy = std::move(on_stack); in TEST() local
116 for (int i = 0; i < 5; ++i) EXPECT_EQ(*(stack_copy[i]), i); in TEST()
117 EXPECT_EQ(stack_copy.size(), on_stack.size()); in TEST()
/external/rust/android-crates-io/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/container/
Dfixed_array_test.cc98 absl::FixedArray<int, 10> stack_copy = on_stack; in TEST() local
99 EXPECT_THAT(stack_copy, ElementsAreArray(on_stack)); in TEST()
100 EXPECT_TRUE(IsOnStack(stack_copy)); in TEST()
115 absl::FixedArray<std::unique_ptr<int>, 10> stack_copy = std::move(on_stack); in TEST() local
116 for (int i = 0; i < 5; ++i) EXPECT_EQ(*(stack_copy[i]), i); in TEST()
117 EXPECT_EQ(stack_copy.size(), on_stack.size()); in TEST()
/external/openscreen/third_party/abseil/src/absl/container/
Dfixed_array_test.cc98 absl::FixedArray<int, 10> stack_copy = on_stack; in TEST() local
99 EXPECT_THAT(stack_copy, ElementsAreArray(on_stack)); in TEST()
100 EXPECT_TRUE(IsOnStack(stack_copy)); in TEST()
115 absl::FixedArray<std::unique_ptr<int>, 10> stack_copy = std::move(on_stack); in TEST() local
116 for (int i = 0; i < 5; ++i) EXPECT_EQ(*(stack_copy[i]), i); in TEST()
117 EXPECT_EQ(stack_copy.size(), on_stack.size()); in TEST()
/external/abseil-cpp/absl/container/
Dfixed_array_test.cc98 absl::FixedArray<int, 10> stack_copy = on_stack; in TEST() local
99 EXPECT_THAT(stack_copy, ElementsAreArray(on_stack)); in TEST()
100 EXPECT_TRUE(IsOnStack(stack_copy)); in TEST()
115 absl::FixedArray<std::unique_ptr<int>, 10> stack_copy = std::move(on_stack); in TEST() local
116 for (int i = 0; i < 5; ++i) EXPECT_EQ(*(stack_copy[i]), i); in TEST()
117 EXPECT_EQ(stack_copy.size(), on_stack.size()); in TEST()
/external/angle/third_party/abseil-cpp/absl/container/
Dfixed_array_test.cc101 absl::FixedArray<int, 10> stack_copy = on_stack; in TEST() local
102 EXPECT_THAT(stack_copy, ElementsAreArray(on_stack)); in TEST()
103 EXPECT_TRUE(IsOnStack(stack_copy)); in TEST()
118 absl::FixedArray<std::unique_ptr<int>, 10> stack_copy = std::move(on_stack); in TEST() local
119 for (int i = 0; i < 5; ++i) EXPECT_EQ(*(stack_copy[i]), i); in TEST()
120 EXPECT_EQ(stack_copy.size(), on_stack.size()); in TEST()
/external/yapf/third_party/yapf_third_party/_ylib2to3/pgen2/
Dparse.py38 def stack_copy( function
54 self._points = {ilabel: stack_copy(self._start_point) for ilabel in ilabels}