Home
last modified time | relevance | path

Searched refs:oldcontents (Results 1 – 5 of 5) sorted by relevance

/third_party/cef/tools/
Dfix_style.py55 oldcontents = read_file(filename)
56 if len(oldcontents) == 0:
62 newcontents = yapf_format(filename, oldcontents)
65 newcontents = clang_format(filename, oldcontents)
70 if newcontents != oldcontents:
Dtranslator.py113 oldcontents = ''
128 oldcontents = read_file(file)
131 start = oldcontents.find(hash_start)
133 end = oldcontents.find(hash_end, start + len(hash_start))
135 oldhash = oldcontents[start + len(hash_start):end]
154 if options.backup and oldcontents != '':
Dmake_ctocpp_impl.py705 oldcontents = read_file(file)
707 oldcontents = ''
710 newcontents = make_ctocpp_global_impl(header, oldcontents)
712 newcontents = make_ctocpp_class_impl(header, clsname, oldcontents)
Dmake_cpptoc_impl.py712 oldcontents = read_file(file)
714 oldcontents = ''
717 newcontents = make_cpptoc_global_impl(header, oldcontents)
719 newcontents = make_cpptoc_class_impl(header, clsname, oldcontents)
/third_party/gettext/gettext-tools/src/
Dxgettext.c1692 struct string_list_ty *oldcontents; in savable_comment_add() local
1696 oldcontents = &savable_comment->contents; in savable_comment_add()
1701 for (i = 0; i < oldcontents->nitems; i++) in savable_comment_add()
1702 string_list_append (&savable_comment->contents, oldcontents->item[i]); in savable_comment_add()