Home
last modified time | relevance | path

Searched refs:todo (Results 1 – 25 of 165) sorted by relevance

1234567

/external/boringssl/src/tool/
Drand.cc69 size_t todo = sizeof(buf); in Rand() local
70 if (!forever && todo > len - done) { in Rand()
71 todo = len - done; in Rand()
73 RAND_bytes(buf, todo); in Rand()
76 for (unsigned i = 0; i < todo; i++) { in Rand()
80 if (fwrite(hex_buf, todo*2, 1, stdout) != 1) { in Rand()
84 if (fwrite(buf, todo, 1, stdout) != 1) { in Rand()
88 done += todo; in Rand()
/external/eigen/unsupported/Eigen/src/BVH/
DBVAlgorithms.h28 std::vector<Index> todo(1, root); in intersect_helper()
30 while(!todo.empty()) { in intersect_helper()
31 tree.getChildren(todo.back(), vBegin, vEnd, oBegin, oEnd); in intersect_helper()
32 todo.pop_back(); in intersect_helper()
36 todo.push_back(*vBegin); in intersect_helper()
109 …std::vector<std::pair<Index1, Index2> > todo(1, std::make_pair(tree1.getRootIndex(), tree2.getRoot… in BVIntersect()
111 while(!todo.empty()) { in BVIntersect()
112 tree1.getChildren(todo.back().first, vBegin1, vEnd1, oBegin1, oEnd1); in BVIntersect()
113 tree2.getChildren(todo.back().second, vBegin2, vEnd2, oBegin2, oEnd2); in BVIntersect()
114 todo.pop_back(); in BVIntersect()
[all …]
/external/boringssl/src/crypto/fipsmodule/modes/
Dpolyval.c70 size_t todo = in_len; in CRYPTO_POLYVAL_update_blocks() local
71 if (todo > sizeof(reversed)) { in CRYPTO_POLYVAL_update_blocks()
72 todo = sizeof(reversed); in CRYPTO_POLYVAL_update_blocks()
74 OPENSSL_memcpy(reversed, in, todo); in CRYPTO_POLYVAL_update_blocks()
75 in += todo; in CRYPTO_POLYVAL_update_blocks()
76 in_len -= todo; in CRYPTO_POLYVAL_update_blocks()
78 size_t blocks = todo / sizeof(polyval_block); in CRYPTO_POLYVAL_update_blocks()
83 ctx->ghash(ctx->S.u, ctx->Htable, (const uint8_t *) reversed, todo); in CRYPTO_POLYVAL_update_blocks()
/external/boringssl/src/crypto/evp/
Dpbkdf.c80 size_t todo = md_len; in PKCS5_PBKDF2_HMAC() local
81 if (todo > key_len) { in PKCS5_PBKDF2_HMAC()
82 todo = key_len; in PKCS5_PBKDF2_HMAC()
100 OPENSSL_memcpy(out_key, digest_tmp, todo); in PKCS5_PBKDF2_HMAC()
108 for (size_t k = 0; k < todo; k++) { in PKCS5_PBKDF2_HMAC()
113 key_len -= todo; in PKCS5_PBKDF2_HMAC()
114 out_key += todo; in PKCS5_PBKDF2_HMAC()
/external/boringssl/src/crypto/fipsmodule/rand/
Dctrdrbg.c158 size_t todo = kChunkSize; in CTR_DRBG_generate() local
159 if (todo > out_len) { in CTR_DRBG_generate()
160 todo = out_len; in CTR_DRBG_generate()
163 todo &= ~(AES_BLOCK_SIZE-1); in CTR_DRBG_generate()
164 const size_t num_blocks = todo / AES_BLOCK_SIZE; in CTR_DRBG_generate()
167 OPENSSL_memset(out, 0, todo); in CTR_DRBG_generate()
172 for (size_t i = 0; i < todo; i += AES_BLOCK_SIZE) { in CTR_DRBG_generate()
178 out += todo; in CTR_DRBG_generate()
179 out_len -= todo; in CTR_DRBG_generate()
Drand.c325 size_t todo = out_len; in RAND_bytes_with_additional_data() local
326 if (todo > CTR_DRBG_MAX_GENERATE_LENGTH) { in RAND_bytes_with_additional_data()
327 todo = CTR_DRBG_MAX_GENERATE_LENGTH; in RAND_bytes_with_additional_data()
330 if (!CTR_DRBG_generate(&state->drbg, out, todo, additional_data, in RAND_bytes_with_additional_data()
335 out += todo; in RAND_bytes_with_additional_data()
336 out_len -= todo; in RAND_bytes_with_additional_data()
/external/toybox/scripts/
Dmkstatus.py83 todo=[] variable
93 else: todo.append(out)
107 …><h2><a href=#todo>Not started yet</a></h2><blockquote><p>%s</p></blockquote>\n" % "\n".join(todo))
114 todo = [] variable
118 if j in pending: todo.append('<strike>%s</strike>' % j)
119 else: todo.append(categorize(reverse,j,i))
121 if todo:
128 outfile.write(" ".join(todo))
/external/python/cpython2/Demo/threads/
Dfind.py46 self.todo = thread.allocate()
47 self.todo.acquire()
57 self.todo.release()
60 self.todo.acquire()
64 self.todo.release()
71 self.todo.release()
78 self.todo.release()
97 self.todo.acquire()
/external/elfutils/tests/
Darextract.c39 size_t todo; in main() local
106 todo = arhdr->ar_size; in main()
107 while (todo > 0) in main()
110 ssize_t n = pread (fd, buf, MIN (sizeof buf, todo), offset); in main()
121 todo -= n; in main()
125 if (todo != 0) in main()
/external/boringssl/src/crypto/chacha/
Dchacha.c126 size_t todo, i; in CRYPTO_chacha_20() local
149 todo = sizeof(buf); in CRYPTO_chacha_20()
150 if (in_len < todo) { in CRYPTO_chacha_20()
151 todo = in_len; in CRYPTO_chacha_20()
155 for (i = 0; i < todo; i++) { in CRYPTO_chacha_20()
159 out += todo; in CRYPTO_chacha_20()
160 in += todo; in CRYPTO_chacha_20()
161 in_len -= todo; in CRYPTO_chacha_20()
/external/boringssl/src/crypto/hkdf/
Dhkdf.c84 size_t todo; in HKDF_expand() local
96 todo = digest_len; in HKDF_expand()
97 if (done + todo > out_len) { in HKDF_expand()
98 todo = out_len - done; in HKDF_expand()
100 OPENSSL_memcpy(out_key + done, previous, todo); in HKDF_expand()
101 done += todo; in HKDF_expand()
/external/boringssl/src/decrepit/ripemd/
Dripemd_test.cc80 size_t todo = stride; in TEST() local
81 if (todo > remaining) { in TEST()
82 todo = remaining; in TEST()
85 RIPEMD160_Update(&ctx, &test.input[done], todo); in TEST()
86 done += todo; in TEST()
/external/boringssl/src/crypto/cmac/
Dcmac.c176 size_t todo = AES_BLOCK_SIZE - ctx->block_used; in CMAC_Update() local
177 if (in_len < todo) { in CMAC_Update()
178 todo = in_len; in CMAC_Update()
181 OPENSSL_memcpy(ctx->block + ctx->block_used, in, todo); in CMAC_Update()
182 in += todo; in CMAC_Update()
183 in_len -= todo; in CMAC_Update()
184 ctx->block_used += todo; in CMAC_Update()
Dcmac_test.cc48 size_t todo = std::min(msg_len - done, static_cast<size_t>(chunk_size)); in test() local
49 ASSERT_TRUE(CMAC_Update(ctx.get(), msg + done, todo)); in test()
50 done += todo; in test()
/external/toybox/lib/
Dxwrap.c473 struct string_list *todo, *done = 0; in xabspath() local
481 splitpath(path, splitpath(temp, &todo)); in xabspath()
483 } else splitpath(path, &todo); in xabspath()
486 while (todo) { in xabspath()
487 struct string_list *new = llist_pop(&todo), **tail; in xabspath()
516 if ((exact || todo) && errno != EINVAL) goto error; in xabspath()
519 if (errno == EINVAL && !todo) break; in xabspath()
523 if (fd == -1 && (exact || todo || errno != ENOENT)) goto error; in xabspath()
544 *tail = todo; in xabspath()
545 todo = new; in xabspath()
[all …]
/external/boringssl/src/crypto/poly1305/
Dpoly1305_test.cc39 size_t todo = 16; in TestSIMD() local
40 if (todo > in.size()) { in TestSIMD()
41 todo = in.size(); in TestSIMD()
43 CRYPTO_poly1305_update(&state, in.data(), todo); in TestSIMD()
44 done += todo; in TestSIMD()
Dpoly1305.c214 unsigned todo = 16 - state->buf_used; in CRYPTO_poly1305_update() local
215 if (todo > in_len) { in CRYPTO_poly1305_update()
216 todo = (unsigned)in_len; in CRYPTO_poly1305_update()
218 for (i = 0; i < todo; i++) { in CRYPTO_poly1305_update()
221 state->buf_used += todo; in CRYPTO_poly1305_update()
222 in_len -= todo; in CRYPTO_poly1305_update()
223 in += todo; in CRYPTO_poly1305_update()
232 size_t todo = in_len & ~0xf; in CRYPTO_poly1305_update() local
233 poly1305_update(state, in, todo); in CRYPTO_poly1305_update()
234 in += todo; in CRYPTO_poly1305_update()
Dpoly1305_arm.c220 unsigned int todo = 32 - st->buf_used; in CRYPTO_poly1305_update_neon() local
221 if (todo > in_len) { in CRYPTO_poly1305_update_neon()
222 todo = in_len; in CRYPTO_poly1305_update_neon()
224 for (i = 0; i < todo; i++) { in CRYPTO_poly1305_update_neon()
227 st->buf_used += todo; in CRYPTO_poly1305_update_neon()
228 in_len -= todo; in CRYPTO_poly1305_update_neon()
229 in += todo; in CRYPTO_poly1305_update_neon()
/external/python/cpython2/Demo/tkinter/guido/
Dmbox.py212 todo = []
216 todo.append(string.atoi(scanparser.group(1)))
217 mhf.removemessages(todo)
219 fixfocus(min(todo), itop)
240 todo = []
244 todo.append(string.atoi(scanparser.group(1)))
249 mhf.refilemessages(todo, tofolder)
251 fixfocus(min(todo), itop)
/external/kmod/shared/
Dutil.c201 size_t todo = buflen - 1; in read_str_safe() local
205 ssize_t r = read(fd, buf + done, todo); in read_str_safe()
210 todo -= r; in read_str_safe()
218 } while (todo > 0); in read_str_safe()
226 size_t todo = buflen; in write_str_safe() local
230 ssize_t r = write(fd, buf + done, todo); in write_str_safe()
235 todo -= r; in write_str_safe()
243 } while (todo > 0); in write_str_safe()
/external/v8/benchmarks/
Ddeltablue.js651 var todo = sources;
652 while (todo.size() > 0) {
653 var c = todo.removeFirst();
657 this.addConstraintsConsumingTo(c.output(), todo);
692 var todo = new OrderedCollection();
693 todo.add(c);
694 while (todo.size() > 0) {
695 var d = todo.removeFirst();
701 this.addConstraintsConsumingTo(d.output(), todo);
717 var todo = new OrderedCollection();
[all …]
/external/boringssl/src/crypto/fipsmodule/bn/
Drandom.c262 size_t todo = sizeof(priv->d[0]) * priv->top; in BN_generate_dsa_nonce() local
263 if (todo > sizeof(private_bytes)) { in BN_generate_dsa_nonce()
270 OPENSSL_memcpy(private_bytes, priv->d, todo); in BN_generate_dsa_nonce()
271 OPENSSL_memset(private_bytes + todo, 0, sizeof(private_bytes) - todo); in BN_generate_dsa_nonce()
/external/python/cpython2/Tools/webchecker/
Dwebchecker.py276 self.todo = {}
303 return (self.roots, self.todo, self.done, self.bad, self.round)
307 (self.roots, self.todo, self.done, self.bad, self.round) = state
342 while self.todo:
345 urls = self.todo.keys()
353 len(self.todo)+len(self.done),
354 len(self.todo), len(self.done),
359 if not self.todo: s = "Final"
396 " from", self.todo[url_pair])
457 if self.todo.has_key(url):
[all …]
/external/libmojo/third_party/jinja2/
Dnodes.py200 todo = deque([self])
201 while todo:
202 node = todo.popleft()
205 todo.extend(node.iter_child_nodes())
210 todo = deque([self])
211 while todo:
212 node = todo.popleft()
216 todo.extend(node.iter_child_nodes())
221 todo = deque([self])
222 while todo:
[all …]
/external/gptfdisk/
Dgptpart.cc201 int todo ; local
204 todo = 0 ;
212 todo = 1 ;
216 todo = 2 ;
220 todo = 3 ;
222 while ( todo > 0 ) {
234 todo -- ;

1234567