Searched refs:clone (Results 1 - 25 of 116) sorted by relevance

12345

/haiku/src/servers/package/
H A DPackage.cpp41 Package* clone = new(std::nothrow) Package(fFile); local
42 if (clone != NULL)
43 clone->fActive = fActive;
44 return clone;
H A DVolumeState.cpp89 VolumeState* clone = new(std::nothrow) VolumeState; local
90 if (clone == NULL)
92 ObjectDeleter<VolumeState> cloneDeleter(clone);
100 clone->AddPackage(clonedPackage);
/haiku/src/apps/cortex/ValControl/
H A DValCtrlLayoutEntry.h93 ValCtrlLayoutEntry(const ValCtrlLayoutEntry& clone) { argument
94 operator=(clone);
97 ValCtrlLayoutEntry& operator=(const ValCtrlLayoutEntry& clone) { argument
98 type = clone.type;
99 flags = clone.flags;
100 pView = clone.pView;
102 frame = clone.frame;
103 fPadding = clone.fPadding;
/haiku/src/apps/cortex/NodeManager/
H A DConnection.cpp100 const Connection& clone) {
101 operator=(clone);
105 const Connection& clone) {
107 m_disconnected = clone.m_disconnected;
108 m_id = clone.m_id;
109 m_sourceNode = clone.m_sourceNode;
110 m_source = clone.m_source;
111 m_outputName = clone.m_outputName;
112 m_outputHint = (clone.m_outputHint ?
114 clone
99 Connection( const Connection& clone) argument
104 operator =( const Connection& clone) argument
[all...]
/haiku/src/servers/registrar/
H A DRosterAppInfo.cpp53 RosterAppInfo *clone = new(nothrow) RosterAppInfo; local
54 if (!clone)
57 clone->Init(thread, team, port, flags, &ref, signature);
58 clone->registration_time = registration_time;
59 return clone;
/haiku/src/apps/cortex/RouteApp/
H A DNodeKey.h77 const NodeKey& clone) { _clone(clone); }
79 const NodeKey& clone) { _clone(clone); return *this; }
114 const NodeKey& clone) {
115 content = clone.content;
116 m_node = clone.m_node;
76 NodeKey( const NodeKey& clone) argument
78 operator =( const NodeKey& clone) argument
113 _clone( const NodeKey& clone) argument
/haiku/src/apps/icon-o-matic/style/
H A DSetGradientCommand.cpp62 // clone the new gradient for handling over to the style
63 Gradient* clone = NULL; local
65 clone = new (nothrow) Gradient(*fGradient);
66 if (!clone)
77 delete clone;
88 fStyle->SetGradient(clone);
89 delete clone;
/haiku/3rdparty/docker/bootstrap/
H A Dprep.sh12 # These we clone or pull updates on
14 git clone $GIT_BUILDTOOLS $WORKPATH/src/buildtools
20 git clone $GIT_HAIKUPORTER $WORKPATH/src/haikuporter
26 git clone $GIT_HAIKUPORTS $WORKPATH/src/haikuports
32 # These we just clone since modifications are likely
34 git clone $GIT_HAIKUPORTS_CROSS $WORKPATH/src/haikuports.cross
38 git clone $GIT_HAIKU $WORKPATH/src/haiku
/haiku/src/libs/icon/
H A DIcon.cpp60 Style* clone = new (nothrow) Style(*style); local
61 if (!clone || !fStyles.AddItem(clone)) {
62 delete clone;
70 VectorPath* clone = new (nothrow) VectorPath(*path); local
71 if (!clone || !fPaths.AddItem(clone)) {
72 delete clone;
80 Shape* clone = shape->Clone(); local
81 if (!clone || !fShape
[all...]
/haiku/src/add-ons/media/media-add-ons/dvb/
H A DPacketQueue.h53 PacketQueue(const PacketQueue & clone);
54 PacketQueue & operator=(PacketQueue & clone);
H A DPacket.cpp50 Packet::Packet(const Packet &clone) argument
52 fBufferSize = clone.Size();
55 fTimeStamp = clone.TimeStamp();
56 memcpy(fBuffer, clone.Data(), fBufferSize);
H A DPacket.h34 Packet(const Packet &clone);
51 Packet & operator= (const Packet &clone);
/haiku/src/tools/cppunit/cppunit/
H A DTestFailure.cpp74 TestFailure::clone() const function in class:CppUnit::TestFailure
76 return new TestFailure( m_failedTest, m_thrownException->clone(), m_isError );
/haiku/src/kits/media/
H A DMediaAddOn.cpp114 dormant_flavor_info::dormant_flavor_info(const dormant_flavor_info &clone) argument
121 *this = clone;
126 dormant_flavor_info::operator=(const dormant_flavor_info &clone) argument
128 // call operator=(const flavor_info &clone) to copy the flavor_info base class
129 *this = static_cast<const flavor_info>(clone);
131 node_info = clone.node_info;
137 dormant_flavor_info::operator=(const flavor_info &clone) argument
139 kinds = clone.kinds;
140 flavor_flags = clone.flavor_flags;
141 internal_id = clone
[all...]
H A DTimeCode.cpp266 BTimeCode::BTimeCode(const BTimeCode &clone) argument
269 if (SetType(clone.Type()) == B_OK) {
270 SetData(clone.Hours(),clone.Minutes(),clone.Seconds(),clone.Frames());
336 BTimeCode::operator=(const BTimeCode &clone) argument
339 fHours = clone.Hours();
340 fMinutes = clone.Minutes();
341 fSeconds = clone
[all...]
/haiku/src/apps/cortex/addons/common/
H A DRawBuffer.cpp83 RawBuffer::RawBuffer(const RawBuffer& clone) { argument
84 operator=(clone);
88 RawBuffer& RawBuffer::operator=(const RawBuffer& clone) { argument
89 m_pData = clone.m_pData;
90 m_allocatedSize = clone.m_allocatedSize;
91 m_frameSize = clone.m_frameSize;
92 m_frames = clone.m_frames;
93 m_bCircular = clone.m_bCircular;
94 m_pPool = clone.m_pPool;
/haiku/src/libs/icon/transformer/
H A DContourTransformer.cpp76 ContourTransformer* clone = new (nothrow) ContourTransformer(*fSource); local
77 if (clone) {
78 clone->line_join(line_join());
79 clone->inner_join(inner_join());
80 clone->width(width());
81 clone->miter_limit(miter_limit());
82 clone->inner_miter_limit(inner_miter_limit());
83 clone->auto_detect_orientation(auto_detect_orientation());
85 return clone;
H A DStrokeTransformer.cpp79 StrokeTransformer* clone = new (nothrow) StrokeTransformer(*fSource); local
80 if (clone) {
81 clone->line_cap(line_cap());
82 clone->line_join(line_join());
83 clone->inner_join(inner_join());
84 clone->width(width());
85 clone->miter_limit(miter_limit());
86 clone->inner_miter_limit(inner_miter_limit());
87 clone->shorten(shorten());
89 return clone;
[all...]
/haiku/src/build/libroot/
H A Dfs_descriptors.h30 virtual status_t Dup(Descriptor *&clone) = 0;
45 virtual status_t Dup(Descriptor *&clone);
60 virtual status_t Dup(Descriptor *&clone);
73 virtual status_t Dup(Descriptor *&clone);
96 virtual status_t Dup(Descriptor*& clone);
115 virtual status_t Dup(Descriptor *&clone);
/haiku/src/bin/debug/strace/
H A Darea.cpp78 Syscall *clone = get_syscall("_kern_clone_area"); local
79 clone->GetParameter("_address")->SetInOut(true);
80 clone->GetParameter("addressSpec")->SetHandler(
82 clone->GetParameter("protection")->SetHandler(
/haiku/src/add-ons/kernel/file_systems/reiserfs/
H A DStatItem.h48 StatData(stat_data_v1 *data, bool clone = false)
49 : fCurrentData(NULL), fVersion(STAT_DATA_V2) { SetTo(data, clone); }
50 StatData(stat_data *data, bool clone = false)
51 : fCurrentData(NULL), fVersion(STAT_DATA_V2) { SetTo(data, clone); }
54 status_t SetTo(stat_data_v1 *data, bool clone = false)
59 if (clone && data) {
71 status_t SetTo(stat_data *data, bool clone = false)
76 if (clone && data) {
230 status_t GetStatData(StatData *statData, bool clone = false) const
235 statData->SetTo(data, clone);
[all...]
/haiku/src/servers/media/
H A DBufferManager.cpp79 ERROR("RegisterBuffer: failed to clone buffer! error = %#" B_PRIx32
202 " been cloned (id %" B_PRId32 ")\n", area, info->clone);
205 return info->clone;
213 TRACE("BufferManager::_CloneArea() cloned area %" B_PRId32 ", clone id %"
220 info.clone = clonedArea;
236 BufferManager::_ReleaseClonedArea(area_id clone) argument
238 area_id source = fSourceInfoMap.Get(clone);
242 ERROR("BufferManager::_ReleaseClonedArea(): could not find clone info "
243 "for id %" B_PRId32 " (clone %" B_PRId32 ")\n", source, clone);
[all...]
/haiku/src/apps/icon-o-matic/generic/property/specific_properties/
H A DOptionProperty.cpp34 // clone the actual options
38 option* clone = new (nothrow) option; local
39 if (!clone || !fOptions.AddItem(clone)) {
40 delete clone;
43 clone->id = o->id;
44 clone->name = o->name;
/haiku/src/tests/kits/support/pointerlist/
H A DPointerListTest.cpp224 _PointerList_* clone = new _PointerList_(list); local
226 assert(clone->Owning() == true);
231 delete clone;
241 _PointerList_ clone(list);
242 assert(Equals(list, clone));
243 assert(clone.Owning() == false);
248 int lastItem = clone.CountItems()-1;
249 bool hasItems = clone.CountItems() > 0;
252 item = (Item*)clone.ItemAt(0);
257 clone
340 _PointerList_ clone; local
[all...]
/haiku/src/tests/libs/alm/
H A DHelloWorld.cpp68 BView* clone; local
69 status_t err = BUnarchiver::InstantiateObject(&archive, clone);
73 window->AddChild(clone);

Completed in 125 milliseconds

12345