Searched refs:copy (Results 1 - 25 of 105) sorted by last modified time

12345

/haiku/src/apps/activitymonitor/
H A DDataSource.cpp843 CPUFrequencyDataSource* copy = new CPUFrequencyDataSource(*this); local
844 copy->_SetCPU(cpu);
846 return copy;
991 CPUUsageDataSource* copy = new CPUUsageDataSource(*this); local
992 copy->_SetCPU(cpu);
994 return copy;
/haiku/src/kits/tracker/
H A DPoseView.cpp8 Permission is hereby granted, free of charge, to any person obtaining a copy of
11 use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
203 BObjectList<entry_ref>* copy)
207 copy->AddItem(new entry_ref(*(original->ItemAt(
1773 // copy top contents to bottom and
2125 // copy the good bits in the list
2483 // copy attributes to the clipboard
3400 FSMakeOriginalName(fileName, &destDir, " copy");
3418 // copy the data from the template file
3435 // copy th
202 CopySelectionListToEntryRefList(const PoseList* original, BObjectList<entry_ref>* copy) argument
[all...]
/haiku/src/apps/icon-o-matic/generic/gui/
H A DListViews.cpp419 bool copy = modifiers() & B_SHIFT_KEY; local
420 bool replaceAll = !message->HasPointer("list") && !copy;
437 const uchar* cursorData = copy ? kCopyCursor : B_HAND_CURSOR;
/haiku/src/servers/app/
H A DWindow.h182 inline BRegion* GetRegion(const BRegion& copy) argument
183 { return fRegionPool.GetRegion(copy); }
H A DServerWindow.cpp1241 // TODO: avoid copy operation maybe?
3928 // We need to make a copy of the picture, since it can
3930 BReference<ServerPicture> copy(App()->CreatePicture(pictureToDraw), true);
3931 picture->NestPicture(copy);
3932 picture->WriteDrawPicture(where, copy->Token());
3979 // We need to make a copy of the picture, since it can
3981 BReference<ServerPicture> copy(App()->CreatePicture(pictureToClip), true);
3982 picture->NestPicture(copy);
3983 picture->WriteClipToPicture(copy->Token(), where, inverse);
/haiku/src/kits/interface/
H A DTextView.cpp2881 text_run_array* copy = AllocRunArray(countDelta, NULL); local
2882 if (copy != NULL) {
2884 copy->runs[i].offset = orig->runs[i].offset;
2885 copy->runs[i].font = orig->runs[i].font;
2886 copy->runs[i].color = orig->runs[i].color;
2889 return copy;
4381 // copy data into buffer
4946 // if this view initiated the drag, move instead of copy
/haiku/src/kits/support/
H A DBufferedDataIO.cpp154 size_t copy = min_c(size, fSize); local
155 memcpy(buffer, fBuffer, copy);
156 TRACE("%p: copy %" B_PRIuSIZE" bytes to buffer\n", this, copy);
158 bytesRead += copy;
159 fPosition = copy;
160 fSize -= copy;
H A DString.cpp2301 @param copy If true, the current string will be copied into the new string.
2304 BString::_MakeWritable(int32 length, bool copy) argument
2310 if (copy)
/haiku/src/apps/cortex/NodeManager/
H A DNodeRef.cpp1013 // copy found inputs into vector
1014 copy(inputBuffer, inputBuffer + count,
1057 // copy found inputs matching the given type into vector
1105 // copy found outputs into vector
1106 copy(outputBuffer, outputBuffer + count,
1148 // copy found outputs matching the given type into vector
/haiku/src/servers/launch/
H A DLaunchDaemon.cpp806 Job* copy = new Job(*job); local
807 copy->SetTarget(target);
809 fJobs.insert(std::make_pair(copy->Name(), copy));
/haiku/src/tools/fs_shell/
H A Dblock_cache.cpp26 // TODO: the retrieval/copy of the original data could be delayed until the
233 // Notify listener, we need to copy the notification, as it might
235 cache_notification copy = *notification; local
238 copy.hook(copy.transaction_id, event, copy.data);
1345 // we "allocate" the parent data lazily, that means, we don't copy
/haiku/src/kits/app/
H A DMessage.cpp1119 Therefore instead of flattening into a buffer, we copy the message data
1126 The double copying is reduced to a single copy in most cases and we safe
2136 BMessage* copy = NULL; local
2144 copy = new BMessage(*this);
2145 if (copy != NULL) {
2146 header = copy->fHeader;
2257 direct->AddMessage(copy);
2258 if (direct->Queue()->IsNextMessage(copy) && port_count(port) <= 0) {
/haiku/headers/cpp/std/
H A Dbastring.h15 // You should have received a copy of the GNU General Public License
132 inline void copy (size_t, const charT *, size_t);
179 // _lib.string.cons_ construct/copy/destroy:
364 size_type copy (charT* s, size_type n, size_type pos = 0) const;
480 p->copy (0, data (), pos);
481 p->copy (pos + n2, data () + pos + n1, len - (pos + n1));
/haiku/src/servers/app/drawing/Painter/
H A DPainter.cpp1465 BRegion copy(*region);
1466 int32 count = copy.CountRects();
1467 BRect touched = FillRect(copy.RectAt(0));
1469 touched = touched | FillRect(copy.RectAt(i));
1481 BRegion copy(*region);
1482 int32 count = copy.CountRects();
1483 BRect touched = FillRect(copy.RectAt(0), gradient);
1485 touched = touched | FillRect(copy.RectAt(i), gradient);
/haiku/src/bin/debug/strace/
H A Dstrace.cpp629 char* copy = strdup(filterString); local
630 char *tok = strtok(copy, ",");
685 free(copy);
/haiku/src/servers/app/drawing/interface/virtual/
H A DDWindowHWInterface.cpp161 BMessage copy = *message;
162 copy.RemoveName("screen_where");
163 copy.RemoveName("be:transit");
164 copy.RemoveName("be:view_where");
165 copy.RemoveName("be:cursor_needed");
167 size_t length = copy.FlattenedSize();
170 if (copy.Flatten(stream, length) == B_OK)
H A DViewHWInterface.cpp230 BMessage copy = *message;
231 copy.RemoveName("screen_where");
232 copy.RemoveName("be:transit");
233 copy.RemoveName("be:view_where");
234 copy.RemoveName("be:cursor_needed");
235 copy.RemoveName("_view_token");
237 size_t length = copy.FlattenedSize();
240 if (copy.Flatten(stream, length) == B_OK)
/haiku/src/system/kernel/cache/
H A Dblock_cache.cpp33 // TODO: the retrieval/copy of the original data could be delayed until the
840 // Notify listener, we need to copy the notification, as it might
842 cache_notification copy = *notification; local
845 copy.hook(copy.transaction_id, event, copy.data);
3231 // we "allocate" the parent data lazily, that means, we don't copy
/haiku/src/kits/network/libnetservices/
H A DUrlContext.cpp78 BHttpAuthentication* copy local
80 fAuthenticationMap->Put(hostHash, copy);
98 BCertificate* copy = new(std::nothrow) BCertificate(certificate); local
99 if (copy != NULL) {
100 fCertificates.AddItem(copy);
H A DNetworkCookieJar.cpp466 BUrl copy(url);
467 copy.SetPath("/");
468 return BNetworkCookieJar::UrlIterator(this, copy);
865 // Makes a copy of the characters from the key. This is important,
H A DHttpHeaders.cpp50 BHttpHeader::BHttpHeader(const BHttpHeader& copy) argument
52 fName(copy.fName),
53 fValue(copy.fValue),
/haiku/src/add-ons/kernel/drivers/input/hid_shared/
H A DHIDParser.cpp232 global_item_state *copy = (global_item_state *)malloc( local
234 if (copy == NULL) {
239 memcpy(copy, &globalState, sizeof(global_item_state));
240 globalState.link = copy;
/haiku/headers/private/netservices/
H A DHttpHeaders.h25 BHttpHeader(const BHttpHeader& copy);
55 BHttpHeaders(const BHttpHeaders& copy);
/haiku/headers/os/support/
H A DString.h380 status_t _MakeWritable(int32 length, bool copy);
/haiku/src/system/libnetwork/
H A Dgetifaddrs.cpp34 sockaddr_storage* copy = new (std::nothrow) sockaddr_storage;
35 if (copy == NULL)
47 memcpy(copy, &address, length);
48 copy->ss_len = length;
49 return (sockaddr*)copy;

Completed in 284 milliseconds

12345