Searched defs:text_length (Results 1 - 23 of 23) sorted by relevance

/external/chromium_org/chrome/common/
H A Dspellcheck_marker.h14 explicit IsValidPredicate(size_t text_length) : text_length_(text_length) {} argument
/external/chromium_org/chrome/browser/autocomplete/
H A Dhistory_provider.cc82 size_t text_length,
88 if (text_length)
104 if (offset < text_length)
80 SpansFromTermMatch( const history::TermMatches& matches, size_t text_length, bool is_url) argument
H A Dbookmark_provider.cc317 size_t text_length,
323 if (text_length > 0)
334 text_length, url_style, &new_class);
315 ClassificationsFromMatch( const query_parser::Snippet::MatchPositions& positions, size_t text_length, bool is_url) argument
/external/chromium_org/content/renderer/
H A Drenderer_main_platform_delegate_win.cc50 unsigned int text_length) {
55 base::string16(text, text_length));
48 SkiaPreCacheFontCharacters(const LOGFONT& logfont, const wchar_t* text, unsigned int text_length) argument
/external/chromium_org/chrome/renderer/spellchecker/
H A Dspellcheck_provider.cc320 size_t text_length = request.length(); local
321 if (text_length >= last_length &&
323 if (text_length == last_length || !HasWordCharacters(text, last_length)) {
328 int length = static_cast<int>(text_length);
338 if (text_length < last_length &&
339 !last_request_.compare(0, text_length, request)) {
344 if (start <= text_length && end <= text_length)
/external/chromium_org/pdf/
H A Dprogress_control.cc97 int text_length = font.MeasureSimpleText(text); local
105 image_width + text_length +
127 ctrl_size->width() - text_length -
130 text_length,
/external/chromium_org/ui/gfx/
H A Dfont_fallback_win.cc276 int text_length,
297 ScriptStringAnalyse(meta_file_dc, text, text_length, 0, -1,
274 GetUniscribeFallbackFont(const Font& font, const wchar_t* text, int text_length, Font* result) argument
H A Drender_text_unittest.cc151 const size_t text_length = render_text->text().length(); local
152 render_text->ApplyColor(SK_ColorRED, Range(0, text_length));
153 render_text->ApplyStyle(BOLD, true, Range(2, text_length));
165 render_text->ApplyStyle(ITALIC, true, Range(7, text_length));
H A Drender_text_win.cc251 int text_length,
262 ScriptStringAnalyse(meta_file_dc, text, text_length, 0, -1,
248 ChooseFallbackFont(HDC hdc, const Font& font, const wchar_t* text, int text_length, Font* result) argument
H A Drender_text.cc417 const size_t text_length = text_.length(); local
418 colors_.SetMax(text_length);
422 break_list.SetMax(text_length);
551 size_t text_length = text().length(); local
552 Range range(std::min(model.selection().start(), text_length),
553 std::min(model.caret_pos(), text_length));
953 const size_t text_length = layout_text.length(); local
955 line_breaks_.SetMax(text_length);
962 line_breaks_.ApplyValue(iter.pos(), Range(iter.pos(), text_length));
/external/tcpdump/
H A Dprint-rpki-rtr.c258 u_int encapsulated_pdu_length, text_length, tlen, error_code; local
289 text_length = 0;
291 text_length = EXTRACT_32BITS(tptr);
295 if (text_length && (text_length <= tlen )) {
296 memcpy(buf, tptr, MIN(sizeof(buf)-1, text_length));
297 buf[text_length] = '\0';
/external/chromium_org/chrome/browser/spellchecker/
H A Dfeedback_sender.cc135 size_t text_length) {
137 static_cast<size_t>(misspelling_location) < text_length &&
139 text_length;
133 IsInBounds(int misspelling_location, int misspelling_length, size_t text_length) argument
/external/srec/srec/Vocabulary/src/
H A DVocabularyImpl.c37 static ESR_ReturnCode run_ttt(const LCHAR *input_sentence, LCHAR *output_sentence, int *text_length);
421 int text_length; local
464 text_length = MAX_PRON_LEN;
465 nEsrRes = run_ttt(phrase, copy_of_phrase, &text_length);
581 static ESR_ReturnCode run_ttt(const LCHAR *input_sentence, LCHAR *output_sentence, int *text_length) argument
585 int max_text_length = *text_length / sizeof(LCHAR) - 1;
622 *text_length = num_out * sizeof(LCHAR);
628 *text_length = 0;
/external/chromium_org/chrome/browser/ui/views/omnibox/
H A Domnibox_result_view.cc354 const size_t text_length = render_text->text().length(); local
357 if (text_start >= text_length)
361 std::min(classifications[i + 1].offset, text_length) :
362 text_length;
/external/chromium_org/skia/ext/
H A Dvector_platform_device_emf_win.cc439 const SkTypeface& typeface, const wchar_t* text, unsigned int text_length) {
442 g_skia_ensure_typeface_characters_accessible(lf, text, text_length);
438 EnsureTypefaceCharactersAccessible( const SkTypeface& typeface, const wchar_t* text, unsigned int text_length) argument
/external/chromium_org/third_party/libpng/
H A Dpngset.c706 png_size_t text_length, key_len; local
744 text_length = 0;
755 text_length = png_strlen(text_ptr[i].text);
761 (key_len + text_length + lang_len + lang_key_len + 4));
766 (key_len + lang_len + lang_key_len + text_length + 4),
791 if (text_length)
793 (png_size_t)(text_length));
794 *(textp->text + text_length) = '\0';
799 textp->text_length = 0;
800 textp->itxt_length = text_length;
[all...]
H A Dpng.h709 png_size_t text_length; /* length of the text string */ member in struct:png_text_struct
/external/libpng/
H A Dpngset.c756 size_t text_length, key_len; local
806 text_length = 0;
818 text_length = strlen(text_ptr[i].text);
823 key_len + text_length + lang_len + lang_key_len + 4));
834 (key_len + lang_len + lang_key_len + text_length + 4),
858 if (text_length)
859 memcpy(textp->text, text_ptr[i].text, text_length);
861 *(textp->text + text_length) = '\0';
866 textp->text_length = 0;
867 textp->itxt_length = text_length;
[all...]
H A Dpng.h694 png_size_t text_length; /* length of the text string */ member in struct:png_text_struct
/external/qemu/distrib/libpng-1.2.46/
H A Dpngset.c716 png_size_t text_length, key_len; local
754 text_length = 0;
765 text_length = png_strlen(text_ptr[i].text);
771 (key_len + text_length + lang_len + lang_key_len + 4));
776 (key_len + lang_len + lang_key_len + text_length + 4),
801 if (text_length)
803 (png_size_t)(text_length));
804 *(textp->text + text_length) = '\0';
809 textp->text_length = 0;
810 textp->itxt_length = text_length;
[all...]
H A Dpng.h712 png_size_t text_length; /* length of the text string */ member in struct:png_text_struct
/external/chromium_org/pdf/pdfium/
H A Dpdfium_engine.cc1733 int text_length = pages_[current_page]->GetCharCount(); local
1735 text_length -= character_to_start_searching_from;
1739 text_length = last_character_index_to_search_;
1741 if (text_length <= 0)
1744 reinterpret_cast<unsigned short*>(WriteInto(&page_text, text_length + 1));
1747 text_length,
/external/chromium_org/v8/src/
H A Djsregexp.cc3487 int text_length = local
3489 DCHECK(text_length != kNodeIsTooComplexForGreedyLoops);
3492 DCHECK(trace->cp_offset() == text_length);
3493 macro_assembler->AdvanceCurrentPosition(text_length);
3955 int text_length = GreedyLoopTextLengthForAlternative(&alternatives_->at(0)); local
3958 if (choice_count > 1 && text_length != kNodeIsTooComplexForGreedyLoops) {
3964 text_length);
4010 int text_length) {
4047 macro_assembler->AdvanceCurrentPosition(-text_length);
4005 EmitGreedyLoop(RegExpCompiler* compiler, Trace* trace, AlternativeGenerationList* alt_gens, PreloadState* preload, GreedyLoopState* greedy_loop_state, int text_length) argument

Completed in 517 milliseconds