/dalvik/dx/tests/134-maindexlist-lambdas/lambda/ |
A.java | 10 public void run(Runnable todo) { 11 todo.run();
|
/external/boringssl/src/tool/ |
rand.cc | 69 size_t todo = sizeof(buf); local 70 if (!forever && todo > len - done) { 71 todo = len - done; 73 RAND_bytes(buf, todo); 76 for (unsigned i = 0; i < todo; i++) { 80 if (fwrite(hex_buf, todo*2, 1, stdout) != 1) { 84 if (fwrite(buf, todo, 1, stdout) != 1) { 88 done += todo;
|
/prebuilts/ndk/r16/sources/third_party/shaderc/third_party/spirv-tools/source/opt/ |
pass.cpp | 31 std::queue<uint32_t>* todo) { 35 todo->push(ii->GetSingleWordInOperand(0)); 46 std::queue<uint32_t> todo; local 49 todo.push(e.GetSingleWordInOperand(kEntryPointFunctionIdInIdx)); 50 while (!todo.empty()) { 51 const uint32_t fi = todo.front(); 56 AddCalls(fn, &todo); 58 todo.pop();
|
pass.h | 67 // Add to |todo| all ids of functions called in |func|. 68 void AddCalls(ir::Function* func, std::queue<uint32_t>* todo);
|
/external/boringssl/src/crypto/fipsmodule/modes/ |
polyval.c | 70 size_t todo = in_len; local 71 if (todo > sizeof(reversed)) { 72 todo = sizeof(reversed); 74 OPENSSL_memcpy(reversed, in, todo); 75 in += todo; 76 in_len -= todo; 78 size_t blocks = todo / sizeof(polyval_block); 83 ctx->ghash(ctx->S.u, ctx->Htable, (const uint8_t *) reversed, todo);
|
/external/boringssl/src/crypto/evp/ |
pbkdf.c | 80 size_t todo = md_len; local 81 if (todo > key_len) { 82 todo = key_len; 100 OPENSSL_memcpy(out_key, digest_tmp, todo); 108 for (size_t k = 0; k < todo; k++) { 113 key_len -= todo; 114 out_key += todo; 127 // TODO(eroman): Figure out how to remove this compatibility hack, or change
|
/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)
|
/art/ |
CPPLINT.cfg | 30 filter=-readability/function,-readability/streams,-readability/todo 32 # TODO: this should be re-enabled.
|
/external/boringssl/src/crypto/hkdf/ |
hkdf.c | 84 size_t todo; local 96 todo = digest_len; 97 if (done + todo > out_len) { 98 todo = out_len - done; 100 OPENSSL_memcpy(out_key + done, previous, todo); 101 done += 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.c | 126 size_t todo, i; local 149 todo = sizeof(buf); 150 if (in_len < todo) { 151 todo = in_len; 155 for (i = 0; i < todo; i++) { 159 out += todo; 160 in += todo; 161 in_len -= todo;
|
/external/python/cpython2/Demo/threads/ |
find.py | 42 # - todo is locked iff there is no work and somebody is busy 46 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/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/poly1305/ |
poly1305_test.cc | 39 size_t todo = 16; local 40 if (todo > in.size()) { 41 todo = in.size(); 43 CRYPTO_poly1305_update(&state, in.data(), todo); 44 done += todo;
|
poly1305.c | 214 unsigned todo = 16 - state->buf_used; local 215 if (todo > in_len) { 216 todo = (unsigned)in_len; 218 for (i = 0; i < todo; i++) { 221 state->buf_used += todo; 222 in_len -= todo; 223 in += todo; 232 size_t todo = in_len & ~0xf; local 233 poly1305_update(state, in, todo); 234 in += todo; [all...] |
/external/boringssl/src/crypto/cmac/ |
cmac.c | 176 size_t todo = AES_BLOCK_SIZE - ctx->block_used; local 177 if (in_len < todo) { 178 todo = in_len; 181 OPENSSL_memcpy(ctx->block + ctx->block_used, in, todo); 182 in += todo; 183 in_len -= todo; 184 ctx->block_used += todo;
|
/external/boringssl/src/crypto/fipsmodule/bn/ |
bytes.c | 162 // TODO(davidben): This does not need to be quite so complex once the |BIGNUM|s 217 size_t todo = in->top * BN_BYTES; local 218 if (todo > len) { 219 todo = len; 224 OPENSSL_memcpy(out, in->d, todo); 227 OPENSSL_memset(out + todo, 0, len - todo);
|
/external/boringssl/src/decrepit/cfb/ |
cfb_test.cc | 64 size_t todo = stride; local 65 if (todo > input_len - done) { 66 todo = input_len - done; 71 test.plaintext + done, todo)); 72 ASSERT_EQ(static_cast<size_t>(out_bytes), todo); local 74 done += todo;
|
/external/boringssl/src/crypto/fipsmodule/rand/ |
ctrdrbg.c | 158 size_t todo = kChunkSize; local 159 if (todo > out_len) { 160 todo = out_len; 163 todo &= ~(AES_BLOCK_SIZE-1); 164 const size_t num_blocks = todo / AES_BLOCK_SIZE; 167 OPENSSL_memset(out, 0, todo); 172 for (size_t i = 0; i < todo; i += AES_BLOCK_SIZE) { 178 out += todo; 179 out_len -= todo;
|
rand.c | 325 size_t todo = out_len; local 326 if (todo > CTR_DRBG_MAX_GENERATE_LENGTH) { 327 todo = CTR_DRBG_MAX_GENERATE_LENGTH; 330 if (!CTR_DRBG_generate(&state->drbg, out, todo, additional_data, 335 out += todo; 336 out_len -= todo;
|
/external/boringssl/src/decrepit/ripemd/ |
ripemd_test.cc | 58 // TODO(davidben): Convert this file to GTest properly. 80 size_t todo = stride; local 81 if (todo > remaining) { 82 todo = remaining; 85 RIPEMD160_Update(&ctx, &test.input[done], todo); 86 done += todo;
|
/external/toybox/lib/ |
xwrap.c | 473 struct string_list *todo, *done = 0; local 481 splitpath(path, splitpath(temp, &todo)); 483 } else splitpath(path, &todo); 486 while (todo) { 487 struct string_list *new = llist_pop(&todo), **tail; 516 if ((exact || todo) && errno != EINVAL) goto error; 519 if (errno == EINVAL && !todo) break; 523 if (fd == -1 && (exact || todo || errno != ENOENT)) goto error; 544 *tail = todo; 545 todo = new [all...] |
/external/antlr/antlr-3.4/runtime/Python/unittests/ |
testbase.py | 23 replacement.todo = reason
|
/external/kmod/shared/ |
util.c | 201 size_t todo = buflen - 1; local 205 ssize_t r = read(fd, buf + done, todo); 210 todo -= r; 218 } while (todo > 0); 226 size_t todo = buflen; local 230 ssize_t r = write(fd, buf + done, todo); 235 todo -= r; 243 } while (todo > 0);
|
/external/python/cpython2/Demo/tkinter/guido/ |
mbox.py | 212 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)
|