Home
last modified time | relevance | path

Searched refs:clone (Results 1 – 25 of 129) sorted by relevance

123456

/haiku/src/apps/cortex/NodeManager/
H A DConnection.cpp100 const Connection& clone) { in Connection() argument
101 operator=(clone); in Connection()
105 const Connection& clone) { in operator =() argument
107 m_disconnected = clone.m_disconnected; in operator =()
108 m_id = clone.m_id; in operator =()
109 m_sourceNode = clone.m_sourceNode; in operator =()
110 m_source = clone.m_source; in operator =()
111 m_outputName = clone.m_outputName; in operator =()
112 m_outputHint = (clone.m_outputHint ? in operator =()
114 clone.m_outputHint->name.String(), in operator =()
[all …]
/haiku/src/apps/cortex/ValControl/
H A DValCtrlLayoutEntry.h93 ValCtrlLayoutEntry(const ValCtrlLayoutEntry& clone) { in ValCtrlLayoutEntry() argument
94 operator=(clone); in ValCtrlLayoutEntry()
97 ValCtrlLayoutEntry& operator=(const ValCtrlLayoutEntry& clone) {
98 type = clone.type;
99 flags = clone.flags;
100 pView = clone.pView;
102 frame = clone.frame;
103 fPadding = clone.fPadding;
/haiku/src/apps/cortex/RouteApp/
H A DNodeKey.h77 const NodeKey& clone) { _clone(clone); } in NodeKey() argument
79 const NodeKey& clone) { _clone(clone); return *this; }
114 const NodeKey& clone) { in _clone() argument
115 content = clone.content; in _clone()
116 m_node = clone.m_node; in _clone()
/haiku/src/libs/icon/
H A DIcon.cpp60 Style* clone = new (nothrow) Style(*style); in Icon() local
61 if (!clone || !fStyles.AddItem(clone)) { in Icon()
62 delete clone; in Icon()
70 VectorPath* clone = new (nothrow) VectorPath(*path); in Icon() local
71 if (!clone || !fPaths.AddItem(clone)) { in Icon()
72 delete clone; in Icon()
80 Shape* clone = shape->Clone(); in Icon() local
81 if (!clone || !fShapes.AddItem(clone)) { in Icon()
82 delete clone; in Icon()
88 PathSourceShape* pathSourceShapeClone = dynamic_cast<PathSourceShape*>(clone); in Icon()
/haiku/src/kits/media/
H A DMediaAddOn.cpp114 dormant_flavor_info::dormant_flavor_info(const dormant_flavor_info &clone) in dormant_flavor_info() argument
121 *this = clone; in dormant_flavor_info()
126 dormant_flavor_info::operator=(const dormant_flavor_info &clone) in operator =() argument
129 *this = static_cast<const flavor_info>(clone); in operator =()
131 node_info = clone.node_info; in operator =()
137 dormant_flavor_info::operator=(const flavor_info &clone) in operator =() argument
139 kinds = clone.kinds; in operator =()
140 flavor_flags = clone.flavor_flags; in operator =()
141 internal_id = clone.internal_id; in operator =()
142 possible_count = clone.possible_count; in operator =()
[all …]
H A DTimeCode.cpp266 BTimeCode::BTimeCode(const BTimeCode &clone) in BTimeCode() argument
269 if (SetType(clone.Type()) == B_OK) { in BTimeCode()
270 SetData(clone.Hours(),clone.Minutes(),clone.Seconds(),clone.Frames()); in BTimeCode()
336 BTimeCode::operator=(const BTimeCode &clone) in operator =() argument
339 fHours = clone.Hours(); in operator =()
340 fMinutes = clone.Minutes(); in operator =()
341 fSeconds = clone.Seconds(); in operator =()
342 fFrames = clone.Frames(); in operator =()
343 SetType(clone.Type()); in operator =()
/haiku/src/apps/icon-o-matic/style/
H A DSetGradientCommand.cpp63 Gradient* clone = NULL; in Perform() local
65 clone = new (nothrow) Gradient(*fGradient); in Perform()
66 if (!clone) in Perform()
77 delete clone; in Perform()
88 fStyle->SetGradient(clone); in Perform()
89 delete clone; in Perform()
/haiku/src/servers/registrar/
H A DRosterAppInfo.cpp53 RosterAppInfo *clone = new(nothrow) RosterAppInfo; in Clone() local
54 if (!clone) in Clone()
57 clone->Init(thread, team, port, flags, &ref, signature); in Clone()
58 clone->registration_time = registration_time; in Clone()
59 return clone; in Clone()
/haiku/src/servers/package/
H A DPackage.cpp41 Package* clone = new(std::nothrow) Package(fFile); in Clone() local
42 if (clone != NULL) in Clone()
43 clone->fActive = fActive; in Clone()
44 return clone; in Clone()
H A DVolumeState.cpp89 VolumeState* clone = new(std::nothrow) VolumeState; in Clone() local
90 if (clone == NULL) in Clone()
92 ObjectDeleter<VolumeState> cloneDeleter(clone); in Clone()
100 clone->AddPackage(clonedPackage); in Clone()
/haiku/src/tests/kits/support/pointerlist/
H A DPointerListTest.cpp224 _PointerList_* clone = new _PointerList_(list); in OwningTest() local
226 assert(clone->Owning() == true); in OwningTest()
231 delete clone; in OwningTest()
241 _PointerList_ clone(list); in SortTest() local
242 assert(Equals(list, clone)); in SortTest()
243 assert(clone.Owning() == false); in SortTest()
248 int lastItem = clone.CountItems()-1; in SortTest()
249 bool hasItems = clone.CountItems() > 0; in SortTest()
252 item = (Item*)clone.ItemAt(0); in SortTest()
257 clone.HSortItems(Item::Compare); in SortTest()
[all …]
/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); } in fCurrentData()
50 StatData(stat_data *data, bool clone = false)
51 : fCurrentData(NULL), fVersion(STAT_DATA_V2) { SetTo(data, clone); } in fCurrentData()
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/3rdparty/docker/bootstrap/
H A Dprep.sh14 git clone $GIT_BUILDTOOLS $WORKPATH/src/buildtools
20 git clone $GIT_HAIKUPORTER $WORKPATH/src/haikuporter
26 git clone $GIT_HAIKUPORTS $WORKPATH/src/haikuports
34 git clone $GIT_HAIKUPORTS_CROSS $WORKPATH/src/haikuports.cross
38 git clone $GIT_HAIKU $WORKPATH/src/haiku
/haiku/src/libs/icon/transformer/
H A DContourTransformer.cpp76 ContourTransformer* clone = new (nothrow) ContourTransformer(*fSource); in Clone() local
77 if (clone) { in Clone()
78 clone->line_join(line_join()); in Clone()
79 clone->inner_join(inner_join()); in Clone()
80 clone->width(width()); in Clone()
81 clone->miter_limit(miter_limit()); in Clone()
82 clone->inner_miter_limit(inner_miter_limit()); in Clone()
83 clone->auto_detect_orientation(auto_detect_orientation()); in Clone()
85 return clone; in Clone()
H A DStrokeTransformer.cpp79 StrokeTransformer* clone = new (nothrow) StrokeTransformer(*fSource); in Clone() local
80 if (clone) { in Clone()
81 clone->line_cap(line_cap()); in Clone()
82 clone->line_join(line_join()); in Clone()
83 clone->inner_join(inner_join()); in Clone()
84 clone->width(width()); in Clone()
85 clone->miter_limit(miter_limit()); in Clone()
86 clone->inner_miter_limit(inner_miter_limit()); in Clone()
87 clone->shorten(shorten()); in Clone()
89 return clone; in Clone()
/haiku/src/apps/cortex/addons/common/
H A DRawBuffer.cpp83 RawBuffer::RawBuffer(const RawBuffer& clone) { in RawBuffer() argument
84 operator=(clone); in RawBuffer()
88 RawBuffer& RawBuffer::operator=(const RawBuffer& clone) { in operator =() argument
89 m_pData = clone.m_pData; in operator =()
90 m_allocatedSize = clone.m_allocatedSize; in operator =()
91 m_frameSize = clone.m_frameSize; in operator =()
92 m_frames = clone.m_frames; in operator =()
93 m_bCircular = clone.m_bCircular; in operator =()
94 m_pPool = clone.m_pPool; in operator =()
/haiku/src/add-ons/media/media-add-ons/dvb/
H A DPacket.cpp50 Packet::Packet(const Packet &clone) in Packet() argument
52 fBufferSize = clone.Size(); in Packet()
55 fTimeStamp = clone.TimeStamp(); in Packet()
56 memcpy(fBuffer, clone.Data(), fBufferSize); in Packet()
/haiku/src/servers/media/
H A DBufferManager.cpp202 " been cloned (id %" B_PRId32 ")\n", area, info->clone); in _CloneArea()
205 return info->clone; in _CloneArea()
220 info.clone = clonedArea; in _CloneArea()
236 BufferManager::_ReleaseClonedArea(area_id clone) in _ReleaseClonedArea() argument
238 area_id source = fSourceInfoMap.Get(clone); in _ReleaseClonedArea()
243 "for id %" B_PRId32 " (clone %" B_PRId32 ")\n", source, clone); in _ReleaseClonedArea()
249 B_PRId32 " (source %" B_PRId32 ")\n", clone, source); in _ReleaseClonedArea()
251 fSourceInfoMap.Remove(clone); in _ReleaseClonedArea()
253 delete_area(clone); in _ReleaseClonedArea()
256 B_PRId32 " (source %" B_PRId32 ")\n", clone, source); in _ReleaseClonedArea()
/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);
H A Dfs_descriptors.cpp129 FileDescriptor::Dup(Descriptor *&clone) in Dup() argument
135 clone = new FileDescriptor(dupFD); in Dup()
188 DirectoryDescriptor::Dup(Descriptor *&clone) in Dup() argument
199 clone = new DirectoryDescriptor(dupDir, ref); in Dup()
251 SymlinkDescriptor::Dup(Descriptor *&clone) in Dup() argument
253 clone = new SymlinkDescriptor(path.c_str()); in Dup()
415 AttributeDescriptor::Dup(Descriptor*& clone) in Dup() argument
459 AttrDirDescriptor::Dup(Descriptor *&clone) in Dup() argument
/haiku/src/kits/package/hpkg/
H A DPackageFileHeapReader.cpp138 PackageFileHeapReader* clone = new(std::nothrow) PackageFileHeapReader( in Clone() local
141 if (clone == NULL) in Clone()
145 if (!clone->fOffsets.Init(chunkCount, fOffsets)) { in Clone()
146 delete clone; in Clone()
150 return clone; in Clone()
/haiku/src/bin/debug/strace/
H A Darea.cpp78 Syscall *clone = get_syscall("_kern_clone_area"); in patch_area() local
79 clone->GetParameter("_address")->SetInOut(true); in patch_area()
80 clone->GetParameter("addressSpec")->SetHandler( in patch_area()
82 clone->GetParameter("protection")->SetHandler( in patch_area()
/haiku/src/apps/icon-o-matic/generic/property/specific_properties/
H A DOptionProperty.cpp38 option* clone = new (nothrow) option; in OptionProperty() local
39 if (!clone || !fOptions.AddItem(clone)) { in OptionProperty()
40 delete clone; in OptionProperty()
43 clone->id = o->id; in OptionProperty()
44 clone->name = o->name; in OptionProperty()
/haiku/src/add-ons/kernel/file_systems/userlandfs/server/beos/
H A Dfs_cache.c526 ce->flags, ce->arg, ce->clone); in real_dump_cache_list()
583 nce, nce->dev, nce->block_num, nce->flags, nce->lock, nce->clone,
590 nce, nce->dev, nce->block_num, nce->flags, nce->lock, nce->clone,
828 if ((ce->flags & CE_DIRTY) == 0 && ce->clone == NULL)
842 ce && ((ce->flags & CE_BUSY) || ce->clone == NULL);
882 if ((ce->flags & CE_DIRTY) == 0 && ce->clone == NULL) in flush_cache_ent()
886 if (ce->clone == NULL && ce->lock != 0) in flush_cache_ent()
890 if (ce->clone) in flush_cache_ent()
891 data = ce->clone; in flush_cache_ent()
903 if (ce->clone) { in flush_cache_ent()
[all …]
/haiku/src/add-ons/kernel/network/stack/
H A Dnet_buffer.cpp250 Duplicate(net_buffer* buffer, net_buffer* clone) in Duplicate() argument
253 fClone(clone) in Duplicate()
270 Clone(net_buffer* buffer, bool shareFreeSpace, net_buffer* clone) in Clone() argument
273 fClone(clone), in Clone()
1238 net_buffer* clone = create_buffer(MAX_FREE_BUFFER_SIZE); in clone_buffer() local
1239 if (clone == NULL) in clone_buffer()
1242 if (append_cloned_data(clone, buffer, 0, buffer->size) != B_OK) { in clone_buffer()
1243 free_buffer(clone); in clone_buffer()
1247 copy_metadata(clone, buffer); in clone_buffer()
1248 ASSERT(clone->size == buffer->size); in clone_buffer()
[all …]

123456