/external/u-boot/lib/libavb/ |
D | avb_util.c | 280 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/ |
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 …]
|
/external/libxml2/ |
D | testOOM.c | 111 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/ |
D | diff.py | 80 new_str = '\n NEW SYMBOL: %s' % new_sym 83 old_str, new_str))
|
/external/elfutils/libelf/ |
D | elf_getarsym.c | 230 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/ |
D | getopt.c | 325 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/ |
D | asan_str_test.cc | 133 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/ |
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()
|
/external/llvm/examples/Kaleidoscope/MCJIT/initial/ |
D | toy.cpp | 637 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/ |
D | toy.cpp | 637 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/ |
D | toy.cpp | 639 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/ |
D | toy.cpp | 639 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/ |
D | toy.cpp | 660 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/ |
D | toy.cpp | 679 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/ |
D | toy.cpp | 679 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/ |
D | toy.cpp | 660 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/ |
D | yaffs_guts.c | 2024 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/ |
D | typeobject.c | 5887 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);
|