Searched refs:source (Results 26 - 50 of 487) sorted by relevance

1234567891011>>

/haiku/src/add-ons/media/plugins/http_streamer/
H A DHTTPStreamerPlugin.cpp27 HTTPStreamer::Sniff(const BUrl& url, BDataIO** source) argument
35 *source = outSource;
/haiku/src/add-ons/media/plugins/rtsp_streamer/
H A DRTSPStreamerPlugin.cpp18 RTSPStreamer::Sniff(const BUrl& url, BDataIO** source) argument
23 *source = outSource;
/haiku/src/libs/icon/transformer/
H A DTransformerFactory.h39 VertexSource& source,
43 VertexSource& source,
H A DAffineTransformer.h36 VertexSource& source);
38 VertexSource& source,
50 virtual void SetSource(VertexSource& source);
H A DStrokeTransformer.h33 VertexSource& source);
35 VertexSource& source,
47 virtual void SetSource(VertexSource& source);
H A DContourTransformer.h33 VertexSource& source);
35 VertexSource& source,
47 virtual void SetSource(VertexSource& source);
/haiku/src/kits/game/
H A DGSUtility.cpp96 media_to_gs_format(gs_audio_format* dest, media_raw_audio_format* source) argument
98 dest->format = source->format;
99 dest->frame_rate = source->frame_rate;
100 dest->channel_count = source->channel_count;
101 dest->byte_order = source->byte_order;
102 dest->buffer_size = source->buffer_size;
/haiku/src/system/kernel/
H A Dconvertutf.cpp59 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/tests/system/libroot/posix/
H A Dwcs_test.cpp805 const wchar_t* source = L""; local
807 wchar_t* result = wcscpy(destination, source);
810 "expected %p\n", source, result, destination);
815 "expected 0\n", source, errno);
820 "wcslen(destination)=%lu, expected 0\n", source,
826 "destination[0]=%x, expected %x\n", source, destination[0],
832 "destination[1]=%x, expected %x\n", source, destination[1],
839 const wchar_t* source = L"test"; local
841 wchar_t* result = wcscpy(destination, source);
844 "expected %p\n", source, resul
897 const wchar_t* source = L"t\\xE4st"; local
955 const wchar_t* source = L"te\\x00st"; local
1001 const wchar_t* source = L"t\\xE4st"; local
1023 const wchar_t* source = L"t\\xE4st"; local
1057 const wchar_t* source = L"t\\xE4st"; local
1103 const wchar_t* source = L"t\\xE4st"; local
1197 const wchar_t* source = L""; local
1231 const wchar_t* source = L"test"; local
1289 const wchar_t* source = L"t\\xE4st"; local
1347 const wchar_t* source = L"te\\x00st"; local
1393 const wchar_t* source = L"t\\xE4st"; local
1415 const wchar_t* source = L"t\\xE4st"; local
1449 const wchar_t* source = L"t\\xE4st"; local
1495 const wchar_t* source = L"t\\xE4st"; local
1593 const wchar_t* source = L""; local
1625 const wchar_t* source = L"test"; local
1677 const wchar_t* source = L"t\\xE4st"; local
1749 const wchar_t* source = L"te\\x00st"; local
1832 const wchar_t* source = L" other text"; local
1860 const wchar_t* source = L" other text"; local
1888 const wchar_t* source = L" other text"; local
1937 const wchar_t* source = L""; local
1966 const wchar_t* source = L""; local
1999 const wchar_t* source = L"test"; local
2042 const wchar_t* source = L"st"; local
2090 const wchar_t* source = L"t"; local
2143 const wchar_t* source = L"t\\xE4st"; local
2238 const wchar_t* source = L""; local
2268 const wchar_t* source = L""; local
2303 const wchar_t* source = L"test"; local
2350 const wchar_t* source = L"test"; local
3576 const wchar_t* source = L""; local
3594 const wchar_t* source = L""; local
3613 const wchar_t* source = L"t��stdata \\0with some char��cters"; local
3644 const wchar_t* source = L""; local
3662 const wchar_t* source = L""; local
3681 const wchar_t* source = L"t��stdata \\0with some char��cters"; local
3712 const wchar_t* source = L""; local
3730 const wchar_t* source = L""; local
3749 const wchar_t* source = L"t��stdata \\0with some char��cters"; local
3763 const wchar_t* source = L"t��stdata \\0with some char��cters"; local
3796 wchar_t source = L'\\0'; local
3814 wchar_t source = L'M'; local
3838 wchar_t source = L'M'; local
[all...]
/haiku/src/add-ons/media/media-add-ons/video_mixer/
H A DBufferMixer.cpp49 #define ALPHABLEND(source, destination, alpha) (((destination) * (256 - (alpha)) + (source) * (alpha)) >> 8)
55 uint8 *source = (uint8 *)input->Data(); local
62 c1 = *source++;
63 c2 = *source++;
64 c3 = *source++;
65 alpha = *source++;
H A DVideoMixerNodeProducer.cpp54 fOutput.source = output_source;
79 const media_source &source,
86 if (fOutput.source != source) {
129 if (fOutput.source != for_source) {
178 if (fOutput.source != what) {
184 *out_source = fOutput.source;
194 const media_source &source,
201 if (fOutput.source != source) {
78 FormatChangeRequested( const media_source &source, const media_destination &destination, media_format *io_format, int32 * _deprecated_) argument
192 Connect( status_t error, const media_source &source, const media_destination &destination, const media_format &format, char *io_name) argument
330 AdditionalBufferRequested( const media_source & source, media_buffer_id prev_buffer, bigtime_t prev_time, const media_seek_tag * prev_tag) argument
351 LatencyChanged( const media_source & source, const media_destination & destination, bigtime_t new_latency, uint32 flags) argument
[all...]
/haiku/src/add-ons/kernel/file_systems/bindfs/
H A DVolume.cpp52 const char* source = NULL; local
56 source = get_driver_parameter(
57 parametersHandle.Get(), "source", NULL, NULL);
58 if (source == NULL || source[0] == '\0') {
59 ERROR("need source folder ('source' parameter)!\n");
63 status_t error = vfs_get_vnode_from_path(source, true, &fSourceVnode);
72 if ((stat(source, &st)) != 0)
76 strlcpy(fName, source, sizeo
[all...]
/haiku/src/kits/media/
H A DBufferConsumer.cpp12 * * Redistributions of source code must retain the above copyright notice,
109 command.source = whatSource;
143 command->source = output;
162 BBufferConsumer::SetOutputEnabled(const media_source &source, argument
170 if (IS_INVALID_SOURCE(source))
177 command.source = source;
185 return SendToPort(source.port, PRODUCER_ENABLE_OUTPUT, &command, sizeof(command));
190 BBufferConsumer::RequestFormatChange(const media_source &source, argument
198 if (IS_INVALID_SOURCE(source))
218 RequestAdditionalBuffer(const media_source &source, BBuffer *prev_buffer, void *_reserved) argument
239 RequestAdditionalBuffer(const media_source& source, bigtime_t startTime, void *_reserved) argument
259 SetOutputBuffersFor(const media_source &source, const media_destination &destination, BBufferGroup *group, void *user_data, int32 *change_tag, bool will_reclaim, void *_reserved_) argument
315 SendLatencyChange(const media_source& source, const media_destination& destination, bigtime_t newLatency, uint32 flags) argument
537 RequestFormatChange(const media_source& source, const media_destination& destination, media_format* format, int32* _changeTag) argument
565 SetOutputEnabled(const media_source& source, bool enabled, int32* _changeTag) argument
[all...]
/haiku/src/add-ons/translators/jpeg/
H A Dexif_parser.cpp53 add_to_message(TReadHelper& source, BMessage& target, tiff_tag& tag, argument
70 source(buffer, tag.length);
93 source(buffer, tag.length);
108 intValue = source.Next<uint8>();
112 intValue = source.Next<uint16>();
116 intValue = source.Next<uint32>();
121 double value = source.Next<uint32>();
122 doubleValue = value / source.Next<uint32>();
128 intValue = source.Next<int8>();
131 intValue = source
322 convert_exif_to_message(BPositionIO& source, BMessage& target, const convert_tag* tags, size_t tagCount) argument
349 convert_exif_to_message(BPositionIO& source, BMessage& target) argument
[all...]
/haiku/src/add-ons/kernel/network/datalink_protocols/ethernet_frame/
H A Dethernet_frame.cpp48 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/libs/print/libprint/
H A DPackBits.cpp48 static int Run(unsigned char* destination, const unsigned char* source, int n) argument
60 runbyte = *source++;
63 thisbyte = *source++;
146 int pack_bits_size(const unsigned char* source, int size) argument
149 return compressedSizeCalculator.Run(NULL, source, size);
152 int pack_bits(unsigned char* destination, const unsigned char* source, int size) argument
155 return compressor.Run(destination, source, size);
180 unsigned char* source = new unsigned char[size]; local
181 fread(source, size, 1, input);
183 long outSize = pack_bits_size(source, siz
[all...]
H A DHalftone.cpp154 Halftone::Dither(uchar* destination, const uchar* source, int x, int y, argument
173 (this->*fDither)(destination, source, x, y, width);
207 const ColorRGB32* source = reinterpret_cast<const ColorRGB32*>(source0); local
221 c = *source;
231 if (c.little.red != source->little.red
232 || c.little.green != source->little.green
233 || c.little.blue != source->little.blue) {
234 c = *source;
237 source++;
252 if (c.little.red != source
327 const ColorRGB32 *source = reinterpret_cast<const ColorRGB32 *>(source0); local
[all...]
/haiku/headers/os/interface/
H A DPolygon.h29 void MapTo(BRect source, BRect destination);
44 void _MapPoint(BPoint* point, const BRect& source,
46 void _MapRectangle(BRect* rect, const BRect& source,
/haiku/src/kits/media/experimental/
H A DMediaClientNode.h75 virtual status_t Connected(const media_source& source,
80 virtual void Disconnected(const media_source& source,
83 virtual status_t FormatChanged(const media_source& source,
92 virtual status_t FormatProposal(const media_source& source,
94 virtual status_t FormatChangeRequested(const media_source& source,
98 virtual void LateNoticeReceived(const media_source& source,
102 virtual status_t SetBufferGroup(const media_source& source,
104 virtual status_t PrepareToConnect(const media_source& source,
110 const media_source& source,
114 virtual void Disconnect(const media_source& source,
[all...]
/haiku/src/apps/serialconnect/
H A DFileSender.cpp21 RawSender::RawSender(BDataIO* source, BSerialPort* sink, BHandler* listener) argument
29 BPositionIO* pos = dynamic_cast<BPositionIO*>(source);
40 ssize_t s = source->Read(&buffer, sizeof(buffer));
/haiku/headers/libs/agg/
H A Dagg_conv_unclose_polygon.h28 void attach(VertexSource& source) { m_source = &source; } argument
/haiku/headers/os/translation/
H A DTranslatorAddOn.h30 extern status_t Identify(BPositionIO* source, const translation_format* format,
32 extern status_t Translate(BPositionIO* source, const translator_info* info,
/haiku/src/kits/debugger/source_language/c_family/
H A DCLanguageFamilySyntaxHighlighter.cpp33 CLanguageFamilySyntaxHighlighter::ParseText(LineDataSource* source, argument
41 _info = new(std::nothrow) CLanguageFamilySyntaxHighlightInfo(source,
/haiku/src/kits/interface/
H A DPolygon.cpp111 BPolygon::MapTo(BRect source, BRect destination) argument
114 _MapPoint(fPoints + i, source, destination);
116 _MapRectangle(&fBounds, source, destination);
213 BPolygon::_MapPoint(BPoint* point, const BRect& source, argument
216 point->x = (point->x - source.left) * destination.Width() / source.Width()
218 point->y = (point->y - source.top) * destination.Height() / source.Height()
224 BPolygon::_MapRectangle(BRect* rect, const BRect& source, argument
230 _MapPoint(&leftTop, source, destinatio
[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, argument
51 : "+D" (destination), "+S" (source), "+c" (length)
58 inline void copy_small(uint8_t* destination, const uint8_t* source) argument
64 = *reinterpret_cast<const data*>(source);
75 static inline void memcpy_small(uint8_t* destination, const uint8_t* source, argument
79 table_small[length](destination, source);
82 auto from = reinterpret_cast<const uint64_t*>(source);
85 from = reinterpret_cast<const uint64_t*>(source + length - 8);
92 inline void copy_sse(__m128i* destination, const __m128i* source) argument
94 auto temp = _mm_loadu_si128(source);
101 copy_sse(__m128i* destination, const __m128i* source) argument
113 memcpy_sse(uint8_t* destination, const uint8_t* source, size_t length) argument
138 memcpy(void* destination, const void* source, size_t length) argument
[all...]

Completed in 147 milliseconds

1234567891011>>