/external/openssl/crypto/evp/ |
e_aes_cbc_hmac_sha1.c | 148 size_t res; local 150 if ((res = c->num)) { 151 res = SHA_CBLOCK-res; 152 if (len<res) res=len; 153 SHA1_Update (c,ptr,res); 154 ptr += res; 155 len -= res; 158 res = len % SHA_CBLOCK 258 unsigned int res, maxpad, pad, bitlen; local [all...] |
/external/ceres-solver/internal/ceres/ |
corrector_test.cc | 152 VectorRef res(residuals, 3); 176 const double sq_norm = res.dot(res); 190 g_res = sqrt(rho[1]) / (1.0 - kAlpha) * res; 192 res * res.transpose() * jac); 194 g_grad = rho[1] * jac.transpose() * res; 196 2.0 * rho[2] * jac.transpose() * res * res.transpose() * jac; 203 c_grad = jac.transpose() * res; [all...] |
/external/eigen/Eigen/src/SparseCore/ |
SparseSparseProductWithPruning.h | 20 static void sparse_sparse_product_with_pruning_impl(const Lhs& lhs, const Rhs& rhs, ResultType& res, typename ResultType::RealScalar tolerance) 22 // return sparse_sparse_product_with_pruning_impl2(lhs,rhs,res); 46 res.resize(cols, rows); 48 res.resize(rows, cols); 50 res.reserve(estimated_nnz_prod); 56 // let's do a more accurate determination of the nnz ratio for the current column j of res 69 res.startVec(j); 71 res.insertBackByOuterInner(j,it.index()) = it.value(); 73 res.finalize(); 88 static void run(const Lhs& lhs, const Rhs& rhs, ResultType& res, RealScalar tolerance [all...] |
/external/icu4c/test/intltest/ |
cntabcol.cpp | 25 uint32_t i = 0, res = 0; local 39 res = uprv_cnttab_getCE(testTable, 0, i, &status); 44 if(res != i) { 45 errln("Error: expected %i, got %i\n", i, res); 76 uint32_t i = 0, res = 0; local 89 res = uprv_cnttab_getCE(testTable, i, 0, &status); 94 if(res != i) { 95 errln("Error: expected %i, got %i\n", i, res); 106 int32_t i = 0, res = 0; local 123 res = uprv_cnttab_getCE(testTable, i, 0, &status) 147 uint32_t i = 0, res = 0; local 174 uint32_t res = uprv_cnttab_changeLastCE(testTable, 1, 0xABCD, &status); local [all...] |
/external/icu4c/tools/genrb/ |
wrtjava.c | 34 void res_write_java(struct SResource *res,UErrorCode *status); 307 string_write_java(struct SResource *res,UErrorCode *status) { 309 const char *resname = res_getKeyString(srBundle, res, resKeyBuffer); 311 str_write_java(res->u.fString.fChars,res->u.fString.fLength,TRUE,status); 315 UChar* buf = (UChar*) uprv_malloc(sizeof(UChar)*res->u.fString.fLength); 316 uprv_memcpy(buf,res->u.fString.fChars,res->u.fString.fLength); 323 array_write_java( struct SResource *res, UErrorCode *status) { 334 if (res->u.fArray.fCount > 0) [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/ec/ |
SignatureSpi.java | 260 byte[] res; 264 res = new byte[first.length * 2]; 268 res = new byte[second.length * 2]; 271 System.arraycopy(first, 0, res, res.length / 2 - first.length, first.length); 272 System.arraycopy(second, 0, res, res.length - second.length, second.length); 274 return res; 280 byte[] res = val.toByteArray(); 282 if (res[0] == 0 [all...] |
/packages/apps/Email/src/com/android/email/activity/ |
AttachmentInfoDialog.java | 29 import android.content.res.Resources; 46 Resources res = context.getResources(); local 47 String title = res.getString(R.string.attachment_info_dialog_default_title); 48 String bodyText = res.getString(R.string.attachment_info_unknown); 57 bodyText = res.getString(R.string.attachment_info_malware); 59 bodyText = res.getString(R.string.attachment_info_policy); 61 bodyText = res.getString(R.string.attachment_info_no_intent); 63 bodyText = res.getString(R.string.attachment_info_sideload_disabled); 64 actionText = res.getString(R.string.attachment_info_application_settings); 69 bodyText = res.getString(R.string.attachment_info_apk_install_disabled) [all...] |
/dalvik/vm/compiler/codegen/mips/Mips32/ |
Factory.cpp | 48 MipsLIR* res = (MipsLIR *) dvmCompilerNew(sizeof(MipsLIR), true); local 49 res->operands[0] = rDest; 50 res->operands[1] = rSrc; 52 res->flags.isNop = true; 57 res->opcode = kMipsFmovd; 61 res->opcode = kMipsFmovs; 64 res->opcode = kMipsMtc1; 65 res->operands[0] = rSrc; 66 res->operands[1] = rDest; 70 res->opcode = kMipsMfc1 91 MipsLIR *res; local 144 MipsLIR *res; local 157 MipsLIR *res; local 173 MipsLIR *res; local 204 MipsLIR *res; local 277 MipsLIR *res; local 369 MipsLIR *res; local 414 MipsLIR *res; local 425 MipsLIR *res; local 487 MipsLIR *res; local 544 MipsLIR *res = NULL ; local 570 MipsLIR *res = NULL ; local 604 MipsLIR *res; local 722 MipsLIR *res; local 837 MipsLIR* res; local 858 MipsLIR *res = genRegCopyNoInsert(cUnit, rDest, rSrc); local [all...] |
/dalvik/tests/068-classloader/src/ |
FancyLoader.java | 187 Class res; local 195 res = findLoadedClass(name); 196 if (res != null) { 200 resolveClass(res); 201 return res; 208 res = findClass(name); 210 resolveClass(res); 225 res = super.loadClass(name, resolve); // returns class or throws 226 return res;
|
/external/bison/examples/calc++/ |
location.hh | 119 location res = begin; local 120 res.end = end.end; 121 return res; 127 location res = begin; local 128 res.columns (width); 129 return res; 133 inline location& operator+= (location& res, unsigned int width) 135 res.columns (width); 136 return res;
|
/external/libffi/testsuite/libffi.call/ |
problem1.c | 63 struct my_ffi_struct res; local 85 ffi_call(&cif, FFI_FN(callee), &res, args); 87 printf("res: %g %g %g\n", res.a, res.b, res.c); 92 res = ((my_ffi_struct(*)(struct my_ffi_struct, struct my_ffi_struct))(pcl))(g, f); 94 printf("res: %g %g %g\n", res.a, res.b, res.c) [all...] |
/external/compiler-rt/lib/tsan/rtl/ |
tsan_interceptors.cc | 214 unsigned res = BLOCK_REAL(sleep)(sec); local 216 return res; 221 int res = BLOCK_REAL(usleep)(usec); local 223 return res; 228 int res = BLOCK_REAL(nanosleep)(req, rem); local 230 return res; 474 int res = 0; local 477 if ((res = ((unsigned char*)s1)[len] - ((unsigned char*)s2)[len])) 482 return res; 511 void *res = REAL(memchr)(s, c, n) local 532 char *res = REAL(strchr)(s, c); local 540 char *res = REAL(strchrnul)(s, c); local 570 const char *res = REAL(strstr)(s1, s2); local 597 void *res = REAL(mmap)(addr, sz, prot, flags, fd, off); local 611 void *res = REAL(mmap64)(addr, sz, prot, flags, fd, off); local 623 int res = REAL(munmap)(addr, sz); local 723 void *res = callback(param); local 753 int res = REAL(pthread_create)(th, attr, __tsan_thread_start_func, &p); local 769 int res = BLOCK_REAL(pthread_join)(th, ret); local 779 int res = REAL(pthread_detach)(th); local 788 int res = REAL(pthread_mutex_init)(m, a); local 804 int res = REAL(pthread_mutex_destroy)(m); local 813 int res = REAL(pthread_mutex_lock)(m); local 822 int res = REAL(pthread_mutex_trylock)(m); local 831 int res = REAL(pthread_mutex_timedlock)(m, abstime); local 841 int res = REAL(pthread_mutex_unlock)(m); local 847 int res = REAL(pthread_spin_init)(m, pshared); local 856 int res = REAL(pthread_spin_destroy)(m); local 865 int res = REAL(pthread_spin_lock)(m); local 874 int res = REAL(pthread_spin_trylock)(m); local 884 int res = REAL(pthread_spin_unlock)(m); local 890 int res = REAL(pthread_rwlock_init)(m, a); local 899 int res = REAL(pthread_rwlock_destroy)(m); local 908 int res = REAL(pthread_rwlock_rdlock)(m); local 917 int res = REAL(pthread_rwlock_tryrdlock)(m); local 926 int res = REAL(pthread_rwlock_timedrdlock)(m, abstime); local 935 int res = REAL(pthread_rwlock_wrlock)(m); local 944 int res = REAL(pthread_rwlock_trywrlock)(m); local 953 int res = REAL(pthread_rwlock_timedwrlock)(m, abstime); local 963 int res = REAL(pthread_rwlock_unlock)(m); local 979 int res = REAL(pthread_cond_destroy)(c); local 985 int res = REAL(pthread_cond_signal)(c); local 991 int res = REAL(pthread_cond_broadcast)(c); local 998 int res = REAL(pthread_cond_wait)(c, m); local 1006 int res = REAL(pthread_cond_timedwait)(c, m, abstime); local 1014 int res = REAL(pthread_barrier_init)(b, a, count); local 1021 int res = REAL(pthread_barrier_destroy)(b); local 1029 int res = REAL(pthread_barrier_wait)(b); local 1064 int res = REAL(sem_init)(s, pshared, value); local 1070 int res = REAL(sem_destroy)(s); local 1076 int res = BLOCK_REAL(sem_wait)(s); local 1085 int res = BLOCK_REAL(sem_trywait)(s); local 1094 int res = BLOCK_REAL(sem_timedwait)(s, abstime); local 1104 int res = REAL(sem_post)(s); local 1110 int res = REAL(sem_getvalue)(s, sval); local 1285 int res = REAL(socketpair)(domain, type, protocol, fd); local 1294 int res = REAL(connect)(fd, addr, addrlen); local 1302 int res = REAL(bind)(fd, addr, addrlen); local 1310 int res = REAL(listen)(fd, backlog); local 1376 int res = REAL(pipe)(pipefd); local 1384 int res = REAL(pipe2)(pipefd, flags); local 1392 int res = REAL(readv)(fd, vec, cnt); local 1401 int res = REAL(preadv64)(fd, vec, cnt, off); local 1412 int res = REAL(writev)(fd, vec, cnt); local 1420 int res = REAL(pwritev64)(fd, vec, cnt, off); local 1428 int res = REAL(send)(fd, buf, len, flags); local 1436 int res = REAL(sendmsg)(fd, msg, flags); local 1442 int res = REAL(recv)(fd, buf, len, flags); local 1451 int res = REAL(recvmsg)(fd, msg, flags); local 1461 int res = REAL(unlink)(path); local 1467 void *res = REAL(fopen)(path, mode); local 1484 void *res = REAL(freopen)(path, mode, stream); local 1531 int res = REAL(rmdir)(path); local 1537 void *res = REAL(opendir)(path); local 1548 int res = REAL(epoll_ctl)(epfd, op, fd, ev); local 1556 int res = BLOCK_REAL(epoll_wait)(epfd, ev, cnt, timeout); local 1565 int res = BLOCK_REAL(poll)(fds, nfds, timeout); local 1635 int res = REAL(sigaction)(sig, &newact, 0); local 1645 int res = sigaction(sig, &act, &old); local 1657 int res = REAL(raise)(sig); local 1671 int res = REAL(kill)(pid, sig); local 1687 int res = REAL(pthread_kill)(tid, sig); local [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/fov/ |
CtsTestHelper.java | 52 SelectableResolution res = resolutions.get(i); local 53 details += "Camera:" + res.cameraId + ", Resolution:" + res.width + 'x' + res.height 54 + ", Measured FOV = " + res.measuredFOV + '\n';
|
/external/dropbear/libtommath/ |
bn_mp_add_d.c | 22 int res, ix, oldused; local 27 if ((res = mp_grow(c, a->used + 1)) != MP_OKAY) { 28 return res; 38 res = mp_sub_d(a, b, c); 46 return res;
|
bn_mp_sub_d.c | 23 int res, ix, oldused; local 27 if ((res = mp_grow(c, a->used + 1)) != MP_OKAY) { 28 return res; 37 res = mp_add_d(a, b, c); 43 return res;
|
/external/valgrind/main/auxprogs/ |
valgrind-listener.c | 107 int res; local 108 res = fcntl(sd, F_GETFL); 109 res = fcntl(sd, F_SETFL, res | O_NONBLOCK); 110 if (res != 0) { 118 int res; local 119 res = fcntl(sd, F_GETFL); 120 res = fcntl(sd, F_SETFL, res & ~O_NONBLOCK); 121 if (res != 0) 237 int i, j, k, res, one; local [all...] |
/external/valgrind/unittest/ |
thread_wrappers.h | 134 // remove an element from queue, put it into *res and return true. 136 bool TryGet(void **res) { 138 bool ok = TryGetInternal(res); 186 Closure *res = new Closure; local 187 res->n_params = 0; 188 res->f = (void*)(f); 189 res->param1 = NULL; 190 res->param2 = NULL; 191 return res; 197 Closure *res = new Closure local 209 Closure *res = new Closure; local [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/js1_5/Regress/ |
regress-146596.js | 98 var res = []; 109 res[0] = e; // |with| binds tighter than |catch|; s/b |obj.e| 112 res[1] = e; // |catch| binds tighter than function scope; s/b 42 115 res[2] = e; // |var e| has function scope; s/b visible but contain |undefined| 116 return res;
|
/external/webkit/Tools/Scripts/webkitpy/thirdparty/simplejson/ |
jsonfilter.py | 21 res = simplejson.dumps(self.app(environ, json_start_response)) 25 res = ''.join(jsonp + ['(', res, ')']) 33 ('Content-length', len(res)), 37 return [res]
|
/system/core/toolbox/ |
rotatefb.c | 19 int res; local 49 res = ioctl(fd, FBIOGET_VSCREENINFO, &fbinfo); 50 if(res < 0) { 64 res = ioctl(fd, FBIOPUT_VSCREENINFO, &fbinfo); 65 if(res < 0) {
|
/external/valgrind/main/memcheck/tests/ |
unit_libcbase.c | 306 Long res; // The result. member in struct:__anon17259 315 { .str = "", .res = 0, .endptr_val = '\0' }, 316 { .str = " \n\t", .res = 0, .endptr_val = ' ' }, 317 { .str = "one", .res = 0, .endptr_val = 'o' }, 318 { .str = "\ntwo", .res = 0, .endptr_val = '\n' }, 322 { .str = "0", .res = 0, .endptr_val = '\0' }, 323 { .str = "+0", .res = 0, .endptr_val = '\0' }, 324 { .str = "-0", .res = 0, .endptr_val = '\0' }, 325 { .str = "1", .res = 1, .endptr_val = '\0' }, 326 { .str = "+1", .res = 1, .endptr_val = '\0' } [all...] |
/external/webkit/Source/JavaScriptCore/wtf/ |
ThreadingWin.cpp | 329 DWORD res = WaitForSingleObject(m_blockLock, INFINITE); local 330 ASSERT(res == WAIT_OBJECT_0); 332 res = ReleaseSemaphore(m_blockLock, 1, 0); 333 ASSERT(res); 341 res = WaitForSingleObject(m_unblockLock, INFINITE); 342 ASSERT(res == WAIT_OBJECT_0); 352 res = WaitForSingleObject(m_blockLock, INFINITE); 353 ASSERT(res == WAIT_OBJECT_0); 355 res = ReleaseSemaphore(m_blockLock, 1, 0); 356 ASSERT(res); 378 DWORD res = WaitForSingleObject(m_unblockLock, INFINITE); local [all...] |
/external/eigen/Eigen/src/Core/products/ |
CoeffBasedProduct.h | 165 Scalar res; local 166 ScalarCoeffImpl::run(row, col, m_lhs, m_rhs, res); 167 return res; 175 Scalar res; local 178 ScalarCoeffImpl::run(row, col, m_lhs, m_rhs, res); 179 return res; 185 PacketScalar res; local 189 ::run(row, col, m_lhs, m_rhs, res); 190 return res; 242 static EIGEN_STRONG_INLINE void run(Index row, Index col, const Lhs& lhs, const Rhs& rhs, RetScalar &res) [all...] |
/external/chromium/third_party/libevent/ |
evbuffer.c | 96 int res = 0; local 122 res = evbuffer_read(bufev->input, fd, howmuch); 123 if (res == -1) { 128 } else if (res == 0) { 133 if (res <= 0) 167 int res = 0; local 176 res = evbuffer_write(bufev->output, fd); 177 if (res == -1) { 192 } else if (res == 0) { 196 if (res <= 0 328 int res; local 345 int res; local 445 int res; local [all...] |
/external/eigen/Eigen/src/CholmodSupport/ |
CholmodSupport.h | 55 cholmod_sparse res; local 56 res.nzmax = mat.nonZeros(); 57 res.nrow = mat.rows();; 58 res.ncol = mat.cols(); 59 res.p = mat.outerIndexPtr(); 60 res.i = mat.innerIndexPtr(); 61 res.x = mat.valuePtr(); 62 res.sorted = 1; 65 res.packed = 1; 69 res.packed = 0 96 cholmod_sparse res = viewAsCholmod(mat.const_cast_derived()); local 105 cholmod_sparse res = viewAsCholmod(mat.matrix().const_cast_derived()); local 121 cholmod_dense res; local [all...] |