Home
last modified time | relevance | path

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

12

/third_party/boost/boost/locale/
Dencoding.hpp93 char const *text_end = text; in to_utf() local
94 while(*text_end) in to_utf()
95 text_end++; in to_utf()
96 return to_utf<CharType>(text,text_end,charset,how); in to_utf()
105 CharType const *text_end = text; in from_utf() local
106 while(*text_end) in from_utf()
107 text_end++; in from_utf()
108 return from_utf(text,text_end,charset,how); in from_utf()
141 char const *text_end = text; in to_utf() local
142 while(*text_end) in to_utf()
[all …]
/third_party/skia/third_party/externals/harfbuzz/util/
Dshape-options.hh200 unsigned int text_end = text_start; in verify_buffer_safe_to_break() local
212 text_end = num_chars; in verify_buffer_safe_to_break()
221 while (text_end < num_chars && text[text_end].cluster < cluster) in verify_buffer_safe_to_break()
222 text_end++; in verify_buffer_safe_to_break()
231 assert (text_start < text_end); in verify_buffer_safe_to_break()
234 printf("start %d end %d text start %d end %d\n", start, end, text_start, text_end); in verify_buffer_safe_to_break()
242 if (text_end < num_chars) in verify_buffer_safe_to_break()
246 hb_buffer_append (fragment, text_buffer, text_start, text_end); in verify_buffer_safe_to_break()
259 text_start = text_end; in verify_buffer_safe_to_break()
261 text_end = text_start; in verify_buffer_safe_to_break()
/third_party/flutter/skia/third_party/externals/harfbuzz/util/
Doptions.hh333 unsigned int text_end = text_start; in verify_buffer_safe_to_break() local
345 text_end = num_chars; in verify_buffer_safe_to_break()
354 while (text_end < num_chars && text[text_end].cluster < cluster) in verify_buffer_safe_to_break()
355 text_end++; in verify_buffer_safe_to_break()
364 assert (text_start < text_end); in verify_buffer_safe_to_break()
367 printf("start %d end %d text start %d end %d\n", start, end, text_start, text_end); in verify_buffer_safe_to_break()
376 if (text_end < num_chars) in verify_buffer_safe_to_break()
380 hb_buffer_append (fragment, text_buffer, text_start, text_end); in verify_buffer_safe_to_break()
393 text_start = text_end; in verify_buffer_safe_to_break()
395 text_end = text_start; in verify_buffer_safe_to_break()
/third_party/harfbuzz/util/
Doptions.hh339 unsigned int text_end = text_start; in verify_buffer_safe_to_break() local
351 text_end = num_chars; in verify_buffer_safe_to_break()
360 while (text_end < num_chars && text[text_end].cluster < cluster) in verify_buffer_safe_to_break()
361 text_end++; in verify_buffer_safe_to_break()
370 assert (text_start < text_end); in verify_buffer_safe_to_break()
373 printf("start %d end %d text start %d end %d\n", start, end, text_start, text_end); in verify_buffer_safe_to_break()
382 if (text_end < num_chars) in verify_buffer_safe_to_break()
386 hb_buffer_append (fragment, text_buffer, text_start, text_end); in verify_buffer_safe_to_break()
399 text_start = text_end; in verify_buffer_safe_to_break()
401 text_end = text_start; in verify_buffer_safe_to_break()
/third_party/abseil-cpp/absl/strings/internal/str_format/
Dparser.cc271 size_t text_end = AppendText(s); in Append() local
275 parsed->items_.back().text_end = text_end; in Append()
278 parsed->items_.push_back({false, text_end, {}}); in Append()
284 size_t text_end = AppendText(s); in ConvertOne() local
285 parsed->items_.push_back({true, text_end, conv}); in ConvertOne()
Dparser.h201 size_t text_size = items_.empty() ? 0 : items_.back().text_end;
223 text = string_view(end, (base + item.text_end) - end); in ProcessFormat()
247 size_t text_end; member
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/str_format/
Dparser.cc274 size_t text_end = AppendText(s); in Append() local
278 parsed->items_.back().text_end = text_end; in Append()
281 parsed->items_.push_back({false, text_end, {}}); in Append()
287 size_t text_end = AppendText(s); in ConvertOne() local
288 parsed->items_.push_back({true, text_end, conv}); in ConvertOne()
Dparser.h223 size_t text_size = items_.empty() ? 0 : items_.back().text_end;
245 text = string_view(end, (base + item.text_end) - end); in ProcessFormat()
269 size_t text_end; member
/third_party/flutter/skia/third_party/externals/imgui/
Dimgui_draw.cpp1169 …size, const ImVec2& pos, ImU32 col, const char* text_begin, const char* text_end, float wrap_width… in AddText() argument
1174 if (text_end == NULL) in AddText()
1175 text_end = text_begin + strlen(text_begin); in AddText()
1176 if (text_begin == text_end) in AddText()
1195 …font->RenderText(this, font_size, pos, col, clip_rect, text_begin, text_end, wrap_width, cpu_fine_… in AddText()
1198 void ImDrawList::AddText(const ImVec2& pos, ImU32 col, const char* text_begin, const char* text_end) in AddText() argument
1200 AddText(NULL, 0.0f, pos, col, text_begin, text_end); in AddText()
2341 void ImFontGlyphRangesBuilder::AddText(const char* text, const char* text_end) in AddText() argument
2343 while (text_end ? (text < text_end) : *text) in AddText()
2346 int c_len = ImTextCharFromUtf8(&c, text, text_end); in AddText()
[all …]
Dimgui.h364 …IMGUI_API void TextUnformatted(const char* text, const char* text_end = NULL); …
624 …IMGUI_API ImVec2 CalcTextSize(const char* text, const char* text_end = NULL, bool hide_text…
1437 IMGUI_API void InsertChars(int pos, const char* text, const char* text_end = NULL);
1548 IMGUI_API bool PassFilter(const char* text, const char* text_end = NULL) const;
1832 …I void AddText(const ImVec2& pos, ImU32 col, const char* text_begin, const char* text_end = NULL);
1833 …size, const ImVec2& pos, ImU32 col, const char* text_begin, const char* text_end = NULL, float wra…
1947 …IMGUI_API void AddText(const char* text, const char* text_end = NULL); // Add string (each ch…
2108 … float max_width, float wrap_width, const char* text_begin, const char* text_end = NULL, const cha…
2109 … CalcWordWrapPositionA(float scale, const char* text, const char* text_end, float wrap_width…
2111 …ImU32 col, const ImVec4& clip_rect, const char* text_begin, const char* text_end, float wrap_width…
Dimgui.cpp2040 bool ImGuiTextFilter::PassFilter(const char* text, const char* text_end) const in PassFilter()
2056 if (ImStristr(text, text_end, f.begin()+1, f.end()) != NULL) in PassFilter()
2062 if (ImStristr(text, text_end, f.begin(), f.end()) != NULL) in PassFilter()
2216 const char* ImGui::FindRenderedTextEnd(const char* text, const char* text_end) in FindRenderedTextEnd() argument
2219 if (!text_end) in FindRenderedTextEnd()
2220 text_end = (const char*)-1; in FindRenderedTextEnd()
2222 …while (text_display_end < text_end && *text_display_end != '\0' && (text_display_end[0] != '#' || … in FindRenderedTextEnd()
2229 void ImGui::RenderText(ImVec2 pos, const char* text, const char* text_end, bool hide_text_after_has… in RenderText() argument
2238 text_display_end = FindRenderedTextEnd(text, text_end); in RenderText()
2242 if (!text_end) in RenderText()
[all …]
Dimgui_widgets.cpp105 static ImVec2 InputTextCalcTextSizeW(const ImWchar* text_begin, const ImWchar* text_end, …
125 void ImGui::TextUnformatted(const char* text, const char* text_end) in TextUnformatted() argument
134 if (text_end == NULL) in TextUnformatted()
135 text_end = text + strlen(text); // FIXME-OPT in TextUnformatted()
140 if (text_end - text > 2000 && !wrap_enabled) in TextUnformatted()
163 while (line < text_end && lines_skipped < lines_skippable) in TextUnformatted()
165 const char* line_end = (const char*)memchr(line, '\n', text_end - line); in TextUnformatted()
167 line_end = text_end; in TextUnformatted()
176 if (line < text_end) in TextUnformatted()
179 while (line < text_end) in TextUnformatted()
[all …]
/third_party/mesa3d/src/imgui/
Dimgui_draw.cpp1176 …size, const ImVec2& pos, ImU32 col, const char* text_begin, const char* text_end, float wrap_width… in AddText() argument
1181 if (text_end == NULL) in AddText()
1182 text_end = text_begin + strlen(text_begin); in AddText()
1183 if (text_begin == text_end) in AddText()
1202 …font->RenderText(this, font_size, pos, col, clip_rect, text_begin, text_end, wrap_width, cpu_fine_… in AddText()
1205 void ImDrawList::AddText(const ImVec2& pos, ImU32 col, const char* text_begin, const char* text_end) in AddText() argument
1207 AddText(NULL, 0.0f, pos, col, text_begin, text_end); in AddText()
2355 void ImFontGlyphRangesBuilder::AddText(const char* text, const char* text_end) in AddText() argument
2357 while (text_end ? (text < text_end) : *text) in AddText()
2360 int c_len = ImTextCharFromUtf8(&c, text, text_end); in AddText()
[all …]
Dimgui.h370 …IMGUI_API void TextUnformatted(const char* text, const char* text_end = NULL); …
631 …IMGUI_API ImVec2 CalcTextSize(const char* text, const char* text_end = NULL, bool hide_text…
1444 IMGUI_API void InsertChars(int pos, const char* text, const char* text_end = NULL);
1555 IMGUI_API bool PassFilter(const char* text, const char* text_end = NULL) const;
1840 …I void AddText(const ImVec2& pos, ImU32 col, const char* text_begin, const char* text_end = NULL);
1841 …size, const ImVec2& pos, ImU32 col, const char* text_begin, const char* text_end = NULL, float wra…
1956 …IMGUI_API void AddText(const char* text, const char* text_end = NULL); // Add string (each ch…
2116 … float max_width, float wrap_width, const char* text_begin, const char* text_end = NULL, const cha…
2117 … CalcWordWrapPositionA(float scale, const char* text, const char* text_end, float wrap_width…
2119 …ImU32 col, const ImVec4& clip_rect, const char* text_begin, const char* text_end, float wrap_width…
/third_party/flutter/skia/third_party/externals/spirv-tools/source/
Dassembly_grammar.cpp48 const char* text_end = textValue + text_length; in spvTextParseMaskOperand() local
60 end = std::find(begin, text_end, separator); in spvTextParseMaskOperand()
71 } while (end != text_end); in spvTextParseMaskOperand()
/third_party/skia/third_party/externals/spirv-tools/source/
Dassembly_grammar.cpp50 const char* text_end = textValue + text_length; in spvTextParseMaskOperand() local
62 end = std::find(begin, text_end, separator); in spvTextParseMaskOperand()
73 } while (end != text_end); in spvTextParseMaskOperand()
/third_party/spirv-tools/source/
Dassembly_grammar.cpp50 const char* text_end = textValue + text_length; in spvTextParseMaskOperand() local
62 end = std::find(begin, text_end, separator); in spvTextParseMaskOperand()
73 } while (end != text_end); in spvTextParseMaskOperand()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/
Dassembly_grammar.cpp50 const char* text_end = textValue + text_length; in spvTextParseMaskOperand() local
62 end = std::find(begin, text_end, separator); in spvTextParseMaskOperand()
73 } while (end != text_end); in spvTextParseMaskOperand()
/third_party/glib/glib/
Dgscanner.c469 scanner->text_end = NULL; in g_scanner_new()
1124 scanner->text_end = NULL; in g_scanner_input_file()
1160 scanner->text_end = text + text_len; in g_scanner_input_text()
1172 if (scanner->text < scanner->text_end) in g_scanner_peek_next_char()
1197 scanner->text_end = buffer + count; in g_scanner_peek_next_char()
1226 if (scanner->input_fd >= 0 && scanner->text_end > scanner->text) in g_scanner_sync_file_offset()
1230 buffered = scanner->text_end - scanner->text; in g_scanner_sync_file_offset()
1235 scanner->text_end = NULL; in g_scanner_sync_file_offset()
1249 if (scanner->text < scanner->text_end) in g_scanner_get_char()
1271 scanner->text_end = buffer + count; in g_scanner_get_char()
[all …]
Dgscanner.h204 const gchar *text_end; member
/third_party/ffmpeg/libavcodec/
Dmovtextdec.c322 static int get_utf8_length_at(const char *text, const char *text_end) in get_utf8_length_at() argument
327 GET_UTF8(c, text < text_end ? (uint8_t)*text++ : (err = 1, 0), goto error;); in get_utf8_length_at()
335 static int text_to_ass(AVBPrint *buf, const char *text, const char *text_end, in text_to_ass() argument
344 if (text < text_end && m->box_flags & TWRP_BOX) { in text_to_ass()
352 while (text < text_end) { in text_to_ass()
410 len = get_utf8_length_at(text, text_end); in text_to_ass()
/third_party/skia/third_party/externals/imgui/
Dimgui_draw.cpp1571 …size, const ImVec2& pos, ImU32 col, const char* text_begin, const char* text_end, float wrap_width… in AddText() argument
1576 if (text_end == NULL) in AddText()
1577 text_end = text_begin + strlen(text_begin); in AddText()
1578 if (text_begin == text_end) in AddText()
1597 …font->RenderText(this, font_size, pos, col, clip_rect, text_begin, text_end, wrap_width, cpu_fine_… in AddText()
1600 void ImDrawList::AddText(const ImVec2& pos, ImU32 col, const char* text_begin, const char* text_end) in AddText() argument
1602 AddText(NULL, 0.0f, pos, col, text_begin, text_end); in AddText()
3060 void ImFontGlyphRangesBuilder::AddText(const char* text, const char* text_end) in AddText() argument
3062 while (text_end ? (text < text_end) : *text) in AddText()
3065 int c_len = ImTextCharFromUtf8(&c, text, text_end); in AddText()
[all …]
Dimgui.h485 …IMGUI_API void TextUnformatted(const char* text, const char* text_end = NULL); // raw tex…
877 …IMGUI_API ImVec2 CalcTextSize(const char* text, const char* text_end = NULL, bool hide_text…
1991 IMGUI_API void InsertChars(int pos, const char* text, const char* text_end = NULL);
2079 IMGUI_API bool PassFilter(const char* text, const char* text_end = NULL) const;
2443 …I void AddText(const ImVec2& pos, ImU32 col, const char* text_begin, const char* text_end = NULL);
2444 …size, const ImVec2& pos, ImU32 col, const char* text_begin, const char* text_end = NULL, float wra…
2590 …IMGUI_API void AddText(const char* text, const char* text_end = NULL); // Add string (each ch…
2772 … float max_width, float wrap_width, const char* text_begin, const char* text_end = NULL, const cha…
2773 … CalcWordWrapPositionA(float scale, const char* text, const char* text_end, float wrap_width…
2775 …ImU32 col, const ImVec4& clip_rect, const char* text_begin, const char* text_end, float wrap_width…
Dimgui_widgets.cpp129 static ImVec2 InputTextCalcTextSizeW(const ImWchar* text_begin, const ImWchar* text_end, …
150 void ImGui::TextEx(const char* text, const char* text_end, ImGuiTextFlags flags) in TextEx() argument
158 if (text == text_end) in TextEx()
159 text = text_end = ""; in TextEx()
163 if (text_end == NULL) in TextEx()
164 text_end = text + strlen(text); // FIXME-OPT in TextEx()
169 if (text_end - text > 2000 && !wrap_enabled) in TextEx()
188 while (line < text_end && lines_skipped < lines_skippable) in TextEx()
190 const char* line_end = (const char*)memchr(line, '\n', text_end - line); in TextEx()
192 line_end = text_end; in TextEx()
[all …]
/third_party/boost/libs/spirit/classic/test/
Dtree_tests.cpp333 iterator_t text_end = text_begin + test_impl::string_length(text_begin); in operator ()() local
336 ast_parse(text_begin, text_end, gram); in operator ()()

12