[all]: rename function names

git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@60 6e48237b-75ef-9749-8fc9-41990f28c85a
This commit is contained in:
ChenHengming
2015-08-07 09:14:00 +00:00
parent 1b5d44e56e
commit 848f7d93fe
15 changed files with 162 additions and 161 deletions

View File

@@ -14,7 +14,7 @@
* limitations under the License.
*/
#define MODULE_TAG "rk_malloc_test"
#define MODULE_TAG "mpp_malloc_test"
#include "mpp_log.h"
#include "mpp_env.h"
@@ -24,13 +24,13 @@
int main()
{
rk_set_env_u32("osal_mem_list", 1);
void *tmp = rk_malloc(int, 100);
mpp_set_env_u32("osal_mem_list", 1);
void *tmp = mpp_malloc(int, 100);
if (tmp) {
rk_log("malloc success\n");
rk_free(tmp);
mpp_log("malloc success\n");
mpp_free(tmp);
} else {
rk_log("malloc failed\n");
mpp_log("malloc failed\n");
}
return 0;