Searched refs:ret (Results 101 - 117 of 117) sorted by relevance

12345

/system/extras/tests/bionic/libc/common/
H A Dtest_cpu_set.c210 int ret; local
211 TEST_INT_EQ((ret = sched_getaffinity(getpid(), sizeof(cpu_set_t), &set0)), 0);
216 TEST_INT_EQ((ret = sched_setaffinity(getpid(), sizeof(cpu_set_t), &set0)), 0);
/system/vold/
H A Dcryptfs.c1025 int ret; local
1026 do { ret = read(fd, buff, len); } while (ret < 0 && errno == EINTR);
1027 return ret;
1032 int ret; local
1033 do { ret = write(fd, buff, len); } while (ret < 0 && errno == EINTR);
1034 return ret;
1136 int rc=-1, fd, i, ret; local
1215 ret
[all...]
H A DDevmapper.cpp127 int ret = strlcpy(io->name, name, sizeof(io->name)); local
128 if (ret >= sizeof(io->name))
H A DVolume.cpp231 int ret = -1; local
255 ret = 0;
259 return ret;
/system/core/init/
H A Ddevices.c387 int ret; local
602 int ret = 0; local
618 ret = -1;
628 ret = -1;
636 if(!ret)
641 return ret;
729 int ret; local
H A Dinit.c494 int ret; local
510 ret = cur_command->func(cur_command->nargs, cur_command->args);
511 INFO("command '%s' r=%d\n", cur_command->args[0], ret);
516 int ret; local
518 ret = wait_for_file(coldboot_done, COMMAND_RETRY_TIMEOUT);
519 if (ret)
521 return ret;
H A Dinit_parser.c186 int ret = init_parse_config_file(args[1]); local
187 if (ret)
/system/core/adb/
H A Dsysdeps_win32.c648 int ret; local
650 ret = listen(s, LISTEN_BACKLOG);
651 if (ret < 0) {
738 int ret; local
740 ret = listen(s, LISTEN_BACKLOG);
741 if (ret < 0) {
929 int ret; local
937 ret = WaitForSingleObject( bip->evt_write, INFINITE );
938 if (ret != WAIT_OBJECT_0) { /* buffer probably closed */
939 D( "bip_buffer_write: error %d->%d WaitForSingleObject returned %d, error %ld\n", bip->fdin, bip->fdout, ret, GetLastErro
1022 int ret; local
1599 const int ret = (int)InterlockedCompareExchange(&sig_index, -1, -1); local
[all...]
H A Djdwp_service.c318 int n, ret; local
358 ret = sendmsg(proc->socket, &msg, 0);
359 if (ret >= 0) {
/system/core/libsysutils/src/
H A DSocketListener.cpp107 void *ret; local
108 if (pthread_join(mThread, &ret)) {
/system/core/libcutils/arch-x86/
H A Dsse2-memset32-atom.S91 # define RETURN_END POP (%ebx); ret
116 ret
119 # define RETURN_END ret
H A Dsse2-memset16-atom.S91 # define RETURN_END POP (%ebx); ret
116 ret
119 # define RETURN_END ret
/system/media/wilhelm/src/android/
H A Dandroid_GenericPlayer.cpp106 int ret = fstat(fd, &sb); local
107 if (ret != 0) {
108 SL_LOGE("GenericPlayer::setDataSource: fstat(%d) failed: %d, %s", fd, ret, strerror(errno));
/system/core/libcutils/
H A Dmspace.c203 int fd, ret; local
/system/core/sh/
H A Deval.c1167 int ret = argc > 1 ? number(argv[1]) : exitstatus; local
1172 return ret;
1178 return ret;
/system/extras/ext4_utils/
H A Dallocate.c189 int ret = bitmap[bit / 8]; local
191 return ret;
/system/core/libpixelflinger/
H A Dscanline.cpp1095 int ret = m_line[m_index & GGL_DITHER_MASK]; local
1097 return ret;

Completed in 409 milliseconds

12345