Home
last modified time | relevance | path

Searched refs:sourcePtr (Results 1 - 15 of 15) sorted by relevance

/foundation/multimedia/image_framework/frameworks/innerkitsimpl/accessor/src/
H A Dpng_image_chunk_utils.cpp338 const char *PngImageChunkUtils::StepOverNewLine(const char *sourcePtr, const char *endPtr) in StepOverNewLine() argument
340 while (*sourcePtr != '\n') { in StepOverNewLine()
341 sourcePtr++; in StepOverNewLine()
342 if (sourcePtr == endPtr) { in StepOverNewLine()
346 sourcePtr++; in StepOverNewLine()
347 if (sourcePtr == endPtr) { in StepOverNewLine()
350 return sourcePtr; in StepOverNewLine()
353 const char *PngImageChunkUtils::GetExifInfoLen(const char *sourcePtr, size_t *lengthOut, const char *endPtr) in GetExifInfoLen() argument
355 while ((*sourcePtr == '\0') || (*sourcePtr in GetExifInfoLen()
382 ConvertAsciiToInt(const char *sourcePtr, size_t exifInfoLength, unsigned char *destPtr) ConvertAsciiToInt() argument
420 const char *sourcePtr = reinterpret_cast<const char *>(rawText.CData(1)); ConvertRawTextToExifInfo() local
[all...]
/foundation/distributedhardware/distributed_hardware_fwk/common/utils/include/
H A Didistributed_modem_ext.h30 virtual int32_t Enable(const std::string& networkId, IDistributedHardwareSource *sourcePtr) = 0;
31 virtual int32_t Disable(const std::string& networkId, IDistributedHardwareSource *sourcePtr) = 0;
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/accessor/include/
H A Dpng_image_chunk_utils.h76 static const char *StepOverNewLine(const char *sourcePtr, const char *endPtr);
79 static const char *GetExifInfoLen(const char *sourcePtr, size_t *lengthOut, const char *endPtr);
82 static int ConvertAsciiToInt(const char *sourcePtr, size_t exifInfoLength, unsigned char *destPtr);
/foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/src/task/
H A Dmeta_disable_task.cpp79 IDistributedHardwareSource *sourcePtr = ComponentManager::GetInstance().GetDHSourceInstance(DHType::MODEM); in Disable() local
80 if (sourcePtr == nullptr) { in Disable()
91 if (distributedModemExt_->Disable(GetNetworkId(), sourcePtr) != DH_FWK_SUCCESS) { in Disable()
H A Dmeta_enable_task.cpp76 IDistributedHardwareSource *sourcePtr = ComponentManager::GetInstance().GetDHSourceInstance(DHType::MODEM); in Enable() local
77 if (sourcePtr == nullptr) { in Enable()
88 if (distributedModemExt_->Enable(GetNetworkId(), sourcePtr) != DH_FWK_SUCCESS) { in Enable()
/foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/test/fuzztest/componentloader_fuzzer/
H A Dcomponentloader_fuzzer.cpp47 IDistributedHardwareSource *sourcePtr = nullptr; in ComponentManagerFuzzTest() local
48 ComponentLoader::GetInstance().GetSource(dhType, sourcePtr); in ComponentManagerFuzzTest()
/foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/test/unittest/common/hidumphelper/hidumphelper/src/
H A Dhidump_helper_test.cpp111 IDistributedHardwareSource *sourcePtr = nullptr; in HWTEST_F() local
112 ComponentManager::GetInstance().compSource_.insert(std::make_pair(dhType, sourcePtr)); in HWTEST_F()
/foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/test/unittest/common/componentmanager/component_manager/src/
H A Dcomponent_manager_test.cpp461 IDistributedHardwareSource *sourcePtr = nullptr; in HWTEST_F() local
462 ComponentManager::GetInstance().compSource_.insert(std::make_pair(dhType, sourcePtr)); in HWTEST_F()
496 IDistributedHardwareSource *sourcePtr = nullptr; in HWTEST_F() local
497 ComponentManager::GetInstance().compSource_.insert(std::make_pair(dhType, sourcePtr)); in HWTEST_F()
824 const IDistributedHardwareSource *sourcePtr = ComponentManager::GetInstance().GetDHSourceInstance(DHType::UNKNOWN); in HWTEST_F() local
825 EXPECT_EQ(nullptr, sourcePtr); in HWTEST_F()
/foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/include/componentloader/
H A Dcomponent_loader.h75 int32_t GetSource(const DHType dhType, IDistributedHardwareSource *&sourcePtr);
/foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/test/unittest/common/componentloader/src/
H A Dcomponent_loader_test.cpp128 IDistributedHardwareSource *sourcePtr = nullptr; in HWTEST_F() local
129 auto ret = ComponentLoader::GetInstance().GetSource(DHType::UNKNOWN, sourcePtr); in HWTEST_F()
135 ret = ComponentLoader::GetInstance().GetSource(DHType::AUDIO, sourcePtr); in HWTEST_F()
149 IDistributedHardwareSource *sourcePtr = nullptr; in HWTEST_F() local
150 auto ret = ComponentLoader::GetInstance().GetSource(DHType::AUDIO, sourcePtr); in HWTEST_F()
/foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/src/componentmanager/
H A Dcomponent_manager.cpp493 IDistributedHardwareSource *sourcePtr = nullptr; in InitCompSource() local
494 auto ret = ComponentLoader::GetInstance().GetSource(type, sourcePtr); in InitCompSource()
499 if (sourcePtr == nullptr) { in InitCompSource()
500 DHLOGW("sourcePtr is null, compType = %{public}#X.", type); in InitCompSource()
503 compSource_.insert(std::make_pair(type, sourcePtr)); in InitCompSource()
/foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/src/componentloader/
H A Dcomponent_loader.cpp429 int32_t ComponentLoader::GetSource(const DHType dhType, IDistributedHardwareSource *&sourcePtr) in GetSource() argument
449 sourcePtr = getSourceHardClassHandler(); in GetSource()
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/codec/src/
H A Dimage_source.cpp414 auto sourcePtr = new (std::nothrow) ImageSource(std::move(streamPtr), opts); in DoImageSourceCreate() local
415 if (sourcePtr == nullptr) { in DoImageSourceCreate()
420 sourcePtr->SetSource(traceName); in DoImageSourceCreate()
422 return unique_ptr<ImageSource>(sourcePtr); in DoImageSourceCreate()
530 auto sourcePtr = DoImageSourceCreate(
539 if (sourcePtr != nullptr) {
540 sourcePtr->SetIncrementalSource(true);
542 return sourcePtr;
/foundation/graphic/graphic_3d/lume/Lume_3D/src/gltf/
H A Dgltf2_util.cpp101 const uint8_t* sourcePtr = source.data() + (i * elementSize); in CopySparseElements() local
105 if (!CloneData(destinationPtr, size_t(left), sourcePtr, elementSize)) { in CopySparseElements()
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/exif_metadata_accessor_test/
H A Dwebp_exif_metadata_accessor_test.cpp1764 const char sourcePtr = '\0'; in HWTEST_F() local
1767 int ret = png->ConvertAsciiToInt(&sourcePtr, exifInfoLength, &destPtr); in HWTEST_F()

Completed in 18 milliseconds