/external/boringssl/src/tool/ |
rand.cc | 68 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/ |
hkdf.c | 61 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/ |
arextract.c | 39 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/ |
random.c | 255 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...] |
convert.c | 256 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/ |
BVAlgorithms.h | 28 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); 93 void BVIntersect(const BVH1 &tree1, const BVH2 &tree2, Intersector &intersector) //TODO: tandem descent when it makes sense 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) 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/ |
chacha_generic.c | 92 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/ |
mkstatus.py | 78 # 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.append(categorize(reverse,j,i) [all...] |
/external/boringssl/src/crypto/cmac/ |
cmac.c | 174 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;
|
cmac_test.cc | 60 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/ |
rand.c | 158 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/toybox/lib/ |
xwrap.c | 399 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 = new [all...] |
/external/antlr/antlr-3.4/runtime/Python/unittests/ |
testbase.py | 23 replacement.todo = reason
|
/external/boringssl/src/crypto/poly1305/ |
poly1305.c | 227 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...] |
poly1305_arm.c | 217 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/gptfdisk/ |
gptpart.cc | 199 int todo ; local 202 todo = 0 ; 210 todo = 1 ; 214 todo = 2 ; 218 todo = 3 ; 220 while ( todo > 0 ) { 232 todo -- ;
|
/external/libvorbis/ |
Makefile.am | 19 todo.txt autogen.sh \
|
/art/build/ |
Android.cpplint.mk | 20 ART_CPPLINT_FILTER := --filter=-whitespace/line_length,-build/include,-readability/function,-readability/streams,-readability/todo,-runtime/references,-runtime/sizeof,-runtime/threadsafe_fn,-runtime/printf
|
/external/autotest/client/profilers/powertop/src/ |
Makefile | 48 rm -rf .svn po/.svn DEADJOE po/DEADJOE todo.txt Lindent svn-commit.* dogit.sh git/ *.rej *.orig
|
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
ast.py | 210 todo = deque([node]) 211 while todo: 212 node = todo.popleft() 213 todo.extend(iter_child_nodes(node))
|
/prebuilts/gdb/linux-x86/lib/python2.7/ |
ast.py | 210 todo = deque([node]) 211 while todo: 212 node = todo.popleft() 213 todo.extend(iter_child_nodes(node))
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
ast.py | 210 todo = deque([node]) 211 while todo: 212 node = todo.popleft() 213 todo.extend(iter_child_nodes(node))
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
ast.py | 210 todo = deque([node]) 211 while todo: 212 node = todo.popleft() 213 todo.extend(iter_child_nodes(node))
|
/external/opencv3/3rdparty/jinja2/ |
nodes.py | 200 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/boringssl/src/ssl/ |
d1_both.c | 132 /* TODO(davidben): 28 comes from the size of IP + UDP header. Is this reasonable 251 /* TODO(davidben): What is this code doing and do we need it? */ 355 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) || [all...] |