/haiku/src/tests/system/network/multicast/ |
H A D | multisend.c | 25 const char *source, const int ttl); 46 char *source = NULL; local 57 source = optarg; 72 fd = open_multicast_socket(argv[0], argv[1], source, ttl); 101 const char *source, const int ttl) 116 err_quit("getaddrinfo(%s, %s): %s", source, port, gai_strerror(err)); 143 if (source) { 151 if ((err = getaddrinfo(source, port, &shints, &sai)) != 0) 152 err_quit("getaddrinfo(%s, %s): %s", source, port, 195 if (source) { /* XX 100 open_multicast_socket(const char *group, const char *port, const char *source, const int ttl) argument [all...] |
/haiku/src/tests/system/network/icmp/ |
H A D | icmp_dumper.cpp | 34 struct sockaddr_in source; local 35 socklen_t addrLen = sizeof(source); 40 (struct sockaddr*)&source, &addrLen)) > 0) { 44 if (!inet_ntop(AF_INET, &source.sin_addr, host, sizeof(host)))
|
/haiku/src/system/kernel/ |
H A D | convertutf.cpp | 59 utf16_to_utf8(const uint16* source, size_t sourceCodeUnitCount, char* target, argument 62 if (source == NULL || sourceCodeUnitCount == 0 71 ? B_LENDIAN_TO_HOST_INT32(source[i]) 72 : B_BENDIAN_TO_HOST_INT32(source[i]); 86 ? B_LENDIAN_TO_HOST_INT32(source[i + 1]) 87 : B_BENDIAN_TO_HOST_INT32(source[i + 1]); 121 utf16le_to_utf8(const uint16* source, size_t sourceCodeUnitCount, argument 124 return utf16_to_utf8(source, sourceCodeUnitCount, target, targetLength, 130 utf16be_to_utf8(const uint16* source, size_t sourceCodeUnitCount, argument 133 return utf16_to_utf8(source, sourceCodeUnitCoun [all...] |
/haiku/src/kits/debugger/arch/x86/ |
H A D | ArchitectureX86.cpp | 607 DisassembledCode* source = new(std::nothrow) DisassembledCode( local 609 if (source == NULL) 611 BReference<DisassembledCode> sourceReference(source, true); 621 if (!source->AddCommentLine((functionName << ':').String())) 632 if (!source->AddInstructionLine(line, instructionAddress,
|
/haiku/src/apps/tv/ |
H A D | Controller.cpp | 300 err = gMediaRoster->Connect(output.source, input.destination, &fmt, &audio_output, &audio_input); 327 err = gMediaRoster->Connect(output.source, input.destination, &fmt, &video_output, &video_input); 339 err = gMediaRoster->Connect(output.source, input.destination, &fmt, &video_output, &video_input); 349 HandleError("Can't get time source", err); 354 HandleError("Can't set dvb time source", err); 357 HandleError("Can't set audio mixer time source", err); 360 HandleError("Can't set video window time source", err); 436 // HandleError("Can't release time source node", err); 472 if (input.source.port != output.source [all...] |
/haiku/src/add-ons/kernel/network/datalink_protocols/ethernet_frame/ |
H A D | ethernet_frame.cpp | 48 struct sockaddr_dl& source = *(struct sockaddr_dl*)buffer->source; local 51 source.sdl_len = sizeof(sockaddr_dl); 52 source.sdl_family = AF_LINK; 53 source.sdl_index = device->index; 54 source.sdl_type = IFT_ETHER; 55 source.sdl_e_type = header.type; 56 source.sdl_nlen = source.sdl_slen = 0; 57 source 143 struct sockaddr_dl& source = *(struct sockaddr_dl*)buffer->source; local [all...] |
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/contrib/ath_hal/ar9300/ |
H A D | ar9300_eeprom.c | 86 * by setting source to calibration_data_none=0. 88 void ar9300_calibration_data_set(struct ath_hal *ah, int32_t source) argument 91 AH9300(ah)->calibration_data_source = source; 93 calibration_data_try = source;
|
/haiku/headers/private/kernel/boot/net/ |
H A D | NetDefs.h | 89 mac_addr_t source; /* source ether addr */ member in struct:ether_header 155 ip_addr_t source; // source IP address member in struct:ip_header 181 uint16 source; // source port member in struct:udp_header 192 uint16 source; // source port member in struct:tcp_header
|
/haiku/headers/build/ |
H A D | HaikuBuildCompatibility.h | 7 with the current Haiku source anymore). 10 kludges in our source files at a minimum. 117 extern size_t strlcat(char *dest, const char *source, size_t length); 118 extern size_t strlcpy(char *dest, const char *source, size_t length);
|
/haiku/src/kits/translation/ |
H A D | TranslationUtils.cpp | 318 \param source the stream with the styled text 328 BTranslationUtils::GetStyledText(BPositionIO* source, BTextView* intoView, argument 331 if (source == NULL || intoView == NULL) 348 if (roster->Translate(source, NULL, &config, &mallocIO, 441 BTranslationUtils::GetStyledText(BPositionIO* source, BTextView* intoView, argument 444 return GetStyledText(source, intoView, NULL, roster);
|
/haiku/src/servers/media/ |
H A D | NotificationManager.cpp | 12 * * Redistributions of source code must retain the above copyright notice, 176 const media_source *source; local 221 msg->FindData("source", B_RAW_TYPE, 222 reinterpret_cast<const void **>(&source), &size); 228 if (n->node.port != source->port
|
H A D | DefaultManager.cpp | 371 // We do not search for the system time source, 396 // The normal time source is searched for after the 574 // The BeOS R5 None Out node pretend to be a physical time source, 732 rv = fRoster->Connect(output.source, input.destination, &format,
|
/haiku/src/kits/media/legacy/ |
H A D | OldMediaModule.cpp | 584 BEventStream *source) 582 BMediaChannel(mk_rate rate, BMediaRenderer *renderer, BEventStream *source) argument
|
/haiku/src/kits/media/experimental/ |
H A D | MediaConnection.cpp | 137 fConnection.source.port = fOwner->fNode->ControlPort(); 138 fConnection.source.id = fConnection.id; 145 fConnection.source = media_source::null; 153 return fConnection.source;
|
H A D | MediaClientDefs.cpp | 68 input.source = source; 81 output.source = source;
|
/haiku/src/kits/media/ |
H A D | Notifications.cpp | 12 * * Redistributions of source code must retain the above copyright notice, 171 ConnectionBroken(const media_source& source, argument 177 msg.AddData("source", B_RAW_TYPE, &source, sizeof(source)); 213 FormatChanged(const media_source& source, const media_destination& destination, argument 219 msg.AddData("source", B_RAW_TYPE, &source, sizeof(source));
|
H A D | BufferProducer.cpp | 70 BBufferProducer::VideoClippingChanged(const media_source& source, argument 182 reply.out_source = request->source; 184 status_t status = PrepareToConnect(request->source, 197 Connect(request->error, request->source, request->destination, 208 Disconnect(request->source, request->destination); 283 status_t status = SetBufferGroup(command->source, group); 292 replycommand.info.source = command->source; 306 status_t status = FormatChangeRequested(command->source, 316 replycommand.info.source 407 AdditionalBufferRequested(const media_source& source, media_buffer_id previousBuffer, bigtime_t previousTime, const media_seek_tag* previousTag) argument 417 LatencyChanged(const media_source& source, const media_destination& destination, bigtime_t newLatency, uint32 flags) argument 426 SendBuffer(BBuffer* buffer, const media_source& source, const media_destination& destination) argument 497 ChangeFormat(const media_source& source, const media_destination& destination, media_format* format) argument [all...] |
/haiku/headers/private/media/ |
H A D | MediaDebug.h | 21 #define PRINT_INPUT(_text, _in) do { char _buf[300]; string_for_format((_in).format, _buf, sizeof(_buf)); printf("%s node(node %" B_PRId32 ", port %" B_PRId32 "); source(port %" B_PRId32 ", id %" B_PRId32 "); dest(port %" B_PRId32 ", id %" B_PRId32 "); fmt(%s); name(%s)\n", (_text), (_in).node.node, (_in).node.port, (_in).source.port, (_in).source.id, (_in).destination.port, (_in).destination.id, _buf, (_in).name); } while (0) 22 #define PRINT_OUTPUT(_text, _out) do { char _buf[300]; string_for_format((_out).format, _buf, sizeof(_buf)); printf("%s node(node %" B_PRId32 ", port %" B_PRId32 "); source(port %" B_PRId32 ", id %" B_PRId32 "); dest(port %" B_PRId32 ", id %" B_PRId32 "); fmt(%s); name(%s)\n", (_text), (_out).node.node, (_out).node.port, (_out).source.port, (_out).source.id, (_out).destination.port, (_out).destination.id, _buf, (_out).name); } while (0)
|
/haiku/headers/private/system/ |
H A D | convertutf.h | 18 ssize_t utf16le_to_utf8(const uint16* source, size_t sourceCodeUnitCount, 21 ssize_t utf16be_to_utf8(const uint16* source, size_t sourceCodeUnitCount,
|
/haiku/src/tests/kits/support/ |
H A D | ByteOrderTest.cpp | 271 #define TEST(type, source, target) \ 272 memcpy(target, source, sizeof(source)); \ 276 CHK(!memcmp(target, source, sizeof(source))); \ 278 CHK(!memcmp(target, source, sizeof(source))); \ 281 CHK(memcmp(target, source, sizeof(source))); \ 283 CHK(!memcmp(target, source, sizeo [all...] |
/haiku/src/servers/app/drawing/interface/remote/ |
H A D | RemoteMessage.h | 134 RemoteMessage(StreamingRingBuffer* source, 206 RemoteMessage::RemoteMessage(StreamingRingBuffer* source, argument 209 fSource(source),
|
/haiku/src/kits/debugger/elf/ |
H A D | ElfFile.cpp | 335 SymbolLookupSource* source = new(std::nothrow) SymbolLookupSource(fFD); local 336 if (source == NULL 337 || !source->AddSegment(fileOffset, fileLength, memoryAddress)) { 338 delete source; 342 return source; 361 // create a source with a segment for each section 362 SymbolLookupSource* source = new(std::nothrow) SymbolLookupSource(fFD); local 363 if (source == NULL) 365 BReference<SymbolLookupSource> sourceReference(source, true); 367 if (!source [all...] |
/haiku/src/apps/mail/ |
H A D | QueryList.h | 25 virtual void EntryCreated(QueryList& source, 27 virtual void EntryRemoved(QueryList& source,
|
/haiku/src/kits/app/ |
H A D | LaunchRoster.cpp | 261 BLaunchRoster::RegisterEvent(const BMessenger& source, const char* name, argument 264 return _UpdateEvent(B_REGISTER_LAUNCH_EVENT, source, name, flags); 269 BLaunchRoster::UnregisterEvent(const BMessenger& source, const char* name) argument 271 return _UpdateEvent(B_UNREGISTER_LAUNCH_EVENT, source, name); 276 BLaunchRoster::NotifyEvent(const BMessenger& source, const char* name) argument 278 return _UpdateEvent(B_NOTIFY_LAUNCH_EVENT, source, name); 283 BLaunchRoster::ResetStickyEvent(const BMessenger& source, const char* name) argument 285 return _UpdateEvent(B_RESET_STICKY_LAUNCH_EVENT, source, name); 393 BLaunchRoster::_UpdateEvent(uint32 what, const BMessenger& source, argument 402 status = request.AddMessenger("source", sourc [all...] |
/haiku/headers/private/app/ |
H A D | LaunchRoster.h | 45 status_t RegisterEvent(const BMessenger& source, 47 status_t UnregisterEvent(const BMessenger& source, 49 status_t NotifyEvent(const BMessenger& source, 51 status_t ResetStickyEvent(const BMessenger& source, 72 const BMessenger& source, const char* name,
|