Home
last modified time | relevance | path

Searched refs:GetOffset (Results 1 – 25 of 72) sorted by relevance

123

/external/tensorflow/tensorflow/lite/
Darena_planner_test.cc203 std::ptrdiff_t GetOffset(int tensor_index) { in GetOffset() function in tflite::__anon6b6c45860111::ArenaPlannerTest
212 std::ptrdiff_t offset = GetOffset(tensor_index) + tensor.bytes; in GetOffsetAfter()
252 EXPECT_EQ(GetOffset(0), 0); in TEST_F()
253 EXPECT_EQ(GetOffset(10), GetOffsetAfter(0)); in TEST_F()
264 EXPECT_EQ(GetOffset(1), 0); in TEST_F()
265 EXPECT_EQ(GetOffset(2), GetOffsetAfter(1)); in TEST_F()
289 EXPECT_EQ(GetOffset(0), 0); in TEST_F()
290 EXPECT_EQ(GetOffset(1), GetOffsetAfter(0)); in TEST_F()
291 EXPECT_EQ(GetOffset(2), GetOffsetAfter(1)); in TEST_F()
292 EXPECT_EQ(GetOffset(4), GetOffsetAfter(2)); in TEST_F()
[all …]
/external/google-breakpad/src/common/linux/
Ddump_symbols.cc85 using google_breakpad::GetOffset;
189 GetOffset<ElfClass, uint8_t>(elf_header, stab_section->sh_offset); in LoadStabs()
191 GetOffset<ElfClass, uint8_t>(elf_header, stabstr_section->sh_offset); in LoadStabs()
244 GetOffset<ElfClass, Shdr>(elf_header, elf_header->e_shoff); in LoadDwarf()
249 string name = GetOffset<ElfClass, char>(elf_header, in LoadDwarf()
252 const char* contents = GetOffset<ElfClass, char>(elf_header, in LoadDwarf()
340 GetOffset<ElfClass, char>(elf_header, section->sh_offset); in LoadDwarfCFI()
598 GetOffset<ElfClass, Phdr>(elf_header, elf_header->e_phoff), in LoadSymbols()
606 GetOffset<ElfClass, Shdr>(elf_header, elf_header->e_shoff); in LoadSymbols()
609 GetOffset<ElfClass, char>(elf_header, section_names->sh_offset); in LoadSymbols()
[all …]
Delfutils.cc61 GetOffset<ElfClass, Shdr>(elf_header, elf_header->e_shoff); in FindElfClassSection()
64 GetOffset<ElfClass, char>(elf_header, section_names->sh_offset); in FindElfClassSection()
96 GetOffset<ElfClass, Phdr>(elf_header, elf_header->e_phoff); in FindElfClassSegment()
Delfutils-inl.h39 const T* GetOffset(const typename ElfClass::Ehdr* elf_header, in GetOffset() function
Delfutils.h113 GetOffset(const typename ElfClass::Ehdr* elf_header,
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dscalar_analysis_simplification.cpp303 analysis_.CreateNegation(recurrent->GetOffset())); in UpdateCoefficient()
305 new_recurrent_node->AddOffset(recurrent->GetOffset()); in UpdateCoefficient()
422 new_offset->AddChild(node->GetOffset()); in FoldRecurrentAddExpressions()
426 new_offset->AddChild(analysis_.CreateNegation(node->GetOffset())); in FoldRecurrentAddExpressions()
473 new_children.push_back(child->AsSERecurrentNode()->GetOffset()); in EliminateZeroCoefficientRecurrents()
504 new_offset->AddChild(recurrent_expr->GetOffset()); in SimplifyRecurrentAddExpression()
Dscalar_analysis.cpp441 return recurrent->GetOffset(); in BuildGraphWithoutRecurrentTerm()
452 new_children.push_back(recurrent->GetOffset()); in BuildGraphWithoutRecurrentTerm()
523 if (this_as_recurrent->GetOffset() != other_as_recurrent->GetOffset()) in operator ==()
609 PushToString(reinterpret_cast<uintptr_t>(recurrent->GetOffset()), in operator ()()
869 return GetAddCombiner()(coeff_sign, Visit(node->GetOffset())); in Visit()
Dloop_peeling.cpp657 const SEConstantNode* offset = iv->GetOffset()->AsSEConstantNode(); in ProcessLoop()
943 return rec->GetOffset(); in GetValueAtFirstIteration()
949 SExpression offset = rec->GetOffset(); in GetValueAtIteration()
991 lhs_cst = rec_node->GetOffset(); in HandleEquality()
995 rhs_cst = rec_node->GetOffset(); in HandleEquality()
1030 SExpression offset = rhs->GetOffset(); in HandleInequality()
/external/angle/third_party/spirv-tools/src/source/opt/
Dscalar_analysis_simplification.cpp303 analysis_.CreateNegation(recurrent->GetOffset())); in UpdateCoefficient()
305 new_recurrent_node->AddOffset(recurrent->GetOffset()); in UpdateCoefficient()
422 new_offset->AddChild(node->GetOffset()); in FoldRecurrentAddExpressions()
426 new_offset->AddChild(analysis_.CreateNegation(node->GetOffset())); in FoldRecurrentAddExpressions()
473 new_children.push_back(child->AsSERecurrentNode()->GetOffset()); in EliminateZeroCoefficientRecurrents()
504 new_offset->AddChild(recurrent_expr->GetOffset()); in SimplifyRecurrentAddExpression()
Dscalar_analysis.cpp441 return recurrent->GetOffset(); in BuildGraphWithoutRecurrentTerm()
452 new_children.push_back(recurrent->GetOffset()); in BuildGraphWithoutRecurrentTerm()
523 if (this_as_recurrent->GetOffset() != other_as_recurrent->GetOffset()) in operator ==()
609 PushToString(reinterpret_cast<uintptr_t>(recurrent->GetOffset()), in operator ()()
869 return GetAddCombiner()(coeff_sign, Visit(node->GetOffset())); in Visit()
Dloop_peeling.cpp657 const SEConstantNode* offset = iv->GetOffset()->AsSEConstantNode(); in ProcessLoop()
943 return rec->GetOffset(); in GetValueAtFirstIteration()
949 SExpression offset = rec->GetOffset(); in GetValueAtIteration()
991 lhs_cst = rec_node->GetOffset(); in HandleEquality()
995 rhs_cst = rec_node->GetOffset(); in HandleEquality()
1030 SExpression offset = rhs->GetOffset(); in HandleInequality()
/external/deqp-deps/SPIRV-Tools/source/opt/
Dscalar_analysis_simplification.cpp303 analysis_.CreateNegation(recurrent->GetOffset())); in UpdateCoefficient()
305 new_recurrent_node->AddOffset(recurrent->GetOffset()); in UpdateCoefficient()
422 new_offset->AddChild(node->GetOffset()); in FoldRecurrentAddExpressions()
426 new_offset->AddChild(analysis_.CreateNegation(node->GetOffset())); in FoldRecurrentAddExpressions()
473 new_children.push_back(child->AsSERecurrentNode()->GetOffset()); in EliminateZeroCoefficientRecurrents()
504 new_offset->AddChild(recurrent_expr->GetOffset()); in SimplifyRecurrentAddExpression()
Dscalar_analysis.cpp441 return recurrent->GetOffset(); in BuildGraphWithoutRecurrentTerm()
452 new_children.push_back(recurrent->GetOffset()); in BuildGraphWithoutRecurrentTerm()
523 if (this_as_recurrent->GetOffset() != other_as_recurrent->GetOffset()) in operator ==()
609 PushToString(reinterpret_cast<uintptr_t>(recurrent->GetOffset()), in operator ()()
869 return GetAddCombiner()(coeff_sign, Visit(node->GetOffset())); in Visit()
Dloop_peeling.cpp657 const SEConstantNode* offset = iv->GetOffset()->AsSEConstantNode(); in ProcessLoop()
943 return rec->GetOffset(); in GetValueAtFirstIteration()
949 SExpression offset = rec->GetOffset(); in GetValueAtIteration()
991 lhs_cst = rec_node->GetOffset(); in HandleEquality()
995 rhs_cst = rec_node->GetOffset(); in HandleEquality()
1030 SExpression offset = rhs->GetOffset(); in HandleInequality()
Dloop_dependence.cpp127 if (!node->GetOffset()->AsSEConstantNode() || in AreOffsetsAndCoefficientsConstant()
128 !node->GetOffset()->AsSEConstantNode()) { in AreOffsetsAndCoefficientsConstant()
142 recurrence->GetOffset()->AsSEConstantNode()->FoldToSingleValue(); in CalculateConstantTerm()
1020 destination->AsSERecurrentNode()->GetOffset(), in WeakCrossingSIVTest()
1021 source->AsSERecurrentNode()->GetOffset())); in WeakCrossingSIVTest()
1453 constraint->GetLoop(), prime_recurrent->GetOffset(), new_child); in PropagateConstraints()
1542 destination_node->AsSERecurrentNode()->GetOffset()); in DeltaTest()
1552 c, source_node->AsSERecurrentNode()->GetOffset()); in DeltaTest()
/external/vixl/src/aarch64/
Dassembler-aarch64.cc159 VIXL_ASSERT((literal->GetOffset() - GetCursorOffset()) <= 0); in LinkAndGetWordOffsetTo()
160 return (literal->GetOffset() - GetCursorOffset()) >> kLiteralEntrySizeLog2; in LinkAndGetWordOffsetTo()
1127 VIXL_ASSERT(IsImmLSPair(addr.GetOffset(), CalcLSPairDataSize(op))); in LoadStorePair()
1129 int offset = static_cast<int>(addr.GetOffset()); in LoadStorePair()
1174 VIXL_ASSERT(IsImmLSPair(addr.GetOffset(), size)); in LoadStorePairNonTemporal()
1175 int offset = static_cast<int>(addr.GetOffset()); in LoadStorePairNonTemporal()
1393 VIXL_ASSERT(dst.IsImmediateOffset() && (dst.GetOffset() == 0)); in stxrb()
1401 VIXL_ASSERT(dst.IsImmediateOffset() && (dst.GetOffset() == 0)); in stxrh()
1409 VIXL_ASSERT(dst.IsImmediateOffset() && (dst.GetOffset() == 0)); in stxr()
1416 VIXL_ASSERT(src.IsImmediateOffset() && (src.GetOffset() == 0)); in ldxrb()
[all …]
/external/v8/src/codegen/mips64/
Dmacro-assembler-mips64.cc3359 offset = GetOffset(offset, L, OffsetSize::kOffset16); in BranchShortHelper()
3368 offset = GetOffset(offset, L, OffsetSize::kOffset26); in BranchShortHelperR6()
3390 int32_t TurboAssembler::GetOffset(int32_t offset, Label* L, OffsetSize bits) { in GetOffset() function in v8::internal::TurboAssembler
3415 *offset = GetOffset(*offset, L, bits); in CalculateOffset()
3423 *offset = GetOffset(*offset, L, bits); in CalculateOffset()
3658 offset32 = GetOffset(offset, L, OffsetSize::kOffset16); in BranchShortHelper()
3663 offset32 = GetOffset(offset, L, OffsetSize::kOffset16); in BranchShortHelper()
3668 offset32 = GetOffset(offset, L, OffsetSize::kOffset16); in BranchShortHelper()
3674 offset32 = GetOffset(offset, L, OffsetSize::kOffset16); in BranchShortHelper()
3679 offset32 = GetOffset(offset, L, OffsetSize::kOffset16); in BranchShortHelper()
[all …]
/external/v8/src/codegen/mips/
Dmacro-assembler-mips.cc2890 offset = GetOffset(offset, L, OffsetSize::kOffset16); in BranchShortHelper()
2899 offset = GetOffset(offset, L, OffsetSize::kOffset26); in BranchShortHelperR6()
2921 int32_t TurboAssembler::GetOffset(int32_t offset, Label* L, OffsetSize bits) { in GetOffset() function in v8::internal::TurboAssembler
2946 *offset = GetOffset(*offset, L, bits); in CalculateOffset()
2954 *offset = GetOffset(*offset, L, bits); in CalculateOffset()
3187 offset32 = GetOffset(offset, L, OffsetSize::kOffset16); in BranchShortHelper()
3192 offset32 = GetOffset(offset, L, OffsetSize::kOffset16); in BranchShortHelper()
3197 offset32 = GetOffset(offset, L, OffsetSize::kOffset16); in BranchShortHelper()
3203 offset32 = GetOffset(offset, L, OffsetSize::kOffset16); in BranchShortHelper()
3208 offset32 = GetOffset(offset, L, OffsetSize::kOffset16); in BranchShortHelper()
[all …]
/external/puffin/src/include/puffin/
Dstream.h25 virtual bool GetOffset(uint64_t* offset) const = 0;
/external/puffin/src/
Dfile_stream.h25 bool GetOffset(uint64_t* offset) const override;
Dmemory_stream.h30 bool GetOffset(uint64_t* offset) const override;
Dstream_unittest.cc144 ASSERT_TRUE(stream->GetOffset(&offset)); in TestSeek()
147 ASSERT_TRUE(stream->GetOffset(&offset)); in TestSeek()
150 ASSERT_TRUE(stream->GetOffset(&offset)); in TestSeek()
Dextent_stream.h30 bool GetOffset(uint64_t* offset) const override;
Dmemory_stream.cc38 bool MemoryStream::GetOffset(uint64_t* offset) const { in GetOffset() function in puffin::MemoryStream
/external/tensorflow/tensorflow/lite/delegates/gpu/cl/kernels/
Dstrided_slice.cc102 int4 GetOffset(const SliceAttributes& attr, int src_width, int src_height, in GetOffset() function
182 int4 offset = GetOffset(attributes_, src_[0]->Width(), src_[0]->Height(), in BindArguments()

123