/third_party/boost/libs/multi_array/test/ |
D | dimtest.cpp | 25 template <typename Index,typename SizeType> 37 explicit index_range(Index pos) in index_range() 45 explicit index_range(Index start, Index finish, Index stride=1) in index_range() 52 index_range& start(Index s) { in start() 58 index_range& finish(Index f) { in finish() 64 index_range& stride(Index s) { stride_ = s; return *this; } in stride() 66 Index start() const in start() 71 Index get_start(Index low_index_range = 0) const in get_start() 78 Index finish() const in finish() 83 Index get_finish(Index high_index_range = 0) const in get_finish() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Option/ |
D | Option.cpp | 109 Arg *Option::acceptInternal(const ArgList &Args, unsigned &Index, in acceptInternal() argument 111 StringRef Spelling = StringRef(Args.getArgString(Index), ArgSize); in acceptInternal() 114 if (ArgSize != strlen(Args.getArgString(Index))) in acceptInternal() 116 return new Arg(*this, Spelling, Index++); in acceptInternal() 119 const char *Value = Args.getArgString(Index) + ArgSize; in acceptInternal() 120 return new Arg(*this, Spelling, Index++, Value); in acceptInternal() 124 const char *Str = Args.getArgString(Index) + ArgSize; in acceptInternal() 125 Arg *A = new Arg(*this, Spelling, Index++); in acceptInternal() 153 if (ArgSize != strlen(Args.getArgString(Index))) in acceptInternal() 156 Index += 2; in acceptInternal() [all …]
|
/third_party/boost/boost/multi_array/ |
D | index_range.hpp | 32 template <typename Index,typename SizeType> 35 typedef Index index; 159 template <typename Index, typename SizeType> 160 inline index_range<Index,SizeType> 161 operator<=(Index s, const index_range<Index,SizeType>& r) in operator <=() argument 163 return index_range<Index,SizeType>(s, r.finish(), r.stride()); in operator <=() 167 template <typename Index, typename SizeType> 168 inline index_range<Index,SizeType> 169 operator<(Index s, const index_range<Index,SizeType>& r) in operator <() argument 171 return index_range<Index,SizeType>(s + 1, r.finish(), r.stride()); in operator <() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/CodeView/ |
D | LazyRandomTypeCollection.cpp | 83 uint32_t LazyRandomTypeCollection::getOffsetOfType(TypeIndex Index) { in getOffsetOfType() argument 84 error(ensureTypeExists(Index)); in getOffsetOfType() 85 assert(contains(Index)); in getOffsetOfType() 87 return Records[Index.toArrayIndex()].Offset; in getOffsetOfType() 90 CVType LazyRandomTypeCollection::getType(TypeIndex Index) { in getType() argument 91 assert(!Index.isSimple()); in getType() 93 auto EC = ensureTypeExists(Index); in getType() 95 assert(contains(Index)); in getType() 97 return Records[Index.toArrayIndex()].Type; in getType() 100 Optional<CVType> LazyRandomTypeCollection::tryGetType(TypeIndex Index) { in tryGetType() argument [all …]
|
D | TypeTableCollection.cpp | 37 CVType TypeTableCollection::getType(TypeIndex Index) { in getType() argument 38 assert(Index.toArrayIndex() < Records.size()); in getType() 39 return CVType(Records[Index.toArrayIndex()]); in getType() 42 StringRef TypeTableCollection::getTypeName(TypeIndex Index) { in getTypeName() argument 43 if (Index.isNoneType() || Index.isSimple()) in getTypeName() 44 return TypeIndex::simpleTypeName(Index); in getTypeName() 46 uint32_t I = Index.toArrayIndex(); in getTypeName() 48 StringRef Result = NameStorage.save(computeTypeName(*this, Index)); in getTypeName() 54 bool TypeTableCollection::contains(TypeIndex Index) { in contains() argument 55 return Index.toArrayIndex() <= size(); in contains()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | LoopPass.cpp | 100 for (unsigned Index = 0; Index < getNumContainedPasses(); ++Index) { in cloneBasicBlockSimpleAnalysis() local 101 LoopPass *LP = getContainedPass(Index); in cloneBasicBlockSimpleAnalysis() 113 for (unsigned Index = 0; Index < getNumContainedPasses(); ++Index) { in deleteSimpleAnalysisValue() local 114 LoopPass *LP = getContainedPass(Index); in deleteSimpleAnalysisValue() 121 for (unsigned Index = 0; Index < getNumContainedPasses(); ++Index) { in deleteSimpleAnalysisLoop() local 122 LoopPass *LP = getContainedPass(Index); in deleteSimpleAnalysisLoop() 191 for (unsigned Index = 0; Index < getNumContainedPasses(); ++Index) { in runOnFunction() local 192 LoopPass *P = getContainedPass(Index); in runOnFunction() 211 for (unsigned Index = 0; Index < getNumContainedPasses(); ++Index) { in runOnFunction() local 212 LoopPass *P = getContainedPass(Index); in runOnFunction() [all …]
|
D | RegionPass.cpp | 68 for (unsigned Index = 0; Index < getNumContainedPasses(); ++Index) { in runOnFunction() local 69 RegionPass *RP = (RegionPass *)getContainedPass(Index); in runOnFunction() 82 for (unsigned Index = 0; Index < getNumContainedPasses(); ++Index) { in runOnFunction() local 83 RegionPass *P = (RegionPass*)getContainedPass(Index); in runOnFunction() 139 for (unsigned Index = 0; Index < getNumContainedPasses(); ++Index) { in runOnFunction() local 140 Pass *P = getContainedPass(Index); in runOnFunction() 155 for (unsigned Index = 0; Index < getNumContainedPasses(); ++Index) { in runOnFunction() local 156 RegionPass *P = (RegionPass*)getContainedPass(Index); in runOnFunction() 171 for (unsigned Index = 0; Index < getNumContainedPasses(); ++Index) { in dumpPassStructure() local 172 Pass *P = getContainedPass(Index); in dumpPassStructure()
|
/third_party/boost/boost/geometry/views/detail/ |
D | indexed_point_view.hpp | 34 template <typename Geometry, std::size_t Index> 50 return geometry::get<Index, Dimension>(m_geometry); in get() 56 geometry::set<Index, Dimension>(m_geometry, value); in set() 69 template <typename Geometry, std::size_t Index> 70 struct tag< geometry::detail::indexed_point_view<Geometry, Index> > 75 template <typename Geometry, std::size_t Index> 76 struct coordinate_type< geometry::detail::indexed_point_view<Geometry, Index> > 81 template <typename Geometry, std::size_t Index> 84 geometry::detail::indexed_point_view<Geometry, Index> 90 template <typename Geometry, std::size_t Index> [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/ |
D | HexagonBlockRanges.h | 54 IndexType(unsigned Idx) : Index(Idx) {} in IndexType() 56 static bool isInstr(IndexType X) { return X.Index >= First; } in isInstr() 72 unsigned Index = None; member 175 assert(Index >= First); 176 return Index; 180 return Index == x; 184 return Index == Idx.Index; 188 return Index != x; 192 return Index != Idx.Index; 197 assert(Index != None); [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | R600RegisterInfo.td | 44 foreach Index = 0-127 in { 47 def T#Index#_#Chan : R600RegWithChan <"T"#Index#"."#Chan, Index, Chan>; 50 def Addr#Index#_#Chan : R600RegWithChan <"T("#Index#" + AR.x)."#Chan, 51 Index, Chan>; 54 def T#Index#_XYZW : R600Reg_128 <"T"#Index#"", 55 [!cast<Register>("T"#Index#"_X"), 56 !cast<Register>("T"#Index#"_Y"), 57 !cast<Register>("T"#Index#"_Z"), 58 !cast<Register>("T"#Index#"_W")], 59 Index>; [all …]
|
/third_party/skia/third_party/externals/dawn/src/common/ |
D | ityp_vector.h | 28 template <typename Index, typename Value> 30 using I = UnderlyingType<Index>; 47 explicit vector(Index size) : Base(static_cast<I>(size)) { in vector() 50 vector(Index size, const Value& init) : Base(static_cast<I>(size), init) { in vector() 72 Value& operator[](Index i) { 73 ASSERT(i >= Index(0) && i < size()); 77 constexpr const Value& operator[](Index i) const { 78 ASSERT(i >= Index(0) && i < size()); 82 Value& at(Index i) { in at() 83 ASSERT(i >= Index(0) && i < size()); in at() [all …]
|
/third_party/giflib/ |
D | quantize.c | 70 unsigned int Index, NumOfEntries; in GifQuantizeBuffer() local 93 Index = ((RedInput[i] >> (8 - BITS_PER_PRIM_COLOR)) << in GifQuantizeBuffer() 98 ColorArrayEntries[Index].Count++; in GifQuantizeBuffer() 164 Index = ((RedInput[i] >> (8 - BITS_PER_PRIM_COLOR)) << in GifQuantizeBuffer() 169 Index = ColorArrayEntries[Index].NewColorIndex; in GifQuantizeBuffer() 170 OutputBuffer[i] = Index; in GifQuantizeBuffer() 171 if (MaxRGBError[0] < ABS(OutputColorMap[Index].Red - RedInput[i])) in GifQuantizeBuffer() 172 MaxRGBError[0] = ABS(OutputColorMap[Index].Red - RedInput[i]); in GifQuantizeBuffer() 173 if (MaxRGBError[1] < ABS(OutputColorMap[Index].Green - GreenInput[i])) in GifQuantizeBuffer() 174 MaxRGBError[1] = ABS(OutputColorMap[Index].Green - GreenInput[i]); in GifQuantizeBuffer() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/PDB/Native/ |
D | SymbolCache.cpp | 96 SymIndexId SymbolCache::createSimpleType(TypeIndex Index, in createSimpleType() argument 98 if (Index.getSimpleMode() != codeview::SimpleTypeMode::Direct) in createSimpleType() 99 return createSymbol<NativeTypePointer>(Index); in createSimpleType() 101 const auto Kind = Index.getSimpleKind(); in createSimpleType() 142 SymIndexId SymbolCache::findSymbolByTypeIndex(codeview::TypeIndex Index) { in findSymbolByTypeIndex() argument 144 const auto Entry = TypeIndexToSymbolId.find(Index); in findSymbolByTypeIndex() 149 if (Index.isSimple()) { in findSymbolByTypeIndex() 150 SymIndexId Result = createSimpleType(Index, ModifierOptions::None); in findSymbolByTypeIndex() 151 assert(TypeIndexToSymbolId.count(Index) == 0); in findSymbolByTypeIndex() 152 TypeIndexToSymbolId[Index] = Result; in findSymbolByTypeIndex() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/ |
D | IceLiveness.h | 86 SizeT Index = Node->getIndex(); in getLiveIn() local 87 resize(Index); in getLiveIn() 88 return Nodes[Index].LiveIn; in getLiveIn() 91 SizeT Index = Node->getIndex(); in getLiveOut() local 92 resize(Index); in getLiveOut() 93 return Nodes[Index].LiveOut; in getLiveOut() 97 SizeT Index = Node->getIndex(); in getLiveBegin() local 98 resize(Index); in getLiveBegin() 99 return &Nodes[Index].LiveBegin; in getLiveBegin() 102 SizeT Index = Node->getIndex(); in getLiveEnd() local [all …]
|
/third_party/boost/boost/geometry/core/ |
D | access.hpp | 78 template <typename Geometry, std::size_t Index, std::size_t Dimension> 92 std::size_t Index, 99 return traits::indexed_access<Geometry, Index, Dimension>::get(geometry); in get() 103 traits::indexed_access<Geometry, Index, Dimension>::set(b, value); in set() 111 std::size_t Index, 118 …return traits::indexed_access<typename boost::remove_pointer<Geometry>::type, Index, Dimension>::g… in get() 122 …traits::indexed_access<typename boost::remove_pointer<Geometry>::type, Index, Dimension>::set(*geo… in set() 155 std::size_t Index, 196 std::size_t Index, 199 struct indexed_access<box_tag, Box, CoordinateType, Index, Dimension, boost::false_type> [all …]
|
D | radian_access.hpp | 110 template<std::size_t Index, std::size_t Dimension, typename Geometry> 120 >(geometry::get<Index, Dimension>(geometry) in get() 126 geometry::set<Index, Dimension>(geometry, boost::numeric_cast in set() 136 template <std::size_t Index, std::size_t Dimension, typename Geometry, typename DegreeOrRadian> 143 return geometry::get<Index, Dimension>(geometry); in get() 148 geometry::set<Index, Dimension>(geometry, radians); in set() 159 std::size_t Index 161 struct radian_access_box_segment<Index, 0, Geometry, CoordinateSystem<degree> > 162 : degree_radian_converter_box_segment<Index, 0, Geometry> 170 std::size_t Index [all …]
|
/third_party/boost/boost/geometry/geometries/concepts/ |
D | segment_concept.hpp | 57 template <size_t Index, size_t Dimension, size_t DimensionCount> 63 geometry::set<Index, Dimension>(*s, geometry::get<Index, Dimension>(*s)); in apply() 64 dimension_checker<Index, Dimension + 1, DimensionCount>::apply(); in apply() 68 template <size_t Index, size_t DimensionCount> 69 struct dimension_checker<Index, DimensionCount, DimensionCount> 102 template <size_t Index, size_t Dimension, size_t DimensionCount> 108 coordinate_type coord(geometry::get<Index, Dimension>(*s)); in apply() 110 dimension_checker<Index, Dimension + 1, DimensionCount>::apply(); in apply() 114 template <size_t Index, size_t DimensionCount> 115 struct dimension_checker<Index, DimensionCount, DimensionCount>
|
D | box_concept.hpp | 55 std::size_t Index, 64 geometry::set<Index, Dimension>(*b, geometry::get<Index, Dimension>(*b)); in apply() 65 dimension_checker<Index, Dimension + 1, DimensionCount>::apply(); in apply() 69 template <std::size_t Index, std::size_t DimensionCount> 70 struct dimension_checker<Index, DimensionCount, DimensionCount> 101 std::size_t Index, 110 coordinate_type coord(geometry::get<Index, Dimension>(*b)); in apply() 112 dimension_checker<Index, Dimension + 1, DimensionCount>::apply(); in apply() 116 template <std::size_t Index, std::size_t DimensionCount> 117 struct dimension_checker<Index, DimensionCount, DimensionCount>
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/IR/ |
D | Attributes.h | 216 AttributeSetNode *getAttributes(unsigned Index) const; 240 static AttributeSet get(LLVMContext &C, unsigned Index, 242 static AttributeSet get(LLVMContext &C, unsigned Index, 244 static AttributeSet get(LLVMContext &C, unsigned Index, const AttrBuilder &B); 248 AttributeSet addAttribute(LLVMContext &C, unsigned Index, 253 AttributeSet addAttribute(LLVMContext &C, unsigned Index, StringRef Kind, 263 AttributeSet addAttributes(LLVMContext &C, unsigned Index, 269 AttributeSet removeAttribute(LLVMContext &C, unsigned Index, 275 AttributeSet removeAttribute(LLVMContext &C, unsigned Index, 281 AttributeSet removeAttributes(LLVMContext &C, unsigned Index, [all …]
|
/third_party/boost/boost/python/suite/indexing/detail/ |
D | indexing_suite_detail.hpp | 34 template <class Index> 35 bool operator()(PyObject* prox, Index i) const in operator ()() 351 template <class Container, class Index, class Policies> 356 typedef Index index_type; 360 typedef container_element<Container, Index, Policies> self_t; 363 container_element(object container, Index index) in container_element() 421 Index 428 set_index(Index i) in set_index() 450 Index index; 457 , class Index [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/ |
D | BinaryStreamArray.h | 280 const T &operator[](uint32_t Index) const { 281 assert(Index < size()); 282 uint32_t Off = Index * sizeof(T); 324 FixedStreamArrayIterator(const FixedStreamArray<T> &Array, uint32_t Index) in FixedStreamArrayIterator() argument 325 : Array(Array), Index(Index) {} in FixedStreamArrayIterator() 328 : Array(Other.Array), Index(Other.Index) {} 332 Index = Other.Index; 336 const T &operator*() const { return Array[Index]; } 337 const T &operator*() { return Array[Index]; } 341 return (Index == R.Index) && (Array == R.Array); [all …]
|
/third_party/boost/libs/multi_index/test/ |
D | test_iterators.cpp | 21 template<typename Index> 22 void test_non_const_iterators(Index& i,int target) in test_non_const_iterators() 24 typedef typename Index::iterator iterator; in test_non_const_iterators() 25 typedef typename Index::reverse_iterator reverse_iterator; in test_non_const_iterators() 50 template<typename Index> 51 void test_const_iterators(const Index& i,int target) in test_const_iterators() 53 typedef typename Index::const_iterator const_iterator; in test_const_iterators() 54 typedef typename Index::const_reverse_iterator const_reverse_iterator; in test_const_iterators() 84 template<typename Index> 85 void test_non_const_hashed_iterators(Index& i,int target) in test_non_const_hashed_iterators() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/LTO/ |
D | ThinLTOCodeGenerator.cpp | 130 const ModuleSummaryIndex &Index, in computePrevailingCopies() argument 136 for (auto &I : Index) { in computePrevailingCopies() 154 static void promoteModule(Module &TheModule, const ModuleSummaryIndex &Index) { in promoteModule() argument 155 if (renameModuleForThinLTO(TheModule, Index)) in promoteModule() 206 crossImportIntoModule(Module &TheModule, const ModuleSummaryIndex &Index, in crossImportIntoModule() argument 215 FunctionImporter Importer(Index, Loader); in crossImportIntoModule() 231 ModuleSummaryIndex *Index) { in optimizeModule() argument 245 PMB.ImportSummary = Index; in optimizeModule() 315 StringRef CachePath, const ModuleSummaryIndex &Index, StringRef ModuleID, in ModuleCacheEntry() argument 324 if (!Index.modulePaths().count(ModuleID)) in ModuleCacheEntry() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/MCA/HardwareUnits/ |
D | ResourceManager.cpp | 65 ResourceState::ResourceState(const MCProcResourceDesc &Desc, unsigned Index, in ResourceState() argument 67 : ProcResourceDescIndex(Index), ResourceMask(Mask), in ResourceState() 123 unsigned Index = getResourceStateIndex(ProcResID2Mask[I]); in ResourceManager() local 124 ResIndex2ProcResID[Index] = I; in ResourceManager() 129 unsigned Index = getResourceStateIndex(Mask); in ResourceManager() local 130 Resources[Index] = in ResourceManager() 132 Strategies[Index] = getStrategyFor(*Resources[Index]); in ResourceManager() 137 unsigned Index = getResourceStateIndex(Mask); in ResourceManager() local 138 const ResourceState &RS = *Resources[Index]; in ResourceManager() 144 uint64_t GroupMaskIdx = 1ULL << Index; in ResourceManager() [all …]
|
/third_party/boost/boost/hana/detail/ |
D | hash_table.hpp | 61 template <typename Index> 62 auto operator()(Index const&) const -> decltype( 63 hana::equal(std::declval<KeyAtIndex<Index::value>>(), 98 template <typename Bucket, typename Hash, std::size_t Index> 103 template <std::size_t ...i, typename Hash, std::size_t Index> 104 struct update_bucket<bucket<Hash, i...>, Hash, Index> { 105 using type = bucket<Hash, i..., Index>; 108 template <typename Map, typename Key, std::size_t Index, bool = 113 template <typename ...Buckets, typename Key, std::size_t Index> 114 struct bucket_insert<hash_table<Buckets...>, Key, Index, true> { [all …]
|