Home
last modified time | relevance | path

Searched refs:words (Results 1 – 25 of 606) sorted by relevance

12345678910>>...25

/external/valgrind/main/memcheck/tests/
Dwrap6.c182 UInt* words = calloc(200, sizeof(UInt)); in fn_0() local
183 TRASH_IREGS(r, words); in fn_0()
184 free(words); in fn_0()
208 UInt* words = calloc(200, sizeof(UInt)); in fn_1() local
209 words[1-1] = a1; in fn_1()
210 TRASH_IREGS(r, words); in fn_1()
211 free(words); in fn_1()
235 UInt* words = calloc(200, sizeof(UInt)); in fn_2() local
236 words[1-1] = a1; in fn_2()
237 words[2-1] = a2; in fn_2()
[all …]
/external/chromium_org/components/query_parser/
Dquery_parser.cc81 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, in HasMatchIn() argument
123 for (size_t i = 0; i < words.size(); ++i) { in HasMatchIn()
124 if (Matches(words[i].word, false)) { in HasMatchIn()
125 size_t match_start = words[i].position; in HasMatchIn()
135 bool QueryNodeWord::HasMatchIn(const QueryWordVector& words) const { in HasMatchIn()
136 for (size_t i = 0; i < words.size(); ++i) { in HasMatchIn()
137 if (Matches(words[i].word, false)) in HasMatchIn()
[all …]
Dquery_parser.h50 virtual bool HasMatchIn(const QueryWordVector& words,
54 virtual bool HasMatchIn(const QueryWordVector& words) const = 0;
57 virtual void AppendWords(std::vector<base::string16>* words) const = 0;
86 std::vector<base::string16>* words);
103 bool DoesQueryMatch(const QueryWordVector& words,
108 QueryWordVector* words);
/external/skia/experimental/webtry/res/js/cm/
Dclike.js176 function words(str) { function
177 var obj = {}, words = str.split(" ");
178 for (var i = 0; i < words.length; ++i) obj[words[i]] = true;
254 var words = [];
257 words.push(prop);
262 if (words.length) {
264 CodeMirror.registerHelper("hintWords", mimes[0], words);
273 keywords: words(cKeywords),
274 blockKeywords: words("case do else for if switch while struct"),
275 atoms: words("null"),
[all …]
/external/chromium_org/third_party/skia/experimental/webtry/res/js/cm/
Dclike.js176 function words(str) { function
177 var obj = {}, words = str.split(" ");
178 for (var i = 0; i < words.length; ++i) obj[words[i]] = true;
254 var words = [];
257 words.push(prop);
262 if (words.length) {
264 CodeMirror.registerHelper("hintWords", mimes[0], words);
273 keywords: words(cKeywords),
274 blockKeywords: words("case do else for if switch while struct"),
275 atoms: words("null"),
[all …]
/external/valgrind/main/helgrind/
Dhg_wordset.c137 UWord* words; member
192 wv->words = NULL; in new_WV_of_size()
195 wv->words = wsu->alloc( wsu->cc, (SizeT)sz * sizeof(UWord) ); in new_WV_of_size()
203 if (wv->words) { in delete_WV()
204 dealloc(wv->words); in delete_WV()
228 if (wv1->words[i] == wv2->words[i]) in cmp_WordVecs_for_FM()
230 if (wv1->words[i] < wv2->words[i]) in cmp_WordVecs_for_FM()
232 if (wv1->words[i] > wv2->words[i]) in cmp_WordVecs_for_FM()
419 return (Bool)(wv->size == 1 && wv->words[0] == w); in HG_()
438 return wv->words[0]; in HG_()
[all …]
/external/chromium_org/content/common/android/
Daddress_parser.cc83 WordList words; in FindAddress() local
84 words.push_back(house_number); in FindAddress()
97 if (next_word == words.size()) { in FindAddress()
112 words.push_back(Word(tokenizer.token_begin(), tokenizer.token_end())); in FindAddress()
117 const Word& current_word = words[next_word]; in FindAddress()
163 if (FindStateStartingInWord(&words, state_first_word, &state_last_word, in FindAddress()
171 if (current_word_length == 2 && words.size() > 2) { in FindAddress()
172 const Word& previous_word = words[state_first_word - 1]; in FindAddress()
183 if (zip_word == words.size()) { in FindAddress()
188 words.push_back(Word(tokenizer.token_begin(), in FindAddress()
[all …]
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/cm/
Dclike.js179 function words(str) { function
180 var obj = {}, words = str.split(" ");
181 for (var i = 0; i < words.length; ++i) obj[words[i]] = true;
257 var words = [];
260 words.push(prop);
265 if (words.length) {
267 CodeMirror.registerHelper("hintWords", mimes[0], words);
276 keywords: words(cKeywords),
277 blockKeywords: words("case do else for if switch while struct"),
278 atoms: words("null"),
[all …]
/external/chromium_org/third_party/sqlite/src/test/
Dfts4aa.test31 CREATE VIRTUAL TABLE t1 USING fts4(words, tokenize porter);
33 INSERT INTO t1(docid,words) VALUES(1001001,'In the beginning God created the heaven and the earth.'…
34 INSERT INTO t1(docid,words) VALUES(1001002,'And the earth was without form, and void; and darkness …
35 INSERT INTO t1(docid,words) VALUES(1001003,'And God said, Let there be light: and there was light.'…
36 INSERT INTO t1(docid,words) VALUES(1001004,'And God saw the light, that it was good: and God divide…
37 INSERT INTO t1(docid,words) VALUES(1001005,'And God called the light Day, and the darkness he calle…
38 INSERT INTO t1(docid,words) VALUES(1001006,'And God said, Let there be a firmament in the midst of …
39 INSERT INTO t1(docid,words) VALUES(1001007,'And God made the firmament, and divided the waters whic…
40 INSERT INTO t1(docid,words) VALUES(1001008,'And God called the firmament Heaven. And the evening an…
41 INSERT INTO t1(docid,words) VALUES(1001009,'And God said, Let the waters under the heaven be gather…
[all …]
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/coverage/
Dtemplite.py63 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)))
78 elif words[0].startswith('end'):
81 assert ops[-1][0] == words[0][3:]
83 raise SyntaxError("Don't understand tag %r" % words)
/external/llvm/utils/emacs/
Dllvm-mode.el21 …`(,(regexp-opt '("void" "i[0-9]+" "float" "double" "type" "label" "opaque") 'words) . font-lock-ty…
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 …" "select" "to" "shl" "lshr" "ashr" "fcmp" "icmp" "va_arg" "landingpad") 'words) . font-lock-keywo…
42 …et" "br" "switch" "invoke" "resume" "unwind" "unreachable" "indirectbr") 'words) . font-lock-keywo…
44 …ca" "free" "load" "store" "getelementptr" "fence" "cmpxchg" "atomicrmw") 'words) . font-lock-keywo…
46 …" "fptrunc" "fpext" "fptoui" "fptosi" "uitofp" "sitofp" "addrspacecast") 'words) . font-lock-keywo…
48 …`(,(regexp-opt '("extractelement" "insertelement" "shufflevector") 'words) . font-lock-keyword-fac…
50 `(,(regexp-opt '("extractvalue" "insertvalue") 'words) . font-lock-keyword-face)
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/
Du_bitmask.c53 util_bitmask_word *words; member
72 bm->words = (util_bitmask_word *)CALLOC(UTIL_BITMASK_INITIAL_WORDS, sizeof(util_bitmask_word)); in util_bitmask_create()
73 if(!bm->words) { in util_bitmask_create()
114 new_words = (util_bitmask_word *)REALLOC((void *)bm->words, in util_bitmask_resize()
125 bm->words = new_words; in util_bitmask_resize()
174 if(!(bm->words[word] & mask)) in util_bitmask_add()
190 assert(!(bm->words[word] & mask)); in util_bitmask_add()
191 bm->words[word] |= mask; in util_bitmask_add()
215 bm->words[word] |= mask; in util_bitmask_set()
240 bm->words[word] &= ~mask; in util_bitmask_clear()
[all …]
/external/mesa3d/src/gallium/auxiliary/util/
Du_bitmask.c53 util_bitmask_word *words; member
72 bm->words = (util_bitmask_word *)CALLOC(UTIL_BITMASK_INITIAL_WORDS, sizeof(util_bitmask_word)); in util_bitmask_create()
73 if(!bm->words) { in util_bitmask_create()
114 new_words = (util_bitmask_word *)REALLOC((void *)bm->words, in util_bitmask_resize()
125 bm->words = new_words; in util_bitmask_resize()
174 if(!(bm->words[word] & mask)) in util_bitmask_add()
190 assert(!(bm->words[word] & mask)); in util_bitmask_add()
191 bm->words[word] |= mask; in util_bitmask_add()
215 bm->words[word] |= mask; in util_bitmask_set()
240 bm->words[word] &= ~mask; in util_bitmask_clear()
[all …]
/external/tcpdump/
Dprint-smb.c173 print_trans2(const u_char *words, const u_char *dat, const u_char *buf, const u_char *maxbuf) in print_trans2() argument
178 const u_char *w = words + 1; in print_trans2()
182 TCHECK(words[0]); in print_trans2()
191 if (words[0] == 0) { in print_trans2()
206 if (words[0] == 8) { in print_trans2()
207 smb_fdata(words + 1, in print_trans2()
212 smb_fdata(words + 1, in print_trans2()
214 words + 1 + 14 * 2, unicodestr); in print_trans2()
219 smb_fdata(words + 1, in print_trans2()
221 words + 1 + 10 * 2, unicodestr); in print_trans2()
[all …]
/external/qemu/distrib/sdl-1.2.15/src/cdrom/macos/
DSDL_syscdrom.c170 cdpb.csParam.words[0] = kGetTrackRange; in SDL_SYS_CDGetTOC()
191 cdpb.csParam.words[0] = kGetLeadOutArea; in SDL_SYS_CDGetTOC()
208 cdpb.csParam.words[0] = kGetTrackEntries; /* Type of Query */ in SDL_SYS_CDGetTOC()
209 * ((long *) (cdpb.csParam.words+1)) = (long) tracks; in SDL_SYS_CDGetTOC()
210 cdpb.csParam.words[3] = cdrom->numtracks * sizeof(tracks[0]); in SDL_SYS_CDGetTOC()
211 * ((char *) (cdpb.csParam.words+4)) = 1; /* First track */ in SDL_SYS_CDGetTOC()
265 cdpb.csParam.words[0] = kGetTrackRange; in SDL_SYS_CDStatus()
356 cdpb.csParam.words[0] = kBlockPosition; /* Position Mode */ in SDL_SYS_CDPlay()
357 *(long *) (cdpb.csParam.words + 1) = start+length-1; /* Search Address */ in SDL_SYS_CDPlay()
368 cdpb.csParam.words[0] = kBlockPosition; /* Position Mode */ in SDL_SYS_CDPlay()
[all …]
/external/chromium_org/third_party/icu/source/common/
Ddictbe.cpp255 PossibleWord words[THAI_LOOKAHEAD]; in divideUpDictionaryRange() local
264 int candidates = words[wordsFound%THAI_LOOKAHEAD].candidates(text, fDictionary, rangeEnd); in divideUpDictionaryRange()
268 wordLength = words[wordsFound % THAI_LOOKAHEAD].acceptMarked(text); in divideUpDictionaryRange()
279 … if (words[(wordsFound + 1) % THAI_LOOKAHEAD].candidates(text, fDictionary, rangeEnd) > 0) { in divideUpDictionaryRange()
282 words[wordsFound%THAI_LOOKAHEAD].markCurrent(); in divideUpDictionaryRange()
294 … if (words[(wordsFound + 2) % THAI_LOOKAHEAD].candidates(text, fDictionary, rangeEnd)) { in divideUpDictionaryRange()
295 words[wordsFound % THAI_LOOKAHEAD].markCurrent(); in divideUpDictionaryRange()
299 while (words[(wordsFound + 1) % THAI_LOOKAHEAD].backUp(text)); in divideUpDictionaryRange()
302 while (words[wordsFound % THAI_LOOKAHEAD].backUp(text)); in divideUpDictionaryRange()
304 wordLength = words[wordsFound % THAI_LOOKAHEAD].acceptMarked(text); in divideUpDictionaryRange()
[all …]
/external/icu/icu4c/source/common/
Ddictbe.cpp258 PossibleWord words[THAI_LOOKAHEAD]; in divideUpDictionaryRange() local
267 int candidates = words[wordsFound%THAI_LOOKAHEAD].candidates(text, fDictionary, rangeEnd); in divideUpDictionaryRange()
271 wordLength = words[wordsFound % THAI_LOOKAHEAD].acceptMarked(text); in divideUpDictionaryRange()
282 … if (words[(wordsFound + 1) % THAI_LOOKAHEAD].candidates(text, fDictionary, rangeEnd) > 0) { in divideUpDictionaryRange()
285 words[wordsFound%THAI_LOOKAHEAD].markCurrent(); in divideUpDictionaryRange()
297 … if (words[(wordsFound + 2) % THAI_LOOKAHEAD].candidates(text, fDictionary, rangeEnd)) { in divideUpDictionaryRange()
298 words[wordsFound % THAI_LOOKAHEAD].markCurrent(); in divideUpDictionaryRange()
302 while (words[(wordsFound + 1) % THAI_LOOKAHEAD].backUp(text)); in divideUpDictionaryRange()
305 while (words[wordsFound % THAI_LOOKAHEAD].backUp(text)); in divideUpDictionaryRange()
307 wordLength = words[wordsFound % THAI_LOOKAHEAD].acceptMarked(text); in divideUpDictionaryRange()
[all …]
/external/chromium_org/chrome/browser/sync/test/integration/
Dtwo_client_dictionary_sync_test.cc32 std::vector<std::string> words; in IN_PROC_BROWSER_TEST_F() local
33 words.push_back("foo"); in IN_PROC_BROWSER_TEST_F()
34 words.push_back("bar"); in IN_PROC_BROWSER_TEST_F()
35 ASSERT_EQ(num_clients(), static_cast<int>(words.size())); in IN_PROC_BROWSER_TEST_F()
38 ASSERT_TRUE(dictionary_helper::AddWord(i, words[i])); in IN_PROC_BROWSER_TEST_F()
41 ASSERT_EQ(words.size(), dictionary_helper::GetDictionarySize(0)); in IN_PROC_BROWSER_TEST_F()
44 ASSERT_TRUE(dictionary_helper::RemoveWord(i, words[i])); in IN_PROC_BROWSER_TEST_F()
51 ASSERT_TRUE(dictionary_helper::AddWord(i, words[i])); in IN_PROC_BROWSER_TEST_F()
53 ASSERT_EQ(words.size(), dictionary_helper::GetDictionarySize(0)); in IN_PROC_BROWSER_TEST_F()
/external/chromium-trace/trace-viewer/src/cc/
Dutil.js22 var words = name.split('_');
23 if (words.length == 1) {
24 convertedNameCache[name] = words[0];
25 return words[0];
28 for (var i = 1; i < words.length; i++)
29 words[i] = words[i][0].toUpperCase() + words[i].substring(1);
31 convertedNameCache[name] = words.join('');
/external/chromium_org/v8/test/mjsunit/
Dregexp-results-cache.js73 var words = string.split(" "); variable
74 assertEquals("Friends,", words[0]);
75 words[0] = "Enemies,";
76 words = string.split(" ");
77 assertEquals("Friends,", words[0]);
/external/flac/libFLAC/
Dbitwriter.c83 #define FLAC__WORDS_TO_BITS(words) ((words) * FLAC__BITS_PER_WORD) argument
84 #define FLAC__TOTAL_BITS(bw) (FLAC__WORDS_TO_BITS((bw)->words) + (bw)->bits)
106 unsigned words; /* # of complete words in buffer */ member
129 …new_capacity = bw->words + ((bw->bits + bits_to_add + FLAC__BITS_PER_WORD - 1) / FLAC__BITS_PER_WO… in bitwriter_grow_()
143 …FLAC__ASSERT(new_capacity >= bw->words + ((bw->bits + bits_to_add + FLAC__BITS_PER_WORD - 1) / FLA… in bitwriter_grow_()
185 bw->words = bw->bits = 0; in FLAC__bitwriter_init()
202 bw->words = bw->bits = 0; in FLAC__bitwriter_free()
207 bw->words = bw->bits = 0; in FLAC__bitwriter_clear()
217 …fprintf(out, "bitwriter: capacity=%u words=%u bits=%u total_bits=%u\n", bw->capacity, bw->words, b… in FLAC__bitwriter_dump()
219 for(i = 0; i < bw->words; i++) { in FLAC__bitwriter_dump()
[all …]
/external/chromium_org/net/tools/tld_cleanup/
Dmake_dafsa_unittest.py62 words = [ 'apa1' ]
63 self.assertEqual(make_dafsa.parse_gperf(infile), words)
68 words = [ 'apa1', 'bepa.com2' ]
69 self.assertEqual(make_dafsa.parse_gperf(infile), words)
75 words = ()
76 self.assertRaises(make_dafsa.InputError, make_dafsa.to_dafsa, words)
94 words = [ 'a0' ]
98 self.assertEqual(make_dafsa.to_dafsa(words), source)
102 words = [ 'ab0' ]
107 self.assertEqual(make_dafsa.to_dafsa(words), source)
[all …]
/external/bison/lib/
Dlbitset.c66 bitset_word words[LBITSET_ELT_WORDS]; /* Bits that are set. */ member
84 ((lbitset_elt *) (void *) ((char *) (X) - offsetof (lbitset_elt, words)))
151 memset (elt->words, 0, sizeof (elt->words)); in lbitset_elt_calloc()
189 bset->b.cdata = next->words; in lbitset_elt_unlink()
194 bset->b.cdata = prev->words; in lbitset_elt_unlink()
221 bset->b.cdata = elt->prev->words; in lbitset_prune()
248 if (elt->words[i]) in lbitset_elt_zero_p()
314 bset->b.cdata = elt->words; in lbitset_elt_link()
359 bset->b.cdata = elt->words; in lbitset_elt_find()
437 if (delt->words[j] != selt->words[j]) in lbitset_equal_p()
[all …]
/external/tcpdump/missing/
Dinet_ntop.c118 u_long words [IN6ADDRSZ / INT16SZ]; in inet_ntop_v6() local
125 memset (words, 0, sizeof(words)); in inet_ntop_v6()
127 words[i/2] |= (src[i] << ((1 - (i % 2)) << 3)); in inet_ntop_v6()
133 if (words[i] == 0) in inet_ntop_v6()
173 (best.len == 6 || (best.len == 5 && words[5] == 0xffff))) in inet_ntop_v6()
183 tp += sprintf (tp, "%lX", words[i]); in inet_ntop_v6()
/external/chromium_org/third_party/usrsctp/usrsctplib/netinet/
Dsctp_sha1.c125 memset(ctx->words, 0, sizeof(ctx->words)); in sctp_sha1_init()
138 ctx->words[i] = ntohl(block[i]); in sctp_sha1_process_a_block()
142 ctx->words[i] = CSHIFT(1, ((ctx->words[(i - 3)]) ^ in sctp_sha1_process_a_block()
143 (ctx->words[(i - 8)]) ^ in sctp_sha1_process_a_block()
144 (ctx->words[(i - 14)]) ^ in sctp_sha1_process_a_block()
145 (ctx->words[(i - 16)]))); in sctp_sha1_process_a_block()
160 ctx->words[i] + in sctp_sha1_process_a_block()
166 (ctx->words[i]) + in sctp_sha1_process_a_block()
172 (ctx->words[i]) + in sctp_sha1_process_a_block()
178 (ctx->words[i]) + in sctp_sha1_process_a_block()

12345678910>>...25