/bionic/libc/bionic/ |
H A D | raise.cpp | 32 int rc = pthread_kill(pthread_self(), sig); local 33 if (rc != 0) { 34 errno = rc;
|
H A D | sched_getcpu.cpp | 36 int rc = __getcpu(&cpu, NULL, NULL); local 37 if (rc == -1) {
|
H A D | sched_getaffinity.cpp | 36 int rc = __sched_getaffinity(pid, set_size, set); local 37 if (rc == -1) { 43 memset(reinterpret_cast<char*>(set) + rc, 0, set_size - rc);
|
H A D | pthread_getschedparam.cpp | 42 int rc = sched_getparam(thread->tid, param); local 43 if (rc == -1) {
|
H A D | pthread_setschedparam.cpp | 42 int rc = sched_setscheduler(thread->tid, policy, param); local 43 if (rc == -1) {
|
H A D | pthread_kill.cpp | 49 int rc = tgkill(getpid(), tid, sig); local 50 if (rc == -1) {
|
H A D | statvfs.cpp | 49 int rc = __statfs64(path, sizeof(tmp), &tmp); local 50 if (rc != 0) { 51 return rc; 60 int rc = __fstatfs64(fd, sizeof(tmp), &tmp); local 61 if (rc != 0) { 62 return rc;
|
H A D | getcwd.cpp | 59 int rc = __getcwd(buf, allocated_size); local 60 if (rc == -1) {
|
H A D | mmap.cpp | 53 int rc = madvise(result, size, MADV_MERGEABLE); local 54 if (rc == -1 && errno == EINVAL) {
|
H A D | dl_iterate_phdr_static.cpp | 58 int rc = cb(&exe_info, sizeof(exe_info), data); local 59 if (rc != 0) { 60 return rc;
|
H A D | posix_timers.cpp | 81 int rc = __rt_sigtimedwait(sigset.get(), &si, NULL, sizeof(sigset)); local 82 if (rc == -1) { 148 int rc = pthread_create(&timer->callback_thread, &thread_attributes, __timer_thread_start, timer); local 152 if (rc != 0) { 154 errno = rc; 179 int rc = __timer_delete(to_kernel_timer_id(id)); local 180 if (rc == -1) {
|
H A D | libgen.cpp | 155 int rc = basename_r(path, basename_tls_buffer, basename_tls_buffer_size); local 156 return (rc < 0) ? NULL : basename_tls_buffer; 161 int rc = dirname_r(path, dirname_tls_buffer, dirname_tls_buffer_size); local 162 return (rc < 0) ? NULL : dirname_tls_buffer;
|
H A D | tmpfile.cpp | 81 int rc = fstat(fd, &sb); local 82 if (rc == -1) {
|
H A D | dirent.cpp | 86 int rc = TEMP_FAILURE_RETRY(__getdents64(d->fd_, d->buff_, sizeof(d->buff_))); local 87 if (rc <= 0) { 90 d->available_bytes_ = rc;
|
H A D | ndk_cruft.cpp | 197 int rc = vdprintf(fd, fmt, ap); local 199 return rc;
|
H A D | pthread_create.cpp | 223 int rc = clone(__pthread_start, child_stack, flags, thread, &(thread->tid), tls, &(thread->tid)); local 224 if (rc == -1) {
|
H A D | sysconf.cpp | 149 int rc = clock_getres(CLOCK_MONOTONIC, &t); local 150 return (rc == -1) ? -1 : _POSIX_VERSION;
|
/bionic/libc/arch-x86/bionic/ |
H A D | __set_tls.c | 64 int rc = __set_thread_area(&tls_descriptor); local 65 if (rc != -1) { 73 return rc;
|
/bionic/tests/ |
H A D | sys_sendfile_test.cpp | 34 ssize_t rc = sendfile(dst_file.fd, src_file.fd, &offset, count); local 35 ASSERT_EQ(2, rc); 53 ssize_t rc = sendfile64(dst_file.fd, src_file.fd, &offset, count); local 54 ASSERT_EQ(2, rc);
|
H A D | libgen_test.cpp | 71 int rc = basename_r(in, buf, buf_size); local 72 ASSERT_EQ(expected_rc, rc) << in; 73 if (rc != -1 && buf != NULL) { 82 int rc = dirname_r(in, buf, buf_size); local 83 ASSERT_EQ(expected_rc, rc) << in; 84 if (rc != -1 && buf != NULL) {
|
H A D | dlfcn_test.cpp | 166 int rc = dladdr(addr, &info); local 167 ASSERT_NE(rc, 0); // Zero on error, non-zero on success. 171 rc = readlink("/proc/self/exe", executable_path, sizeof(executable_path)); 172 ASSERT_NE(rc, -1); 173 executable_path[rc] = '\0';
|
H A D | fcntl_test.cpp | 32 int rc = fcntl(fd, F_SETFD, FD_CLOEXEC); local 33 ASSERT_EQ(0, rc); 151 int rc = fcntl(fd, F_GETLK64, &check_lock); local 152 ASSERT_EQ(0, rc);
|
H A D | stdio_test.cpp | 40 int rc = fstat(fd, &sb); local 41 ASSERT_NE(rc, -1); 44 rc = fprintf(fp, "hello\n"); 45 ASSERT_EQ(rc, 6); 60 int rc = dprintf(tf.fd, "hello\n"); local 61 ASSERT_EQ(rc, 6); 80 int rc = fprintf(fp, "%s", line_written); local 81 ASSERT_EQ(rc, static_cast<int>(strlen(line_written))); 143 int rc = fprintf(fp, "%s", line_written); local 144 ASSERT_EQ(rc, static_cas [all...] |
H A D | stdlib_test.cpp | 105 int rc = readlink("/proc/self/exe", executable_path, sizeof(executable_path)); local 106 ASSERT_NE(rc, -1); 107 executable_path[rc] = '\0';
|
/bionic/linker/ |
H A D | debugger.cpp | 102 int rc = TEMP_FAILURE_RETRY(connect(s, reinterpret_cast<sockaddr*>(&addr), alen)); local 103 if (rc == -1) {
|