Home
last modified time | relevance | path

Searched refs:SIZE_ZERO (Results 1 - 16 of 16) sorted by relevance

/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/src/
H A Dext_stream.cpp26 constexpr static size_t SIZE_ZERO = 0; member
50 return SIZE_ZERO; in Skip()
56 return SIZE_ZERO; in Skip()
64 return SIZE_ZERO; in read()
73 if (stream_->GetStreamSize() != SIZE_ZERO && stream_->GetStreamSize() < desiredSize) { in read()
86 return SIZE_ZERO; in peek()
90 return SIZE_ZERO; in peek()
H A Dext_wstream.cpp26 constexpr static size_t SIZE_ZERO = 0; member
57 return SIZE_ZERO; in bytesWritten()
59 size_t written = SIZE_ZERO; in bytesWritten()
H A Dext_decoder.cpp65 constexpr static size_t SIZE_ZERO = 0; member
1316 } else if (stream_->GetStreamSize() == SIZE_ZERO) { in HeapMemAlloc()
1503 for (uint32_t i = SIZE_ZERO; i < profile->tag_count; i++) { in HeapMemAlloc()
1510 if (size == SIZE_ZERO || offset >= profile->size) { in HeapMemAlloc()
1587 if (inputSize == SIZE_ZERO) { in HeapMemAlloc()
1594 input->Seek(SIZE_ZERO); in HeapMemAlloc()
1835 if (!CheckIndexValied(SIZE_ZERO) && frameCount_ <= ZERO) { in HeapMemAlloc()
/foundation/ability/ability_runtime/test/moduletest/ability_manager_service_dump_test/
H A Dability_manager_service_dump_test.cpp33 const size_t SIZE_ZERO = 0; member
87 EXPECT_GT(info.size(), SIZE_ZERO); in HWTEST_F()
106 EXPECT_GT(info.size(), SIZE_ZERO); in HWTEST_F()
124 EXPECT_GT(info.size(), SIZE_ZERO); in HWTEST_F()
141 EXPECT_GT(info.size(), SIZE_ZERO); in HWTEST_F()
158 EXPECT_GT(info.size(), SIZE_ZERO); in HWTEST_F()
175 EXPECT_NE(info.size(), SIZE_ZERO); in HWTEST_F()
192 EXPECT_GT(info.size(), SIZE_ZERO); in HWTEST_F()
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/common/src/
H A Dmemory_manager.cpp40 static const size_t SIZE_ZERO = 0; member
81 static inline void ReleaseSharedMemory(int* fdPtr, uint8_t* ptr = nullptr, size_t size = SIZE_ZERO) in ReleaseSharedMemory() argument
99 if (data.tag == nullptr || data.size == SIZE_ZERO) { in Create()
135 data.size = SIZE_ZERO; in Release()
139 extend.size = SIZE_ZERO; in Release()
221 data.size = SIZE_ZERO; in Release()
229 extend.size = SIZE_ZERO; in Release()
/foundation/multimedia/image_framework/frameworks/kits/js/common/
H A Dimage_packer_mdk_kits.cpp28 constexpr size_t SIZE_ZERO = 0; member
116 if (args->outData != nullptr && args->dataSize != nullptr && *(args->dataSize) != SIZE_ZERO) { in DoStartPacking()
178 int64_t packedSize = SIZE_ZERO; in DoNativePacking()
190 args->dataSize == nullptr || *(args->dataSize) == SIZE_ZERO) { in ImagePackerNapiPackToData()
H A Dimage_source_mdk_kits.cpp30 constexpr size_t SIZE_ZERO = 0; member
129 if (source->uri != nullptr && source->uriSize != SIZE_ZERO) { in ImageSourceNativeCreate()
142 } else if (source->buffer != nullptr && source->bufferSize != SIZE_ZERO) { in ImageSourceNativeCreate()
277 args->dataArray.data == nullptr || args->dataArray.dataSize == SIZE_ZERO) { in ImageSourceNapiCreateFromData()
312 return rawFile.fd != INVALID_FD && rawFile.start >= static_cast<long>(SIZE_ZERO) && in isValidRawFile()
313 rawFile.length > static_cast<long>(SIZE_ZERO); in isValidRawFile()
372 if (args->dataArray.data != nullptr && args->dataArray.dataSize > SIZE_ZERO) { in ImageSourceNapiCreateIncremental()
552 for (size_t i = SIZE_ZERO; i < actCount; i++) { in ImageSourceNapiGetDelayTime()
609 if (propertyKey == nullptr || propertyKey->value == nullptr || propertyKey->size == SIZE_ZERO) { in ImageSourceNapiGetImageProperty()
655 imageResource.buffer != nullptr && imageResource.bufferSize > SIZE_ZERO) { in NativePropertyModify()
[all...]
/foundation/multimedia/image_framework/frameworks/kits/js/common/ndk/
H A Dimage_source_native.cpp39 constexpr size_t SIZE_ZERO = 0; variable
456 if (source == nullptr || ops == nullptr || resVecPixMap == nullptr || outSize == SIZE_ZERO) { in OH_ImageSourceNative_CreatePixelmapList()
516 for (size_t i = SIZE_ZERO; i < actCount; i++) { in OH_ImageSourceNative_GetDelayTimeList()
546 if (key == nullptr || key->data == nullptr || key->size == SIZE_ZERO) { in OH_ImageSourceNative_GetImageProperty()
562 if (value->size != SIZE_ZERO && value->size < val.size()) { in OH_ImageSourceNative_GetImageProperty()
565 value->size = (value->size == SIZE_ZERO) ? val.size() : value->size; in OH_ImageSourceNative_GetImageProperty()
583 if (key == nullptr || key->data == nullptr || key->size == SIZE_ZERO) { in OH_ImageSourceNative_ModifyImageProperty()
586 if (value == nullptr || value->data == nullptr || value->size == SIZE_ZERO) { in OH_ImageSourceNative_ModifyImageProperty()
H A Dimage_source_mdk.cpp26 const size_t SIZE_ZERO = 0; variable
65 if (uri == nullptr || size == SIZE_ZERO) { in OH_ImageSource_CreateFromUri()
H A Dimage_packer_native.cpp35 constexpr size_t SIZE_ZERO = 0; variable
157 if (format->size != SIZE_ZERO && format->size < options->mimeType.size) { in OH_PackingOptions_GetMimeType()
161 format->size = (format->size == SIZE_ZERO) ? options->mimeType.size : format->size; in OH_PackingOptions_GetMimeType()
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/codec/src/
H A Dimage_packer.cpp49 static constexpr size_t SIZE_ZERO = 0; member
345 return encoders_.size() != SIZE_ZERO;
375 if (encoders_.size() == SIZE_ZERO) {
380 rets.resize(SIZE_ZERO);
382 for (size_t i = SIZE_ZERO; i < encoders_.size(); i++) {
400 return (rets.size() == SIZE_ZERO)?ERR_IMAGE_DECODE_ABNORMAL:rets.front();
H A Dimage_source.cpp139 static const size_t SIZE_ZERO = 0; member
475 if (pathName.size() == SIZE_ZERO) { in CreateImageSource()
642 if (listeners.size() == SIZE_ZERO) {
/foundation/ability/ability_runtime/test/unittest/ability_manager_client_branch_second_test/
H A Dability_manager_client_branch_second_test.cpp41 const size_t SIZE_ZERO = 0; member
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/plugin_test/
H A Dext_decoder_test.cpp37 constexpr static size_t SIZE_ZERO = 0; member
752 ASSERT_EQ(ret, SIZE_ZERO); in HWTEST_F()
756 ASSERT_EQ(ret, SIZE_ZERO); in HWTEST_F()
810 ASSERT_EQ(ret, SIZE_ZERO); in HWTEST_F()
814 ASSERT_EQ(ret, SIZE_ZERO); in HWTEST_F()
/foundation/multimedia/image_framework/plugins/common/libs/image/libgifplugin/src/
H A Dgif_decoder.cpp514 constexpr size_t SIZE_ZERO = 0; member
604 static inline void ReleaseSharedMemory(int* fdPtr, uint8_t* ptr = nullptr, size_t size = SIZE_ZERO) in ReleaseSharedMemory() argument
617 if (plBuffer.bufferSize == SIZE_ZERO) { in SharedMemoryCreate()
648 plBuffer.bufferSize = SIZE_ZERO; in SharedMemoryRelease()
649 plBuffer.dataSize = SIZE_ZERO; in SharedMemoryRelease()
/foundation/ability/ability_runtime/test/unittest/ability_manager_client_branch_test/
H A Dability_manager_client_branch_test.cpp41 const size_t SIZE_ZERO = 0; member
141 EXPECT_EQ(state.size(), SIZE_ZERO); in HWTEST_F()

Completed in 22 milliseconds