Home
last modified time | relevance | path

Searched refs:rv (Results 1 – 17 of 17) sorted by relevance

/development/ndk/sources/android/libportable/arch-mips/
Dwaitpid.c62 pid_t rv; in WRAP() local
67 rv = REAL(waitpid)(pid, status, options); in WRAP()
68 if (rv > 0 && status) in WRAP()
71 ALOGV("%s: return rv:%d; }", __func__, rv); in WRAP()
72 return rv; in WRAP()
78 pid_t rv; in WRAP() local
83 rv = REAL(wait)(status); in WRAP()
84 if (rv > 0 && status) in WRAP()
87 ALOGV("%s: return rv:%d; }", __func__, rv); in WRAP()
88 return rv; in WRAP()
[all …]
Dfilefd.c110 int rv; in export_fd_env() local
123 rv = -1; in export_fd_env()
145 rv = snprintf(fd_env, fd_env_bytes_remaining, "%d,", fd); in export_fd_env()
146 ASSERT(rv > 0); in export_fd_env()
147 fd_env += rv; in export_fd_env()
148 fd_env_bytes_remaining -= rv; in export_fd_env()
149 rv = snprintf(type_env, type_env_bytes_remaining, "%d,", filefd_mapped_file[fd]); in export_fd_env()
150 ASSERT(rv > 0); in export_fd_env()
151 type_env += rv; in export_fd_env()
152 type_env_bytes_remaining -= rv; in export_fd_env()
[all …]
Dsignal.c706 sighandler_portable_t rv; in do_signal_portable() local
721 rv = mips_signal_fn(mips_signum, mips_handler); in do_signal_portable()
734 rv = mips_signal_fn(mips_signum, mips_handler); in do_signal_portable()
736 if ((rv == (sighandler_portable_t) mips_sighandler) || in do_signal_portable()
737 (rv == (sighandler_portable_t) mips_sigaction_handler)) { in do_signal_portable()
739 rv = (sighandler_t) prev_portable_handler; in do_signal_portable()
743 ALOGV("%s: return(rv:%p); }", __func__, rv); in do_signal_portable()
744 return rv; in do_signal_portable()
756 sighandler_portable_t rv; in WRAP() local
763 rv = do_signal_portable(portable_signum, handler, REAL(bsd_signal)); in WRAP()
[all …]
Dinotify.c65 int rv; in WRAP() local
74 rv = syscall(__NR_inotify_init1, native_flags); in WRAP()
75 if (rv >= 0) { in WRAP()
77 filefd_CLOEXEC_enabled(rv); in WRAP()
79 filefd_opened(rv, INOTIFY_FD_TYPE); in WRAP()
82 ALOGV("%s: return(rv:%d); }", __func__, rv); in WRAP()
83 return rv; in WRAP()
Dtimerfd.c62 int rv; in WRAP() local
71 rv = REAL(syscall)(__NR_timerfd_create, clockid, native_flags); in WRAP()
72 if (rv >= 0) { in WRAP()
74 filefd_CLOEXEC_enabled(rv); in WRAP()
76 filefd_opened(rv, TIMER_FD_TYPE); in WRAP()
79 ALOGV("%s: return(rv:%d); }", __func__, rv); in WRAP()
80 return rv; in WRAP()
Deventfd.c76 int rv; in WRAP() local
85 rv = REAL(eventfd)(initval, native_flags); in WRAP()
86 if (rv >= 0) { in WRAP()
88 filefd_CLOEXEC_enabled(rv); in WRAP()
90 filefd_opened(rv, EVENT_FD_TYPE); in WRAP()
93 ALOGV("%s: return(rv:%d); }", __func__, rv); in WRAP()
94 return rv; in WRAP()
Dsocket.c134 int rv; in WRAP() local
140 rv = REAL(socket)(domain, socktype_pton(type), protocol); in WRAP()
142 ALOGV("%s: return(rv:%d); }", __func__, rv); in WRAP()
143 return rv; in WRAP()
148 int rv; in WRAP() local
154 rv = REAL(socketpair)(domain, socktype_pton(type), protocol, sv); in WRAP()
156 if ((rv != 0) || invalid_pointer(sv)) { in WRAP()
158 rv); in WRAP()
161 rv, sv[0], sv[1]); in WRAP()
163 return rv; in WRAP()
[all …]
Dpipe.c65 int rv; in WRAP() local
73 rv = REAL(pipe2)(pipefd, native_flags); in WRAP()
74 if (rv >= 0) { in WRAP()
84 ALOGV("%s: return(rv:%d); }", __func__, rv); in WRAP()
85 return rv; in WRAP()
Dmmap.c116 int rv; in WRAP() local
125 rv = REAL(mprotect)(addr, size, native_prot); in WRAP()
127 ALOGV("%s: return(rv:%d); }", __func__, rv); in WRAP()
128 return rv; in WRAP()
Dpthread.c60 int rv, portable_rv; \
64 rv = REAL(fn) CALLARGS; \
65 portable_rv = errno_ntop(rv); \
67 portable_rv, rv); \
/development/ndk/sources/android/libportable/arch-mips64/
Dsocket.c134 int rv; in WRAP() local
140 rv = REAL(socket)(domain, socktype_pton(type), protocol); in WRAP()
142 ALOGV("%s: return(rv:%d); }", __func__, rv); in WRAP()
143 return rv; in WRAP()
148 int rv; in WRAP() local
154 rv = REAL(socketpair)(domain, socktype_pton(type), protocol, sv); in WRAP()
156 if ((rv != 0) || invalid_pointer(sv)) { in WRAP()
158 rv); in WRAP()
161 rv, sv[0], sv[1]); in WRAP()
163 return rv; in WRAP()
[all …]
/development/samples/StackWidget/src/com/example/android/stackwidget/
DStackWidgetProvider.java71 RemoteViews rv = new RemoteViews(context.getPackageName(), R.layout.widget_layout); in onUpdate() local
72 rv.setRemoteAdapter(appWidgetIds[i], R.id.stack_view, intent); in onUpdate()
76 rv.setEmptyView(R.id.stack_view, R.id.empty_view); in onUpdate()
88 rv.setPendingIntentTemplate(R.id.stack_view, toastPendingIntent); in onUpdate()
90 appWidgetManager.updateAppWidget(appWidgetIds[i], rv); in onUpdate()
DStackWidgetService.java81 RemoteViews rv = new RemoteViews(mContext.getPackageName(), R.layout.widget_item); in getViewAt() local
82 rv.setTextViewText(R.id.widget_item, mWidgetItems.get(position).text); in getViewAt()
90 rv.setOnClickFillInIntent(R.id.widget_item, fillInIntent); in getViewAt()
104 return rv; in getViewAt()
/development/samples/WeatherListWidget/src/com/example/android/weatherlistwidget/
DWeatherWidgetProvider.java153 RemoteViews rv; in buildLayout() local
160 rv = new RemoteViews(context.getPackageName(), R.layout.widget_layout); in buildLayout()
161 rv.setRemoteAdapter(appWidgetId, R.id.weather_list, intent); in buildLayout()
165 rv.setEmptyView(R.id.weather_list, R.id.empty_view); in buildLayout()
176 rv.setPendingIntentTemplate(R.id.weather_list, onClickPendingIntent); in buildLayout()
183 rv.setOnClickPendingIntent(R.id.refresh, refreshPendingIntent); in buildLayout()
186 rv.setTextViewText(R.id.city_name, context.getString(R.string.city_name)); in buildLayout()
188 rv = new RemoteViews(context.getPackageName(), R.layout.widget_layout_small); in buildLayout()
199 rv.setTextViewText(R.id.city_name, header); in buildLayout()
203 return rv; in buildLayout()
DWeatherWidgetService.java86 RemoteViews rv = new RemoteViews(mContext.getPackageName(), itemId); in getViewAt() local
87 rv.setTextViewText(R.id.widget_item, String.format(formatStr, temp, day)); in getViewAt()
94 rv.setOnClickFillInIntent(R.id.widget_item, fillInIntent); in getViewAt()
96 return rv; in getViewAt()
/development/samples/Support7Demos/src/com/example/android/supportv7/widget/
DRecyclerViewActivity.java45 final RecyclerView rv = new RecyclerView(this); in onCreate() local
46 rv.setLayoutManager(new MyLayoutManager(this)); in onCreate()
47 rv.setHasFixedSize(true); in onCreate()
48 rv.setLayoutParams(new ViewGroup.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT, in onCreate()
50 rv.setAdapter(new SimpleStringAdapter(this, Cheeses.sCheeseStrings) { in onCreate()
71 rv.addItemDecoration(new DividerItemDecoration(this, DividerItemDecoration.VERTICAL_LIST)); in onCreate()
72 setContentView(rv); in onCreate()
73 mRecyclerView = rv; in onCreate()
/development/ndk/platforms/android-L/include/linux/
Ddlm_plock.h45 __s32 rv; member