Home
last modified time | relevance | path

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

123

/third_party/mesa3d/src/compiler/glsl/
Dgl_nir_lower_xfb_varying.c54 char *new_name; in generate_new_name() local
57 new_name = ralloc_strdup(mem_ctx, name); in generate_new_name()
58 while (new_name[i]) { in generate_new_name()
59 if (new_name[i] == '.') { in generate_new_name()
60 new_name[i] = '_'; in generate_new_name()
61 } else if (new_name[i] == '[' || new_name[i] == ']') { in generate_new_name()
62 new_name[i] = '@'; in generate_new_name()
67 if (!ralloc_strcat(&new_name, "-xfb")) { in generate_new_name()
68 ralloc_free(new_name); in generate_new_name()
72 return new_name; in generate_new_name()
/third_party/python/Lib/lib2to3/fixes/
Dfix_imports.py126 new_name = self.mapping[mod_name]
127 import_mod.replace(Name(new_name, prefix=import_mod.prefix))
131 self.replace[mod_name] = new_name
143 new_name = self.replace.get(bare_name.value)
144 if new_name:
145 bare_name.replace(Name(new_name, prefix=bare_name.prefix))
Dfix_urllib.py106 new_name = None
109 new_name = change[0]
111 if new_name:
112 mod_member.replace(Name(new_name, prefix=pref))
172 new_name = None
177 new_name = change[0]
179 if new_name:
180 module_dot.replace(Name(new_name,
Dfix_tuple_params.py68 n = Name(self.new_name())
124 tup_name = self.new_name(tuple_name(params))
/third_party/protobuf/python/google/protobuf/internal/
D_parameterized.py385 new_name = func.__name__
387 new_name = '%s%s%d' % (name, _SEPARATOR, idx)
388 assert new_name not in dct, (
389 'Name of parameterized test case "%s" not unique' % (new_name,))
390 dct[new_name] = func
391 id_suffix[new_name] = getattr(func, '__x_extra_id__', '')
/third_party/vk-gl-cts/external/vulkan-docs/src/xml/
Dgenerate-core-block.rb72 new_name = old_name.sub('_' + extension_suffix,'').sub(extension_suffix,'')
73 … alias_block << "\t"*4 + '<alias name="' + old_name + '" value="' + new_name + '"/>' + "\n"
74 renames[old_name] = new_name
75 core_block.gsub!(old_name,new_name)
/third_party/skia/third_party/externals/sfntly/cpp/src/test/
Dname_editing_test.cc63 U_STRING_DECL(new_name, "Timothy", 7); in TestChangeOneName()
64 neb->SetName(new_name); in TestChangeOneName()
86 EXPECT_EQ(u_strcmp(name, new_name), 0); in TestChangeOneName()
111 U_STRING_DECL(new_name, "Timothy", 7); in TestModifyNameTableAndRevert()
112 neb->SetName(new_name); in TestModifyNameTableAndRevert()
/third_party/node/deps/uvwasi/src/
Dwasi_serdes.c165 #define WRITE_ALIAS(new_name, old_name) \ argument
166 void uvwasi_serdes_write_##new_name(void* ptr, \
168 uvwasi_##new_name value) { \
172 #define READ_ALIAS(new_name, old_name) \ argument
173 uvwasi_##new_name uvwasi_serdes_read_##new_name(const void* ptr, \
/third_party/skia/third_party/externals/tint/src/reader/spirv/
Dnamer.cc195 std::string new_name; in ResolveMemberNamesForStruct() local
199 new_name = new_name_stream.str(); in ResolveMemberNamesForStruct()
201 } while (used_names.find(new_name) != used_names.end()); in ResolveMemberNamesForStruct()
202 return new_name; in ResolveMemberNamesForStruct()
/third_party/vk-gl-cts/external/amber/src/src/
Dtype_parser.cc501 std::string new_name = ""; in ParseGlslFormat() local
504 new_name += prefix[i] + std::to_string(bits); in ParseGlslFormat()
506 new_name += "_"; in ParseGlslFormat()
508 new_name += "SINT"; in ParseGlslFormat()
510 new_name += "UINT"; in ParseGlslFormat()
512 new_name += "SFLOAT"; in ParseGlslFormat()
514 return Parse(new_name); in ParseGlslFormat()
/third_party/python/PC/layout/
Dmain.py126 def in_build(f, dest="", new_name=None): argument
128 n = new_name or n
147 yield from in_build("python_uwp.exe", new_name="python{}".format(VER_DOT))
148 yield from in_build("pythonw_uwp.exe", new_name="pythonw{}".format(VER_DOT))
150 yield from in_build("python_uwp.exe", new_name="python")
151 yield from in_build("pythonw_uwp.exe", new_name="pythonw")
153 yield from in_build("python.exe", new_name="python")
154 yield from in_build("pythonw.exe", new_name="pythonw")
160 yield from in_build("python_uwp.exe", new_name="pip{}".format(VER_DOT))
162 yield from in_build("pythonw_uwp.exe", new_name="idle{}".format(VER_DOT))
/third_party/node/deps/openssl/openssl/crypto/x509/
Dx509name.c191 X509_NAME_ENTRY *new_name = NULL; in X509_NAME_add_entry() local
224 if ((new_name = X509_NAME_ENTRY_dup(ne)) == NULL) in X509_NAME_add_entry()
226 new_name->set = set; in X509_NAME_add_entry()
227 if (!sk_X509_NAME_ENTRY_insert(sk, new_name, loc)) { in X509_NAME_add_entry()
238 X509_NAME_ENTRY_free(new_name); in X509_NAME_add_entry()
/third_party/openssl/crypto/x509/
Dx509name.c191 X509_NAME_ENTRY *new_name = NULL; in X509_NAME_add_entry() local
224 if ((new_name = X509_NAME_ENTRY_dup(ne)) == NULL) in X509_NAME_add_entry()
226 new_name->set = set; in X509_NAME_add_entry()
227 if (!sk_X509_NAME_ENTRY_insert(sk, new_name, loc)) { in X509_NAME_add_entry()
238 X509_NAME_ENTRY_free(new_name); in X509_NAME_add_entry()
/third_party/skia/third_party/externals/freetype/src/base/
Dftrfork.c867 char* new_name = NULL; in raccess_make_file_name() local
877 if ( FT_QALLOC( new_name, new_length + 1 ) ) in raccess_make_file_name()
883 ft_strncpy( new_name, in raccess_make_file_name()
886 new_name[tmp - original_name + 1] = '\0'; in raccess_make_file_name()
892 new_name[0] = '\0'; in raccess_make_file_name()
895 ft_strcat( new_name, insertion ); in raccess_make_file_name()
896 ft_strcat( new_name, slash ); in raccess_make_file_name()
898 return new_name; in raccess_make_file_name()
/third_party/musl/scripts/
Dsearch_source_files.py77 new_name = ""
79 new_name = name.replace(".s", ".c")
81 new_name = name.replace(".S", ".c")
84 return new_name
/third_party/spirv-tools/source/opt/
Ddesc_sroa.cpp295 std::unique_ptr<Instruction> new_name(new Instruction( in CreateReplacementVariable() local
300 Instruction* new_name_inst = new_name.get(); in CreateReplacementVariable()
302 names_to_add.push_back(std::move(new_name)); in CreateReplacementVariable()
307 for (auto& new_name : names_to_add) in CreateReplacementVariable() local
308 context()->AddDebug2Inst(std::move(new_name)); in CreateReplacementVariable()
/third_party/skia/third_party/externals/spirv-tools/source/opt/
Ddesc_sroa.cpp294 std::unique_ptr<Instruction> new_name(new Instruction( in CreateReplacementVariable() local
299 Instruction* new_name_inst = new_name.get(); in CreateReplacementVariable()
301 names_to_add.push_back(std::move(new_name)); in CreateReplacementVariable()
306 for (auto& new_name : names_to_add) in CreateReplacementVariable() local
307 context()->AddDebug2Inst(std::move(new_name)); in CreateReplacementVariable()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
Ddesc_sroa.cpp295 std::unique_ptr<Instruction> new_name(new Instruction( in CreateReplacementVariable() local
300 Instruction* new_name_inst = new_name.get(); in CreateReplacementVariable()
302 names_to_add.push_back(std::move(new_name)); in CreateReplacementVariable()
307 for (auto& new_name : names_to_add) in CreateReplacementVariable() local
308 context()->AddDebug2Inst(std::move(new_name)); in CreateReplacementVariable()
/third_party/gstreamer/gstreamer/gst/
Dgstpreset.h69 const gchar *new_name);
97 const gchar *new_name);
Dgstpreset.c905 const gchar * new_name) in gst_preset_default_rename_preset() argument
921 g_key_file_set_comment (presets, new_name, NULL, str, NULL); in gst_preset_default_rename_preset()
930 g_key_file_set_comment (presets, new_name, keys[i], str, NULL); in gst_preset_default_rename_preset()
935 g_key_file_set_value (presets, new_name, keys[i], str); in gst_preset_default_rename_preset()
1135 const gchar * new_name) in gst_preset_rename_preset() argument
1139 g_return_val_if_fail (new_name, FALSE); in gst_preset_rename_preset()
1142 new_name)); in gst_preset_rename_preset()
/third_party/gn/src/gn/
Dloader_unittest.cc340 std::string new_name = "BUILD.more.gn"; in TEST_F() local
356 SourceFile root_build("//" + new_name); in TEST_F()
371 SourceFile second_file("//foo/" + new_name); in TEST_F()
373 EXPECT_TRUE(mock_ifm_.HasOnePending(SourceFile("//tc2/" + new_name))); in TEST_F()
/third_party/node/deps/cares/src/tools/
Dadig.c838 static char new_name [MAX_IP6_RR]; in convert_query() local
854 snprintf(new_name, sizeof(new_name), "%lu.%lu.%lu.%lu.in-addr.arpa", a4, a3, a2, a1); in convert_query()
855 *name_p = new_name; in convert_query()
861 char *c = new_name; in convert_query()
896 *name_p = new_name; in convert_query()
/third_party/alsa-utils/topology/
Dpre-process-object.c1289 char *new_name; in tplg_construct_object_name() local
1302 new_name = strdup(class_id); in tplg_construct_object_name()
1303 if (!new_name) in tplg_construct_object_name()
1370 temp = tplg_snprintf("%s.%s", new_name, arg_value); in tplg_construct_object_name()
1376 free(new_name); in tplg_construct_object_name()
1377 new_name = temp; in tplg_construct_object_name()
1380 ret = snd_config_set_id(obj, new_name); in tplg_construct_object_name()
1382 free(new_name); in tplg_construct_object_name()
/third_party/lwip/src/apps/http/makefsdata/
Dmakefsdata.c707 char *new_name = (char *)malloc(len + 2); in fix_filename_for_c() local
715 strcpy(new_name, qualifiedName); in fix_filename_for_c()
717 if (!is_valid_char_for_c_var(new_name[i])) { in fix_filename_for_c()
718 new_name[i] = '_'; in fix_filename_for_c()
724 if (!strcmp(f->filename_c, new_name)) { in fix_filename_for_c()
728 sprintf(&new_name[len], "%d", cnt); in fix_filename_for_c()
737 strcpy(qualifiedName, new_name); in fix_filename_for_c()
738 free(new_name); in fix_filename_for_c()
/third_party/vulkan-loader/tests/framework/
Dtest_util.cpp492 path FolderManager::copy_file(path const& file, std::string const& new_name) { in copy_file() argument
493 auto new_filepath = folder / new_name; in copy_file()
494 auto found = std::find(files.begin(), files.end(), new_name); in copy_file()
496 std::cout << "File location already contains" << new_name << ". Is this a bug?\n"; in copy_file()
498 std::cout << "Trying to copy " << new_name << " into itself. Is this a bug?\n"; in copy_file()
500 files.emplace_back(new_name); in copy_file()

123