Searched refs:todo (Results 1 - 25 of 44) sorted by relevance

12

/external/boringssl/src/tool/
H A Drand.cc68 size_t todo = sizeof(buf); local
69 if (!forever && todo > len - done) {
70 todo = len - done;
72 RAND_bytes(buf, todo);
75 for (unsigned i = 0; i < todo; i++) {
79 if (fwrite(hex_buf, todo*2, 1, stdout) != 1) {
83 if (fwrite(buf, todo, 1, stdout) != 1) {
87 done += todo;
/external/boringssl/src/crypto/hkdf/
H A Dhkdf.c61 size_t todo; local
73 todo = digest_len;
74 if (done + todo > out_len) {
75 todo = out_len - done;
77 memcpy(out_key + done, previous, todo);
78 done += todo;
/external/elfutils/tests/
H A Darextract.c39 size_t todo; local
106 todo = arhdr->ar_size;
107 while (todo > 0)
110 ssize_t n = pread (fd, buf, MIN (sizeof buf, todo), offset);
121 todo -= n;
125 if (todo != 0)
/external/boringssl/src/crypto/bn/
H A Drandom.c255 size_t done, todo, attempt; local
279 todo = sizeof(priv->d[0]) * priv->top;
280 if (todo > sizeof(private_bytes)) {
287 memcpy(private_bytes, priv->d, todo);
288 memset(private_bytes + todo, 0, sizeof(private_bytes) - todo);
303 todo = num_k_bytes - done;
304 if (todo > SHA512_DIGEST_LENGTH) {
305 todo = SHA512_DIGEST_LENGTH;
307 memcpy(k_bytes + done, digest, todo);
[all...]
H A Dconvert.c256 int todo = BN_BYTES * 2; local
257 if (todo > in_len) {
258 todo = in_len;
263 for (j = todo; j > 0; j--) {
282 in_len -= todo;
/external/eigen/unsupported/Eigen/src/BVH/
H A DBVAlgorithms.h28 std::vector<Index> todo(1, root);
30 while(!todo.empty()) {
31 tree.getChildren(todo.back(), vBegin, vEnd, oBegin, oEnd);
32 todo.pop_back();
36 todo.push_back(*vBegin);
109 std::vector<std::pair<Index1, Index2> > todo(1, std::make_pair(tree1.getRootIndex(), tree2.getRootIndex()));
111 while(!todo.empty()) {
112 tree1.getChildren(todo.back().first, vBegin1, vEnd1, oBegin1, oEnd1);
113 tree2.getChildren(todo.back().second, vBegin2, vEnd2, oBegin2, oEnd2);
114 todo
159 std::priority_queue<QueueElement, std::vector<QueueElement>, std::greater<QueueElement> > todo; //smallest is at the top local
252 std::priority_queue<QueueElement, std::vector<QueueElement>, std::greater<QueueElement> > todo; //smallest is at the top local
[all...]
/external/boringssl/src/crypto/chacha/
H A Dchacha_generic.c92 size_t todo, i; local
122 todo = sizeof(buf);
123 if (in_len < todo) {
124 todo = in_len;
128 for (i = 0; i < todo; i++) {
132 out += todo;
133 in += todo;
134 in_len -= todo;
/external/toybox/scripts/
H A Dmkstatus.py78 # Sort/annotate done, pending, and todo item lists
83 todo=[] variable
93 else: todo.append(out)
107 outfile.write("<a name=todo><h2><a href=#todo>Not started yet</a></h2><blockquote><p>%s</p></blockquote>\n" % "\n".join(todo))
111 outfile.write("<hr><h2>Categories of remaining todo items</h2>")
114 todo = [] variable
118 if j in pending: todo.append('<strike>%s</strike>' % j)
119 else: todo
[all...]
/external/boringssl/src/crypto/cmac/
H A Dcmac.c174 size_t todo = AES_BLOCK_SIZE - ctx->block_used; local
175 if (in_len < todo) {
176 todo = in_len;
179 memcpy(ctx->block + ctx->block_used, in, todo);
180 in += todo;
181 in_len -= todo;
182 ctx->block_used += todo;
H A Dcmac_test.cc60 size_t todo = std::min(msg_len - done, static_cast<size_t>(chunk_size)); local
61 if (!CMAC_Update(ctx.get(), msg + done, todo)) {
66 done += todo;
/external/boringssl/src/crypto/rand/
H A Drand.c158 size_t todo = remaining; local
159 if (todo > kMaxBytesPerCall) {
160 todo = kMaxBytesPerCall;
165 CRYPTO_chacha_20(buf, buf, todo, state->key, nonce, 0);
166 buf += todo;
167 remaining -= todo;
/external/antlr/antlr-3.4/runtime/Python/unittests/
H A Dtestbase.py23 replacement.todo = reason
/external/toybox/lib/
H A Dxwrap.c399 struct string_list *todo, *done = 0; local
407 splitpath(path, splitpath(temp, &todo));
409 } else splitpath(path, &todo);
412 while (todo) {
413 struct string_list *new = llist_pop(&todo), **tail;
442 if ((exact || todo) && errno != EINVAL) goto error;
445 if (errno == EINVAL && !todo) break;
449 if (fd == -1 && (exact || todo || errno != ENOENT)) goto error;
470 *tail = todo;
471 todo
[all...]
/external/boringssl/src/crypto/poly1305/
H A Dpoly1305.c227 unsigned int todo = 16 - state->buf_used; local
228 if (todo > in_len) {
229 todo = in_len;
231 for (i = 0; i < todo; i++) {
234 state->buf_used += todo;
235 in_len -= todo;
236 in += todo;
245 size_t todo = in_len & ~0xf; local
246 poly1305_update(state, in, todo);
247 in += todo;
[all...]
H A Dpoly1305_arm.c217 unsigned int todo = 32 - st->buf_used; local
218 if (todo > in_len) {
219 todo = in_len;
221 for (i = 0; i < todo; i++) {
224 st->buf_used += todo;
225 in_len -= todo;
226 in += todo;
/external/v8/benchmarks/
H A 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
[all...]
/external/gptfdisk/
H A Dgptpart.cc199 int todo ; local
202 todo = 0 ;
210 todo = 1 ;
214 todo = 2 ;
218 todo = 3 ;
220 while ( todo > 0 ) {
232 todo -- ;
/external/opencv3/3rdparty/jinja2/
H A 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/libvorbis/
H A DMakefile.am19 todo.txt autogen.sh \
/external/autotest/client/profilers/powertop/src/
H A DMakefile48 rm -rf .svn po/.svn DEADJOE po/DEADJOE todo.txt Lindent svn-commit.* dogit.sh git/ *.rej *.orig
/external/boringssl/src/ssl/
H A Dd1_both.c355 size_t todo = dtls1_max_record_size(ssl); local
356 if (todo < DTLS1_HM_HEADER_LENGTH + 1) {
362 todo -= DTLS1_HM_HEADER_LENGTH;
364 if (todo > (size_t)ssl->init_num) {
365 todo = ssl->init_num;
367 if (todo >= (1u << 24)) {
368 todo = (1u << 24) - 1;
377 !CBB_add_u24(&cbb, todo) ||
379 &cbb, (const uint8_t *)ssl->init_buf->data + ssl->init_off, todo) ||
391 ssl->init_off += todo;
[all...]
/external/mksh/src/
H A Dcheck.pl403 local(@todo) = ();
410 push(@todo, $file) if $file =~ /^[^.].*\.t$/;
414 foreach $file (@todo) {
723 local(@todo) = ();
731 push(@todo, $file) if $file ne '.' && $file ne '..';
734 foreach $file (@todo) {
/external/boringssl/src/crypto/bio/
H A Dbio.c501 const size_t todo = len - done; local
502 assert(todo < INT_MAX);
503 const int n = BIO_read(bio, *out + done, todo);
/external/llvm/lib/CodeGen/
H A DMachineVerifier.cpp1234 SmallPtrSet<const MachineBasicBlock*, 8> todo; local
1243 todo.insert(*SuI);
1249 while (!todo.empty()) {
1250 const MachineBasicBlock *MBB = *todo.begin();
1251 todo.erase(MBB);
1259 todo.insert(*SuI);
1269 SmallPtrSet<const MachineBasicBlock*, 8> todo; local
1276 todo.insert(*PrI);
1282 while (!todo.empty()) {
1283 const MachineBasicBlock *MBB = *todo
[all...]
/external/chromium-trace/catapult/third_party/WebOb/webob/
H A Drequest.py973 todo = self.content_length
974 assert isinstance(todo, integer_types), todo
975 if not tempfile_limit or todo <= tempfile_limit:
979 while todo > 0:
980 data = input.read(min(todo, 65536))
987 % todo
990 todo -= len(data)

Completed in 2801 milliseconds

12