/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. ---*/ 134 UWord* words; member in struct:__anon12703 183 wv->words = NULL; 186 wv->words = wsu->alloc( wsu->cc, (SizeT)sz * sizeof(UWord) ); 194 if (wv->words) { 195 dealloc(wv->words); 210 if (wv1->words[i] == wv2->words[i]) 212 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/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);
|
/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)
|
/bionic/libc/inet/ |
inet_ntop.c | 106 u_int words[IN6ADDRSZ / INT16SZ]; local 115 memset(words, '\0', sizeof words); 117 words[i / 2] |= (src[i] << ((1 - (i % 2)) << 3)); 123 if (words[i] == 0) { 167 (best.len == 6 || (best.len == 5 && words[5] == 0xffff))) { 173 advance = snprintf(tp, ep - tp, "%x", words[i]);
|
/external/qemu/distrib/sdl-1.2.12/src/cdrom/macos/ |
SDL_syscdrom.c | 170 cdpb.csParam.words[0] = kGetTrackRange; 191 cdpb.csParam.words[0] = kGetLeadOutArea; 208 cdpb.csParam.words[0] = kGetTrackEntries; /* Type of Query */ 209 * ((long *) (cdpb.csParam.words+1)) = (long) tracks; 210 cdpb.csParam.words[3] = cdrom->numtracks * sizeof(tracks[0]); 211 * ((char *) (cdpb.csParam.words+4)) = 1; /* First track */ 265 cdpb.csParam.words[0] = kGetTrackRange; 356 cdpb.csParam.words[0] = kBlockPosition; /* Position Mode */ 357 *(long *) (cdpb.csParam.words + 1) = start+length-1; /* Search Address */ 368 cdpb.csParam.words[0] = kBlockPosition; /* Position Mode * [all...] |
/external/tcpdump/missing/ |
inet_ntop.c | 118 u_long words [IN6ADDRSZ / INT16SZ]; local 125 memset (words, 0, sizeof(words)); 127 words[i/2] |= (src[i] << ((1 - (i % 2)) << 3)); 133 if (words[i] == 0) 173 (best.len == 6 || (best.len == 5 && words[5] == 0xffff))) 183 tp += sprintf (tp, "%lX", words[i]);
|