Home
last modified time | relevance | path

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

/external/u-boot/lib/libavb/
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()
287 avb_memcpy(new_str + ret_len, str, num_before); in avb_replace()
288 avb_memcpy(new_str + ret_len + num_before, replace, replace_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()
[all …]
/external/avb/libavb/
Davb_util.c299 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 …]
/external/libxml2/
DtestOOM.c111 void *new_str; in buffer_expand() local
116 new_str = realloc (b->str, new_size); in buffer_expand()
117 if (new_str == NULL) in buffer_expand()
119 b->str = new_str; in buffer_expand()
/external/libcxx/utils/libcxx/sym_check/
Ddiff.py80 new_str = '\n NEW SYMBOL: %s' % new_sym
83 old_str, new_str))
/external/elfutils/libelf/
Delf_getarsym.c230 char *new_str = (char *) (elf->state.ar.ar_sym + n + 1); in elf_getarsym() local
234 || ((size_t) pread_retry (elf->fildes, new_str, in elf_getarsym()
245 str_data = (char *) new_str; in elf_getarsym()
/external/libusb/examples/getopt/
Dgetopt.c325 char *new_str = malloc (top + 1); local
326 if (new_str == NULL)
330 memset (__mempcpy (new_str, __getopt_nonoption_flags,
334 __getopt_nonoption_flags = new_str;
/external/compiler-rt/lib/asan/tests/
Dasan_str_test.cc133 char *new_str; in TEST() local
136 new_str = strdup(str); in TEST()
137 free(new_str); in TEST()
138 new_str = strdup(str + size - 1); in TEST()
139 free(new_str); in TEST()
/external/u-boot/scripts/kconfig/
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()
/external/llvm/examples/Kaleidoscope/MCJIT/initial/
Dtoy.cpp637 char new_str[16]; in MakeLegalFunctionName() local
638 sprintf(new_str, "%d", (int)old_c); in MakeLegalFunctionName()
639 NewName = NewName.replace(pos, 1, new_str); in MakeLegalFunctionName()
/external/swiftshader/third_party/llvm-7.0/llvm/examples/Kaleidoscope/MCJIT/initial/
Dtoy.cpp637 char new_str[16]; in MakeLegalFunctionName() local
638 sprintf(new_str, "%d", (int)old_c); in MakeLegalFunctionName()
639 NewName = NewName.replace(pos, 1, new_str); in MakeLegalFunctionName()
/external/swiftshader/third_party/llvm-7.0/llvm/examples/Kaleidoscope/MCJIT/lazy/
Dtoy.cpp639 char new_str[16]; in MakeLegalFunctionName() local
640 sprintf(new_str, "%d", (int)old_c); in MakeLegalFunctionName()
641 NewName = NewName.replace(pos, 1, new_str); in MakeLegalFunctionName()
/external/llvm/examples/Kaleidoscope/MCJIT/lazy/
Dtoy.cpp639 char new_str[16]; in MakeLegalFunctionName() local
640 sprintf(new_str, "%d", (int)old_c); in MakeLegalFunctionName()
641 NewName = NewName.replace(pos, 1, new_str); in MakeLegalFunctionName()
/external/llvm/examples/Kaleidoscope/MCJIT/cached/
Dtoy.cpp660 char new_str[16]; in MakeLegalFunctionName() local
661 sprintf(new_str, "%d", (int)old_c); in MakeLegalFunctionName()
662 NewName = NewName.replace(pos, 1, new_str); in MakeLegalFunctionName()
/external/llvm/examples/Kaleidoscope/MCJIT/complete/
Dtoy.cpp679 char new_str[16]; in MakeLegalFunctionName() local
680 sprintf(new_str, "%d", (int)old_c); in MakeLegalFunctionName()
681 NewName = NewName.replace(pos, 1, new_str); in MakeLegalFunctionName()
/external/swiftshader/third_party/llvm-7.0/llvm/examples/Kaleidoscope/MCJIT/complete/
Dtoy.cpp679 char new_str[16]; in MakeLegalFunctionName() local
680 sprintf(new_str, "%d", (int)old_c); in MakeLegalFunctionName()
681 NewName = NewName.replace(pos, 1, new_str); in MakeLegalFunctionName()
/external/swiftshader/third_party/llvm-7.0/llvm/examples/Kaleidoscope/MCJIT/cached/
Dtoy.cpp660 char new_str[16]; in MakeLegalFunctionName() local
661 sprintf(new_str, "%d", (int)old_c); in MakeLegalFunctionName()
662 NewName = NewName.replace(pos, 1, new_str); in MakeLegalFunctionName()
/external/u-boot/fs/yaffs2/
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()
/external/python/cpython2/Objects/
Dtypeobject.c5887 static PyObject *new_str; local
5892 if (new_str == NULL) {
5893 new_str = PyString_InternFromString("__new__");
5894 if (new_str == NULL)
5897 func = PyObject_GetAttr((PyObject *)type, new_str);