/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/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/dropbear/libtomcrypt/src/pk/asn1/der/object_identifier/ |
der_length_object_identifier.c | 35 @param nwords The number of OID words 36 @param words The actual OID words to get the size of 40 int der_length_object_identifier(unsigned long *words, unsigned long nwords, unsigned long *outlen) 44 LTC_ARGCHK(words != NULL); 48 /* must be >= 2 words */ 54 if (words[0] > 3 || (words[0] < 2 && words[1] > 39)) { 60 wordbuf = words[0] * 40 + words[1] [all...] |
der_encode_object_identifier.c | 21 @param words The words to encode (upto 32-bits each) 22 @param nwords The number of words in the OID 27 int der_encode_object_identifier(unsigned long *words, unsigned long nwords, 33 LTC_ARGCHK(words != NULL); 38 if ((err = der_length_object_identifier(words, nwords, &x)) != CRYPT_OK) { 48 wordbuf = words[0] * 40 + words[1]; 53 wordbuf = words[y + 1]; 74 wordbuf = words[0] * 40 + words[1]; [all...] |
der_decode_object_identifier.c | 20 Decode OID data and store the array of integers in words 23 @param words [out] The destination of the OID words 24 @param outlen [in/out] The number of OID words 28 unsigned long *words, unsigned long *outlen) 33 LTC_ARGCHK(words != NULL); 41 /* must be room for at least two words */ 70 /* decode words */ 81 words[0] = t / 40; 82 words[1] = t % 40 [all...] |
/external/webkit/Tools/android/flex-2.5.4a/MISC/fastwc/ |
wc4.l | 6 words {word}{ws}+ 13 {words}{word}{ws}* wc += 2; cc += yyleng; 14 {words}{word}{ws}*\n wc += 2; cc += yyleng; ++lc; 15 {words}{2}{word}{ws}* wc += 3; cc += yyleng; 16 {words}{2}{word}{ws}*\n wc += 3; cc += yyleng; ++lc; 17 {words}{3}{word}{ws}* wc += 4; cc += yyleng; 18 {words}{3}{word}{ws}*\n wc += 4; cc += yyleng; ++lc;
|
wc3.l | 6 words {word}{ws}+ 13 {words}{word}{ws}* cc += yyleng; wc += 2; 14 {words}{2}{word}{ws}* cc += yyleng; wc += 3; 15 {words}{3}{word}{ws}* cc += yyleng; wc += 4;
|
wc5.l | 6 words {word}{ws}+ 13 {words}{word} cc += yyleng; wc += 2; /* oops */ 14 {words}{2}{word}{ws}* cc += yyleng; wc += 3; 15 {words}{3}{word}{ws}* cc += yyleng; wc += 4;
|
/hardware/ril/mock-ril/ |
Makefile | 11 #if ((($(words $(PROTO)) != 1))) 12 ifneq ($(words $(PROTOC)),1) 13 $(error expecting 1 protoc we have $(words $(PROTOC)), PROTOC='$(PROTOC)')
|
/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...] |
/external/chromium/chrome/browser/history/ |
query_parser.h | 36 // the number of words in this node. 47 // Returns true if this node matches at least one of the words in words. If 50 virtual bool HasMatchIn(const std::vector<QueryWord>& words, 53 // Appends the words that make up this node in |words|. 54 virtual void AppendWords(std::vector<string16>* words) const = 0; 72 // sqlite_query and the number of words is returned. 76 // Parses the query words in query, returning the nodes that constitute the 77 // valid words in the query. This is intended for later usage wit [all...] |
query_parser.cc | 79 virtual bool HasMatchIn(const std::vector<QueryWord>& words, 83 virtual void AppendWords(std::vector<string16>* words) const; 90 bool QueryNodeWord::HasMatchIn(const std::vector<QueryWord>& words, 92 for (size_t i = 0; i < words.size(); ++i) { 93 if (Matches(words[i].word, false)) { 94 size_t match_start = words[i].position; 111 void QueryNodeWord::AppendWords(std::vector<string16>* words) const { 112 words->push_back(word_); 148 virtual bool HasMatchIn(const std::vector<QueryWord>& words, 153 virtual void AppendWords(std::vector<string16>* words) const [all...] |
/external/bluetooth/glib/gio/ |
makegioalias.pl | 102 my @words; 105 @words = split(/ /, $str); 106 $str = shift(@words); 111 foreach $word (@words) {
|
/external/bluetooth/glib/gobject/ |
makegobjectalias.pl | 102 my @words; 105 @words = split(/ /, $str); 106 $str = shift(@words); 111 foreach $word (@words) {
|
/external/valgrind/main/helgrind/ |
hg_wordset.c | 3 /*--- Sets of words, with unique set identifiers. ---*/ 137 UWord* words; member in struct:__anon14130 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/llvm/utils/emacs/ |
llvm-mode.el | 22 `(,(regexp-opt '("void" "i[0-9]+" "float" "double" "type" "label" "opaque") 'words) . font-lock-type-face) 34 "pointersize" "deplibs" "volatile" "fastcc" "coldcc" "cc") 'words) . font-lock-keyword-face) 37 "setne" "seteq" "setlt" "setgt" "setle" "setge") 'words) . font-lock-keyword-face) 39 `(,(regexp-opt '("phi" "tail" "call" "cast" "select" "to" "shl" "shr" "vaarg" "vanext") 'words) . font-lock-keyword-face) 41 `(,(regexp-opt '("ret" "br" "switch" "invoke" "unwind" "unreachable") 'words) . font-lock-keyword-face) 43 `(,(regexp-opt '("malloc" "alloca" "free" "load" "store" "getelementptr") 'words) . font-lock-keyword-face)
|
/external/icu4c/common/ |
dictbe.cpp | 103 // List size, limited by the maximum number of words in the dictionary 192 // How many words in a row are "good enough"? 211 // Minimum number of characters for two words 249 return 0; // Not enough characters for two words 256 PossibleWord words[THAI_LOOKAHEAD]; local 264 // Look for candidate words at the current position 265 int candidates = words[wordsFound%THAI_LOOKAHEAD].candidates(text, fDictionary, rangeEnd); 269 wordLength = words[wordsFound%THAI_LOOKAHEAD].acceptMarked(text); 273 // If there was more than one, see which one can take us forward the most words 281 if (words[(wordsFound+1)%THAI_LOOKAHEAD].candidates(text, fDictionary, rangeEnd) > 0) 489 PossibleWord words[KHMER_LOOKAHEAD]; local [all...] |
/external/tcpdump/ |
print-smb.c | 173 print_trans2(const u_char *words, const u_char *dat, const u_char *buf, const u_char *maxbuf) 178 const u_char *w = words + 1; 182 TCHECK(words[0]); 191 if (words[0] == 0) { 206 if (words[0] == 8) { 207 smb_fdata(words + 1, 212 smb_fdata(words + 1, 214 words + 1 + 14 * 2, unicodestr); 219 smb_fdata(words + 1, 221 words + 1 + 10 * 2, unicodestr) 801 const u_char *words, *maxwords, *data; local [all...] |
/frameworks/ex/common/tools/ |
make-iana-tld-pattern.py | 32 self.words=[] 36 if (len(self.words) == 0) and (len(self.letters) == 0): 39 self.words.sort() 52 if len(self.words) != 0: 59 for word in self.words: 68 if len(self.words) > 0 and len(self.letters) > 0: 81 if len(self.words) != 0: 99 self.words.append(line)
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
List4.java | 118 public SpeechView(Context context, String title, String words) { 132 mDialogue.setText(words); 147 public void setDialogue(String words) { 148 mDialogue.setText(words);
|
/bionic/libm/src/ |
s_nan.c | 72 _scan_nan(uint32_t *words, int num_words, const char *s) 75 int bitpos; /* index into words (in bits) */ 77 bzero(words, num_words * sizeof(uint32_t)); 87 /* Scan backwards, filling in the bits in words[] as we go. */ 95 words[bitpos / 32] |= digittoint(s[si]) << (bitpos % 32);
|
/build/tools/ |
diff_package_overlays.py | 55 words = line.split() 56 result[words[0]] = " ".join(words[1:])
|
/external/webkit/Source/JavaScriptCore/wtf/ |
Bitmap.h | 50 static const WordType words = (size + wordSize - 1) / wordSize; member in class:WTF::Bitmap 59 FixedArray<WordType, words> bits; 138 for (size_t i = start / wordSize; i < words; ++i) 146 for (size_t i = 0; i < words; ++i) 155 for (size_t i = 0; i < words; ++i)
|
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/format/ |
GLAPISpec.java | 108 List<String> words = Arrays.asList(line.split(",")); local 110 String retType = words.get(0).trim(); 111 String func = words.get(1).trim(); 112 List<String> argDefinitions = words.subList(2, words.size());
|