Searched refs:len2Copy (Results 1 - 2 of 2) sorted by relevance

/frameworks/av/libvideoeditor/osal/src/
H A DM4OSA_CharStar.c42 * @note It copies exactly len2Copy characters from pStrIn to pStrOut,
45 * - If len2Copy is less than or equal to the length of pStrIn,
48 * - If len2Copy is greater than the length of pStrIn, pStrOut is
49 * padded with null characters up to length len2Copy.
53 * @param len2Copy: (IN) Maximum number of characters from pStrIn to copy.
58 M4OSA_ERR M4OSA_chrNCopy(M4OSA_Char* pStrOut, M4OSA_Char *pStrIn, M4OSA_UInt32 len2Copy) argument
61 pStrOut,pStrIn,len2Copy);
67 strncpy((char *)pStrOut, (const char *)pStrIn, (size_t)len2Copy);
68 if(len2Copy <= (M4OSA_UInt32)strlen((const char *)pStrIn))
70 pStrOut[len2Copy]
[all...]
/frameworks/av/libvideoeditor/osal/inc/
H A DM4OSA_CharStar.h56 M4OSA_UInt32 len2Copy);

Completed in 167 milliseconds