/external/clang/test/CodeGenCXX/ |
mips-size_t-ptrdiff_t.cpp | 9 long *rv = new long; // size_t is implicit in the new operator local 10 return rv; 22 long *rv = new long[2]; local 23 return rv;
|
microsoft-abi-try-throw.cpp | 16 int rv = 0; local 21 rv = 1; 32 return rv;
|
/external/libchrome/base/synchronization/ |
lock_impl_posix.cc | 19 int rv = pthread_mutexattr_init(&mta); local 20 DCHECK_EQ(rv, 0) << ". " << strerror(rv); 21 rv = pthread_mutexattr_settype(&mta, PTHREAD_MUTEX_ERRORCHECK); 22 DCHECK_EQ(rv, 0) << ". " << strerror(rv); 23 rv = pthread_mutex_init(&native_handle_, &mta); 24 DCHECK_EQ(rv, 0) << ". " << strerror(rv); 25 rv = pthread_mutexattr_destroy(&mta) 34 int rv = pthread_mutex_destroy(&native_handle_); local 39 int rv = pthread_mutex_trylock(&native_handle_); local 45 int rv = pthread_mutex_lock(&native_handle_); local 50 int rv = pthread_mutex_unlock(&native_handle_); local [all...] |
condition_variable_posix.cc | 24 int rv = 0; local 34 rv = pthread_condattr_init(&attrs); 35 DCHECK_EQ(0, rv); 37 rv = pthread_cond_init(&condition_, &attrs); 40 rv = pthread_cond_init(&condition_, NULL); 42 DCHECK_EQ(0, rv); 60 int rv = pthread_cond_destroy(&condition_); local 61 DCHECK_EQ(0, rv); 69 int rv = pthread_cond_wait(&condition_, user_mutex_); local 70 DCHECK_EQ(0, rv); 89 int rv = pthread_cond_timedwait_relative_np( local 114 int rv = pthread_cond_timedwait_monotonic_np( local 117 int rv = pthread_cond_timedwait(&condition_, user_mutex_, &absolute_time); local 128 int rv = pthread_cond_broadcast(&condition_); local 133 int rv = pthread_cond_signal(&condition_); local [all...] |
/external/vboot_reference/firmware/lib21/ |
misc.c | 39 int rv; local 44 rv = vb2ex_read_resource(ctx, index, offset, &c, sizeof(c)); 45 if (rv) 46 return rv; 54 rv = vb2ex_read_resource(ctx, index, offset, buf, c.total_size); 55 if (rv) { 57 return rv; 76 int rv; local 86 rv = vb2ex_read_resource(ctx, VB2_RES_GBB, sd->gbb_rootkey_offset, 88 if (rv) 165 int rv; local [all...] |
common.c | 103 int rv; local 109 rv = vb2_verify_common_member(parent, min_offset, member_offset, 111 if (rv) 112 return rv; 119 rv = vb2_verify_common_header(m, p->total_size - member_offset); 120 if (rv) 121 return rv; 180 int rv; local 187 rv = vb2_verify_common_header(sig, size); 188 if (rv) 270 int rv; local 314 int rv, i; local 383 int rv, i; local [all...] |
/external/vboot_reference/firmware/lib20/ |
misc.c | 30 int rv; local 40 rv = vb2ex_read_resource(ctx, VB2_RES_GBB, sd->gbb_rootkey_offset, 42 if (rv) 43 return rv; 46 rv = vb2_unpack_key(&root_key, key_data, key_size); 47 if (rv) 48 return rv; 55 rv = vb2ex_read_resource(ctx, VB2_RES_FW_VBLOCK, 0, kb, sizeof(*kb)); 56 if (rv) 57 return rv; 143 int rv; local [all...] |
api.c | 20 int rv; local 23 rv = vb2_load_fw_keyblock(ctx); 24 if (rv) { 25 vb2_fail(ctx, VB2_RECOVERY_RO_INVALID_RW, rv); 26 return rv; 30 rv = vb2_load_fw_preamble(ctx); 31 if (rv) { 32 vb2_fail(ctx, VB2_RECOVERY_RO_INVALID_RW, rv); 33 return rv; 46 int rv; local 136 int rv; local [all...] |
/external/vboot_reference/tests/ |
vb20_verify_fw.c | 95 int rv; local 101 rv = vb2api_init_hash(ctx, VB2_HASH_TAG_FW_BODY, &expect_size); 102 if (rv) 103 return rv; 119 rv = vb2api_extend_hash(ctx, block, size); 120 if (rv) 121 return rv; 127 rv = vb2api_check_hash(ctx); 128 if (rv) 129 return rv; 143 int rv; local [all...] |
/external/curl/docs/examples/ |
cacertinmem.c | 117 CURLcode rv; local 119 rv=curl_global_init(CURL_GLOBAL_ALL); 121 rv=curl_easy_setopt(ch,CURLOPT_VERBOSE, 0L); 122 rv=curl_easy_setopt(ch,CURLOPT_HEADER, 0L); 123 rv=curl_easy_setopt(ch,CURLOPT_NOPROGRESS, 1L); 124 rv=curl_easy_setopt(ch,CURLOPT_NOSIGNAL, 1L); 125 rv=curl_easy_setopt(ch,CURLOPT_WRITEFUNCTION, *writefunction); 126 rv=curl_easy_setopt(ch,CURLOPT_WRITEDATA, stdout); 127 rv=curl_easy_setopt(ch,CURLOPT_HEADERFUNCTION, *writefunction); 128 rv=curl_easy_setopt(ch,CURLOPT_HEADERDATA, stderr) [all...] |
usercertinmem.c | 176 CURLcode rv; local 178 rv = curl_global_init(CURL_GLOBAL_ALL); 180 rv = curl_easy_setopt(ch,CURLOPT_VERBOSE, 0L); 181 rv = curl_easy_setopt(ch,CURLOPT_HEADER, 0L); 182 rv = curl_easy_setopt(ch,CURLOPT_NOPROGRESS, 1L); 183 rv = curl_easy_setopt(ch,CURLOPT_NOSIGNAL, 1L); 184 rv = curl_easy_setopt(ch,CURLOPT_WRITEFUNCTION, *writefunction); 185 rv = curl_easy_setopt(ch,CURLOPT_WRITEDATA, stdout); 186 rv = curl_easy_setopt(ch,CURLOPT_HEADERFUNCTION, *writefunction); 187 rv = curl_easy_setopt(ch,CURLOPT_HEADERDATA, stderr) [all...] |
/hardware/bsp/intel/peripheral/libupm/examples/python/ |
zfm20-register.py | 84 rv = myFingerprintSensor.image2Tz(1) variable 86 if (rv != upmZfm20.ZFM20.ERR_OK): 87 print "Image conversion failed with error code %d" % rv 105 rv = myFingerprintSensor.image2Tz(2) variable 106 if (rv != upmZfm20.ZFM20.ERR_OK): 107 print "Image conversion failed with error code %d" % rv 116 rv = myFingerprintSensor.createModel() variable 117 if (rv != upmZfm20.ZFM20.ERR_OK): 118 if (rv == upmZfm20.ZFM20.ERR_FP_ENROLLMISMATCH): 121 print "createModel failed with error code %d" % rv 125 rv = myFingerprintSensor.storeModel(1, 1) variable [all...] |
/external/libvpx/libvpx/vpx_dsp/ |
fwd_txfm.h | 17 tran_high_t rv = ROUND_POWER_OF_TWO(input, DCT_CONST_BITS); local 20 // assert(INT16_MIN <= rv && rv <= INT16_MAX); 21 return rv;
|
/external/llvm/lib/ExecutionEngine/Orc/ |
OrcMCJITReplacement.cpp | 54 GenericValue rv; local 55 rv.IntVal = APInt(32, PF(ArgValues[0].IntVal.getZExtValue(), 58 return rv; 67 GenericValue rv; local 68 rv.IntVal = APInt(32, PF(ArgValues[0].IntVal.getZExtValue(), 70 return rv; 75 GenericValue rv; local 77 rv.IntVal = APInt(32, PF(ArgValues[0].IntVal.getZExtValue())); 78 return rv; 86 GenericValue rv; local [all...] |
/external/chromium-trace/catapult/third_party/webapp2/tests/ |
extras_securecookie_test.py | 15 rv = serializer.serialize('foo', value) 16 self.assertEqual(rv, result) 18 rv = serializer.deserialize('foo', result) 19 self.assertEqual(rv, value) 22 rv = serializer.deserialize('foo', None) 23 self.assertEqual(rv, None) 26 rv = serializer.deserialize('foo', 'a|b') 27 self.assertEqual(rv, None) 30 rv = serializer.deserialize('foo', result + 'foo') 31 self.assertEqual(rv, None [all...] |
/external/mksh/ |
mkmf.sh | 167 rv=$? 168 test x"$args" = x"-r" && exit $rv 169 test x0 = x"$rv" && mv -f Makefrag.inc ../ 172 exit $rv
|
/external/vboot_reference/firmware/2lib/ |
2api.c | 39 int rv; local 48 rv = vb2_secdata_init(ctx); 49 if (rv) 50 vb2_fail(ctx, VB2_RECOVERY_SECDATA_INIT, rv); 53 rv = vb2_fw_parse_gbb(ctx); 54 if (rv) 55 vb2_fail(ctx, VB2_RECOVERY_GBB_HEADER, rv); 58 rv = vb2_check_dev_switch(ctx); 59 if (rv) 60 vb2_fail(ctx, VB2_RECOVERY_DEV_SWITCH, rv); 81 int rv; local [all...] |
/system/extras/tests/lib/testUtil/ |
testUtil.c | 49 double rv; local 51 rv = val->tv_sec; 52 rv += (double) val->tv_nsec / nSecsPerSec; 54 return rv; 60 double rv; local 62 rv = val->tv_sec; 63 rv += (double) val->tv_usec / uSecsPerSec; 65 return rv; 71 struct timespec rv; local 73 rv.tv_sec = floor(amt) 87 struct timeval rv; local 106 struct timespec rv; local 129 struct timeval rv; local 323 int rv; local 397 int rv; local [all...] |
/hardware/bsp/intel/peripheral/libupm/examples/c++/ |
zfm20-register.cxx | 73 uint8_t rv; local 83 if ((rv = fp->image2Tz(1)) != ZFM20::ERR_OK) 85 cerr << "Image conversion failed with error code " << int(rv) <<endl; 104 if ((rv = fp->image2Tz(2)) != ZFM20::ERR_OK) 106 cerr << "Image conversion failed with error code " << int(rv) <<endl; 116 if ((rv = fp->createModel()) != ZFM20::ERR_OK) 118 if (rv == ZFM20::ERR_FP_ENROLLMISMATCH) 121 cerr << "createModel failed with error code " << int(rv) <<endl; 127 if ((rv = fp->storeModel(1, 1)) != ZFM20::ERR_OK) 129 cerr << "storeModel failed with error code " << int(rv) <<endl [all...] |
/hardware/bsp/intel/peripheral/libupm/examples/javascript/ |
zfm20-register.js | 69 var rv = myFingerprintSensor.image2Tz(1); variable 71 if (rv != fingerprint_lib.ZFM20.ERR_OK) 73 console.log("Image conversion failed with error code " + rv); 92 rv = myFingerprintSensor.image2Tz(2) 93 if (rv != fingerprint_lib.ZFM20.ERR_OK) 95 console.log("Image conversion failed with error code %d" + rv); 105 rv = myFingerprintSensor.createModel() 106 if (rv != fingerprint_lib.ZFM20.ERR_OK) 108 if (rv == fingerprint_lib.ZFM20.ERR_FP_ENROLLMISMATCH) 111 console.log("createModel failed with error code " + rv); [all...] |
/bionic/libc/upstream-openbsd/lib/libc/gdtoa/ |
strtod.c | 70 double rv; local 73 rv = ulp(x); 75 return rv; /* Is there an example where i <= 0 ? */ 78 return rv * u.d; 98 U adj, aadj1, rv, rv0; local 144 dval(&rv) = 0.; 195 ULtod(((U*)&rv)->L, bits, exp, i); 308 word0(&rv) = 0x7ff00000; 309 word1(&rv) = 0; 320 word0(&rv) = 0x7ff00000 | bits[1] [all...] |
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/smart_ptr/detail/ |
sp_counted_base_gcc_mips.hpp | 56 int rv, tmp; local 69 "=&r"( rv ), "=&r"( tmp ), "=m"( *pw ): 74 return rv; 82 int rv, tmp; local 97 "=&r"( rv ), "=&r"( tmp ), "=m"( *pw ): 102 return rv;
|
/external/libchrome/crypto/third_party/nss/ |
secsign.cc | 92 SECStatus rv = HASH_HashBuf( local 94 if (rv != SECSuccess) 95 return rv; 104 rv = PK11_Sign(key, &sig, &hash); 105 if (rv != SECSuccess) 106 return rv; 115 rv = SECOID_SetAlgorithmID(arena, &sd.signatureAlgorithm, algo_id, 0); 116 if (rv != SECSuccess) 117 return rv; 120 rv = DSAU_EncodeDerSigWithLen(&sd.signature, &sig, sig.len) [all...] |
/hardware/ti/omap4xxx/camera/ |
CameraHal_Module.cpp | 78 int rv = -EINVAL; local 84 return rv; 88 rv = gCameraHals[ti_dev->cameraid]->setPreviewWindow(window); 90 return rv; 156 int rv = -EINVAL; local 162 return rv; 166 rv = gCameraHals[ti_dev->cameraid]->startPreview(); 168 return rv; 187 int rv = -EINVAL; local 193 return rv; 203 int rv = -EINVAL; local 221 int rv = -EINVAL; local 251 int rv = -EINVAL; local 282 int rv = -EINVAL; local 298 int rv = -EINVAL; local 314 int rv = -EINVAL; local 330 int rv = -EINVAL; local 346 int rv = -EINVAL; local 394 int rv = -EINVAL; local 424 int rv = -EINVAL; local 486 int rv = 0; local 642 int rv = 0; local [all...] |
/external/autotest/client/site_tests/network_GobiUncleanDisconnect/ |
network_GobiUncleanDisconnect.py | 14 rv = subprocess.call(['/usr/bin/libgobi3k/open-abort']) 15 print 'Iteration %d: %d' % (iteration, rv) 16 if rv != -9: 19 raise error.TestFail('Unexpected exit status %d' % rv)
|