Home
last modified time | relevance | path

Searched refs:myPtr (Results 1 – 25 of 68) sorted by relevance

123

/dports/cad/opencascade/opencascade-7.6.0/src/LDOM/
H A DLDOM_XmlReader.cxx181 if (myPtr[2] == 0 && myPtr[3] == 0) in ReadRecord()
194 … if (myPtr[1] == 0 && Standard_Utf8UChar(myPtr[2]) == 0xFE && Standard_Utf8UChar(myPtr[3]) == 0xFF) in ReadRecord()
201 if (myPtr[1] == 47 && myPtr[2] == 118 && in ReadRecord()
202 (myPtr[3] == 43 || myPtr[3] == 47 || myPtr[3] == 56 || myPtr[3] == 57)) in ReadRecord()
205 if (myPtr[3] == 56 && myPtr[4] == 45) in ReadRecord()
212 if (myPtr[1] == 100 && myPtr[2] == 76) in ReadRecord()
219 if (myPtr[1] == 115 && myPtr[2] == 102 && myPtr[3] == 115) in ReadRecord()
240 if (myPtr[1] == 49 && Standard_Utf8UChar(myPtr[2]) == 0x95 && myPtr[3] == 51) in ReadRecord()
278 if (myPtr[2] == '-' && myPtr[3] == '-') { in ReadRecord()
320 theData.rdbuf()->sputn(myPtr, aPtr - myPtr); in ReadRecord()
[all …]
/dports/cad/opencascade/opencascade-7.6.0/inc/
H A DNCollection_LocalArray.hxx28 : myPtr (myBuffer) in NCollection_LocalArray()
34 : myPtr (myBuffer), mySize(0) {} in NCollection_LocalArray()
45 myPtr = (theItem*)Standard::Allocate (theSize * sizeof(theItem)); in Allocate()
47 myPtr = myBuffer; in Allocate()
59 return myPtr; in operator theItem*()
71 if (myPtr != myBuffer) in Deallocate()
72 Standard::Free (myPtr); in Deallocate()
78 theItem* myPtr; member in NCollection_LocalArray
H A DOSD_Parallel.hxx130 : myPtr(theOther) in UniversalIterator()
135 : myPtr (theOther.myPtr->Clone()) in UniversalIterator()
141 myPtr.reset (theOther.myPtr->Clone()); in operator =()
147 return ! myPtr->IsEqual (*theOther.myPtr); in operator !=()
152 return myPtr->IsEqual (*theOther.myPtr); in operator ==()
157 myPtr->Increment(); in operator ++()
164 myPtr->Increment(); in operator ++()
178 return dynamic_cast<OSD_Parallel::IteratorWrapper<Iterator>*>(myPtr.get())->Value(); in DownCast()
183 std::auto_ptr<IteratorInterface> myPtr; member in OSD_Parallel::UniversalIterator
185 std::unique_ptr<IteratorInterface> myPtr;
H A DNCollection_Haft.h47 myPtr = new CPPClass; in NCollection_Haft()
54 myPtr = new CPPClass (aPtr); in NCollection_Haft()
60 myPtr = new CPPClass (aPtr); in NCollection_Haft()
77 CPPClass& operator () () { return *myPtr; } in operator()
83 delete myPtr; in Nullify() local
84 myPtr = 0; in Nullify()
88 CPPClass* myPtr;
H A DNCollection_Handle.hxx43 Ptr (T* theObj) : myPtr (theObj) {} in Ptr()
46 ~Ptr () { if ( myPtr ) delete myPtr; myPtr = 0; } in ~Ptr()
57 T* myPtr; //!< Pointer to the object member in NCollection_Handle::Ptr
78 T* get () { return ((Ptr*)opencascade::handle<Standard_Transient>::get())->myPtr; } in get()
81 const T* get () const { return ((Ptr*)opencascade::handle<Standard_Transient>::get())->myPtr; } in get()
/dports/cad/opencascade/opencascade-7.6.0/src/NCollection/
H A DNCollection_LocalArray.hxx28 : myPtr (myBuffer) in NCollection_LocalArray()
34 : myPtr (myBuffer), mySize(0) {} in NCollection_LocalArray()
45 myPtr = (theItem*)Standard::Allocate (theSize * sizeof(theItem)); in Allocate()
47 myPtr = myBuffer; in Allocate()
59 return myPtr; in operator theItem*()
71 if (myPtr != myBuffer) in Deallocate()
72 Standard::Free (myPtr); in Deallocate()
78 theItem* myPtr; member in NCollection_LocalArray
H A DNCollection_Haft.h47 myPtr = new CPPClass; in NCollection_Haft()
54 myPtr = new CPPClass (aPtr); in NCollection_Haft()
60 myPtr = new CPPClass (aPtr); in NCollection_Haft()
77 CPPClass& operator () () { return *myPtr; } in operator()
83 delete myPtr; in Nullify() local
84 myPtr = 0; in Nullify()
88 CPPClass* myPtr;
H A DNCollection_Handle.hxx43 Ptr (T* theObj) : myPtr (theObj) {} in Ptr()
46 ~Ptr () { if ( myPtr ) delete myPtr; myPtr = 0; } in ~Ptr()
57 T* myPtr; //!< Pointer to the object member in NCollection_Handle::Ptr
78 T* get () { return ((Ptr*)opencascade::handle<Standard_Transient>::get())->myPtr; } in get()
81 const T* get () const { return ((Ptr*)opencascade::handle<Standard_Transient>::get())->myPtr; } in get()
/dports/devel/py-cadquery-pywrap/pywrap-e8c7bc9/opencascade/
H A DNCollection_LocalArray.hxx28 : myPtr (myBuffer) in NCollection_LocalArray()
34 : myPtr (myBuffer), mySize(0) {} in NCollection_LocalArray()
45 myPtr = (theItem*)Standard::Allocate (theSize * sizeof(theItem)); in Allocate()
47 myPtr = myBuffer; in Allocate()
59 return myPtr; in operator theItem*()
71 if (myPtr != myBuffer) in Deallocate()
72 Standard::Free (myPtr); in Deallocate()
78 theItem* myPtr; member in NCollection_LocalArray
H A DOSD_Parallel.hxx130 : myPtr(theOther) in UniversalIterator()
135 : myPtr (theOther.myPtr->Clone()) in UniversalIterator()
141 myPtr.reset (theOther.myPtr->Clone()); in operator =()
147 return ! myPtr->IsEqual (*theOther.myPtr); in operator !=()
152 return myPtr->IsEqual (*theOther.myPtr); in operator ==()
157 myPtr->Increment(); in operator ++()
164 myPtr->Increment(); in operator ++()
178 return dynamic_cast<OSD_Parallel::IteratorWrapper<Iterator>*>(myPtr.get())->Value(); in DownCast()
183 std::auto_ptr<IteratorInterface> myPtr; member in OSD_Parallel::UniversalIterator
185 std::unique_ptr<IteratorInterface> myPtr;
H A DNCollection_Haft.h47 myPtr = new CPPClass; in NCollection_Haft()
54 myPtr = new CPPClass (aPtr); in NCollection_Haft()
60 myPtr = new CPPClass (aPtr); in NCollection_Haft()
77 CPPClass& operator () () { return *myPtr; } in operator()
83 delete myPtr; in Nullify() local
84 myPtr = 0; in Nullify()
88 CPPClass* myPtr;
H A DNCollection_Handle.hxx43 Ptr (T* theObj) : myPtr (theObj) {} in Ptr()
46 ~Ptr () { if ( myPtr ) delete myPtr; myPtr = 0; } in ~Ptr()
57 T* myPtr; //!< Pointer to the object member in NCollection_Handle::Ptr
78 T* get () { return ((Ptr*)opencascade::handle<Standard_Transient>::get())->myPtr; } in get()
81 const T* get () const { return ((Ptr*)opencascade::handle<Standard_Transient>::get())->myPtr; } in get()
/dports/math/cocoalib/CoCoALib-0.99712/include/CoCoA/
H A DSugarDegree.H66 explicit SugarDegree(SugarDegreeBase* ptr): myPtr(ptr) {} in SugarDegree()
69 …SugarDegreeBase* operator->() { return myPtr.operator->(); } ///< Allow non-const member fns to b…
70 …const SugarDegreeBase* operator->() const { return myPtr.operator->(); } ///< Allow const member …
71 bool operator!=(const SugarDegree& s) const { return myPtr->myCmp(*(s.myPtr.get())) != 0; }
72 bool operator<(const SugarDegree& s) const { return myPtr->myCmp(*(s.myPtr.get())) < 0; }
73 friend bool IsInitialized(const SugarDegree& sd) { return sd.myPtr.get()!=nullptr; } in IsInitialized()
74 …friend int cmp(const SugarDegree& s1, const SugarDegree& s2) { return s1->myCmp(*(s2.myPtr.get()))… in cmp()
76 std::unique_ptr<SugarDegreeBase> myPtr;
H A DDistrMPolyInlFpPP.H87 …explicit NewSummandPtr(const DistrMPolyInlFpPP& f): myPtr(nullptr), myFp(f.myILCoeffImpl), /*myPPM… in NewSummandPtr()
88 ~NewSummandPtr() { if (myPtr == nullptr) return; myPtr->~summand(); myMemMgr.free(myPtr); } in ~NewSummandPtr()
89 const summand* get() const { return myPtr; } in get()
90 summand* operator->() { return myPtr; }
91 const summand* operator->() const { return myPtr; }
92 …summand* relinquish() { CoCoA_ASSERT(myPtr != nullptr); summand* ans = myPtr; myPtr = nullptr; re… in relinquish()
93 void myRenew() { CoCoA_ASSERT(myPtr == nullptr); alloc(); myAssignZero(); } in myRenew()
94 bool myCoeffIsZero() { CoCoA_ASSERT(myPtr != nullptr); return IsZero(myPtr->myCoeff); } in myCoeffIsZero()
96 summand* myPtr; // either nullptr or points to a summand
101 … void alloc() { CoCoA_ASSERT(myPtr == nullptr); myPtr = static_cast<summand*>(myMemMgr.alloc()); } in alloc()
[all …]
H A DDistrMPolyClean.H82 explicit NewSummandPtr(const DistrMPolyClean& f): myPtr(nullptr), myEnv(f) {} in NewSummandPtr()
83 … ~NewSummandPtr() { if (myPtr == nullptr) return; myPtr->~summand(); myEnv.myMemMgr.free(myPtr); } in ~NewSummandPtr()
84 const summand* get() const { return myPtr; } in get()
85 summand* operator->() { return myPtr; }
86 const summand* operator->() const { return myPtr; }
87 …summand* relinquish() { CoCoA_ASSERT(myPtr != nullptr); summand* ans = myPtr; myPtr = nullptr; re… in relinquish()
88 …void myRenew() { CoCoA_ASSERT(myPtr == nullptr); myPtr = static_cast<summand*>(myEnv.myMemMgr.allo… in myRenew()
89 bool myCoeffIsZero() { CoCoA_ASSERT(myPtr != nullptr); return IsZero(myPtr->myCoeff); } in myCoeffIsZero()
92 summand* myPtr;
/dports/math/giacxcas/CoCoALib-0.99700/include/CoCoA/
H A DSugarDegree.H66 explicit SugarDegree(SugarDegreeBase* ptr): myPtr(ptr) {} in SugarDegree()
69 …SugarDegreeBase* operator->() { return myPtr.operator->(); } ///< Allow non-const member fns to b…
70 …const SugarDegreeBase* operator->() const { return myPtr.operator->(); } ///< Allow const member …
71 bool operator!=(const SugarDegree& s) const { return myPtr->myCmp(*(s.myPtr.get())) != 0; }
72 bool operator<(const SugarDegree& s) const { return myPtr->myCmp(*(s.myPtr.get())) < 0; }
73 friend bool IsInitialized(const SugarDegree& sd) { return sd.myPtr.get()!=nullptr; } in IsInitialized()
74 …friend int cmp(const SugarDegree& s1, const SugarDegree& s2) { return s1->myCmp(*(s2.myPtr.get()))… in cmp()
76 std::unique_ptr<SugarDegreeBase> myPtr;
H A DDistrMPolyInlFpPP.H87 …explicit NewSummandPtr(const DistrMPolyInlFpPP& f): myPtr(nullptr), myFp(f.myILCoeffImpl), /*myPPM… in NewSummandPtr()
88 ~NewSummandPtr() { if (myPtr == nullptr) return; myPtr->~summand(); myMemMgr.free(myPtr); } in ~NewSummandPtr()
89 const summand* get() const { return myPtr; } in get()
90 summand* operator->() { return myPtr; }
91 const summand* operator->() const { return myPtr; }
92 …summand* relinquish() { CoCoA_ASSERT(myPtr != nullptr); summand* ans = myPtr; myPtr = nullptr; re… in relinquish()
93 void myRenew() { CoCoA_ASSERT(myPtr == nullptr); alloc(); myAssignZero(); } in myRenew()
94 bool myCoeffIsZero() { CoCoA_ASSERT(myPtr != nullptr); return IsZero(myPtr->myCoeff); } in myCoeffIsZero()
96 summand* myPtr; // either nullptr or points to a summand
101 … void alloc() { CoCoA_ASSERT(myPtr == nullptr); myPtr = static_cast<summand*>(myMemMgr.alloc()); } in alloc()
[all …]
H A DDistrMPolyClean.H82 explicit NewSummandPtr(const DistrMPolyClean& f): myPtr(nullptr), myEnv(f) {} in NewSummandPtr()
83 … ~NewSummandPtr() { if (myPtr == nullptr) return; myPtr->~summand(); myEnv.myMemMgr.free(myPtr); } in ~NewSummandPtr()
84 const summand* get() const { return myPtr; } in get()
85 summand* operator->() { return myPtr; }
86 const summand* operator->() const { return myPtr; }
87 …summand* relinquish() { CoCoA_ASSERT(myPtr != nullptr); summand* ans = myPtr; myPtr = nullptr; re… in relinquish()
88 …void myRenew() { CoCoA_ASSERT(myPtr == nullptr); myPtr = static_cast<summand*>(myEnv.myMemMgr.allo… in myRenew()
89 bool myCoeffIsZero() { CoCoA_ASSERT(myPtr != nullptr); return IsZero(myPtr->myCoeff); } in myCoeffIsZero()
92 summand* myPtr;
H A DTmpJBDatastructure.H474 : myPtr(nullptr), in JanetHandle()
485 : myPtr(node.myClone()), in JanetHandle()
490 : myPtr(NodePtr), in JanetHandle()
498 : myPtr(handle.myPtr), in JanetHandle()
516 myPtr = rhs.myPtr;
525 if (!myPtr)
527 return myPtr;
534 if (myPtr == nullptr)
536 return *myPtr;
540 return myPtr; in get()
[all …]
/dports/cad/opencascade/opencascade-7.6.0/src/OSD/
H A DOSD_Parallel.hxx130 : myPtr(theOther) in UniversalIterator()
135 : myPtr (theOther.myPtr->Clone()) in UniversalIterator()
141 myPtr.reset (theOther.myPtr->Clone()); in operator =()
147 return ! myPtr->IsEqual (*theOther.myPtr); in operator !=()
152 return myPtr->IsEqual (*theOther.myPtr); in operator ==()
157 myPtr->Increment(); in operator ++()
164 myPtr->Increment(); in operator ++()
178 return dynamic_cast<OSD_Parallel::IteratorWrapper<Iterator>*>(myPtr.get())->Value(); in DownCast()
183 std::auto_ptr<IteratorInterface> myPtr; member in OSD_Parallel::UniversalIterator
185 std::unique_ptr<IteratorInterface> myPtr;
/dports/math/giacxcas/CoCoALib-0.99700/src/AlgebraicCore/
H A Dideal.C48 myPtr(IPtr) in ideal()
59 myPtr = tmp.myPtr; in ideal()
72 myPtr = tmp.myPtr; in ideal()
86 myPtr = tmp.myPtr; in ideal()
101 myPtr = tmp.myPtr; in ideal()
111 myPtr = tmp.myPtr; in ideal()
122 myPtr = tmp.myPtr; in ideal()
130 myPtr = copy.myPtr; in ideal()
139 myPtr = rhs.myPtr;
155 I.myPtr = NewPtr; in MakeUnique()
[all …]
/dports/math/cocoalib/CoCoALib-0.99712/src/AlgebraicCore/
H A Dideal.C48 myPtr(IPtr) in ideal()
59 myPtr = tmp.myPtr; in ideal()
72 myPtr = tmp.myPtr; in ideal()
86 myPtr = tmp.myPtr; in ideal()
101 myPtr = tmp.myPtr; in ideal()
111 myPtr = tmp.myPtr; in ideal()
122 myPtr = tmp.myPtr; in ideal()
130 myPtr = copy.myPtr; in ideal()
139 myPtr = rhs.myPtr;
155 I.myPtr = NewPtr; in MakeUnique()
[all …]
/dports/editors/calligra/calligra-3.2.1/filters/words/msword-odf/wv2/src/
H A Dword97_helper.cpp803 myPtr += 2; in applyPAPSPRM()
805 myPtr += 2; in applyPAPSPRM()
860 myPtr += 2; in applyPAPSPRM()
1294 myPtr += 2; in applyCHPSPRM()
1296 myPtr += 2; in applyCHPSPRM()
2184 myPtr += 2; in applyTAPSPRM()
2198 myPtr += tcSize; in applyTAPSPRM()
2530 … rgtc[ i ].brcTop.cv = ((*(myPtr + i*4))<<16) | ((*(myPtr + 1 + i*4))<<8) | (*(myPtr + 2 + i*4)) ; in applyTAPSPRM()
2539 …rgtc[ i ].brcLeft.cv = ((*(myPtr + i*4))<<16) | ((*(myPtr + 1 + i*4))<<8) | (*(myPtr + 2 + i*4)) ; in applyTAPSPRM()
2548 …rgtc[ i ].brcRight.cv = ((*(myPtr + i*4))<<16) | ((*(myPtr + 1 + i*4))<<8) | (*(myPtr + 2 + i*4))… in applyTAPSPRM()
[all …]
/dports/textproc/wv2/wv2-0.4.2/src/
H A Dword97_helper.cpp740 myPtr += 2; in applyPAPSPRM()
742 myPtr += 2; in applyPAPSPRM()
788 U8 cch = *myPtr++; in applyPAPSPRM()
797 myPtr += 2; in applyPAPSPRM()
1193 myPtr += 2; in applyCHPSPRM()
1195 myPtr += 2; in applyCHPSPRM()
1973 myPtr += 2; in applyTAPSPRM()
2270 … rgtc[ i ].brcTop.cv = ((*(myPtr + i*4))<<16) | ((*(myPtr + 1 + i*4))<<8) | (*(myPtr + 2 + i*4)) ; in applyTAPSPRM()
2279 …rgtc[ i ].brcLeft.cv = ((*(myPtr + i*4))<<16) | ((*(myPtr + 1 + i*4))<<8) | (*(myPtr + 2 + i*4)) ; in applyTAPSPRM()
2288 …rgtc[ i ].brcRight.cv = ((*(myPtr + i*4))<<16) | ((*(myPtr + 1 + i*4))<<8) | (*(myPtr + 2 + i*4))… in applyTAPSPRM()
[all …]
/dports/science/InsightToolkit/ITK-5.0.1/Modules/Core/Common/test/
H A DitkImportContainerTest.cxx93 auto * myPtr = new float[2000]; in itkImportContainerTest() local
106 container1->SetImportPointer(myPtr, 2000); in itkImportContainerTest()
115 *(myPtr + 500) = 500.0; in itkImportContainerTest()
127 if (*(myPtr + 500) != 500.0) in itkImportContainerTest()
142 if (*(myPtr + 500) != 500.0) in itkImportContainerTest()
159 if (*(myPtr + 500) != 500.0) in itkImportContainerTest()
253 delete[] myPtr; in itkImportContainerTest()

123