Home
last modified time | relevance | path

Searched refs:text_bytes (Results 1 – 11 of 11) sorted by relevance

/external/chromium_org/third_party/cld/encodings/compact_lang_det/
Dcompact_lang_det.cc25 int text_bytes; in DetectLanguage() local
46 &text_bytes, in DetectLanguage()
63 int* text_bytes, in DetectLanguageSummary() argument
87 text_bytes, in DetectLanguageSummary()
108 int* text_bytes, in DetectLanguageSummary() argument
129 text_bytes, in DetectLanguageSummary()
150 int* text_bytes, in ExtDetectLanguageSummary() argument
174 text_bytes, in ExtDetectLanguageSummary()
195 int* text_bytes, in ExtDetectLanguageSummary() argument
216 text_bytes, in ExtDetectLanguageSummary()
[all …]
Dcompact_lang_det.h123 int* text_bytes,
139 int* text_bytes,
157 int* text_bytes,
179 int* text_bytes,
198 int* text_bytes,
Dcompact_lang_det_impl.cc1510 int len = scriptspan->text_bytes; in ScoreNilgrams()
1515 chunk_tote.Add(lang, scriptspan->text_bytes); in ScoreNilgrams()
1516 chunk_tote.AddBytes(scriptspan->text_bytes); in ScoreNilgrams()
1536 const char* srclimit = src + scriptspan->text_bytes; in ScoreUnigrams()
1603 const char* srclimit = src + scriptspan->text_bytes; in ScoreQuadgrams()
1651 const int* text_bytes, const bool* is_reliable) { in PrintLangs() argument
1665 fprintf(f, "%d bytes \n", *text_bytes); in PrintLangs()
1851 int* text_bytes, bool* is_reliable) { in ExtractLangEtc() argument
1865 *text_bytes = total_text_bytes; in ExtractLangEtc()
1914 *text_bytes = total_text_bytes; in ExtractLangEtc()
[all …]
Dgetonescriptspan.cc354 span->text_bytes = 0; in GetOneScriptSpan()
534 span->text_bytes = put; // Does not include the last four chars above in GetOneScriptSpan()
553 UniLib::ToLower(span->text, span->text_bytes + 4, in LowerScriptSpan()
557 span->text_bytes = filled - 4; in LowerScriptSpan()
Dcompact_lang_det_impl.h160 int* text_bytes,
Dcompact_lang_det_unittest_small.cc428 int text_bytes; in TestExtCompactLangDetPlain() local
436 &text_bytes, in TestExtCompactLangDetPlain()
Dgetonescriptspan.h21 int text_bytes; // Number of bytes of text in the span member
/external/chromium_org/third_party/cld/encodings/compact_lang_det/win/
Dcld_unicodetext.cc43 int* error_code, int* text_bytes) { in DetectLanguageOfUnicodeText() argument
73 if (text_bytes) in DetectLanguageOfUnicodeText()
74 *text_bytes = text_bytes_tmp; in DetectLanguageOfUnicodeText()
Dcld_unicodetext.h37 int* error_code, int* text_bytes);
/external/chromium_org/components/translate/core/language_detection/
Dlanguage_detection_util.cc91 int text_bytes = 0; in DetermineTextLanguage() local
104 &num_languages, NULL, &text_bytes); in DetermineTextLanguage()
118 &text_bytes, &is_reliable); in DetermineTextLanguage()
139 if (is_reliable && text_bytes >= 100 && is_valid_language) { in DetermineTextLanguage()
/external/harfbuzz_ng/test/api/
Dtest-buffer.c669 unsigned int text_bytes, segment_bytes, j, len; in test_buffer_utf8_validity() local
677 text_bytes = strlen (test->utf8); in test_buffer_utf8_validity()
679 segment_bytes = text_bytes; in test_buffer_utf8_validity()
684 hb_buffer_add_utf8 (b, test->utf8, text_bytes, 0, segment_bytes); in test_buffer_utf8_validity()