Home
last modified time | relevance | path

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

12345678910>>...13

/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/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/chrome/browser/history/
Dquery_parser.cc79 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, in HasMatchIn() argument
92 for (size_t i = 0; i < words.size(); ++i) { in HasMatchIn()
93 if (Matches(words[i].word, false)) { in HasMatchIn()
94 size_t match_start = words[i].position; in HasMatchIn()
111 void QueryNodeWord::AppendWords(std::vector<string16>* words) const { in AppendWords()
112 words->push_back(word_); in AppendWords()
148 virtual bool HasMatchIn(const std::vector<QueryWord>& words, in HasMatchIn() argument
153 virtual void AppendWords(std::vector<string16>* words) const;
[all …]
Dquery_parser.h50 virtual bool HasMatchIn(const std::vector<QueryWord>& words,
54 virtual void AppendWords(std::vector<string16>* words) const = 0;
88 std::vector<string16>* words);
105 std::vector<QueryWord>* words);
/external/dropbear/libtomcrypt/src/pk/asn1/der/object_identifier/
Dder_length_object_identifier.c40 int der_length_object_identifier(unsigned long *words, unsigned long nwords, unsigned long *outlen) in der_length_object_identifier() argument
44 LTC_ARGCHK(words != NULL); in der_length_object_identifier()
54 if (words[0] > 3 || (words[0] < 2 && words[1] > 39)) { in der_length_object_identifier()
60 wordbuf = words[0] * 40 + words[1]; in der_length_object_identifier()
66 wordbuf = words[y+1]; in der_length_object_identifier()
Dder_encode_object_identifier.c27 int der_encode_object_identifier(unsigned long *words, unsigned long nwords, in der_encode_object_identifier() argument
33 LTC_ARGCHK(words != NULL); in der_encode_object_identifier()
38 if ((err = der_length_object_identifier(words, nwords, &x)) != CRYPT_OK) { in der_encode_object_identifier()
48 wordbuf = words[0] * 40 + words[1]; in der_encode_object_identifier()
53 wordbuf = words[y + 1]; in der_encode_object_identifier()
74 wordbuf = words[0] * 40 + words[1]; in der_encode_object_identifier()
99 wordbuf = words[i + 1]; in der_encode_object_identifier()
Dder_decode_object_identifier.c28 unsigned long *words, unsigned long *outlen) in der_decode_object_identifier() argument
33 LTC_ARGCHK(words != NULL); in der_decode_object_identifier()
81 words[0] = t / 40; in der_decode_object_identifier()
82 words[1] = t % 40; in der_decode_object_identifier()
85 words[y++] = t; in der_decode_object_identifier()
/external/icu4c/common/
Ddictbe.cpp256 PossibleWord words[THAI_LOOKAHEAD]; in divideUpDictionaryRange() local
265 int candidates = words[wordsFound%THAI_LOOKAHEAD].candidates(text, fDictionary, rangeEnd); in divideUpDictionaryRange()
269 wordLength = words[wordsFound%THAI_LOOKAHEAD].acceptMarked(text); in divideUpDictionaryRange()
281 … if (words[(wordsFound+1)%THAI_LOOKAHEAD].candidates(text, fDictionary, rangeEnd) > 0) { in divideUpDictionaryRange()
284 words[wordsFound%THAI_LOOKAHEAD].markCurrent(); in divideUpDictionaryRange()
296 … if (words[(wordsFound+2)%THAI_LOOKAHEAD].candidates(text, fDictionary, rangeEnd)) { in divideUpDictionaryRange()
297 words[wordsFound%THAI_LOOKAHEAD].markCurrent(); in divideUpDictionaryRange()
301 while (words[(wordsFound+1)%THAI_LOOKAHEAD].backUp(text)); in divideUpDictionaryRange()
304 while (words[wordsFound%THAI_LOOKAHEAD].backUp(text)); in divideUpDictionaryRange()
306 wordLength = words[wordsFound%THAI_LOOKAHEAD].acceptMarked(text); in divideUpDictionaryRange()
[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/webkit/Tools/android/flex-2.5.4a/MISC/fastwc/
Dwc4.l6 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;
Dwc5.l6 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;
Dwc3.l6 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;
/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 …]
Dbitreader.c141 unsigned words; /* # of completed words in buffer */ member
217 end = br->words + (br->bytes? 1:0); in bitreader_read_from_client_()
220 br->words -= start; in bitreader_read_from_client_()
227 bytes = (br->capacity - br->words) * FLAC__BYTES_PER_WORD - br->bytes; in bitreader_read_from_client_()
230 target = ((FLAC__byte*)(br->buffer+br->words)) + br->bytes; in bitreader_read_from_client_()
243 br->buffer[br->words] = SWAP_BE_WORD_TO_HOST(br->buffer[br->words]); in bitreader_read_from_client_()
265 …end = (br->words*FLAC__BYTES_PER_WORD + br->bytes + bytes + (FLAC__BYTES_PER_WORD-1)) / FLAC__BYTE… in bitreader_read_from_client_()
268 start = br->words; in bitreader_read_from_client_()
273 for(start = br->words; start < end; start++) in bitreader_read_from_client_()
283 end = br->words*FLAC__BYTES_PER_WORD + br->bytes + bytes; in bitreader_read_from_client_()
[all …]
/external/bison/lib/
Dlbitset.c65 bitset_word words[LBITSET_ELT_WORDS]; /* Bits that are set. */ member
83 ((lbitset_elt *) (void *) ((char *) (X) - offsetof (lbitset_elt, words)))
150 memset (elt->words, 0, sizeof (elt->words)); in lbitset_elt_calloc()
188 bset->b.cdata = next->words; in lbitset_elt_unlink()
193 bset->b.cdata = prev->words; in lbitset_elt_unlink()
220 bset->b.cdata = elt->prev->words; in lbitset_prune()
247 if (elt->words[i]) in lbitset_elt_zero_p()
313 bset->b.cdata = elt->words; in lbitset_elt_link()
358 bset->b.cdata = elt->words; in lbitset_elt_find()
436 if (delt->words[j] != selt->words[j]) in lbitset_equal_p()
[all …]
/external/llvm/utils/emacs/
Dllvm-mode.el22 …`(,(regexp-opt '("void" "i[0-9]+" "float" "double" "type" "label" "opaque") 'words) . font-lock-ty…
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) . …
41 …`(,(regexp-opt '("ret" "br" "switch" "invoke" "unwind" "unreachable") 'words) . font-lock-keyword-…
43 …`(,(regexp-opt '("malloc" "alloca" "free" "load" "store" "getelementptr") 'words) . font-lock-keyw…
/external/chromium/third_party/libjingle/source/talk/examples/call/
Dcallclient.cc84 std::string GetWord(const std::vector<std::string>& words, in GetWord() argument
86 if (words.size() > index) { in GetWord()
87 return words[index]; in GetWord()
93 int GetInt(const std::vector<std::string>& words, size_t index, int def) { in GetInt() argument
95 if (words.size() > index && talk_base::FromString(words[index], &val)) { in GetInt()
141 std::vector<std::string> words; in ParseLine() local
155 words.push_back(word); in ParseLine()
163 const std::string& command = GetWord(words, 0, ""); in ParseLine()
169 options.video_bandwidth = GetInt(words, 1, cricket::kAutoBandwidth); in ParseLine()
187 } else if ((command == "dtmf") && (words.size() == 2)) { in ParseLine()
[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/openssh/openbsd-compat/
Dinet_ntop.c120 u_int words[IN6ADDRSZ / INT16SZ]; in inet_ntop6() local
129 memset(words, '\0', sizeof words); in inet_ntop6()
131 words[i / 2] |= (src[i] << ((1 - (i % 2)) << 3)); in inet_ntop6()
135 if (words[i] == 0) { in inet_ntop6()
179 (best.len == 6 || (best.len == 5 && words[5] == 0xffff))) { in inet_ntop6()
185 advance = snprintf(tp, ep - tp, "%x", words[i]); in inet_ntop6()
/external/webkit/Source/WebKit/android/content/
Daddress_detector.cpp186 std::vector<Word> words; in FindContent() local
187 words.push_back(house_number); in FindContent()
199 if (next_word == words.size()) { in FindContent()
214 words.push_back(Word(tokenizer.token_begin(), tokenizer.token_end())); in FindContent()
219 const Word& current_word = words[next_word]; in FindContent()
252 if (FindStateStartingInWord(&words, state_first_word, &state_last_word, in FindContent()
260 if (current_word_length == 2 && words.size() > 2) { in FindContent()
261 const Word& previous_word = words[state_first_word - 1]; in FindContent()
272 if (zip_word == words.size()) { in FindContent()
276 *start_pos = words[0].begin - begin; in FindContent()
[all …]
/external/mksh/src/
Dedit.c236 x_print_expansions(int nwords, char * const *words, bool is_command) in x_print_expansions() argument
247 (prefix_len = x_longest_prefix(nwords, words)) > 0) { in x_print_expansions()
252 prefix_len = x_basename(words[0], NULL); in x_print_expansions()
255 if (x_basename(words[i] + prefix_len, NULL) > in x_print_expansions()
260 while (prefix_len > 0 && words[0][prefix_len - 1] != '/') in x_print_expansions()
265 XPput(l, words[i] + prefix_len); in x_print_expansions()
274 pr_list(use_copy ? (char **)XPptrv(l) : words); in x_print_expansions()
291 char **words; in x_file_glob() local
332 words = (char **)XPclose(w); in x_file_glob()
334 for (nwords = 0; words[nwords]; nwords++) in x_file_glob()
[all …]
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/provider/crypto/
DSHA1ImplTest.java66 int[] words = new int[INDEX +6]; // working array to compute hash in testOneBlockMessage() local
72 for (int i = 0; i < words.length; i++ ) { in testOneBlockMessage()
73 words[i] = 0; in testOneBlockMessage()
75 words[0] = 0x61626380; // constants from Secure Hash Standard in testOneBlockMessage()
76 words[15] = 0x00000018; in testOneBlockMessage()
78 alternateHash(words, hash1); in testOneBlockMessage()
/external/webkit/Source/JavaScriptCore/wtf/
Ddtoa.cpp185 uint32_t* words() in words() function
190 const uint32_t* words() const in words() function
212 uint32_t* x = b.words(); in multadd()
237 b.words()[0] = y9; in s2b()
326 b.words()[0] = i; in i2b()
360 for (xc = c.words(), xa = xc + wc; xc < xa; xc++) in mult()
362 xa = a->words(); in mult()
364 xb = b->words(); in mult()
366 xc0 = c.words(); in mult()
412 for (xc0 = c.words(), xc = xc0 + wc; wc > 0 && !*--xc; --wc) { } in mult()
[all …]
DBitmap.h50 static const WordType words = (size + wordSize - 1) / wordSize; variable
59 FixedArray<WordType, words> bits;
138 for (size_t i = start / wordSize; i < words; ++i) in count()
146 for (size_t i = 0; i < words; ++i) in isEmpty()
155 for (size_t i = 0; i < words; ++i) in isFull()

12345678910>>...13