Searched refs:new_str (Results 1 – 3 of 3) sorted by relevance
| /rk3399_rockchip-uboot/lib/avb/libavb/ |
| H A D | avb_util.c | 299 char* new_str; in avb_replace() local 301 new_str = avb_malloc(num_new); in avb_replace() 302 if (new_str == NULL) { in avb_replace() 305 avb_memcpy(new_str, ret, ret_len); in avb_replace() 306 avb_memcpy(new_str + ret_len, str, num_before); in avb_replace() 307 avb_memcpy(new_str + ret_len + num_before, replace, replace_len); in avb_replace() 308 new_str[num_new - 1] = '\0'; in avb_replace() 310 ret = new_str; in avb_replace() 326 char* new_str = avb_malloc(num_new); in avb_replace() local 327 if (new_str == NULL) { in avb_replace() [all …]
|
| /rk3399_rockchip-uboot/scripts/kconfig/ |
| H A D | nconf.c | 569 char new_str[256]; in item_add_str() local 576 vsnprintf(new_str, sizeof(new_str), fmt, ap); in item_add_str() 579 k_menu_items[index].str, new_str); in item_add_str()
|
| /rk3399_rockchip-uboot/fs/yaffs2/ |
| H A D | yaffs_guts.c | 2025 YCHAR *new_str = NULL; in yaffs_clone_str() local 2032 new_str = kmalloc((len + 1) * sizeof(YCHAR), GFP_NOFS); in yaffs_clone_str() 2033 if (new_str) { in yaffs_clone_str() 2034 yaffs_strncpy(new_str, str, len); in yaffs_clone_str() 2035 new_str[len] = 0; in yaffs_clone_str() 2037 return new_str; in yaffs_clone_str()
|