HomeSort by relevance Sort by last modified time
    Searched refs:words (Results 1 - 25 of 261) sorted by null

1 2 3 4 5 6 7 8 91011

  /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/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;
  /packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
SuggestedWordsTests.java 40 final SuggestedWords words = new SuggestedWords( local
47 assertEquals(NUMBER_OF_ADDED_SUGGESTIONS + 1, words.size());
48 assertEquals("typed", words.getWord(0));
49 assertEquals(SuggestedWordInfo.KIND_TYPED, words.getInfo(0).mKind);
50 assertEquals("0", words.getWord(1));
51 assertEquals(SuggestedWordInfo.KIND_CORRECTION, words.getInfo(1).mKind);
52 assertEquals("4", words.getWord(5));
53 assertEquals(SuggestedWordInfo.KIND_CORRECTION, words.getInfo(5).mKind);
55 final SuggestedWords wordsWithoutTyped = words.getSuggestedWordsExcludingTypedWord();
56 assertEquals(words.size() - 1, wordsWithoutTyped.size())
    [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];
  /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/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" "cast" "select" "to" "shl" "shr" "fcmp" "icmp" "vaarg" "vanext") 'words) . font-lock-keyword-face)
42 `(,(regexp-opt '("ret" "br" "switch" "invoke" "unwind" "unreachable") 'words) . font-lock-keyword-face)
44 `(,(regexp-opt '("malloc" "alloca" "free" "load" "store" "getelementptr") 'words) . font-lock-keyword-face)
  /external/valgrind/main/helgrind/
hg_wordset.c 3 /*--- Sets of words, with unique set identifiers. ---*/
137 UWord* words; member in struct:__anon17067
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/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...]
  /bionic/libc/upstream-netbsd/libc/inet/
inet_ntop.c 136 u_int words[NS_IN6ADDRSZ / NS_INT16SZ]; local
148 memset(words, '\0', sizeof words);
150 words[i / 2] |= (src[i] << ((1 - (i % 2)) << 3));
156 if (words[i] == 0) {
198 (best.len == 7 && words[7] != 0x0001) ||
199 (best.len == 5 && words[5] == 0xffff))) {
205 advance = snprintf(tp, (size_t)(ep - tp), "%x", words[i]);
  /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/upstream-freebsd/lib/msun/src/
s_nan.c 51 _scan_nan(uint32_t *words, int num_words, const char *s)
54 int bitpos; /* index into words (in bits) */
56 bzero(words, num_words * sizeof(uint32_t));
66 /* Scan backwards, filling in the bits in words[] as we go. */
74 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:])
product_debug.py 28 words = line.split("=", 1)
29 if len(words) == 1:
30 return (words[0], "")
32 return (words[0], 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());
  /external/openssh/openbsd-compat/
inet_ntop.c 120 u_int words[IN6ADDRSZ / INT16SZ]; local
129 memset(words, '\0', sizeof words);
131 words[i / 2] |= (src[i] << ((1 - (i % 2)) << 3));
135 if (words[i] == 0) {
179 (best.len == 6 || (best.len == 5 && words[5] == 0xffff))) {
185 advance = snprintf(tp, ep - tp, "%x", words[i]);

Completed in 697 milliseconds

1 2 3 4 5 6 7 8 91011