Home
last modified time | relevance | path

Searched refs:new_text (Results 1 - 11 of 11) sorted by relevance

/third_party/python/Lib/test/
H A Dtest_strftime.py24 new_text = re.escape(text)
25 new_text = new_text.replace(re.escape(ampm), ampm)
26 new_text = new_text.replace(r'\%', '%')
27 new_text = new_text.replace(r'\:', ':')
28 new_text = new_text.replace(r'\?', '?')
29 return new_text
[all...]
/third_party/elfutils/src/
H A Darlib-argp.c61 char *new_text; in text_for_default() local
62 if (unlikely (asprintf (&new_text, _("%s (default)"), text) < 0)) in text_for_default()
64 return new_text; in text_for_default()
/third_party/googletest/googletest/scripts/
H A Drelease_docs.py144 new_text = self.search_for_re.sub(self.replace_with, text)
145 file(versioned_file, 'w').write(new_text)
/third_party/python/Lib/lib2to3/
H A Drefactor.py274 def print_output(self, old_text, new_text, filename, equal):
492 def processed_file(self, new_text, filename, old_text=None, write=False,
502 equal = old_text == new_text
503 self.print_output(old_text, new_text, filename, equal)
509 self.write_file(new_text, filename, old_text, encoding)
513 def write_file(self, new_text, filename, old_text, encoding=None):
528 fp.write(new_text)
H A Dmain.py69 def write_file(self, new_text, filename, old_text, encoding):
101 write(new_text, filename, old_text, encoding)
/third_party/skia/third_party/externals/libpng/
H A Dpngset.c793 png_textp new_text = NULL; in png_set_text_2() local
811 new_text = png_voidcast(png_textp,png_realloc_array(png_ptr, in png_set_text_2()
813 sizeof *new_text)); in png_set_text_2()
816 if (new_text == NULL) in png_set_text_2()
826 info_ptr->text = new_text; in png_set_text_2()
/third_party/python/Lib/lib2to3/tests/
H A Dtest_refactor.py168 def print_output(self, old_text, new_text, filename, equal):
169 results.extend([old_text, new_text, filename, equal])
/third_party/python/Lib/idlelib/
H A Dsidebar.py349 new_text = '\n'.join(itertools.chain(
353 self.sidebar_text.insert(f'end -1c', new_text, 'linenumber')
/third_party/vk-gl-cts/external/vulkan-docs/src/scripts/spec_tools/
H A Dmacro_checker_file.py1178 new_text = remakeRefs(
1188 replacement=new_text,)
/third_party/mesa3d/src/imgui/
H A Dimgui_widgets.cpp2946 static bool STB_TEXTEDIT_INSERTCHARS(STB_TEXTEDIT_STRING* obj, int pos, const ImWchar* new_text, int new_text_len)
2952 const int new_text_len_utf8 = ImTextCountUtf8BytesFromStr(new_text, new_text + new_text_len);
2968 memcpy(text + pos, new_text, (size_t)new_text_len * sizeof(ImWchar));
3032 void ImGuiInputTextCallbackData::InsertChars(int pos, const char* new_text, const char* new_text_end)
3035 const int new_text_len = new_text_end ? (int)(new_text_end - new_text) : (int)strlen(new_text);
3054 memcpy(Buf + pos, new_text, (size_t)new_text_len * sizeof(char));
/third_party/skia/third_party/externals/imgui/
H A Dimgui_widgets.cpp3710 static bool STB_TEXTEDIT_INSERTCHARS(ImGuiInputTextState* obj, int pos, const ImWchar* new_text, int new_text_len) in STB_TEXTEDIT_INSERTCHARS() argument
3716 const int new_text_len_utf8 = ImTextCountUtf8BytesFromStr(new_text, new_text + new_text_len); in STB_TEXTEDIT_INSERTCHARS()
3732 memcpy(text + pos, new_text, (size_t)new_text_len * sizeof(ImWchar)); in STB_TEXTEDIT_INSERTCHARS()
3816 void ImGuiInputTextCallbackData::InsertChars(int pos, const char* new_text, const char* new_text_end) in InsertChars() argument
3819 const int new_text_len = new_text_end ? (int)(new_text_end - new_text) : (int)strlen(new_text); in InsertChars()
3838 memcpy(Buf + pos, new_text, (size_t)new_text_len * sizeof(char)); in InsertChars()

Completed in 29 milliseconds