/external/bluetooth/bluedroid/stack/smp/ |
aes.c | 500 uint_8t cc, rc, hi; local 523 for( cc = keylen, rc = 1; cc < hi; cc += 4 ) 533 t0 = s_box(t1) ^ rc; 537 rc = f2(rc); 664 static void update_encrypt_key_128( uint_8t k[N_BLOCK], uint_8t *rc ) 667 k[0] ^= s_box(k[13]) ^ *rc; 671 *rc = f2( *rc ); 686 { uint_8t s1[N_BLOCK], r, rc = 1 local 740 uint_8t s1[N_BLOCK], r, rc = 0x6c; local 807 uint_8t s1[N_BLOCK], r, rc = 1; local 888 uint_8t s1[N_BLOCK], r, rc = 0x80; local [all...] |
/external/compiler-rt/lib/tsan/rtl/ |
tsan_fd.cc | 25 atomic_uint64_t rc; member in struct:__tsan::FdSync 52 atomic_store(&s->rc, 1, memory_order_relaxed); 57 if (s && atomic_load(&s->rc, memory_order_relaxed) != (u64)-1) 58 atomic_fetch_add(&s->rc, 1, memory_order_relaxed); 63 if (s && atomic_load(&s->rc, memory_order_relaxed) != (u64)-1) { 64 if (atomic_fetch_sub(&s->rc, 1, memory_order_acq_rel) == 1) { 116 atomic_store(&fdctx.globsync.rc, (u64)-1, memory_order_relaxed); 117 atomic_store(&fdctx.filesync.rc, (u64)-1, memory_order_relaxed); 118 atomic_store(&fdctx.socksync.rc, (u64)-1, memory_order_relaxed);
|
/ndk/sources/host-tools/sed-4.2.1/sed/ |
utils.c | 355 int rc; 364 while ((rc = lstat (buf, &statbuf)) == 0 373 while ((rc = readlink (buf, buf2, buf_size)) == buf_size) 379 if (rc < 0) 382 buf2 [rc] = '\0'; 389 if (len + rc + 1 > buf_size) 391 buf_size = len + rc + 1; 401 memcpy (buf1 + len, buf2, rc + 1); 413 if (rc < 0) 353 int rc; local
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_site.py | 171 rc = subprocess.call([sys.executable, '-c', 174 self.assertEqual(rc, 1, "%r is not in sys.path (sys.exit returned %r)" 175 % (usersite, rc)) 178 rc = subprocess.call([sys.executable, '-s', '-c', 181 self.assertEqual(rc, 0) 185 rc = subprocess.call([sys.executable, '-c', 188 self.assertEqual(rc, 0) 192 rc = subprocess.call([sys.executable, '-c', 195 self.assertEqual(rc, 1)
|
script_helper.py | 42 rc = p.returncode 44 if (rc and expected_success) or (not rc and not expected_success): 47 "stderr follows:\n%s" % (rc, err.decode('ascii', 'ignore'))) 48 return rc, out, err
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_site.py | 171 rc = subprocess.call([sys.executable, '-c', 174 self.assertEqual(rc, 1, "%r is not in sys.path (sys.exit returned %r)" 175 % (usersite, rc)) 178 rc = subprocess.call([sys.executable, '-s', '-c', 181 self.assertEqual(rc, 0) 185 rc = subprocess.call([sys.executable, '-c', 188 self.assertEqual(rc, 0) 192 rc = subprocess.call([sys.executable, '-c', 195 self.assertEqual(rc, 1)
|
script_helper.py | 42 rc = p.returncode 44 if (rc and expected_success) or (not rc and not expected_success): 47 "stderr follows:\n%s" % (rc, err.decode('ascii', 'ignore'))) 48 return rc, out, err
|
/system/core/adb/ |
sysdeps.h | 93 int rc = unlink(path); local 95 if (rc == -1 && errno == EACCES) { 98 rc = chmod(path, _S_IREAD|_S_IWRITE ); 99 if (rc == 0) 100 rc = unlink(path); 102 return rc; 470 int rc; local 472 rc = unix_socketpair( AF_UNIX, SOCK_STREAM, 0, sv ); 473 if (rc < 0)
|
/device/asus/flo/camera/QCamera2/HAL/ |
QCameraMem.cpp | 244 int rc = OK; local 255 rc = allocOneBuffer(mMemInfo[i], heap_id, size); 256 if (rc < 0) { 263 return rc; 297 int rc = OK; local 318 rc = ioctl(main_ion_fd, ION_IOC_ALLOC, &alloc); 319 if (rc < 0) { 326 rc = ioctl(main_ion_fd, ION_IOC_SHARE, &ion_info_fd); 327 if (rc < 0) { 443 int rc = alloc(count, size, heap_id_mask) local 619 int rc = alloc(count, size, heap_id_mask); local 801 int rc = QCameraStreamMemory::allocate(count, size); local [all...] |
/device/lge/hammerhead/camera/QCamera2/HAL/ |
QCameraMem.cpp | 244 int rc = OK; local 255 rc = allocOneBuffer(mMemInfo[i], heap_id, size); 256 if (rc < 0) { 263 return rc; 297 int rc = OK; local 318 rc = ioctl(main_ion_fd, ION_IOC_ALLOC, &alloc); 319 if (rc < 0) { 326 rc = ioctl(main_ion_fd, ION_IOC_SHARE, &ion_info_fd); 327 if (rc < 0) { 443 int rc = alloc(count, size, heap_mask) local 619 int rc = alloc(count, size, heap_mask); local 801 int rc = QCameraStreamMemory::allocate(count, size); local [all...] |
/external/chromium_org/sandbox/linux/seccomp-bpf/ |
trap.cc | 181 intptr_t rc; local 191 rc = Syscall::Call(SECCOMP_SYSCALL(ctx), 201 rc = Syscall::Call(SECCOMP_SYSCALL(ctx), 231 rc = trap.fnc(data, const_cast<void*>(trap.aux)); 237 Syscall::PutValueInUcontext(rc, ctx);
|
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/common/ |
vp9_scan.c | 302 int rc = scan[n]; local 303 if (rc == idx) 320 int rc = scan[n]; local 322 i = rc / l; 323 j = rc % l;
|
/external/e2fsprogs/lib/e2p/ |
feature.c | 288 int rc = 0; local 330 rc = 1; 336 rc = 1; 347 rc = 1; 358 return rc;
|
/external/libselinux/src/ |
booleans.c | 39 int i, rc; local 57 rc = -1; 64 rc = -1; 68 rc = 0; 75 return rc;
|
/external/libvpx/libvpx/vp9/common/ |
vp9_scan.c | 302 int rc = scan[n]; local 303 if (rc == idx) 320 int rc = scan[n]; local 322 i = rc / l; 323 j = rc % l;
|
/external/qemu/distrib/libselinux/src/ |
booleans.c | 39 int i, rc; local 57 rc = -1; 64 rc = -1; 68 rc = 0; 75 return rc;
|
/external/qemu/distrib/sdl-1.2.15/test/ |
threadwin.c | 18 static void quit(int rc) 21 exit(rc); 198 int rc = 0; local 200 rc = SDL_WM_ToggleFullScreen(SDL_GetVideoSurface()); 201 printf("SDL_WM_ToggleFullScreen returned %d.\n", rc);
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/ |
vp9_scan.c | 302 int rc = scan[n]; local 303 if (rc == idx) 320 int rc = scan[n]; local 322 i = rc / l; 323 j = rc % l;
|
/system/netd/server/ |
NatController.cpp | 303 int rc = 0; local 339 rc = -1; 345 rc = -1; 350 rc = -1; 362 return rc;
|
/tools/external/fat32lib/src/main/java/de/waldheinz/fs/fat/ |
Fat.java | 349 final long rc[] = new long[nrClusters]; local 351 rc[0] = allocNew(); 353 rc[i] = allocAppend(rc[i - 1]); 356 return rc;
|
/system/security/keystore/ |
keystore.cpp | 106 int rc; local 109 rc = hw_get_module_by_class(KEYSTORE_HARDWARE_MODULE_ID, NULL, &mod); 110 if (rc) { 115 rc = keymaster_open(mod, dev); 116 if (rc) { 118 KEYSTORE_HARDWARE_MODULE_ID, strerror(-rc)); 126 return rc; 1084 ResponseCode rc = keyBlob->readBlob(filename, userState->getDecryptionKey(), local 1086 if (rc != NO_ERROR) { 1087 return rc; 1138 ResponseCode rc = get(filename, &keyBlob, type, uid); local 1232 int rc; local 1466 ResponseCode rc = importKey(pkcs8key.get(), len, filename, uid, local 1842 int rc; local 2011 int rc; local 2066 int rc; local 2141 int rc; local [all...] |
/art/runtime/jdwp/ |
jdwp_handler.cc | 68 JdwpError rc = Dbg::GetObjectTag(object_id, tag); local 69 if (rc == ERR_NONE) { 73 return rc; 80 JdwpError rc = WriteTaggedObject(reply, objects[i]); local 81 if (rc != ERR_NONE) { 82 return rc; 451 JdwpError rc = Dbg::GetInstanceCounts(class_ids, counts); local 452 if (rc != ERR_NONE) { 453 return rc; 633 JdwpError rc = Dbg::GetInstances(class_id, max_count, instances) local 785 JdwpError rc = Dbg::GetBytecodes(class_id, method_id, bytecodes); local 899 JdwpError rc = Dbg::IsCollected(object_id, is_collected); local 913 JdwpError rc = Dbg::GetReferringObjects(object_id, max_count, referring_objects); local 1072 JdwpError rc = Dbg::GetThreadFrameCount(thread_id, frame_count); local 1087 JdwpError rc = Dbg::GetOwnedMonitors(thread_id, monitors, stack_depths); local 1120 JdwpError rc = Dbg::GetContendedMonitor(thread_id, contended_monitor); local 1407 JdwpError rc = Dbg::GetThisObject(thread_id, frame_id, &object_id); local [all...] |
/external/llvm/utils/TableGen/ |
RegisterInfoEmitter.cpp | 167 << "getRegClassWeight(const TargetRegisterClass *RC) const {\n" 170 const CodeGenRegisterClass &RC = *RegBank.getRegClasses()[i]; 171 const CodeGenRegister::Set &Regs = RC.getMembers(); 176 RC.buildRegUnitSet(RegUnits); 180 OS << "}, \t// " << RC.getName() << "\n"; 183 << " return RCWeightTable[RC->getID()];\n" 285 << "getRegClassPressureSets(const TargetRegisterClass *RC) const {\n"; 291 << " unsigned SetListStart = RCSetStartTable[RC->getID()];\n" 852 for (unsigned rc = 0, e = RegisterClasses.size(); rc != e; ++rc) [all...] |
/device/moto/shamu/camera/QCamera2/HAL/ |
QCamera2HWICallbacks.cpp | 105 int32_t rc = pme->processEvt(QCAMERA_SM_EVT_EVT_INTERNAL, payload); local 106 if (rc != NO_ERROR) { 202 int32_t rc = pme->processEvt(QCAMERA_SM_EVT_EVT_INTERNAL, payload); local 203 if (rc != NO_ERROR) { 279 int32_t rc = NO_ERROR; local 334 rc = sendPreviewCallback(pStream, memory, idx); 335 if (NO_ERROR != rc) { 346 return rc; 449 int32_t rc = pme->registerFaceImage(main_frame->buffer, &config, faceId); local 450 CDBG_HIGH("DEBUG: registerFaceImage X, ret=%d, faceId=%d", rc, faceId) 587 int32_t rc = pme->sendPreviewCallback(stream, memory, idx); local 620 int32_t rc = NO_ERROR; local 749 int32_t rc = pme->m_cbNotifier.notifyCallback(cbArg); local 1010 int32_t rc = pme->m_cbNotifier.notifyCallback(cbArg); local 1286 int32_t rc = pme->processEvt(QCAMERA_SM_EVT_EVT_INTERNAL, payload); local 1315 int32_t rc = pme->processEvt(QCAMERA_SM_EVT_EVT_INTERNAL, payload); local 1335 int32_t rc = pme->processEvt(QCAMERA_SM_EVT_EVT_INTERNAL, payload); local 1360 int32_t rc = pme->processEvt(QCAMERA_SM_EVT_EVT_INTERNAL, payload); local 1382 int32_t rc = pme->processEvt(QCAMERA_SM_EVT_EVT_INTERNAL, payload); local 1400 int32_t rc = pme->processHDRData(*hdr_scene_data); local 1415 int32_t rc = pme->processEvt(QCAMERA_SM_EVT_EVT_INTERNAL, payload); local [all...] |
/frameworks/base/libs/common_time/ |
common_time_server.cpp | 208 int rc, timeout; local 236 rc = poll(pfds, eventCnt, timeout); 245 if (rc < 0) { 250 if (rc == 0) { 404 int rc; local 447 rc = setsockopt(mSocket, SOL_SOCKET, SO_BINDTODEVICE, 449 if (rc) { 466 rc = bind(mSocket, 469 if (rc) { 482 rc = setsockopt(mSocket, IPPROTO_IP, IP_ADD_MEMBERSHIP 549 int rc = ioctl(mSocket, SIOCGIFHWADDR, &ifr); local [all...] |