Home
last modified time | relevance | path

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

/drivers/hdf_core/framework/utils/src/
Dhdf_sbuf.c429 struct HdfSBuf *newBuf = NULL; in HdfSbufCopy() local
431 newBuf = (struct HdfSBuf *)OsalMemAlloc(sizeof(struct HdfSBuf)); in HdfSbufCopy()
432 if (newBuf == NULL) { in HdfSbufCopy()
435 newBuf->impl = sbuf->impl->copy(sbuf->impl); in HdfSbufCopy()
436 if (newBuf->impl == NULL) { in HdfSbufCopy()
437 OsalMemFree(newBuf); in HdfSbufCopy()
440 newBuf->type = sbuf->type; in HdfSbufCopy()
441 return newBuf; in HdfSbufCopy()
446 struct HdfSBuf *newBuf = NULL; in HdfSbufMove() local
448 newBuf = (struct HdfSBuf *)OsalMemAlloc(sizeof(struct HdfSBuf)); in HdfSbufMove()
[all …]