Home
last modified time | relevance | path

Searched refs:destination (Results 1 – 25 of 443) sorted by relevance

12345678910>>...18

/haiku/headers/libs/zydis/Zycore/Internal/
H A DAtomicGNU.h47 ZYAN_INLINE ZyanUPointer ZyanAtomicCompareExchange(ZyanAtomicPointer* destination, in ZyanAtomicCompareExchange() argument
51 &destination->value, (void*)comparand, (void*)value, &destination->value)); in ZyanAtomicCompareExchange()
54 ZYAN_INLINE ZyanUPointer ZyanAtomicIncrement(ZyanAtomicPointer* destination) in ZyanAtomicIncrement() argument
56 return (ZyanUPointer)(__sync_fetch_and_add(&destination->value, (void*)1, in ZyanAtomicIncrement()
57 &destination->value)) + 1; in ZyanAtomicIncrement()
60 ZYAN_INLINE ZyanUPointer ZyanAtomicDecrement(ZyanAtomicPointer* destination) in ZyanAtomicDecrement() argument
62 return (ZyanUPointer)(__sync_sub_and_fetch(&destination->value, (void*)1, &destination->value)); in ZyanAtomicDecrement()
69 ZYAN_INLINE ZyanU32 ZyanAtomicCompareExchange32(ZyanAtomic32* destination, in ZyanAtomicCompareExchange32() argument
72 return (ZyanU32)(__sync_val_compare_and_swap(&destination->value, comparand, value, in ZyanAtomicCompareExchange32()
73 &destination->value)); in ZyanAtomicCompareExchange32()
[all …]
H A DAtomicMSVC.h51 static ZYAN_INLINE ZyanUPointer ZyanAtomicCompareExchange(ZyanAtomicPointer* destination, in ZyanAtomicCompareExchange() argument
54 return (ZyanUPointer)ZyanAtomicCompareExchange32((ZyanAtomic32*)destination, comparand, value); in ZyanAtomicCompareExchange()
57 static ZYAN_INLINE ZyanUPointer ZyanAtomicIncrement(ZyanAtomicPointer* destination) in ZyanAtomicIncrement() argument
59 return (ZyanUPointer)ZyanAtomicIncrement32((ZyanAtomic32*)destination); in ZyanAtomicIncrement()
62 static ZYAN_INLINE ZyanUPointer ZyanAtomicDecrement(ZyanAtomicPointer* destination) in ZyanAtomicDecrement() argument
64 return (ZyanUPointer)ZyanAtomicDecrement32((ZyanAtomic32*)destination); in ZyanAtomicDecrement()
69 static ZYAN_INLINE ZyanUPointer ZyanAtomicCompareExchange(ZyanAtomicPointer* destination,
72 return (ZyanUPointer)ZyanAtomicCompareExchange64((ZyanAtomic64*)destination, comparand, value);
75 static ZYAN_INLINE ZyanUPointer ZyanAtomicIncrement(ZyanAtomicPointer* destination)
77 return (ZyanUPointer)ZyanAtomicIncrement64((ZyanAtomic64*)destination);
[all …]
/haiku/headers/libs/zydis/Zycore/
H A DAtomic.h81 #define ZYAN_ATOMIC_COMPARE_EXCHANGE(destination, comparand, value) \ argument
82 ZyanAtomicCompareExchange((ZyanAtomicPointer*)&(destination), (comparand), (value))
87 #define ZYAN_ATOMIC_INCREMENT(destination) \ argument
88 ZyanAtomicIncrement((ZyanAtomicPointer*)&(destination));
93 #define ZYAN_ATOMIC_DECREMENT(destination) \ argument
94 ZyanAtomicDecrement((ZyanAtomicPointer*)&(destination));
103 #define ZYAN_ATOMIC_COMPARE_EXCHANGE32(destination, comparand, value) \ argument
104 ZyanAtomicCompareExchange32((ZyanAtomic32*)&(destination), (comparand), (value))
109 #define ZYAN_ATOMIC_INCREMENT32(destination) \ argument
110 ZyanAtomicIncrement32((ZyanAtomic32*)&(destination));
[all …]
/haiku/src/tests/system/libroot/posix/
H A Dwcs_test.cpp806 wchar_t destination[] = L"XXXXXXXXXXXXXXXX"; in test_wcscpy() local
807 wchar_t* result = wcscpy(destination, source); in test_wcscpy()
808 if (result != destination) { in test_wcscpy()
810 "expected %p\n", source, result, destination); in test_wcscpy()
818 if (wcslen(destination) != 0) { in test_wcscpy()
821 wcslen(destination)); in test_wcscpy()
824 if (destination[0] != L'\0') { in test_wcscpy()
826 "destination[0]=%x, expected %x\n", source, destination[0], in test_wcscpy()
830 if (destination[1] != L'X') { in test_wcscpy()
832 "destination[1]=%x, expected %x\n", source, destination[1], in test_wcscpy()
[all …]
/haiku/src/system/libroot/posix/string/arch/x86_64/
H A Darch_string.cpp47 static inline void memcpy_repmovs(uint8_t* destination, const uint8_t* source, in memcpy_repmovs() argument
51 : "+D" (destination), "+S" (source), "+c" (length) in memcpy_repmovs()
58 inline void copy_small(uint8_t* destination, const uint8_t* source) in copy_small() argument
63 *reinterpret_cast<data*>(destination) in copy_small()
75 static inline void memcpy_small(uint8_t* destination, const uint8_t* source, in memcpy_small() argument
79 table_small[length](destination, source); in memcpy_small()
81 auto to = reinterpret_cast<uint64_t*>(destination); in memcpy_small()
84 to = reinterpret_cast<uint64_t*>(destination + length - 8); in memcpy_small()
92 inline void copy_sse(__m128i* destination, const __m128i* source) in copy_sse() argument
95 _mm_storeu_si128(destination, temp); in copy_sse()
[all …]
/haiku/headers/libs/zydis/Zydis/Internal/
H A DString.h132 ZYAN_INLINE ZyanStatus ZydisStringAppend(ZyanString* destination, const ZyanStringView* source) in ZydisStringAppend() argument
134 ZYAN_ASSERT(destination && source); in ZydisStringAppend()
135 ZYAN_ASSERT(!destination->vector.allocator); in ZydisStringAppend()
136 ZYAN_ASSERT(destination->vector.size && source->string.vector.size); in ZydisStringAppend()
138 if (destination->vector.size + source->string.vector.size - 1 > destination->vector.capacity) in ZydisStringAppend()
143 ZYAN_MEMCPY((char*)destination->vector.data + destination->vector.size - 1, in ZydisStringAppend()
146 destination->vector.size += source->string.vector.size - 1; in ZydisStringAppend()
147 ZYDIS_STRING_NULLTERMINATE(destination); in ZydisStringAppend()
162 ZYAN_INLINE ZyanStatus ZydisStringAppendCase(ZyanString* destination, const ZyanStringView* source, in ZydisStringAppendCase() argument
165 ZYAN_ASSERT(destination && source); in ZydisStringAppendCase()
[all …]
/haiku/src/kits/media/
H A DBufferProducer.cpp96 if (output.destination == media_destination::null) in GetLatency()
107 if (fConsumerThis->GetLatencyFor(output.destination, &latency, in GetLatency()
111 } else if (FindLatencyFor(output.destination, &latency, &unused) in GetLatency()
185 request->destination, &reply.format, &reply.out_source, in HandleMessage()
197 Connect(request->error, request->source, request->destination, in HandleMessage()
208 Disconnect(request->source, request->destination); in HandleMessage()
284 if (command->destination == media_destination::null) in HandleMessage()
293 replycommand.info.destination = command->destination; in HandleMessage()
294 SendToPort(command->destination.port, NODE_REQUEST_COMPLETED, in HandleMessage()
307 command->destination, &replycommand.info.format, NULL); in HandleMessage()
[all …]
H A DBufferConsumer.cpp120 const media_destination& destination, const int16* shorts, int32 shortCount, in SetVideoClippingFor() argument
127 if (IS_INVALID_DESTINATION(destination)) in SetVideoClippingFor()
144 command->destination = destination; in SetVideoClippingFor()
163 const media_destination &destination, in SetOutputEnabled() argument
172 if (IS_INVALID_DESTINATION(destination)) in SetOutputEnabled()
178 command.destination = destination; in SetOutputEnabled()
191 const media_destination &destination, in RequestFormatChange() argument
200 if (IS_INVALID_DESTINATION(destination)) in RequestFormatChange()
206 command.destination = destination; in RequestFormatChange()
260 const media_destination &destination, BBufferGroup *group, void *user_data, in SetOutputBuffersFor() argument
[all …]
/haiku/src/add-ons/media/media-add-ons/video_mixer/
H A DBufferMixer.cpp49 #define ALPHABLEND(source, destination, alpha) (((destination) * (256 - (alpha)) + (source) * (alph… argument
56 uint8 *destination = (uint8 *)output->Data(); in Merge() local
66 destination[0] = ALPHABLEND(c1, destination[0], alpha); in Merge()
67 destination[1] = ALPHABLEND(c2, destination[1], alpha); in Merge()
68 destination[2] = ALPHABLEND(c3, destination[2], alpha); in Merge()
69 destination[3] = 0x00; in Merge()
70 destination += 4; in Merge()
H A DVideoMixerNodeProducer.cpp80 const media_destination &destination, in FormatChangeRequested() argument
92 fOutput.destination = destination; in FormatChangeRequested()
187 fOutput.destination = where; in PrepareToConnect()
195 const media_destination &destination, in Connect() argument
209 fOutput.destination = media_destination::null; in Connect()
218 FindLatencyFor(fOutput.destination, &downstreamLatency, &id); in Connect()
222 fOutput.destination = destination; in Connect()
258 if (fOutput.destination != where) { in Disconnect()
263 fOutput.destination = media_destination::null; in Disconnect()
353 const media_destination & destination, in LatencyChanged() argument
[all …]
/haiku/src/add-ons/kernel/network/datalink_protocols/ethernet_frame/
H A Dethernet_frame.cpp49 struct sockaddr_dl& destination = *(struct sockaddr_dl*)buffer->destination; in ethernet_deframe() local
60 destination.sdl_len = sizeof(sockaddr_dl); in ethernet_deframe()
61 destination.sdl_family = AF_LINK; in ethernet_deframe()
62 destination.sdl_index = device->index; in ethernet_deframe()
63 destination.sdl_type = IFT_ETHER; in ethernet_deframe()
64 destination.sdl_e_type = header.type; in ethernet_deframe()
65 destination.sdl_nlen = destination.sdl_slen = 0; in ethernet_deframe()
66 destination.sdl_alen = ETHER_ADDRESS_LENGTH; in ethernet_deframe()
67 memcpy(destination.sdl_data, header.destination, ETHER_ADDRESS_LENGTH); in ethernet_deframe()
70 if (!memcmp(header.destination, kBroadcastAddress, ETHER_ADDRESS_LENGTH)) in ethernet_deframe()
[all …]
/haiku/build/scripts/
H A Dgenerate_CountryFlags.sh6 destination=CountryFlags.rdef
14 echo "// Flag data for $name" >> $destination
15 echo "resource($nr,\"$id\") #'VICN' array {" >> $destination
16 tail -n +3 "$file" >> $destination
17 echo >> $destination
/haiku/src/add-ons/kernel/bluetooth/btCoreData/
H A DConnectionInterface.cpp36 interface_address.destination = (struct sockaddr*)&address_dest; in HciConnection()
82 bdaddrUtils::Copy(conn->destination, dst); in AddConnection()
84 sockaddr_l2cap* destination = (sockaddr_l2cap*)&conn->address_dest; in AddConnection() local
85 destination->l2cap_len = sizeof(sockaddr_l2cap); in AddConnection()
86 destination->l2cap_family = AF_BLUETOOTH; in AddConnection()
87 destination->l2cap_bdaddr = dst; in AddConnection()
105 RemoveConnection(const bdaddr_t& destination, hci_id hid) in RemoveConnection() argument
117 && bdaddrUtils::Compare(conn->destination, destination)) { in RemoveConnection()
165 RouteConnection(const bdaddr_t& destination) in RouteConnection() argument
175 if (bdaddrUtils::Compare(conn->destination, destination)) { in RouteConnection()
[all …]
/haiku/src/libs/zydis/Zycore/
H A DString.c126 ZyanStatus ZyanStringDuplicate(ZyanString* destination, const ZyanStringView* source, in ZyanStringDuplicate() argument
129 return ZyanStringDuplicateEx(destination, source, capacity, ZyanAllocatorDefault(), in ZyanStringDuplicate()
135 ZyanStatus ZyanStringDuplicateEx(ZyanString* destination, const ZyanStringView* source, in ZyanStringDuplicateEx() argument
145 ZYAN_CHECK(ZyanStringInitEx(destination, capacity, allocator, growth_factor, shrink_threshold)); in ZyanStringDuplicateEx()
146 ZYAN_ASSERT(destination->vector.capacity >= len); in ZyanStringDuplicateEx()
148 ZYAN_MEMCPY(destination->vector.data, source->string.vector.data, in ZyanStringDuplicateEx()
150 destination->vector.size = len; in ZyanStringDuplicateEx()
151 ZYCORE_STRING_NULLTERMINATE(destination); in ZyanStringDuplicateEx()
156 ZyanStatus ZyanStringDuplicateCustomBuffer(ZyanString* destination, const ZyanStringView* source, in ZyanStringDuplicateCustomBuffer() argument
170 ZYAN_CHECK(ZyanStringInitCustomBuffer(destination, buffer, capacity)); in ZyanStringDuplicateCustomBuffer()
[all …]
/haiku/src/apps/installer/
H A DCopyEngine.cpp137 BEntry destination(_destination); in Copy() local
138 ret = destination.InitCheck(); in Copy()
142 return _Copy(source, destination, cancelSemaphore, copyAttributes); in Copy()
185 BFile* destination = new (nothrow) BFile(&_destination, in _CopyData() local
187 ret = destination->InitCheck(); in _CopyData()
189 delete destination; in _CopyData()
204 Buffer* buffer = new (nothrow) Buffer(destination); in _CopyData()
206 delete destination; in _CopyData()
218 delete destination; in _CopyData()
238 delete destination; in _CopyData()
[all …]
/haiku/src/apps/cortex/addons/common/
H A DAudioFilterNode.cpp345 m_input.destination.port = ControlPort(); in NodeRegistered()
346 m_input.destination.id = ID_AUDIO_INPUT; in NodeRegistered()
360 m_output.destination = media_destination::null; in NodeRegistered()
392 const media_destination& destination, in AcceptFormat() argument
399 if(destination != m_input.destination) { in AcceptFormat()
427 if (m_output.destination != media_destination::null) { in AcceptFormat()
474 if(buffer->Header()->destination != in BufferReceived()
475 m_input.destination.id) { in BufferReceived()
487 if(m_output.destination == media_destination::null || in BufferReceived()
526 status_t err = SendBuffer(outBuffer, m_output.source, m_output.destination); in BufferReceived()
[all …]
/haiku/data/catalogs/apps/expander/
H A Dfr.catkeys6 Expander: Choose destination DirectoryFilePanel Expander : Choix de la destination
9 The destination is not a folder. ExpanderWindow La destination n’est pas un dossier.
19 Open destination folder after extraction ExpanderPreferences Ouvrir le dossier de destination aprè…
26 Failed to create the destination folder. ExpanderWindow Impossible de créer le dossier de destinat…
38 Set destination… ExpanderMenu Choisir la destination
43 Destination folder ExpanderPreferences Dossier de destination
45 Leave destination folder path empty ExpanderPreferences Laissez vide le chemin du dossier de desti…
46 …sn't exist. Would you like to create it? ExpanderWindow Le dossier de destination n’existe pas. V…
50 The destination is read only. ExpanderWindow La destination est en lecture seule.
H A Dbe.catkeys6 Expander: Choose destination DirectoryFilePanel Распакоўшчык: Абраць прызначэнне
8 The destination is not a folder. ExpanderWindow Прызначэнне не з´яўляецца каталёгам.
15 Open destination folder after extraction ExpanderPreferences Паказаць паку прызначэння пасля распа…
22 Failed to create the destination folder. ExpanderWindow Не ўдалося стварыць мэтавую папку.
32 Set destination… ExpanderMenu Задаць прызначэнне…
39 Leave destination folder path empty ExpanderPreferences Пакінуць пуць да пакі прызначэння пустым
44 The destination is read only. ExpanderWindow Запіс ў тэчку прызначэння не дазволены.
/haiku/src/apps/cortex/InfoView/
H A DInfoWindowManager.cpp116 const media_destination &destination, in connection_window()
119 destination(destination), in connection_window()
127 media_destination destination; member
138 const media_destination &destination, in input_window()
140 : destination(destination), in input_window()
146 media_destination destination; member
431 if (_findWindowFor(connection.source(), connection.destination(), &window)) { in openWindowFor()
464 if (_findWindowFor(input.destination, &window)) { in openWindowFor()
559 media_destination destination; in MessageReceived() local
560 if (message->FindInt32("destination_port", &destination.port) != B_OK) { in MessageReceived()
[all …]
/haiku/src/apps/cortex/addons/Flanger/
H A DFlangerNode.cpp243 m_input.destination.port = ControlPort(); in NodeRegistered()
244 m_input.destination.id = ID_AUDIO_INPUT; in NodeRegistered()
254 m_output.destination = media_destination::null; in NodeRegistered()
282 const media_destination& destination, in AcceptFormat() argument
288 if(destination != m_input.destination) { in AcceptFormat()
312 if(pBuffer->Header()->destination != in BufferReceived()
313 m_input.destination.id) { in BufferReceived()
325 if(m_output.destination == media_destination::null || in BufferReceived()
334 status_t err = SendBuffer(pBuffer, m_output.source, m_output.destination); in BufferReceived()
349 const media_destination& destination, const media_format& format, in Connected() argument
[all …]
H A DFlangerNode.h105 const media_destination& destination,
120 const media_destination& destination,
126 const media_destination& destination);
145 const media_destination& destination,
150 const media_destination& destination,
159 const media_destination& destination,
169 const media_destination& destination,
196 const media_destination& destination,
202 const media_destination& destination); //nyi
214 const media_destination& destination,
[all …]
/haiku/src/kits/interface/
H A DPolygon.cpp111 BPolygon::MapTo(BRect source, BRect destination) in MapTo() argument
114 _MapPoint(fPoints + i, source, destination); in MapTo()
116 _MapRectangle(&fBounds, source, destination); in MapTo()
214 const BRect& destination) in _MapPoint() argument
216 point->x = (point->x - source.left) * destination.Width() / source.Width() in _MapPoint()
217 + destination.left; in _MapPoint()
218 point->y = (point->y - source.top) * destination.Height() / source.Height() in _MapPoint()
219 + destination.top; in _MapPoint()
225 const BRect& destination) in _MapRectangle() argument
230 _MapPoint(&leftTop, source, destination); in _MapRectangle()
[all …]
/haiku/src/servers/app/
H A DSimpleTransform.h187 void Apply(BPoint* destination, const BPoint* source, int32 count) const in Apply() argument
191 *destination = *source; in Apply()
192 Apply(destination); in Apply()
194 destination++; in Apply()
198 void Apply(BRect* destination, const BRect* source, int32 count) const in Apply() argument
202 *destination = *source; in Apply()
203 Apply(destination); in Apply()
205 destination++; in Apply()
209 void Apply(BRegion* destination, const BRegion* source, int32 count) const in Apply() argument
213 *destination = *source; in Apply()
[all …]
/haiku/src/libs/print/libprint/
H A DPackBits.cpp48 static int Run(unsigned char* destination, const unsigned char* source, int n) in Run() argument
59 control = runbuf = destination; in Run()
141 return runbuf - destination; in Run()
152 int pack_bits(unsigned char* destination, const unsigned char* source, int size) in pack_bits() argument
155 return compressor.Run(destination, source, size); in pack_bits()
186 unsigned char* destination = new unsigned char[outSize]; in main() local
188 int cnt = pack_bits(destination, source, size); in main()
190 fwrite(destination, cnt, 1, output); in main()
196 delete [] destination; in main()
/haiku/src/add-ons/kernel/network/stack/
H A Droutes.cpp42 destination = mask = gateway = NULL; in net_route_private()
48 free(destination); in ~net_route_private()
126 route->destination, description->destination, description->mask) in find_route()
163 route->destination)) in find_route()
166 route->destination)) in find_route()
174 domain, route->destination).Data(), route->flags); in find_route()
181 AddressString(domain, route->destination).Data(), route->flags); in find_route()
276 target->destination = copy_address(buffer, route->destination); in fill_route_entry()
304 if (route->destination) in route_table_size()
305 size += route->destination->sa_len; in route_table_size()
[all …]

12345678910>>...18