/external/oss-fuzz/projects/augeas/ |
D | augeas_api_fuzzer.cc | 45 char *new_str = (char *)malloc(size+1); in LLVMFuzzerTestOneInput() local 46 if (new_str == NULL){ in LLVMFuzzerTestOneInput() 49 memcpy(new_str, data, size); in LLVMFuzzerTestOneInput() 50 new_str[size] = '\0'; in LLVMFuzzerTestOneInput() 52 struct augeas *aug = aug_init(new_str, loadpath, AUG_NO_STDINC|AUG_NO_LOAD); in LLVMFuzzerTestOneInput() 53 aug_defvar(aug, new_str, &new_str[1]); in LLVMFuzzerTestOneInput() 54 aug_get(aug, new_str, &value); in LLVMFuzzerTestOneInput() 55 aug_label(aug, new_str, &label); in LLVMFuzzerTestOneInput() 57 aug_rename(aug, new_str, &new_str[1]); in LLVMFuzzerTestOneInput() 58 aug_text_store(aug, &new_str[1], new_str, &new_str[2]); in LLVMFuzzerTestOneInput() [all …]
|
D | augeas_fa_fuzzer.cc | 41 char *new_str = (char *)malloc(Size+1); in LLVMFuzzerTestOneInput() local 42 if (new_str == NULL){ in LLVMFuzzerTestOneInput() 45 memcpy(new_str, Data, Size); in LLVMFuzzerTestOneInput() 46 new_str[Size] = '\0'; in LLVMFuzzerTestOneInput() 52 int r = fa_expand_nocase(new_str, intSize, &s, &len); in LLVMFuzzerTestOneInput() 55 int r2 = fa_compile(new_str, intSize, &fa2); in LLVMFuzzerTestOneInput() 58 fa_compile(&new_str[1], intSize, &fa1); in LLVMFuzzerTestOneInput() 80 if (new_str != NULL) free(new_str); in LLVMFuzzerTestOneInput()
|
/external/oss-fuzz/projects/lighttpd/ |
D | fuzz_burl.c | 39 char *new_str = (char *)malloc(size+1); in LLVMFuzzerTestOneInput() local 40 if (new_str == NULL){ in LLVMFuzzerTestOneInput() 43 memcpy(new_str, data, size); in LLVMFuzzerTestOneInput() 44 new_str[size] = '\0'; in LLVMFuzzerTestOneInput() 49 run_burl_normalize(psrc, ptmp, flags, __LINE__, new_str, size); in LLVMFuzzerTestOneInput() 54 free(new_str); in LLVMFuzzerTestOneInput()
|
/external/oss-fuzz/projects/haproxy/ |
D | fuzz_hpack_decode.c | 55 char *new_str = (char *)malloc(size+1); in LLVMFuzzerTestOneInput() local 59 if (new_str == NULL){ in LLVMFuzzerTestOneInput() 62 memcpy(new_str, data, size); in LLVMFuzzerTestOneInput() 63 new_str[size] = '\0'; in LLVMFuzzerTestOneInput() 72 hpack_decode_frame(dht, new_str, size, list,sizeof(list)/sizeof(list[0]), &tmp); in LLVMFuzzerTestOneInput() 78 free(new_str); in LLVMFuzzerTestOneInput()
|
/external/avb/libavb/ |
D | avb_util.c | 324 char* new_str; in avb_replace() local 326 new_str = avb_malloc(num_new); in avb_replace() 327 if (new_str == NULL) { in avb_replace() 330 avb_memcpy(new_str, ret, ret_len); in avb_replace() 331 avb_memcpy(new_str + ret_len, str, num_before); in avb_replace() 332 avb_memcpy(new_str + ret_len + num_before, replace, replace_len); in avb_replace() 333 new_str[num_new - 1] = '\0'; in avb_replace() 335 ret = new_str; in avb_replace() 351 char* new_str = avb_malloc(num_new); in avb_replace() local 352 if (new_str == NULL) { in avb_replace() [all …]
|
/external/llvm-project/compiler-rt/lib/asan/tests/ |
D | asan_str_test.cpp | 144 char *new_str; in TEST() local 147 new_str = strdup(str); in TEST() 148 free(new_str); in TEST() 149 new_str = strdup(str + size - 1); in TEST() 150 free(new_str); in TEST() 164 char *new_str; in TEST() local 167 new_str = strndup(str, size - 13); in TEST() 168 free(new_str); in TEST() 169 new_str = strndup(str + size - 1, 13); in TEST() 170 free(new_str); in TEST() [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/llvm-project/libcxx/utils/libcxx/sym_check/ |
D | diff.py | 79 new_str = '\n NEW SYMBOL: %s' % new_sym 82 old_str, new_str))
|
/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/msvc/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/flac/src/share/getopt/ |
D | getopt.c | 336 char *new_str = malloc (top + 1); local 337 if (new_str == NULL) 341 memset (__mempcpy (new_str, __getopt_nonoption_flags, 345 __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/autotest/client/common_lib/cros/ |
D | cr50_utils.py | 637 new_str = '%08x:%s%08x' % (new_board_id, new_board_id_inv_str, new_flags) 639 if new_str != expected_str: 641 (expected_str, new_str))
|
/external/libchrome/base/trace_event/ |
D | trace_event_argument.cc | 444 base::Value new_str(std::move(value)); in ToBaseValue() local 446 cur_dict->SetKey(ReadKeyName(it), std::move(new_str)); in ToBaseValue() 448 cur_list->GetList().push_back(std::move(new_str)); in ToBaseValue()
|
/external/toolchain-utils/rust_tools/ |
D | rust_uprev.py | 354 new_str = f'dev-lang/rust-{rust_version}' 357 logging.info('%s has been inserted into package.provided', new_str)
|
/external/llvm-project/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-project/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/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/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/tensorflow/tensorflow/python/autograph/pyct/common_transformers/ |
D | anf_test.py | 450 new_str = textwrap.dedent(new_source).strip() 451 self.assertEqual(orig_str, new_str)
|
/external/llvm-project/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-project/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/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/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()
|