Searched refs:envListLen (Results 1 – 1 of 1) sorted by relevance
/external/fastrpc/src/ |
D | apps_std_imp.c | 609 int envListLen = 0; in get_dirlist_from_env() local 618 if (0 == apps_std_getenv(envvarname, envList, envLenGuess, &envListLen)) { in get_dirlist_from_env() 619 if (envLenGuess < envListLen) { in get_dirlist_from_env() 621 VERIFYC(envListBuf = realloc(envListBuf, sizeof(char) * envListLen), AEE_ENOMEMORY); in get_dirlist_from_env() 623 VERIFY(0 == (nErr = apps_std_getenv(envvarname, envList, envListLen, &listLen))); in get_dirlist_from_env() 626 envListLen = listLen = 1 + std_strlcpy(envListBuf, ADSP_LIBRARY_PATH, envLenGuess); in get_dirlist_from_env() 628 envListLen = listLen = 1 + std_strlcpy(envListBuf, ADSP_AVS_CFG_PATH, envLenGuess); in get_dirlist_from_env() 639 envListLen = std_strlen(EMTPY_STR) + 1; in get_dirlist_from_env() 641 VERIFYC(dirListBuf = (char*)malloc(sizeof(char) * envListLen), AEE_ENOMEMORY); in get_dirlist_from_env() 643 std_strlcpy(dirList, srcStr, envListLen); in get_dirlist_from_env()
|