/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/v8/src/debug/ |
D | liveedit.js | 964 function ApplySingleChunkPatch(script, change_pos, change_len, new_str, argument 970 new_str + old_source.substring(change_pos + change_len); 973 [ change_pos, change_pos + change_len, change_pos + new_str.length],
|
/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/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/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/python/cpython2/Objects/ |
D | typeobject.c | 5824 static PyObject *new_str; local 5829 if (new_str == NULL) { 5830 new_str = PyString_InternFromString("__new__"); 5831 if (new_str == NULL) 5834 func = PyObject_GetAttr((PyObject *)type, new_str);
|