Home
last modified time | relevance | path

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

/external/iproute2/tc/
Dm_ipt.c225 char *new_name, *lname; in get_target_name() local
233 new_name = malloc(strlen(name) + 1); in get_target_name()
235 if (new_name) in get_target_name()
236 memset(new_name, '\0', strlen(name) + 1); in get_target_name()
245 strcpy(new_name, name); in get_target_name()
255 if (islower(new_name[0])) { in get_target_name()
257 for (i = 0; i < strlen(new_name); i++) { in get_target_name()
258 new_name[i] = toupper(new_name[i]); in get_target_name()
263 sprintf(path, "%s/libxt_%s.so", lib_dir, new_name); in get_target_name()
267 sprintf(path, "%s/libipt_%s.so", lib_dir, new_name); in get_target_name()
[all …]
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/
Dtemplate.rb154 def alias_template( new_name, old_name ) argument
155 new_name, old_name = new_name.to_s.dup.freeze, old_name.to_s
161 context.define_alias( new_name ) do | tclass |
162 self::TEMPLATES[ new_name ] = tclass
/external/openssl/crypto/x509/
Dx509name.c215 X509_NAME_ENTRY *new_name=NULL; in X509_NAME_add_entry() local
254 if ((new_name=X509_NAME_ENTRY_dup(ne)) == NULL) in X509_NAME_add_entry()
256 new_name->set=set; in X509_NAME_add_entry()
257 if (!sk_X509_NAME_ENTRY_insert(sk,new_name,loc)) in X509_NAME_add_entry()
270 if (new_name != NULL) in X509_NAME_add_entry()
271 X509_NAME_ENTRY_free(new_name); in X509_NAME_add_entry()
/external/freetype/src/base/
Dftrfork.c782 char* new_name = NULL; in raccess_make_file_name() local
792 if ( FT_ALLOC( new_name, new_length + 1 ) ) in raccess_make_file_name()
798 ft_strncpy( new_name, original_name, tmp - original_name + 1 ); in raccess_make_file_name()
799 new_name[tmp - original_name + 1] = '\0'; in raccess_make_file_name()
805 new_name[0] = '\0'; in raccess_make_file_name()
808 ft_strcat( new_name, insertion ); in raccess_make_file_name()
809 ft_strcat( new_name, slash ); in raccess_make_file_name()
811 return new_name; in raccess_make_file_name()
/external/dnsmasq/src/
Dlease.c439 char *new_name = NULL, *new_fqdn = NULL; in lease_set_hostname() local
457 if ((new_name = whine_malloc(strlen(name) + 1))) in lease_set_hostname()
460 strcpy(new_name, name); in lease_set_hostname()
461 if (suffix && (new_fqdn = whine_malloc(strlen(new_name) + strlen(suffix) + 2))) in lease_set_hostname()
479 if (!new_name || !lease_tmp->hostname || !hostname_isequal(lease_tmp->hostname, new_name) ) in lease_set_hostname()
485 free(new_name); in lease_set_hostname()
498 lease->hostname = new_name; in lease_set_hostname()
/external/e2fsprogs/e2fsck/
Drehash.c338 char new_name[256]; in duplicate_search_and_fix() local
367 memcpy(new_name, ent->dir->name, ent->dir->name_len & 0xFF); in duplicate_search_and_fix()
369 mutate_name(new_name, &new_len); in duplicate_search_and_fix()
374 (strncmp(new_name, fd->harray[j].dir->name, in duplicate_search_and_fix()
377 mutate_name(new_name, &new_len); in duplicate_search_and_fix()
381 new_name[new_len & 0xFF] = 0; in duplicate_search_and_fix()
382 pctx.str = new_name; in duplicate_search_and_fix()
384 memcpy(ent->dir->name, new_name, new_len & 0xFF); in duplicate_search_and_fix()
/external/kernel-headers/original/linux/
Dsysfs.h97 sysfs_rename_dir(struct kobject *, const char *new_name);
138 static inline int sysfs_rename_dir(struct kobject * k, const char *new_name) in sysfs_rename_dir() argument
Dkobject.h77 extern int kobject_rename(struct kobject *, const char *new_name);
Dnfs_xdr.h647 const struct qstr * new_name; member
/external/libpng/
Dpngwutil.c776 png_charp new_name; in png_write_iCCP() local
789 &new_name)) == 0) in png_write_iCCP()
809 png_free(png_ptr, new_name); in png_write_iCCP()
817 png_free(png_ptr, new_name); in png_write_iCCP()
835 new_name[name_len + 1] = 0x00; in png_write_iCCP()
836 png_write_chunk_data(png_ptr, (png_bytep)new_name, in png_write_iCCP()
843 png_free(png_ptr, new_name); in png_write_iCCP()
856 png_charp new_name; in png_write_sPLT() local
867 if ((name_len = png_check_keyword(png_ptr,spalette->name, &new_name))==0) in png_write_sPLT()
873 png_write_chunk_data(png_ptr, (png_bytep)new_name, in png_write_sPLT()
[all …]
DCHANGES2352 Fixed potential memory leak of "new_name" in png_write_iCCP() (Ralph Giles)
/external/valgrind/main/include/
Dpub_tool_libcfile.h87 extern Int VG_(rename) ( const Char* old_name, const Char* new_name );
/external/chromium/chrome/browser/ui/views/download/
Ddownload_item_view.cc1141 string16 new_name; in UpdateAccessibleName() local
1143 new_name = WideToUTF16Hack(dangerous_download_label_->GetText()); in UpdateAccessibleName()
1145 new_name = WideToUTF16Hack(status_text_) + char16(' ') + in UpdateAccessibleName()
1151 if (new_name != accessible_name_) { in UpdateAccessibleName()
1152 accessible_name_ = new_name; in UpdateAccessibleName()
/external/chromium/chrome/browser/chromeos/login/
Dparallel_authenticator.h214 void SetLocalaccount(const std::string& new_name);
Dgoogle_authenticator.cc422 void GoogleAuthenticator::SetLocalaccount(const std::string& new_name) { in SetLocalaccount() argument
423 localaccount_ = new_name; in SetLocalaccount()
Dgoogle_authenticator.h84 void SetLocalaccount(const std::string& new_name);
Dparallel_authenticator.cc563 void ParallelAuthenticator::SetLocalaccount(const std::string& new_name) { in SetLocalaccount() argument
564 localaccount_ = new_name; in SetLocalaccount()
/external/qemu/distrib/libpng-1.2.19/
Dpngwutil.c735 png_charp new_name; in png_write_iCCP() local
748 &new_name)) == 0) in png_write_iCCP()
788 new_name[name_len+1]=0x00; in png_write_iCCP()
789 png_write_chunk_data(png_ptr, (png_bytep)new_name, name_len + 2); in png_write_iCCP()
795 png_free(png_ptr, new_name); in png_write_iCCP()
808 png_charp new_name; in png_write_sPLT() local
819 spalette->name, &new_name))==0) in png_write_sPLT()
828 png_write_chunk_data(png_ptr, (png_bytep)new_name, name_len + 1); in png_write_sPLT()
878 png_free(png_ptr, new_name); in png_write_sPLT()
/external/chromium/third_party/libevent/
Devdns.c2532 char *const new_name = search_make_new(global_search_state, 0, name); in search_request_new() local
2533 if (!new_name) return 1; in search_request_new()
2534 req = request_new(type, new_name, flags, user_callback, user_arg); in search_request_new()
2535 free(new_name); in search_request_new()
2562 char *new_name; in search_try_next() local
2580 new_name = search_make_new(req->search_state, req->search_index, req->search_origname); in search_try_next()
2581 if (!new_name) return 1; in search_try_next()
2582 log(EVDNS_LOG_DEBUG, "Search: now trying %s (%d)", new_name, req->search_index); in search_try_next()
2583 …newreq = request_new(req->request_type, new_name, req->search_flags, req->user_callback, req->user… in search_try_next()
2584 free(new_name); in search_try_next()
/external/chromium/chrome/browser/download/
Ddownload_util.cc269 string16 new_name = net::GetSuggestedFilename(GURL(url), in GenerateFileName() local
279 *generated_name = FilePath(new_name); in GenerateFileName()
282 base::SysWideToNativeMB(UTF16ToWide(new_name))); in GenerateFileName()
Dsave_package.cc492 FilePath::StringType new_name = base_file_name + in GenerateFileName() local
494 if (file_name_set_.find(new_name) == file_name_set_.end()) { in GenerateFileName()
496 file_name = new_name; in GenerateFileName()
/external/chromium/testing/gmock/scripts/generator/cpp/
Dast.py1132 new_name, next = self.GetName(seq_copy[i:])
1133 assert new_name, 'Got empty new_name, next=%s' % next
1136 new_name.append(next)
1137 names.append(new_name)
1138 i += len(new_name)
/external/bluetooth/glib/glib/
Dgfileutils.c841 const char *new_name, in rename_file() argument
845 if (g_rename (old_name, new_name) == -1) in rename_file()
849 gchar *display_new_name = g_filename_display_name (new_name); in rename_file()
/external/valgrind/main/coregrind/
Dm_libcfile.c378 Int VG_(rename) ( const Char* old_name, const Char* new_name ) in VG_()
380 SysRes res = VG_(do_syscall2)(__NR_rename, (UWord)old_name, (UWord)new_name); in VG_()
/external/chromium/chrome/browser/sync/syncable/
Dsyncable_unittest.cc1022 std::string new_name = "new_name"; in TEST_F() local
1035 ASSERT_TRUE(deleted.Put(NON_UNIQUE_NAME, new_name)); in TEST_F()
1038 EXPECT_EQ(0, CountEntriesWithName(&trans, trans.root_id(), new_name)); in TEST_F()