Home
last modified time | relevance | path

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

12

/external/tensorflow/tensorflow/lite/
Darena_planner_test.cc185 int64_t GetOffset(int tensor_index) { in GetOffset() function in tflite::__anon43acde040111::ArenaPlannerTest
194 int64_t offset = GetOffset(tensor_index) + tensor.bytes; in GetOffsetAfter()
217 EXPECT_EQ(GetOffset(0), 0); in TEST_F()
218 EXPECT_EQ(GetOffset(10), GetOffsetAfter(0)); in TEST_F()
229 EXPECT_EQ(GetOffset(1), 0); in TEST_F()
230 EXPECT_EQ(GetOffset(2), GetOffsetAfter(1)); in TEST_F()
254 EXPECT_EQ(GetOffset(0), 0); in TEST_F()
255 EXPECT_EQ(GetOffset(1), GetOffsetAfter(0)); in TEST_F()
256 EXPECT_EQ(GetOffset(2), GetOffsetAfter(1)); in TEST_F()
257 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/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()
Dscalar_analysis_nodes.h259 inline const SENode* GetOffset() const { return offset_; } in GetOffset() function
260 inline SENode* GetOffset() { return offset_; } in GetOffset() function
/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()
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()
Dscalar_analysis_nodes.h259 inline const SENode* GetOffset() const { return offset_; } in GetOffset() function
260 inline SENode* GetOffset() { return offset_; } in GetOffset() function
/external/v8/src/mips/
Dmacro-assembler-mips.cc2827 offset = GetOffset(offset, L, OffsetSize::kOffset16); in BranchShortHelper()
2837 offset = GetOffset(offset, L, OffsetSize::kOffset26); in BranchShortHelperR6()
2860 int32_t TurboAssembler::GetOffset(int32_t offset, Label* L, OffsetSize bits) { in GetOffset() function in v8::internal::TurboAssembler
2885 offset = GetOffset(offset, L, bits); in CalculateOffset()
2893 offset = GetOffset(offset, L, bits); in CalculateOffset()
3126 offset32 = GetOffset(offset, L, OffsetSize::kOffset16); in BranchShortHelper()
3131 offset32 = GetOffset(offset, L, OffsetSize::kOffset16); in BranchShortHelper()
3136 offset32 = GetOffset(offset, L, OffsetSize::kOffset16); in BranchShortHelper()
3142 offset32 = GetOffset(offset, L, OffsetSize::kOffset16); in BranchShortHelper()
3147 offset32 = GetOffset(offset, L, OffsetSize::kOffset16); in BranchShortHelper()
[all …]
/external/v8/src/mips64/
Dmacro-assembler-mips64.cc3324 offset = GetOffset(offset, L, OffsetSize::kOffset16); in BranchShortHelper()
3334 offset = GetOffset(offset, L, OffsetSize::kOffset26); in BranchShortHelperR6()
3357 int32_t TurboAssembler::GetOffset(int32_t offset, Label* L, OffsetSize bits) { in GetOffset() function in v8::internal::TurboAssembler
3382 offset = GetOffset(offset, L, bits); in CalculateOffset()
3390 offset = GetOffset(offset, L, bits); in CalculateOffset()
3625 offset32 = GetOffset(offset, L, OffsetSize::kOffset16); in BranchShortHelper()
3630 offset32 = GetOffset(offset, L, OffsetSize::kOffset16); in BranchShortHelper()
3635 offset32 = GetOffset(offset, L, OffsetSize::kOffset16); in BranchShortHelper()
3641 offset32 = GetOffset(offset, L, OffsetSize::kOffset16); in BranchShortHelper()
3646 offset32 = GetOffset(offset, L, OffsetSize::kOffset16); in BranchShortHelper()
[all …]
/external/vixl/src/aarch64/
Dassembler-aarch64.cc159 VIXL_ASSERT((literal->GetOffset() - GetCursorOffset()) <= 0); in LinkAndGetWordOffsetTo()
160 return (literal->GetOffset() - GetCursorOffset()) >> kLiteralEntrySizeLog2; in LinkAndGetWordOffsetTo()
1108 VIXL_ASSERT(IsImmLSPair(addr.GetOffset(), CalcLSPairDataSize(op))); in LoadStorePair()
1110 int offset = static_cast<int>(addr.GetOffset()); in LoadStorePair()
1155 VIXL_ASSERT(IsImmLSPair(addr.GetOffset(), size)); in LoadStorePairNonTemporal()
1156 int offset = static_cast<int>(addr.GetOffset()); in LoadStorePairNonTemporal()
1362 VIXL_ASSERT(dst.IsImmediateOffset() && (dst.GetOffset() == 0)); in stxrb()
1370 VIXL_ASSERT(dst.IsImmediateOffset() && (dst.GetOffset() == 0)); in stxrh()
1378 VIXL_ASSERT(dst.IsImmediateOffset() && (dst.GetOffset() == 0)); in stxr()
1385 VIXL_ASSERT(src.IsImmediateOffset() && (src.GetOffset() == 0)); in ldxrb()
[all …]
/external/puffin/src/
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()
Dfile_stream.h25 bool GetOffset(uint64_t* offset) const override;
Dmemory_stream.h30 bool GetOffset(uint64_t* offset) const override;
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/puffin/src/include/puffin/
Dstream.h25 virtual bool GetOffset(uint64_t* offset) const = 0;
/external/u-boot/tools/binman/etype/
Du_boot_dtb_with_ucode.py64 self.ucode_offset = data_prop.GetOffset() + 12

12