Home
last modified time | relevance | path

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

/openbmc/u-boot/lib/libavb/
H A Davb_util.c280 char* new_str; in avb_replace() local
282 new_str = avb_malloc(num_new); in avb_replace()
283 if (new_str == NULL) { in avb_replace()
286 avb_memcpy(new_str, ret, ret_len); in avb_replace()
289 new_str[num_new - 1] = '\0'; in avb_replace()
291 ret = new_str; in avb_replace()
307 char* new_str = avb_malloc(num_new); in avb_replace() local
308 if (new_str == NULL) { in avb_replace()
311 avb_memcpy(new_str, ret, ret_len); in avb_replace()
313 new_str[num_new - 1] = '\0'; in avb_replace()
[all …]
/openbmc/linux/drivers/platform/x86/hp/hp-bioscfg/
H A Dbioscfg.c438 char *new_str = NULL; in hp_convert_hexstr_to_str() local
448 new_str = kmalloc(input_len, GFP_KERNEL); in hp_convert_hexstr_to_str()
449 if (!new_str) in hp_convert_hexstr_to_str()
465 new_str[new_len++] = '\\'; in hp_convert_hexstr_to_str()
467 new_str[new_len++] = ch; in hp_convert_hexstr_to_str()
474 new_str[new_len] = '\0'; in hp_convert_hexstr_to_str()
475 *str = krealloc(new_str, (new_len + 1) * sizeof(char), in hp_convert_hexstr_to_str()
486 kfree(new_str); in hp_convert_hexstr_to_str()
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-graphics/libsdl/libsdl-1.2.15/
H A Dpkgconfig.patch80 - char *new_str;
84 - new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
85 - strcpy (new_str, str);
88 - new_str = NULL;
90 - return new_str;
/openbmc/openbmc/poky/bitbake/lib/bs4/builder/
H A D_html5lib.py245 new_str = self.soup.new_string(old_node + node.element)
246 old_node.replace_with(new_str)
/openbmc/linux/tools/perf/util/
H A Dpmu.c472 const char *new_str) in assign_str() argument
474 if (!*old_str && new_str) { in assign_str()
475 *old_str = strdup(new_str); in assign_str()
479 if (!new_str || !strcasecmp(*old_str, new_str)) in assign_str()
483 name, field, *old_str, new_str); in assign_str()
485 *old_str = strdup(new_str); in assign_str()
/openbmc/u-boot/scripts/kconfig/
H A Dnconf.c569 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()
/openbmc/linux/scripts/kconfig/
H A Dnconf.c579 char new_str[256]; in item_add_str() local
586 vsnprintf(new_str, sizeof(new_str), fmt, ap); in item_add_str()
589 k_menu_items[index].str, new_str); in item_add_str()
/openbmc/u-boot/fs/yaffs2/
H A Dyaffs_guts.c2024 YCHAR *new_str = NULL; in yaffs_clone_str() local
2031 new_str = kmalloc((len + 1) * sizeof(YCHAR), GFP_NOFS); in yaffs_clone_str()
2032 if (new_str) { in yaffs_clone_str()
2033 yaffs_strncpy(new_str, str, len); in yaffs_clone_str()
2034 new_str[len] = 0; in yaffs_clone_str()
2036 return new_str; in yaffs_clone_str()