Home
last modified time | relevance | path

Searched refs:to (Results 1 - 13 of 13) sorted by relevance

/drivers/hdf_core/adapter/khdf/liteos/osal/include/
H A Dosal_uaccess.h15 * to endorse or promote products derived from this software without specific prior written
41 static inline size_t CopyToUser(void* to, const void* from, size_t len) in CopyToUser() argument
43 return LOS_ArchCopyToUser(to, from, len); in CopyToUser()
46 static inline size_t CopyFromUser(void* to, const void* from, size_t len) in CopyFromUser() argument
48 return LOS_ArchCopyFromUser(to, from, len); in CopyFromUser()
/drivers/hdf_core/adapter/khdf/linux/osal/include/
H A Dosal_uaccess.h29 static inline size_t CopyToUser(void __user *to, const void *from, size_t len) in CopyToUser() argument
31 return (size_t)copy_to_user(to, from, (unsigned long)len); in CopyToUser()
34 static inline size_t CopyFromUser(void *to, const void __user *from, size_t len) in CopyFromUser() argument
36 return (size_t)copy_from_user(to, from, (unsigned long)len); in CopyFromUser()
/drivers/peripheral/user_auth/hdi_service/database/src/
H A Dfile_manager_utils.c9 * Unless required by applicable law or agreed to in writing, software
93 ResultCode StreamRead(Buffer *parcel, uint32_t *index, void *to, uint32_t size) in StreamRead() argument
95 if (!IsBufferValid(parcel) || index == NULL || to == NULL) { in StreamRead()
103 if (memcpy_s(to, size, parcel->buf + *index, size) != EOK) { in StreamRead()
/drivers/peripheral/codec/test/fuzztest/image_fuzzer/common/src/
H A Dencode_heif_helper.cpp9 * Unless required by law or agreed to in writing, software
42 HDF_LOGE("failed to create output buffer"); in AllocOutputBuffer()
97 item.to.emplace_back(ToUint32(data)); in FillRefItem()
184 .to = {primaryImgId} in AssembleParamForOtherImg()
202 .to = {primaryImgId} in AssembleParamForOtherImg()
238 .to = {itemPrimaryImg.id, itemGainMap.id} in AssembleParamForTmap()
330 .to = {primaryImgId} in AssembleParamForMetaData()
345 .to = {primaryImgId} in AssembleParamForMetaData()
/drivers/peripheral/user_auth/hdi_service/database/inc/
H A Dfile_manager_utils.h9 * Unless required by applicable law or agreed to in writing, software
26 ResultCode StreamRead(Buffer *parcel, uint32_t *index, void *to, uint32_t size);
/drivers/hdf_core/adapter/khdf/liteos/model/storage/include/mtd/
H A Dmtd_legacy_lite.h15 * to endorse or promote products derived from this software without specific prior written
65 int (*write)(struct mtd_info *mtd, off_t to, size_t len, size_t *retlen, const char *buf);
67 int (*write_oob)(struct mtd_info *mtd, off_t to, size_t len, size_t *retlen, const char *buf);
/drivers/peripheral/codec/test/unittest/hdi_image/
H A Dcodec_hdi_heif_encode_test.cpp9 * Unless required by applicable law or agreed to in writing, software
128 HDF_LOGE("failed to alloc buffer, err [%{public}d] !", ret); in AllocateNativeBuffer()
301 .to = { primaryImageItem.id } in HWTEST_F()
307 .to = { primaryImageItem.id } in HWTEST_F()
317 .to = { primaryImageItem.id } in HWTEST_F()
417 // [FAIL] auxl image is not related to primary image
432 .to = { thumImageItem.id } in HWTEST_F()
438 .to = { primaryImageItem.id } in HWTEST_F()
461 .to = { primaryImageItem.id } in HWTEST_F()
470 // [FAIL] auxl image is related to a
[all...]
/drivers/peripheral/codec/test/demo/heif/src/
H A Dcodec_heif_helper.cpp9 * Unless required by law or agreed to in writing, software
37 IF_TRUE_RETURN_WITH_MSG(hdiHeifEncoder == nullptr, "failed to get ICodecImage"); in DoEncode()
65 HDF_LOGE("failed to create output buffer"); in AllocOutputBuffer()
94 "failed to add MASTER_DISPLAY_COLOR_VOLUME"); in AddPropOnlyForTmap()
125 "failed to add TONE_MAP_METADATA"); in AddPropOnlyForTmap()
140 "failed to add MIRROR_INFO"); in AddPropMirrorAndRotate()
153 "failed to add ROTATE_INFO"); in AddPropMirrorAndRotate()
168 IF_TRUE_RETURN_VAL_WITH_MSG(!bw.AddData<ColorType>(COLOR_TYPE, clrType), false, "failed to add COLOR_TYPE"); in CreateImgParam()
178 IF_TRUE_RETURN_VAL_WITH_MSG(!bw.AddData<ColourInfo>(COLOR_INFO, clrInfo), false, "failed to add COLOR_INFO"); in CreateImgParam()
188 "failed to ad in CreateImgParam()
[all...]
/drivers/hdf_core/framework/model/storage/include/mtd/
H A Dmtd_core.h21 // if you want to debug mtd, please define macro MTD_DEBUG, for example "#define MTD_DEBUG"
57 /** Start address of the mtd device to access */
61 /** Pointer to the buffer for storing request data */
80 /** Start address of the mtd device to transfer from */
84 /** Pointer to the data buffer */
88 /** Pointer to the oob data buffer */
97 * The methods defined in this struct expected to be implemented by drivers
102 int32_t (*write)(struct MtdDevice *mtdDevice, off_t to, size_t len, const uint8_t *buf);
113 * @Defines the structure used to identify a physical mtd chip.
151 /** The callback method set to acces
[all...]
/drivers/hdf_core/adapter/khdf/linux/
H A Dpatch_hdf.sh52 SOFT_RELATIVE_PATH=$(realpath --relative-to=${ln_list[$(expr $i + 1)]} ${OHOS_SOURCE_ROOT})
/drivers/hdf_core/framework/model/storage/src/mtd/
H A Dmtd_core.c480 ssize_t MtdDeviceWrite(struct MtdDevice *mtdDevice, off_t to, size_t len, const uint8_t *buf) in MtdDeviceWrite() argument
500 ret = mtdDevice->ops->write(mtdDevice, to, len, buf); in MtdDeviceWrite()
504 msg.addr = to; in MtdDeviceWrite()
550 ssize_t MtdDeviceWriteWithOob(struct MtdDevice *mtdDevice, off_t to, size_t len, const uint8_t *buf) in MtdDeviceWriteWithOob() argument
556 msg.addr = to; in MtdDeviceWriteWithOob()
/drivers/peripheral/audio/test/audio_utils/audio_mixer/
H A Daudio_mixer_main.c9 * Unless required by applicable law or agreed to in writing, software
76 printf(" -m, --chmap=ch1,ch2,.. Give the channel map to override or follow\n"); in ShowUsage()
118 DEBUG_LOG("Failed to synthesize the card name!\n"); in AudioCard2Dev()
292 DEBUG_LOG("Unable to copy to control name space!\n"); in DupCtlName()
465 DEBUG_LOG("Specify what you want to set...\n"); in MixerESet()
466 printf("Specify what you want to set...\n"); in MixerESet()
470 /* Query whether the control to be set exists. */ in MixerESet()
510 DEBUG_LOG("Failed to obtain the service!\n"); in ServiceHandleInit()
695 DEBUG_LOG("Unable to pars in main()
[all...]
/drivers/peripheral/user_auth/test/unittest/database/
H A Didm_file_manager_test.cpp9 * Unless required by applicable law or agreed to in writing, software
29 extern ResultCode StreamRead(Buffer *parcel, uint32_t *index, void *to, uint32_t size);

Completed in 7 milliseconds