Searched refs:word (Results 1 - 25 of 53) sorted by relevance

123

/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A Didct_vca.cpp425 uint32 word; local
434 word = (tmp << 8) | tmp;
435 word = (word << 16) | word;
437 *((uint32*)(comp += offset)) = word;
438 *((uint32*)(comp + 4)) = word;
453 int32 word; local
473 word = ((x0 + x4) >> 14);
474 CLIP_RESULT(word)
510 int32 word; local
583 int32 word; local
[all...]
H A Dblock_idct.cpp630 int32 word; local
696 word = ((x7 + x1) >> 14);
697 CLIP_RESULT(word)
701 word = word | (temp << 8);
705 word = word | (temp << 16);
709 word = word | (temp << 24);
710 *((int32*)(comp)) = word;
[all...]
/frameworks/minikin/libs/minikin/
H A DLineBreakerUtil.cpp33 // A word here is any consecutive string of non-NBSP characters.
39 // A word just ended. Hyphenate it.
40 const U16StringPiece word = str.substr(Range(wordStart, i)); local
41 if (word.size() <= LONGEST_HYPHENATED_WORD) {
42 hyphenator.hyphenate(word, out.data() + wordStart);
44 out.insert(out.end(), word.size(), HyphenationType::DONT_BREAK);
H A DHyphenator.cpp120 void Hyphenator::hyphenate(const U16StringPiece& word, HyphenationType* out) const { argument
121 const size_t len = word.size();
126 const HyphenationType hyphenValue = alphabetLookup(alpha_codes, word);
134 // Note that we will always get here if the word contains a hyphen or a soft hyphen, because the
137 hyphenateWithNoPatterns(word, out);
223 // Assumption for caller: location must be >= 2 and word[location] == CHAR_SOFT_HYPHEN.
225 static inline HyphenationType getHyphTypeForArabic(const U16StringPiece& word, size_t location) { argument
228 while (static_cast<size_t>(i) < word.size() &&
229 (type = getJoiningType(word[i])) == U_JT_TRANSPARENT) {
237 while (i >= 0 && (type = getJoiningType(word[
250 hyphenateWithNoPatterns(const U16StringPiece& word, HyphenationType* out) const argument
[all...]
/frameworks/minikin/tests/perftests/
H A DHyphenator.cpp32 std::vector<uint16_t> word = utf8ToUtf16("hyphen"); local
35 hyphenator->hyphenate(word, &result);
45 std::vector<uint16_t> word = utf8ToUtf16("Pneumonoultramicroscopicsilicovolcanoconiosis"); local
48 hyphenator->hyphenate(word, &result);
/frameworks/base/tools/aapt2/compile/
H A DPngChunkFilter.cpp49 uint32_t word = ((uint32_t)data[0]) & 0x000000ff; local
50 word <<= 8;
51 word |= ((uint32_t)data[1]) & 0x000000ff;
52 word <<= 8;
53 word |= ((uint32_t)data[2]) & 0x000000ff;
54 word <<= 8;
55 word |= ((uint32_t)data[3]) & 0x000000ff;
56 return word;
/frameworks/minikin/tests/unittest/
H A DHyphenatorTest.cpp50 const uint16_t word[] = {'t', 'a', 'b', 'l', 'e'}; local
52 hyphenator->hyphenate(word, &result);
64 const uint16_t word[] = {'l', 'l', MIDDLE_DOT, 'l', 'l'}; local
66 hyphenator->hyphenate(word, &result);
75 // Catalan l·l should not break if the word is too short.
78 const uint16_t word[] = {'l', MIDDLE_DOT, 'l'}; local
80 hyphenator->hyphenate(word, &result);
90 const uint16_t word[] = {'x', HYPHEN, 'y'}; local
92 hyphenator->hyphenate(word, &result);
102 const uint16_t word[] local
115 const uint16_t word[] = {'x', EN_DASH, 'y'}; local
128 const uint16_t word[] = {'x', HYPHEN, 'y'}; local
140 const uint16_t word[] = {'x', SOFT_HYPHEN, 'y'}; local
152 const uint16_t word[] = {SOFT_HYPHEN, 'y'}; local
163 const uint16_t word[] = {MALAYALAM_KA, SOFT_HYPHEN, MALAYALAM_KA}; local
176 const uint16_t word[] = {MALAYALAM_KA, MALAYALAM_KA, MALAYALAM_KA, MALAYALAM_KA, MALAYALAM_KA}; local
190 const uint16_t word[] = {ARMENIAN_AYB, SOFT_HYPHEN, ARMENIAN_AYB}; local
203 const uint16_t word[] = {HEBREW_ALEF, SOFT_HYPHEN, HEBREW_ALEF}; local
216 const uint16_t word[] = {ARABIC_BEH, SOFT_HYPHEN, ARABIC_BEH}; local
229 const uint16_t word[] = {ARABIC_ALEF, SOFT_HYPHEN, ARABIC_BEH}; local
241 const uint16_t word[] = {ARABIC_BEH, ARABIC_ZWARAKAY, SOFT_HYPHEN, ARABIC_ZWARAKAY, ARABIC_BEH}; local
256 const uint16_t word[] = {ARABIC_BEH, ARABIC_ZWARAKAY, SOFT_HYPHEN, ARABIC_ZWARAKAY}; local
270 const uint16_t word[] = {ARABIC_ZWARAKAY, SOFT_HYPHEN, ARABIC_ZWARAKAY, ARABIC_BEH}; local
283 const uint16_t word[] = {UCAS_E, SOFT_HYPHEN, UCAS_E}; local
296 const uint16_t word[] = {'a', SOFT_HYPHEN, UCAS_E}; local
308 const uint16_t word[] = {'x', HYPHEN, 'y'}; local
320 const uint16_t word[] = {'x', HYPHEN_MINUS, 'y'}; local
333 const uint16_t word[] = {HYPHEN_MINUS, 'y'}; local
[all...]
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
H A Dbitstream_io.cpp20 /* Change the bitstream parsing algorithm. Use temporary word of 2 or 4 bytes */
69 stream->word = 0;
126 stream->word <<= Length;
127 stream->word |= Value; /* assuming Value is not larger than Length */
134 stream->word <<= stream->bitLeft;
136 stream->word |= ((UInt)Value >> Length);
146 stream->word = Value;
200 /* Purpose : save written word into the bitstream buffer. */
210 UInt word; local
223 word
260 UInt word, shift; local
584 UInt word; local
[all...]
/frameworks/base/services/core/java/com/android/server/
H A DNativeDaemonEvent.java221 // find the end of the word
232 String word = rawEvent.substring(current, wordEnd);
233 current += word.length();
235 word = word.trim();
239 // unescape stuff within the word
240 word = word.replace("\\\\", "\\");
241 word = word
[all...]
/frameworks/base/core/java/android/provider/
H A DUserDictionary.java65 * The MIME type of a {@link #CONTENT_URI} sub-directory of a single word.
72 * The word column.
75 public static final String WORD = "word";
84 * The locale that this word belongs to. Null if it pertains to all
91 * The uid of the application that inserted the word.
97 * An optional shortcut for this word. When the shortcut is typed, supporting IMEs should
98 * suggest the word in this row as an alternate spelling too.
119 /** Adds a word to the dictionary, with the given frequency and the specified
126 * @param word the word t
132 addWord(Context context, String word, int frequency, int localeType) argument
161 addWord(Context context, String word, int frequency, String shortcut, Locale locale) argument
[all...]
/frameworks/minikin/app/
H A DHyphTool.cpp41 std::vector<uint16_t> word; local
43 fprintf(stderr, "usage: hyphtool word\n");
54 word.push_back(c);
56 hyph->hyphenate(word, &result);
61 printf("%c", word[i]);
/frameworks/support/work/integration-tests/testapp/src/main/java/androidx/work/integration/testapp/sherlockholmes/
H A DTextMappingWorker.java70 String word = scanner.next();
71 if (word.length() > 3) {
73 if (mWordCount.containsKey(word)) {
74 count = mWordCount.get(word) + 1;
76 mWordCount.put(word, count);
H A DTextReducingWorker.java36 * A Worker that combines the word counts of various works and outputs them.
59 String word = dataInputStream.readUTF();
61 if (mWordCount.containsKey(word)) {
62 count += mWordCount.get(word);
64 mWordCount.put(word, count);
/frameworks/av/media/libstagefright/codecs/mp3dec/src/asm/
H A Dpvmp3_mdct_18_gcc.s329 .word 0x0807d2b0
330 .word 0x08483ee0
331 .word 0x08d3b7d0
332 .word 0x09c42570
333 .word 0x0b504f30
334 .word 0x0df29440
335 .word 0x12edfb20
336 .word 0x1ee8dd40
337 .word 0x5bca2a00
339 .word
[all...]
H A Dpvmp3_dct_16_gcc.s424 .word 0x404f4680
426 .word 0x519e4e00
428 .word 0x4140fb80
430 .word 0x42e13c00
432 .word 0x6e3c9300
434 .word 0x4cf8de80
436 .word 0x48919f80
438 .word 0x43e22480
440 .word 0x73326b80
442 .word
[all...]
H A Dpvmp3_dct_9_gcc.s176 .word 0x620dbe80
178 .word 0x163a1a80
180 .word 0x7847d900
182 .word 0x87b82700
184 .word 0xd438af00
186 .word 0xadb92280
188 .word 0x91261480
190 .word 0x81f1d200
192 .word 0x6ed9eb80
/frameworks/minikin/include/minikin/
H A DHyphenator.h69 // The hyphen edit represents an edit to the string when a word is hyphenated.
175 // Compute the hyphenation of a word, storing the hyphenation in result vector. Each entry in
177 // corresponding code unit offset in the word.
179 // out must have at least the length of the word capacity.
181 // Example: word is "hyphen", result is the following, corresponding to "hy-phen":
183 void hyphenate(const U16StringPiece& word, HyphenationType* out) const;
185 // Compute the hyphenation of a word.
187 // out will be resized to word length.
188 void hyphenate(const U16StringPiece& word, std::vector<HyphenationType>* out) const { argument
189 out->resize(word
[all...]
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/ui/
H A DUtils.java50 // in the word-granularity text layout cache
74 for (int word = 0; word < WORDS_IN_PARAGRAPH; word++) {
75 if (word != 0) {
79 // add a common word, which is very likely to hit in the cache
82 // construct a random word, which will *most likely* miss
/frameworks/compile/libbcc/bcinfo/include/bcinfo/Wrap/
H A Dbitcode_wrapperer.h116 // Returns true if we can read a word. If necessary, fills the buffer
122 // Read a (32-bit) word from the input. Return true
123 // if able to read the word.
124 bool ReadWord(uint32_t& word);
126 // Write a (32-bit) word to the output. Return true if successful
127 bool WriteWord(uint32_t word);
/frameworks/support/car/src/main/java/androidx/car/widget/
H A DAlphaJumpBucketer.java100 for (String word : PREFIX_WORDS) {
101 if (s.startsWith(word + " ")) {
102 s = s.substring(0, word.length() + 1).trim();
/frameworks/base/tests/UiBench/src/com/android/test/uibench/
H A DTextUtils.java38 * Create word of random assortment of lower/upper case letters
51 * Create word from a random assortment of a given set of codepoints, given as strings.
123 // in the word-granularity text layout cache
147 for (int word = 0; word < WORDS_IN_PARAGRAPH; word++) {
148 if (word != 0) {
152 // add a common word, which is very likely to hit in the cache
155 // construct a random word, which will *most likely* miss
/frameworks/rs/cpu_ref/
H A DrsCpuIntrinsics_neon_Blur.S109 2: ifcc .word 1f-1b-8
277 100: .word 101f-100b
278 .word 102f-100b
279 .word 103f-100b
280 .word 104f-100b
281 .word 105f-100b
282 .word 106f-100b
283 .word 107f-100b
284 .word 108f-100b
348 100: .word 10
[all...]
/frameworks/base/core/java/android/widget/
H A DAlphabetIndexer.java124 * Default implementation compares the first character of word with letter.
126 protected int compare(String word, String letter) { argument
128 if (word.length() == 0) {
131 firstLetter = word.substring(0, 1);
/frameworks/rs/rsov/compiler/spirit/
H A Dword_stream.h54 uint32_t word; local
55 *this >> &word;
56 *codeCount = word;
/frameworks/av/media/libeffects/loudness/common/core/
H A Dbyte_swapper.h31 int16 word = 1; local
32 char *cp = reinterpret_cast<char *>(&word);

Completed in 1216 milliseconds

123