HomeSort by relevance Sort by last modified time
    Searched defs:rc (Results 251 - 275 of 963) sorted by null

<<11121314151617181920>>

  /libcore/luni/src/main/native/
NetworkUtilities.cpp 219 int rc = fcntl(fd, F_SETFL, flags); local
220 return (rc != -1);
java_util_zip_Inflater.cpp 71 int rc = TEMP_FAILURE_RETRY(lseek(fd, off, SEEK_SET)); local
72 if (rc == -1) {
  /packages/apps/Gallery2/src/com/android/gallery3d/data/
BytesBufferPool.java 47 int rc = fis.read(data, length, step); local
48 if (rc < 0 || jc.isCancelled()) return;
49 length += rc;
DownloadUtils.java 49 int rc = is.read(buffer, 0, buffer.length); local
57 while (rc > 0) {
59 os.write(buffer, 0, rc);
60 rc = is.read(buffer, 0, buffer.length);
  /system/bt/btif/src/
btif_debug_btsnoop.c 76 bool rc = true;
90 rc = false;
100 return rc;
127 bool rc = btsnoop_compress(ringbuffer, buffer); local
128 if (rc == false) {
  /system/bt/stack/mcap/
mca_l2c.c 159 tBTM_STATUS rc; local
178 rc = btm_sec_mx_access_request (bd_addr, psm, FALSE, BTM_SEC_PROTO_MCA, 0,
180 if (rc == BTM_CMD_STARTED)
  /system/bt/utils/src/
bt_utils.c 118 int rc = 0; local
128 rc = set_sched_policy(tid, SP_AUDIO_SYS);
133 if (rc) {
  /system/core/libmemtrack/
memtrack_test.c 31 int rc = 0; local
39 rc = 1;
45 rc = 2;
50 rc = 3;
59 if (rc != 0) {
66 rc = 4;
70 return rc;
  /system/core/libsysutils/src/
SocketListener.cpp 113 int rc; local
115 rc = TEMP_FAILURE_RETRY(write(mCtrlPipe[1], &c, 1));
116 if (rc != 1) {
159 int rc = 0; local
184 if ((rc = select(max + 1, &read_fds, NULL, NULL, NULL)) < 0) {
190 } else if (!rc)
  /system/core/tzdatacheck/
tzdatacheck.cpp 146 int rc = rename(dirToDelete.c_str(), &tempDirName[0]); local
147 if (rc == -1) {
154 rc = nftw(&tempDirName[0], deleteFn, 10 /* openFiles */,
156 if (rc == -1) {
  /system/extras/ext4_utils/
ext4_crypt_init_extensions.cpp 63 int rc = TEMP_FAILURE_RETRY(poll(&poll_sock, 1, vold_command_timeout_ms)); local
64 if (rc < 0) {
75 rc = TEMP_FAILURE_RETRY(read(sock, buffer, sizeof(buffer)));
76 if (rc <= 0) {
77 if (rc == 0) {
90 return std::string(buffer, rc);
  /system/vold/
CryptCommandListener.cpp 124 int rc = 0; local
132 rc = cryptfs_check_passwd(argv[2]);
139 rc = cryptfs_restart();
146 rc = cryptfs_crypto_complete();
165 rc = cryptfs_enable_default(argv[2], /*allow_reboot*/false);
167 rc = cryptfs_enable(argv[2], type, argv[4],
171 if (rc == 0) {
184 rc = cryptfs_enable_file();
203 rc = cryptfs_changepw(type, password);
210 rc = cryptfs_verify_passwd(argv[2])
    [all...]
Loop.cpp 48 int rc; local
61 rc = ioctl(fd, LOOP_GET_STATUS64, &li);
63 if (rc < 0 && errno == ENXIO) {
67 if (rc < 0) {
92 int rc; local
105 rc = ioctl(fd, LOOP_GET_STATUS64, &li);
107 if (rc < 0 && errno == ENXIO) {
111 if (rc < 0) {
136 int rc; local
149 rc = selabel_lookup(sehandle, &secontext, filename, S_IFBLK)
    [all...]
  /system/vold/fs/
Ext4.cpp 131 int rc; local
143 rc = mount(c_source, c_target, "ext4", flags, NULL);
145 if (rc && errno == EROFS) {
148 rc = mount(c_source, c_target, "ext4", flags, NULL);
151 return rc;
  /art/runtime/base/unix_file/
fd_file.cc 130 int rc = TEMP_FAILURE_RETRY(fdatasync(fd_)); local
132 int rc = TEMP_FAILURE_RETRY(fsync(fd_));
135 return (rc == -1) ? -errno : rc;
140 int rc = TEMP_FAILURE_RETRY(pread64(fd_, buf, byte_count, offset)); local
142 int rc = TEMP_FAILURE_RETRY(pread(fd_, buf, byte_count, offset));
144 return (rc == -1) ? -errno : rc;
149 int rc = TEMP_FAILURE_RETRY(ftruncate64(fd_, new_length)); local
151 int rc = TEMP_FAILURE_RETRY(ftruncate(fd_, new_length))
159 int rc = TEMP_FAILURE_RETRY(fstat(fd_, &s)); local
165 int rc = TEMP_FAILURE_RETRY(pwrite64(fd_, buf, byte_count, offset)); local
    [all...]
  /art/runtime/
runtime_linux.cc 393 int rc = 0; local
394 rc += sigaction(SIGABRT, &action, nullptr);
395 rc += sigaction(SIGBUS, &action, nullptr);
396 rc += sigaction(SIGFPE, &action, nullptr);
397 rc += sigaction(SIGILL, &action, nullptr);
398 rc += sigaction(SIGPIPE, &action, nullptr);
399 rc += sigaction(SIGSEGV, &action, nullptr);
401 rc += sigaction(SIGSTKFLT, &action, nullptr);
403 rc += sigaction(SIGTRAP, &action, nullptr);
406 rc += sigaction(GetTimeoutSignal(), &action, nullptr)
    [all...]
  /bionic/linker/
debugger.cpp 101 int rc = TEMP_FAILURE_RETRY(connect(s, reinterpret_cast<sockaddr*>(&addr), alen)); local
102 if (rc == -1) {
linker_phdr.cpp 159 ssize_t rc = TEMP_FAILURE_RETRY(pread64(fd_, &header_, sizeof(header_), file_offset_)); local
160 if (rc < 0) {
165 if (rc != sizeof(header_)) {
167 static_cast<size_t>(rc));
  /bionic/tests/
stdlib_test.cpp 184 int rc = readlink("/proc/self/exe", executable_path, sizeof(executable_path)); local
185 ASSERT_NE(rc, -1);
186 executable_path[rc] = '\0';
  /bootable/recovery/minui/
events.cpp 221 int rc = ioctl(ev_fdinfo[i].fd, EVIOCGBIT(EV_KEY, KEY_MAX), key_bits); local
222 if (rc == -1) {
  /bootable/recovery/
ui.cpp 229 int rc = 0; local
230 while (key_queue_len == 0 && rc != ETIMEDOUT) {
231 rc = pthread_cond_timedwait(&key_queue_cond, &key_queue_mutex, &timeout);
  /development/ndk/platforms/android-4/samples/san-angeles/jni/
app-win32.c 165 RECT rc; local
191 GetClientRect(sWnd, &rc);
192 sWindowWidth = rc.right;
193 sWindowHeight = rc.bottom;
  /device/asus/flo/camera/QCamera2/HAL/
QCameraChannel.cpp 163 int32_t rc = NO_ERROR; local
179 rc = pStream->init(streamInfoBuf, minStreamBufNum, stream_cb, userdata);
180 if (rc == 0) {
186 return rc;
202 int32_t rc = NO_ERROR; local
209 rc = m_camOps->get_bundle_info(m_camHandle, m_handle, &bundleInfo);
210 if (rc != NO_ERROR) {
212 return rc;
228 rc = pStream->setParameter(param);
229 if (rc != NO_ERROR)
271 int32_t rc = NO_ERROR; local
298 int32_t rc = NO_ERROR; local
331 int32_t rc = NO_ERROR; local
455 int32_t rc = m_camOps->request_super_buf(m_camHandle, local
474 int32_t rc = m_camOps->cancel_super_buf_request(m_camHandle, m_handle); local
549 int32_t rc = pVideoStream->bufDone(opaque, isMetaData); local
622 int32_t rc = 0; local
733 int32_t rc = 0; local
806 int32_t rc = 0; local
    [all...]
QCameraStateMachine.cpp 244 int32_t rc = NO_ERROR; local
247 rc = procEvtPreviewStoppedState(evt, payload);
250 rc = procEvtPreviewReadyState(evt, payload);
253 rc = procEvtPreviewingState(evt, payload);
256 rc = procEvtPrepareSnapshotState(evt, payload);
259 rc = procEvtPicTakingState(evt, payload);
262 rc = procEvtRecordingState(evt, payload);
265 rc = procEvtVideoPicTakingState(evt, payload);
268 rc = procEvtPreviewPicTakingState(evt, payload);
274 return rc;
294 int32_t rc = NO_ERROR; local
589 int32_t rc = NO_ERROR; local
870 int32_t rc = NO_ERROR; local
1228 int32_t rc = NO_ERROR; local
1335 int32_t rc = NO_ERROR; local
1627 int32_t rc = NO_ERROR; local
1939 int32_t rc = NO_ERROR; local
2244 int32_t rc = NO_ERROR; local
    [all...]
  /device/asus/flo/camera/QCamera2/HAL3/
QCamera3Stream.cpp 199 int rc = mCamOps->unmap_stream_buf(mCamHandle, local
201 if (rc < 0) {
238 int32_t rc = OK; local
244 rc = UNKNOWN_ERROR;
252 rc = -ENOMEM;
255 rc = mStreamInfoBuf->allocate(1, sizeof(cam_stream_info_t), false);
256 if (rc < 0) {
258 rc = -ENOMEM;
282 rc = mCamOps->map_stream_buf(mCamHandle,
285 if (rc < 0)
339 int32_t rc = 0; local
357 int32_t rc = 0; local
378 int32_t rc = mProcTh.sendCmd(CAMERA_CMD_TYPE_DO_NEXT_JOB, FALSE, FALSE); local
494 mm_camera_buf_def_t *rc = NULL; local
523 int32_t rc = NO_ERROR; local
558 int rc = NO_ERROR; local
643 int rc = NO_ERROR; local
851 int32_t rc = NO_ERROR; local
    [all...]

Completed in 421 milliseconds

<<11121314151617181920>>