Home
last modified time | relevance | path

Searched refs:errstr (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/accessor/src/
H A Dfile_metadata_stream.cpp496 std::string errstr(METADATA_STREAM_ERROR_BUFFER_SIZE, '\0'); in GetSize() local
497 strerror_r(errno, &errstr[0], METADATA_STREAM_ERROR_BUFFER_SIZE); in GetSize()
498 IMAGE_LOGE("Failed to seek to the end of the file: %{public}s", errstr.c_str()); in GetSize()
505 std::string errstr(METADATA_STREAM_ERROR_BUFFER_SIZE, '\0'); in GetSize() local
506 strerror_r(errno, &errstr[0], METADATA_STREAM_ERROR_BUFFER_SIZE); in GetSize()
507 IMAGE_LOGE("Failed to restore the file position: %{public}s", errstr.c_str()); in GetSize()
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/image_source_test/
H A Dmetadata_stream_test.cpp164 char errstr[METADATA_STREAM_ERROR_BUFFER_SIZE]; in RemoveFile() local
165 strerror_r(errno, errstr, sizeof(errstr)); in RemoveFile()
270 char errstr[METADATA_STREAM_ERROR_BUFFER_SIZE]; in MockFileWrapper() local
271 strerror_r(errno, errstr, sizeof(errstr)); in MockFileWrapper()
272 std::cerr << "Failed to write to the file: " << errstr << std::endl; in MockFileWrapper()
280 char errstr[METADATA_STREAM_ERROR_BUFFER_SIZE]; in MockFileWrapper() local
281 strerror_r(errno, errstr, sizeof(errstr)); in MockFileWrapper()
282 std::cerr << "Failed to read from the file: " << errstr << std::endl; in MockFileWrapper()
/ohos5.0/base/startup/init/test/unittest/param/
H A Dwatcher_agent_unittest.cpp280 …const char *errstr = "1111111111111111111111111111111111111111111111111111111111111111111111111111… variable
283 EXPECT_NE(ServiceWatchForStatus(errstr, TestWatcherCallBack), 0);