Home
last modified time | relevance | path

Searched refs:inputData (Results 1 – 7 of 7) sorted by relevance

/haiku/src/add-ons/media/media-add-ons/multi_audio/
H A DResampler.cpp176 Resampler::_Void(const void *inputData, uint32 inputStride, in _Void() argument
184 Resampler::_CopyFloat2Float(const void *inputData, uint32 inputStride, in _CopyFloat2Float() argument
188 *(float*)outputData = *(const float*)inputData; in _CopyFloat2Float()
191 inputData = (void*)((uint8*)inputData + inputStride); in _CopyFloat2Float()
199 Resampler::_CopyFloat2Double(const void *inputData, uint32 inputStride, in _CopyFloat2Double() argument
203 *(double*)outputData = *(const float*)inputData; in _CopyFloat2Double()
206 inputData = (void*)((uint8*)inputData + inputStride); in _CopyFloat2Double()
214 Resampler::_CopyFloat2Int(const void *inputData, uint32 inputStride, in _CopyFloat2Int() argument
218 float data = *(const float*)inputData; in _CopyFloat2Int()
227 inputData = (void*)((uint8*)inputData + inputStride); in _CopyFloat2Int()
[all …]
H A DResampler.h22 void Resample(const void *inputData,
28 void _Void(const void *inputData, uint32 inputStride,
31 virtual void _CopyFloat2Float(const void *inputData,
34 virtual void _CopyFloat2Double(const void *inputData,
37 virtual void _CopyFloat2Short(const void *inputData,
40 virtual void _CopyFloat2Int(const void *inputData,
43 virtual void _CopyFloat2UChar(const void *inputData,
46 virtual void _CopyFloat2Char(const void *inputData,
50 virtual void _CopyDouble2Float(const void *inputData,
53 virtual void _CopyDouble2Double(const void *inputData,
[all …]
/haiku/src/tests/kits/shared/
H A DJsonEndToEndTest.cpp43 FakeJsonStreamDataIO* inputData = new FakeJsonStringStreamDataIO(kHighVolumeItemCount, in TestHighVolumeStringSampleGenerationOnly() local
47 while (inputData->Read(&c, 1) == 1) { in TestHighVolumeStringSampleGenerationOnly()
59 FakeJsonStreamDataIO* inputData = new FakeJsonNumberStreamDataIO(kHighVolumeItemCount, in TestHighVolumeNumberSampleGenerationOnly() local
63 while (inputData->Read(&c, 1) == 1) { in TestHighVolumeNumberSampleGenerationOnly()
72 FakeJsonStreamDataIO* inputData = new FakeJsonStringStreamDataIO(kHighVolumeItemCount, in TestHighVolumeStringParsing() local
77 BPrivate::BJson::Parse(inputData, listener); in TestHighVolumeStringParsing()
81 CPPUNIT_ASSERT_EQUAL(inputData->Checksum(), listener->Checksum()); in TestHighVolumeStringParsing()
88 FakeJsonStreamDataIO* inputData = new FakeJsonNumberStreamDataIO(kHighVolumeItemCount, in TestHighVolumeNumberParsing() local
93 BPrivate::BJson::Parse(inputData, listener); in TestHighVolumeNumberParsing()
97 CPPUNIT_ASSERT_EQUAL(inputData->Checksum(), listener->Checksum()); in TestHighVolumeNumberParsing()
[all …]
H A DJsonErrorHandlingTest.cpp229 BDataIO *inputData = new BMemoryIO(input, strlen(input)); in TestParseWithErrorMessage() local
230 ObjectDeleter<BDataIO> inputDataDeleter(inputData); in TestParseWithErrorMessage()
231 TestParseWithErrorMessage(inputData, line, expectedStatus, expectedMessage); in TestParseWithErrorMessage()
236 JsonErrorHandlingTest::TestParseWithErrorMessage(BDataIO* inputData, int32 line, in TestParseWithErrorMessage() argument
243 BPrivate::BJson::Parse(inputData, listener); in TestParseWithErrorMessage()
312 BDataIO *inputData = new FailingDataIO(); in TestIOIssue() local
313 ObjectDeleter<BDataIO> inputDataDeleter(inputData); in TestIOIssue()
314 TestParseWithErrorMessage(inputData, -1, B_IO_ERROR, in TestIOIssue()
/haiku/src/tests/apps/haikudepot/
H A DDumpExportRepositoryJsonListenerTest.cpp154 BDataIO* inputData = new BMemoryIO(BULK_CONTAINER_REPOSITORY_WITH_RUBBISH, in TestBulkContainer() local
156 ObjectDeleter<BDataIO> inputDataDeleter(inputData); in TestBulkContainer()
166 BPrivate::BJson::Parse(inputData, listener); in TestBulkContainer()
190 BDataIO* inputData = new BMemoryIO(SINGLE_REPOSITORY_WITH_RUBBISH, in TestSingle() local
192 ObjectDeleter<BDataIO> inputDataDeleter(inputData); in TestSingle()
200 BPrivate::BJson::Parse(inputData, listener); in TestSingle()
H A DStandardMetaDataJsonEventListenerTest.cpp67 BDataIO* inputData = new BMemoryIO(input, strlen(input)); in TestGeneric() local
68 ObjectDeleter<BDataIO> inputDataDeleter(inputData); in TestGeneric()
73 BPrivate::BJson::Parse(inputData, &listener); in TestGeneric()
/haiku/src/kits/network/libnetservices2/
H A DHttpRequest.cpp453 auto inputData = dynamic_cast<BPositionIO*>(fData->requestBody->input.get()); in RewindBody() local
455 == inputData->Seek(*fData->requestBody->startPosition, SEEK_SET); in RewindBody()