Home
last modified time | relevance | path

Searched refs:style_index (Results 1 – 7 of 7) sorted by relevance

/third_party/flutter/txt/src/txt/
Dstyled_runs.cc45 const size_t style_index = styles_.size(); in AddStyle() local
47 return style_index; in AddStyle()
50 const TextStyle& StyledRuns::GetStyle(size_t style_index) const { in GetStyle()
51 return styles_[style_index]; in GetStyle()
54 void StyledRuns::StartRun(size_t style_index, size_t start) { in StartRun() argument
56 runs_.push_back(IndexedRun{style_index, start, start}); in StartRun()
73 return Run{styles_[run.style_index], run.start, run.end}; in GetRun()
Dstyled_runs.h53 const TextStyle& GetStyle(size_t style_index) const;
55 void StartRun(size_t style_index, size_t start);
88 size_t style_index = 0; member
92 explicit IndexedRun(size_t style_index, size_t start, size_t end) in IndexedRun()
93 : style_index(style_index), start(start), end(end) {} in IndexedRun()
Dparagraph_builder_txt.cc39 size_t style_index = runs_.AddStyle(style); in PushStyle() local
40 style_stack_.push_back(style_index); in PushStyle()
41 runs_.StartRun(style_index, text_.size()); in PushStyle()
/third_party/flutter/engine/flutter/third_party/txt/src/txt/
Dstyled_runs.cc45 const size_t style_index = styles_.size(); in AddStyle() local
47 return style_index; in AddStyle()
50 const TextStyle& StyledRuns::GetStyle(size_t style_index) const { in GetStyle()
51 return styles_[style_index]; in GetStyle()
54 void StyledRuns::StartRun(size_t style_index, size_t start) { in StartRun() argument
56 runs_.push_back(IndexedRun{style_index, start, start}); in StartRun()
73 return Run{styles_[run.style_index], run.start, run.end}; in GetRun()
Dstyled_runs.h53 const TextStyle& GetStyle(size_t style_index) const;
55 void StartRun(size_t style_index, size_t start);
87 size_t style_index = 0; member
91 explicit IndexedRun(size_t style_index, size_t start, size_t end) in IndexedRun()
92 : style_index(style_index), start(start), end(end) {} in IndexedRun()
Dparagraph_builder_txt.cc38 size_t style_index = runs_.AddStyle(style); in PushStyle() local
39 style_stack_.push_back(style_index); in PushStyle()
40 runs_.StartRun(style_index, text_.size()); in PushStyle()
/third_party/ffmpeg/libavcodec/
Dmicrodvddec.c103 int style_index = indexof(MICRODVD_STYLES, *s); in microdvd_load_tags() local
105 if (style_index >= 0) in microdvd_load_tags()
106 tag.data1 |= (1 << style_index); in microdvd_load_tags()