/external/libtextclassifier/lang_id/ |
lang-id.cc | 41 #include "lang_id/light-sentence-features.h" 42 #include "lang_id/light-sentence.h" 67 // Returns total number of bytes of the words from sentence, without the ^ 70 int GetRealTextSize(const LightSentence &sentence) { 72 for (int i = 0; i < sentence.num_words(); ++i) { 73 TC_DCHECK(!sentence.word(i).empty()); 74 TC_DCHECK_EQ('^', sentence.word(i).front()); 75 TC_DCHECK_EQ('$', sentence.word(i).back()); 76 total += sentence.word(i).size() - 2; 203 // Create a Sentence storing the input text 204 LightSentence sentence; local [all...] |
/hardware/qcom/gps/loc_api/libloc_api_50001/ |
loc_eng_nmea.cpp | 45 send out NMEA sentence 51 Total length of the nmea sentence 77 Total length of the nmea sentence 128 char sentence[NMEA_SENTENCE_MAX_LENGTH] = {0}; local 129 char* pMarker = sentence; 130 int lengthRemaining = sizeof(sentence); 174 for (uint8_t i = 0; i < 12; i++) // only the first 12 sv go in sentence 209 length = loc_eng_nmea_put_checksum(sentence, sizeof(sentence)); 210 loc_eng_nmea_send(sentence, length, loc_eng_data_p) 610 char sentence[NMEA_SENTENCE_MAX_LENGTH] = {0}; local [all...] |
/hardware/qcom/gps/msm8084/loc_api/libloc_api_50001/ |
loc_eng_nmea.cpp | 45 send out NMEA sentence 51 Total length of the nmea sentence 77 Total length of the nmea sentence 122 char sentence[NMEA_SENTENCE_MAX_LENGTH] = {0}; local 123 char* pMarker = sentence; 124 int lengthRemaining = sizeof(sentence); 171 for (uint8_t i = 0; i < 12; i++) // only the first 12 sv go in sentence 206 length = loc_eng_nmea_put_checksum(sentence, sizeof(sentence)); 207 loc_eng_nmea_send(sentence, length, loc_eng_data_p) 607 char sentence[NMEA_SENTENCE_MAX_LENGTH] = {0}; local [all...] |
/hardware/qcom/gps/msm8909/loc_api/libloc_api_50001/ |
loc_eng_nmea.cpp | 41 send out NMEA sentence 47 Total length of the nmea sentence 73 Total length of the nmea sentence 124 char sentence[NMEA_SENTENCE_MAX_LENGTH] = {0}; local 125 char* pMarker = sentence; 126 int lengthRemaining = sizeof(sentence); 170 for (uint8_t i = 0; i < 12; i++) // only the first 12 sv go in sentence 205 length = loc_eng_nmea_put_checksum(sentence, sizeof(sentence)); 206 loc_eng_nmea_send(sentence, length, loc_eng_data_p) 606 char sentence[NMEA_SENTENCE_MAX_LENGTH] = {0}; local [all...] |
/hardware/qcom/gps/msm8960/loc_api/libloc_api_50001/ |
loc_eng_nmea.cpp | 42 send out NMEA sentence 48 Total length of the nmea sentence 73 Total length of the nmea sentence 118 char sentence[NMEA_SENTENCE_MAX_LENGTH] = {0}; local 119 char* pMarker = sentence; 120 int lengthRemaining = sizeof(sentence); 167 for (uint8_t i = 0; i < 12; i++) // only the first 12 sv go in sentence 202 length = loc_eng_nmea_put_checksum(sentence, sizeof(sentence)); 203 loc_eng_nmea_send(sentence, length, loc_eng_data_p) 603 char sentence[NMEA_SENTENCE_MAX_LENGTH] = {0}; local [all...] |
/hardware/qcom/gps/msm8994/loc_api/libloc_api_50001/ |
loc_eng_nmea.cpp | 45 send out NMEA sentence 51 Total length of the nmea sentence 78 Total length of the nmea sentence 129 char sentence[NMEA_SENTENCE_MAX_LENGTH] = {0}; local 130 char* pMarker = sentence; 131 int lengthRemaining = sizeof(sentence); 175 for (uint8_t i = 0; i < 12; i++) // only the first 12 sv go in sentence 210 length = loc_eng_nmea_put_checksum(sentence, sizeof(sentence)); 211 loc_eng_nmea_send(sentence, length, loc_eng_data_p) 611 char sentence[NMEA_SENTENCE_MAX_LENGTH] = {0}; local [all...] |
/hardware/qcom/gps/msm8996/loc_api/libloc_api_50001/ |
loc_eng_nmea.cpp | 41 send out NMEA sentence 47 Total length of the nmea sentence 73 Total length of the nmea sentence 91 // length now contains nmea sentence string length not including $ sign. 94 // total length of nmea sentence is length of nmea sentence inc $ sign plus 128 char sentence[NMEA_SENTENCE_MAX_LENGTH] = {0}; local 129 char* pMarker = sentence; 130 int lengthRemaining = sizeof(sentence); 175 for (uint8_t i = 0; i < 12; i++) // only the first 12 sv go in sentence 611 char sentence[NMEA_SENTENCE_MAX_LENGTH] = {0}; local [all...] |
/hardware/qcom/gps/msm8998/utils/ |
loc_nmea.cpp | 171 Total length of the nmea sentence 191 // length now contains nmea sentence string length not including $ sign. 194 // total length of nmea sentence is length of nmea sentence inc $ sign plus 221 char* sentence, 226 if (!sentence || bufSize <= 0 || !sv_meta_p) 232 char* pMarker = sentence; 262 // Start printing the sentence 318 /* Sentence is ready, add checksum and broadcast */ 319 length = loc_nmea_put_checksum(sentence, bufSize) 487 char sentence[NMEA_SENTENCE_MAX_LENGTH] = {0}; local 984 char sentence[NMEA_SENTENCE_MAX_LENGTH] = {0}; local [all...] |
/hardware/qcom/gps/sdm845/utils/ |
loc_nmea.cpp | 171 Total length of the nmea sentence 191 // length now contains nmea sentence string length not including $ sign. 194 // total length of nmea sentence is length of nmea sentence inc $ sign plus 221 char* sentence, 226 if (!sentence || bufSize <= 0 || !sv_meta_p) 232 char* pMarker = sentence; 262 // Start printing the sentence 318 /* Sentence is ready, add checksum and broadcast */ 319 length = loc_nmea_put_checksum(sentence, bufSize) 487 char sentence[NMEA_SENTENCE_MAX_LENGTH] = {0}; local 984 char sentence[NMEA_SENTENCE_MAX_LENGTH] = {0}; local [all...] |
/frameworks/base/core/tests/coretests/src/android/text/ |
StaticLayoutTest.java | 689 final String sentence = longWord + " " + longWord + " " + longWord + " " + longWord + " " local 693 .obtain(sentence, 0, sentence.length(), paint, paraWidth) 700 final SpannableString text = new SpannableString(sentence); 718 final SpannableString text = new SpannableString(sentence); 732 final SpannableString text = new SpannableString(sentence);
|
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/JAJP/ |
OpenWnnClauseConverterJAJP.java | 57 /** part of speech (end of clause/not end of sentence) */ 61 /** part of speech (end of sentence) */ 158 WnnSentence[] sentence = mSentenceBuffer; local 162 if (start != 0 && sentence[start-1] == null) { 176 if (sentence[idx] != null) { 178 if (sentence[idx].frequency > sentence[start-1].frequency + CLAUSE_COST + FREQ_LEARN) { 183 if (sentence[idx].frequency > CLAUSE_COST + FREQ_LEARN) { 194 /* get the clause which can be the end of the sentence */ 197 /* get the clause which is not the end of the sentence */ 237 WnnSentence sentence = consecutiveClauseConvert(input); local [all...] |
OpenWnnEngineJAJP.java | 438 WnnSentence sentence = null; local 440 sentence = mClauseConverter.consecutiveClauseConvert(input); 443 sentence = new WnnSentence(head, sentence); 445 if (sentence == null) { 449 StrSegmentClause[] ss = new StrSegmentClause[sentence.elements.size()]; 452 Iterator<WnnClause> it = sentence.elements.iterator(); 463 mConvertSentence = sentence;
|
/external/icu/icu4c/source/test/cintltst/ |
cbiapts.c | 151 UBreakIterator *word, *sentence, *line, *character, *b, *bogus; local 180 sentence = ubrk_open(UBRK_SENTENCE, "en_US", text, u_strlen(text), &status); 182 log_err_status(status, "FAIL: Error in ubrk_open() for sentence breakiterator: %s\n", myErrorName(status)); 186 log_verbose("PASS: Successfully opened sentence breakiterator\n"); 308 log_verbose("\nTesting the functions for sentence\n"); 309 ubrk_first(sentence); 310 pos = ubrk_current(sentence); 311 log_verbose("Current(sentence) = %d\n", (int32_t)pos); 312 pos = ubrk_last(sentence); 314 log_err("error ubrk_last for sentence did not return 49\n") [all...] |
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/translit/ |
Demo.java | 693 // hack, because sentence doesn't seem to be working right 699 String sentence = coreSentence.substring(oldPos, pos).trim(); local 700 //System.out.println("Sentence: " + hex.transliterate(coreSentence)); 703 addSentenceToTable(out, sentence, 770 static void addSentenceToTable(PrintWriter out, String sentence, 773 if (sentence.length() == 0) return; // skip empty lines 775 String originalShow = sentence; 777 latin = tl.transliterate(saveAscii.transliterate(sentence)); 790 String NFKDSentence = Normalizer.normalize(sentence, Normalizer.NFKD); [all...] |
/prebuilts/gradle-plugin/com/android/tools/lint/lint-checks/22.2.0/ |
lint-checks-22.2.0.jar | |
/prebuilts/gradle-plugin/com/android/tools/lint/lint-checks/22.4.0/ |
lint-checks-22.4.0.jar | |
/prebuilts/gradle-plugin/com/android/tools/lint/lint-checks/22.4.2/ |
lint-checks-22.4.2.jar | |
/prebuilts/gradle-plugin/com/android/tools/lint/lint-checks/22.5.0/ |
lint-checks-22.5.0.jar | |
/prebuilts/gradle-plugin/com/android/tools/lint/lint-checks/22.5.1/ |
lint-checks-22.5.1.jar | |
/prebuilts/gradle-plugin/com/android/tools/lint/lint-checks/22.5.3/ |
lint-checks-22.5.3.jar | |
/prebuilts/gradle-plugin/com/android/tools/lint/lint-checks/22.7.0/ |
lint-checks-22.7.0.jar | |
/prebuilts/gradle-plugin/com/android/tools/lint/lint-checks/22.7.1/ |
lint-checks-22.7.1.jar | |
/prebuilts/gradle-plugin/com/android/tools/lint/lint-checks/22.7.3/ |
lint-checks-22.7.3.jar | |
/prebuilts/gradle-plugin/com/android/tools/lint/lint-checks/22.8.0/ |
lint-checks-22.8.0.jar | |
/prebuilts/gradle-plugin/com/android/tools/lint/lint-checks/22.9.2/ |
lint-checks-22.9.2.jar | |