Home
last modified time | relevance | path

Searched refs:new_name (Results 1 – 25 of 25) sorted by relevance

/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/bugprone/
H A Dmisplaced-operator-in-strlen-in-alloc.c20 char *new_name = (char *)malloc(strlen(name + 1)); in bad_malloc() local
23 new_name = (char *)malloc(strnlen(name + 1, 10)); in bad_malloc()
26 new_name = (char *)malloc(strnlen_s(name + 1, 10)); in bad_malloc()
32 wchar_t *new_name = (wchar_t *)malloc(wcslen(name + 1)); in bad_malloc_wide() local
35 new_name = (wchar_t *)malloc(wcsnlen(name + 1, 10)); in bad_malloc_wide()
38 new_name = (wchar_t *)malloc(wcsnlen_s(name + 1, 10)); in bad_malloc_wide()
44 char *new_name = (char *)alloca(strlen(name + 1)); in bad_alloca() local
62 char *new_name = (char *)malloc(strlen(name + 1) + 1); in intentional1() local
68 char *new_name = (char *)malloc(strlen(name + 2)); in intentional2() local
74 char *new_name = (char *)malloc(strlen((name + 1))); in intentional3() local
[all …]
H A Dmisplaced-operator-in-strlen-in-alloc.cpp18 char *new_name = (char *)std::malloc(std::strlen(name + 1)); in bad_std_malloc_std_strlen() local
24 char *new_name = (char *)non_std::malloc(std::strlen(name + 1)); in ignore_non_std_malloc_std_strlen() local
30 char *new_name = (char *)std::malloc(non_std::strlen(name + 1)); in ignore_std_malloc_non_std_strlen() local
36 char *new_name = new char[std::strlen(name + 1)]; in bad_new_strlen() local
42 char *new_name = new char[std::strlen(name) + 1]; in good_new_strlen() local
55 C *new_name = new C[std::strlen(name + 1)]; in bad_custom_new_strlen() local
/llvm-project-15.0.7/mlir/test/IR/
H A Dtest-symbol-rauw.mlir9 func.func private @symbol_foo() attributes {sym.new_name = "replaced_foo" }
42 func.func nested @foo() attributes {sym.new_name = "replaced_foo" }
46 module @module_b attributes {sym.new_name = "replaced_module_b"} {
48 module @module_c attributes {sym.new_name = "replaced_module_c"} {
50 func.func nested @foo() attributes {sym.new_name = "replaced_foo" }
71 func.func private @failed_repl() attributes {sym.new_name = "replaced_name" }
82 func.func private @symbol_foo() attributes {sym.new_name = "replaced_foo" }
/llvm-project-15.0.7/clang/tools/clang-rename/
H A Dclang-rename.py44 new_name = vim.eval("input('{}\n')".format(new_name_request_message))
51 '-new-name', str(new_name)]
/llvm-project-15.0.7/lldb/source/Core/
H A DValueObjectConstResultImpl.cpp127 std::string new_name("&"); in AddressOf() local
128 new_name.append(m_impl_backend->GetName().AsCString("")); in AddressOf()
132 ConstString(new_name.c_str()), buffer, endian::InlHostByteOrder(), in AddressOf()
H A DValueObject.cpp2769 lldb::ValueObjectSP ValueObject::Clone(ConstString new_name) { in Clone() argument
2770 return ValueObjectCast::Create(*this, new_name, GetCompilerType()); in Clone()
/llvm-project-15.0.7/clang/cmake/caches/
H A DAndroid.cmake36 string(REPLACE "STAGE2_" "" new_name ${variableName})
37 list(APPEND EXTRA_ARGS "-D${new_name}=${${variableName}}")
H A DFuchsia.cmake139 string(REPLACE "STAGE2_" "" new_name ${variableName})
140 list(APPEND EXTRA_ARGS "-D${new_name}=${${variableName}}")
/llvm-project-15.0.7/lldb/include/lldb/API/
H A DSBBreakpoint.h108 bool AddName(const char *new_name);
110 SBError AddNameWithErrorHandling(const char *new_name);
H A DSBValue.h253 lldb::SBValue Clone(const char *new_name);
/llvm-project-15.0.7/clang/test/Modules/Inputs/oldname/
H A Dmodule.map2 header "new_name.h"
/llvm-project-15.0.7/clang/utils/check_cfc/
H A Dcheck_cfc.py151 def replace_output_file(args, new_name): argument
166 replacement = new_name
168 replacement = '-o' + new_name
/llvm-project-15.0.7/lldb/bindings/interface/
H A DSBBreakpoint.i210 AddName (const char *new_name);
213 AddNameWithErrorHandling (const char *new_name);
H A DSBValue.i414 Clone(const char *new_name);
/llvm-project-15.0.7/lldb/source/API/
H A DSBBreakpoint.cpp656 bool SBBreakpoint::AddName(const char *new_name) { in AddName() argument
657 LLDB_INSTRUMENT_VA(this, new_name); in AddName()
659 SBError status = AddNameWithErrorHandling(new_name); in AddName()
663 SBError SBBreakpoint::AddNameWithErrorHandling(const char *new_name) { in AddNameWithErrorHandling() argument
664 LLDB_INSTRUMENT_VA(this, new_name); in AddNameWithErrorHandling()
673 bkpt_sp->GetTarget().AddNameToBreakpoint(bkpt_sp, new_name, error); in AddNameWithErrorHandling()
H A DSBValue.cpp1390 lldb::SBValue SBValue::Clone(const char *new_name) { in Clone() argument
1391 LLDB_INSTRUMENT_VA(this, new_name); in Clone()
1397 return lldb::SBValue(value_sp->Clone(ConstString(new_name))); in Clone()
/llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_thread_registry.cpp33 void ThreadContextBase::SetName(const char *new_name) { in SetName() argument
35 if (new_name) { in SetName()
36 internal_strncpy(name, new_name, sizeof(name)); in SetName()
H A Dsanitizer_malloc_mac.inc124 InternalScopedString new_name;
126 new_name.append(COMMON_MALLOC_ZONE_NAME "-%s", name);
127 name = new_name.data();
H A Dsanitizer_thread_registry.h59 void SetName(const char *new_name);
/llvm-project-15.0.7/llvm/runtimes/
H A DCMakeLists.txt110 string(REPLACE "BUILTINS_${target}_" "" new_name ${variableName})
112 list(APPEND ${target}_extra_args "-D${new_name}=${new_value}")
316 string(REPLACE "RUNTIMES_${target}_" "" new_name ${variableName})
318 list(APPEND ${name}_extra_args "-D${new_name}=${new_value}")
325 string(REPLACE "RUNTIMES_${name}_" "" new_name ${variableName})
327 list(APPEND ${name}_extra_args "-D${new_name}=${new_value}")
/llvm-project-15.0.7/lldb/test/API/functionalities/breakpoint/breakpoint_names/
H A DTestBreakpointNames.py249 new_name = lldb.SBBreakpointName(bkpt, other_bp_name_string)
250 self.assertTrue(new_name.IsValid(), "Couldn't make a valid bp_name from a breakpoint.")
/llvm-project-15.0.7/lldb/include/lldb/Breakpoint/
H A DBreakpoint.h523 bool AddName(llvm::StringRef new_name);
/llvm-project-15.0.7/lldb/source/Breakpoint/
H A DBreakpoint.cpp844 bool Breakpoint::AddName(llvm::StringRef new_name) { in AddName() argument
845 m_name_list.insert(new_name.str().c_str()); in AddName()
/llvm-project-15.0.7/lldb/include/lldb/Core/
H A DValueObject.h612 virtual lldb::ValueObjectSP Clone(ConstString new_name);
/llvm-project-15.0.7/polly/lib/External/isl/
H A Disl_input.c1524 int new_name = 0; in read_tuple_pw_aff_el() local
1537 new_name = p >= n; in read_tuple_pw_aff_el()
1545 } else if (new_name) { in read_tuple_pw_aff_el()