/development/samples/training/multiscreen/newsreader/src/com/example/android/newsreader/ |
NonsenseGenerator.java | 77 List<String> words = new ArrayList<String>(); local 78 generateSentence(words, isHeadline); 79 words.set(0, String.valueOf(Character.toUpperCase(words.get(0).charAt(0))) + 80 words.get(0).substring(1)); 81 return joinWords(words); 102 * @param words the list of words to which the sentence will be appended. 105 private void generateSentence(List<String> words, boolean isHeadline) { 107 generateTimeClause(words, isHeadline) [all...] |
/external/chromium_org/third_party/mesa/src/src/glsl/glcpp/tests/ |
039-func-arg-obj-macro-with-comma.c | 2 #define bar two,words
|
/external/mesa3d/src/glsl/glcpp/tests/ |
039-func-arg-obj-macro-with-comma.c | 2 #define bar two,words
|
/external/valgrind/main/none/tests/x86/ |
cpuid.stdout.exp | 1 cpuid words (0): 0x........ 0x........ 0x........ 0x........ 2 cpuid words (1): 0x........ 0x........ 0x........ 0x........
|
/external/e2fsprogs/ |
wordwrap.pl | 12 @words = split; 13 while (defined($word = shift @words)) {
|
/external/llvm/utils/emacs/ |
llvm-mode.el | 21 `(,(regexp-opt '("void" "i[0-9]+" "float" "double" "type" "label" "opaque") 'words) . font-lock-type-face) 33 "pointersize" "volatile" "fastcc" "coldcc" "cc") 'words) . font-lock-keyword-face) 36 "setne" "seteq" "setlt" "setgt" "setle" "setge") 'words) . font-lock-keyword-face) 38 `(,(regexp-opt '("fadd" "fsub" "fmul" "fdiv" "frem") 'words) . font-lock-keyword-face) 40 `(,(regexp-opt '("phi" "tail" "call" "select" "to" "shl" "lshr" "ashr" "fcmp" "icmp" "va_arg" "landingpad") 'words) . font-lock-keyword-face) 42 `(,(regexp-opt '("ret" "br" "switch" "invoke" "resume" "unwind" "unreachable" "indirectbr") 'words) . font-lock-keyword-face) 44 `(,(regexp-opt '("malloc" "alloca" "free" "load" "store" "getelementptr" "fence" "cmpxchg" "atomicrmw") 'words) . font-lock-keyword-face) 46 `(,(regexp-opt '("bitcast" "inttoptr" "ptrtoint" "trunc" "zext" "sext" "fptrunc" "fpext" "fptoui" "fptosi" "uitofp" "sitofp" "addrspacecast") 'words) . font-lock-keyword-face) 48 `(,(regexp-opt '("extractelement" "insertelement" "shufflevector") 'words) . font-lock-keyword-face) 50 `(,(regexp-opt '("extractvalue" "insertvalue") 'words) . font-lock-keyword-face [all...] |
/external/valgrind/main/memcheck/tests/ |
wrap6.c | 182 UInt* words = calloc(200, sizeof(UInt)); local 183 TRASH_IREGS(r, words); 184 free(words); 208 UInt* words = calloc(200, sizeof(UInt)); local 209 words[1-1] = a1; 210 TRASH_IREGS(r, words); 211 free(words); 235 UInt* words = calloc(200, sizeof(UInt)); local 236 words[1-1] = a1; 237 words[2-1] = a2 263 UInt* words = calloc(200, sizeof(UInt)); local 292 UInt* words = calloc(200, sizeof(UInt)); local 322 UInt* words = calloc(200, sizeof(UInt)); local 353 UInt* words = calloc(200, sizeof(UInt)); local 386 UInt* words = calloc(200, sizeof(UInt)); local 422 UInt* words = calloc(200, sizeof(UInt)); local 459 UInt* words = calloc(200, sizeof(UInt)); local 497 UInt* words = calloc(200, sizeof(UInt)); local 536 UInt* words = calloc(200, sizeof(UInt)); local 576 UInt* words = calloc(200, sizeof(UInt)); local [all...] |
test-plo.c | 73 UWord* words = malloc(3 * sizeof(UWord)); local 74 free(words); 77 UWord w = words[1];
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/idlelib/ |
AutoExpand.py | 26 words = self.getwords() 29 words, index, insert, line = self.state 31 words = self.getwords() 33 if not words: 38 newword = words[index] 39 index = (index + 1) % len(words) 45 self.state = words, index, curinsert, curline 60 words = [] 62 # search backwards through words before 67 words.append(w [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/idlelib/ |
AutoExpand.py | 26 words = self.getwords() 29 words, index, insert, line = self.state 31 words = self.getwords() 33 if not words: 38 newword = words[index] 39 index = (index + 1) % len(words) 45 self.state = words, index, curinsert, curline 60 words = [] 62 # search backwards through words before 67 words.append(w [all...] |
/external/chromium_org/content/common/android/ |
address_parser.cc | 13 // Minimum number of words in an address after the house number 18 // Maximum number of words allowed in an address between the house number 30 // Maximum number of words after the house number in which the location name 68 // detected. Start tokenizing the following words to find a valid 83 WordList words; local 84 words.push_back(house_number); 97 if (next_word == words.size()) { 112 words.push_back(Word(tokenizer.token_begin(), tokenizer.token_end())); 117 const Word& current_word = words[next_word]; 148 // Look for location names in the words after the house number [all...] |
/pdk/util/ |
diff_products.py | 50 words = line.split() 51 if len(words) < 2: 53 if words[0] in PRODUCT_KEYWORDS: 55 if overrideProperty and words[1] == ":=": 56 if len(productData[words[0]]) != 0: 57 print "** Warning: overriding property " + words[0] + " that was:" + \ 58 productData[words[0]] 59 productData[words[0]] = {} 60 d = productData[words[0]] 61 for word in words[2:] [all...] |
/external/chromium_org/components/query_parser/ |
query_parser.h | 37 // the number of words in this node. 47 // Returns true if this node matches at least one of the words in |words|. An 48 // entry is added to |match_positions| for all matching words giving the 50 virtual bool HasMatchIn(const QueryWordVector& words, 53 // Returns true if this node matches at least one of the words in |words|. 54 virtual bool HasMatchIn(const QueryWordVector& words) const = 0; 56 // Appends the words that make up this node in |words| [all...] |
query_parser.cc | 81 const QueryWordVector& words, 84 const QueryWordVector& words) const OVERRIDE; 85 virtual void AppendWords(std::vector<base::string16>* words) const OVERRIDE; 120 bool QueryNodeWord::HasMatchIn(const QueryWordVector& words, 123 for (size_t i = 0; i < words.size(); ++i) { 124 if (Matches(words[i].word, false)) { 125 size_t match_start = words[i].position; 135 bool QueryNodeWord::HasMatchIn(const QueryWordVector& words) const { 136 for (size_t i = 0; i < words.size(); ++i) { 137 if (Matches(words[i].word, false) [all...] |
/external/chromium_org/tools/deep_memory_profiler/subcommands/ |
pprof.py | 98 words = line.split() 99 bucket = bucket_set.get(int(words[BUCKET_ID])) 110 com_committed += int(words[COMMITTED]) 111 com_allocs += int(words[ALLOC_COUNT]) - int(words[FREE_COUNT]) 142 words = line.split() 143 bucket = bucket_set.get(int(words[BUCKET_ID])) 155 int(words[ALLOC_COUNT]) - int(words[FREE_COUNT]), 156 words[COMMITTED] [all...] |
stacktrace.py | 33 words = line.split() 34 bucket = bucket_set.get(int(words[BUCKET_ID])) 38 out.write(words[i] + ' ')
|
/external/chromium_org/chrome/browser/sync/test/integration/ |
two_client_dictionary_sync_test.cc | 32 std::vector<std::string> words; local 33 words.push_back("foo"); 34 words.push_back("bar"); 35 ASSERT_EQ(num_clients(), static_cast<int>(words.size())); 38 ASSERT_TRUE(dictionary_helper::AddWord(i, words[i])); 41 ASSERT_EQ(words.size(), dictionary_helper::GetDictionarySize(0)); 44 ASSERT_TRUE(dictionary_helper::RemoveWord(i, words[i])); 51 ASSERT_TRUE(dictionary_helper::AddWord(i, words[i])); 53 ASSERT_EQ(words.size(), dictionary_helper::GetDictionarySize(0));
|
/external/valgrind/main/helgrind/ |
hg_wordset.c | 3 /*--- Sets of words, with unique set identifiers. ---*/ 137 UWord* words; member in struct:__anon36557 192 wv->words = NULL; 195 wv->words = wsu->alloc( wsu->cc, (SizeT)sz * sizeof(UWord) ); 203 if (wv->words) { 204 dealloc(wv->words); 228 if (wv1->words[i] == wv2->words[i]) 230 if (wv1->words[i] < wv2->words[i] [all...] |
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/coverage/ |
templite.py | 62 # Action tag: split into words and parse further. 63 words = tok[2:-2].strip().split() 64 if words[0] == 'if': 67 assert len(words) == 2 68 ops.append(('if', (words[1], if_ops))) 71 elif words[0] == 'for': 73 assert len(words) == 4 and words[2] == 'in' 75 ops.append(('for', (words[1], words[3], for_ops)) [all...] |
/external/chromium_org/third_party/webrtc/build/ |
version.py | 42 words = line.split() 43 for index, word in enumerate(words): 45 return words[index+1]
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/ |
SuggestedWordsTests.java | 72 final SuggestedWords words = new SuggestedWords( local 78 assertEquals(NUMBER_OF_ADDED_SUGGESTIONS + 1, words.size()); 79 assertEquals("typed", words.getWord(0)); 80 assertTrue(words.getInfo(0).isKindOf(SuggestedWordInfo.KIND_TYPED)); 81 assertEquals("0", words.getWord(1)); 82 assertTrue(words.getInfo(1).isKindOf(KIND_OF_SECOND_CORRECTION)); 83 assertEquals("4", words.getWord(5)); 84 assertTrue(words.getInfo(5).isKindOf(KIND_OF_SECOND_CORRECTION)); 87 words.getSuggestedWordsExcludingTypedWordForRecorrection(); 89 // suggested words, the string and the kind of the top suggestion, which should matc [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/ |
u_bitmask.c | 53 util_bitmask_word *words; member in struct:util_bitmask 72 bm->words = (util_bitmask_word *)CALLOC(UTIL_BITMASK_INITIAL_WORDS, sizeof(util_bitmask_word)); 73 if(!bm->words) { 114 new_words = (util_bitmask_word *)REALLOC((void *)bm->words, 125 bm->words = new_words; 174 if(!(bm->words[word] & mask)) 190 assert(!(bm->words[word] & mask)); 191 bm->words[word] |= mask; 215 bm->words[word] |= mask; 240 bm->words[word] &= ~mask [all...] |
/external/mesa3d/src/gallium/auxiliary/util/ |
u_bitmask.c | 53 util_bitmask_word *words; member in struct:util_bitmask 72 bm->words = (util_bitmask_word *)CALLOC(UTIL_BITMASK_INITIAL_WORDS, sizeof(util_bitmask_word)); 73 if(!bm->words) { 114 new_words = (util_bitmask_word *)REALLOC((void *)bm->words, 125 bm->words = new_words; 174 if(!(bm->words[word] & mask)) 190 assert(!(bm->words[word] & mask)); 191 bm->words[word] |= mask; 215 bm->words[word] |= mask; 240 bm->words[word] &= ~mask [all...] |
/external/qemu/util/ |
bitops.c | 133 unsigned long words; local 137 words = size / BITS_PER_LONG; 141 tmp = (addr[words] & (~0UL >> (BITS_PER_LONG 148 while (words) { 149 tmp = addr[--words]; 152 return words * BITS_PER_LONG + BITS_PER_LONG - 1 - clzl(tmp);
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
rlcompleter.py | 138 words = dir(thisobject) 139 if "__builtins__" in words: 140 words.remove("__builtins__") 143 words.append('__class__') 144 words.extend(get_class_members(thisobject.__class__)) 147 for word in words:
|