Home
last modified time | relevance | path

Searched refs:GetIndex (Results 1 – 25 of 43) sorted by relevance

12

/third_party/mindspore/mindspore/ccsrc/backend/optimizer/somas/
Dsomas_solver_pre.h72 inline size_t GetIndex(size_t index) const { return index / bit_width_; } in GetIndex() function
97 MS_LOG(INFO) << GetIndex(index) << " " << GetBitMask(index);
99 bit_[GetIndex(index)] |= GetBitMask(index);
102 void SetBitFalse(size_t index) { bit_[GetIndex(index)] &= (~GetBitMask(index)); } in SetBitFalse()
104 bool IsBitTrue(size_t index) const { return (bit_[GetIndex(index)] & GetBitMask(index)) != 0x0; } in IsBitTrue()
/third_party/skia/src/gpu/
DGrTTopoSort.h28 SkASSERT(Traits::GetIndex(graph[i].get()) == (uint32_t) i); in GrTTopoSort_CleanExit()
111 for (uint32_t correctIndex = Traits::GetIndex((*graph)[i].get()); in GrTTopoSort()
113 correctIndex = Traits::GetIndex((*graph)[i].get())) { in GrTTopoSort()
DGrRenderTask.h229 static uint32_t GetIndex(GrRenderTask* renderTask) { in GetIndex() function
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/graph_kernel/
Deliminate_redundant_output.cc36 inline size_t GetIndex(const AnfNodePtr &getitem_node) { in GetIndex() function
76 auto idx = GetIndex(getitem); in GetGraphKernelGetitemList()
217 auto index = GetIndex(getitem); in UpdateGetitemIndex()
/third_party/node/tools/v8_gypfiles/
Dextras-libraries.cc22 int NativesCollection<EXTRAS>::GetIndex(const char* name) { in GetIndex() function in v8::internal::NativesCollection
/third_party/protobuf/python/google/protobuf/pyext/
Ddescriptor.cc781 static PyObject* GetIndex(PyBaseDescriptor *self, void *closure) { in GetIndex() function
973 { "index", (getter)GetIndex, NULL, "Index"},
1223 static PyObject* GetIndex(PyBaseDescriptor *self, void *closure) { in GetIndex() function
1261 { "index", (getter)GetIndex, NULL, "index"},
1547 static PyObject* GetIndex(PyBaseDescriptor *self, void *closure) { in GetIndex() function
1595 { "index", (getter)GetIndex, NULL, "Index"},
1673 static PyObject* GetIndex(PyBaseDescriptor *self, void *closure) { in GetIndex() function
1715 { "index", (getter)GetIndex, NULL, "Index", NULL},
1796 static PyObject* GetIndex(PyBaseDescriptor *self, void *closure) { in GetIndex() function
1827 { "index", (getter)GetIndex, NULL, "Index", NULL},
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/
DFormat.h59 size_t GetIndex() const;
DFormat.cpp39 size_t Format::GetIndex() const { in GetIndex() function in dawn_native::Format
/third_party/skia/third_party/externals/dawn/src/dawn_native/
DFormat.h111 size_t GetIndex() const;
/third_party/mindspore/mindspore/ccsrc/cxx_api/model/acl/acl_vm/
Dacl_vm.h35 bool GetIndex(const BaseRef &c, int64_t *value) override;
/third_party/skia/third_party/externals/dawn/src/dawn_native/opengl/
DDeviceGL.cpp108 ASSERT(format.GetIndex() < mFormatTable.size()); in GetGLFormat()
110 const GLFormat& result = mFormatTable[format.GetIndex()]; in GetGLFormat()
/third_party/mindspore/mindspore/ccsrc/frontend/parallel/
Dgroup_manager.h45 Status GetIndex(size_t *index);
Dgroup_manager.cc55 Status Group::GetIndex(size_t *index) { in GetIndex() function in mindspore::parallel::Group
/third_party/mindspore/mindspore/ccsrc/runtime/framework/actor/
Dswitch_actor.h99 size_t GetIndex(const OpContext<DeviceTensor> *const context);
Dswitch_actor.cc265 size_t SwitchActor::GetIndex(const OpContext<DeviceTensor> *const context) { in GetIndex() function in mindspore::runtime::SwitchActor
381 auto index = GetIndex(context); in SendOutput()
/third_party/mindspore/mindspore/lite/micro/example/mnist_stm32f746/mnist_stm32f746/include/api/
Dcell.h125 int32_t GetIndex() const { return index_; } in GetIndex() function
/third_party/mindspore/include/api/
Dcell.h126 int32_t GetIndex() const { return index_; } in GetIndex() function
/third_party/mindspore/mindspore/ccsrc/vm/
Dbackend.h62 virtual bool GetIndex(const BaseRef &c, int64_t *value);
/third_party/flutter/skia/samplecode/
DSampleFatBits.cpp369 static int GetIndex(Sample::Click* click) { in GetIndex() function in IndexClick
487 int index = IndexClick::GetIndex(click); in onClick()
/third_party/skia/samplecode/
DSampleFatBits.cpp368 static int GetIndex(Sample::Click* click) { in GetIndex() function in IndexClick
486 int index = IndexClick::GetIndex(click); in onClick()
/third_party/mindspore/mindspore/ccsrc/minddata/mindrecord/include/
Dshard_header.h79 std::shared_ptr<Index> GetIndex();
/third_party/flutter/skia/src/ports/
DSkTypeface_win_dw.cpp270 if (fDWriteFontFace->GetIndex() != SkTo<UINT32>(args.getCollectionIndex())) { in onMakeClone()
317 *ttcIndex = fDWriteFontFace->GetIndex(); in onOpenStream()
/third_party/grpc/third_party/upb/upbc/
Dprotoc-gen-upb.cc616 int GetIndex(const protobuf::FieldDescriptor* field) { in GetIndex() function
762 uint64_t idx = submsg_array.GetIndex(field); in TryFillTableEntry()
876 submsg_index = submsg_array.GetIndex(field); in WriteSource()
/third_party/skia/src/ports/
DSkTypeface_win_dw.cpp319 if (fDWriteFontFace->GetIndex() != SkTo<UINT32>(args.getCollectionIndex())) { in onMakeClone()
365 *ttcIndex = fDWriteFontFace->GetIndex(); in onOpenStream()
/third_party/skia/tools/
DToolUtils.h195 static uint32_t GetIndex(TopoTestNode* node) { return node->outputPos(); } in GetIndex() function

12