Searched refs:ret (Results 1 - 25 of 29) sorted by relevance

12

/development/ndk/platforms/android-9/arch-x86/include/asm/
H A Dlinkage_32.h25 #define prevent_tail_call(ret) __asm__ ("" : "=r" (ret) : "0" (ret))
/development/ndk/platforms/android-9/arch-x86_64/include/asm/
H A Dlinkage_32.h25 #define prevent_tail_call(ret) __asm__ ("" : "=r" (ret) : "0" (ret))
/development/host/windows/usb/api/
H A Dadb_object_handle.cpp55 LONG ret = InterlockedDecrement(&ref_count_); local
56 ATLASSERT(ret >= 0);
57 if (0 == ret) {
61 return ret;
65 ADBAPIHANDLE ret = NULL; local
77 ret = reinterpret_cast<ADBAPIHANDLE>(next_adb_handle_value);
80 the_map[ret] = this;
83 adb_handle_ = ret;
86 ret = NULL;
96 return ret;
100 bool ret = false; local
149 AdbObjectHandle* ret = NULL; local
[all...]
H A Dadb_api.cpp46 ADBAPIHANDLE ret = NULL; local
57 ret = enum_obj->CreateHandle();
66 return ret;
84 bool ret = adb_ienum_object->Next(info, size);
88 return ret;
99 bool ret = adb_ienum_object->Reset();
103 return ret;
109 ADBAPIHANDLE ret = NULL; local
131 ret = obj->CreateHandle();
139 return ret;
209 bool ret = adb_object->GetInterfaceName(buffer, buffer_char_size, ansi); local
228 bool ret = adb_object->GetSerialNumber(buffer, buffer_char_size, ansi); local
245 bool ret = adb_object->GetUsbDeviceDescriptor(desc); local
262 bool ret = adb_object->GetUsbConfigurationDescriptor(desc); local
279 bool ret = adb_object->GetUsbInterfaceDescriptor(desc); local
297 bool ret = adb_object->GetEndpointInformation(endpoint_index, info); local
330 ADBAPIHANDLE ret = local
365 ADBAPIHANDLE ret = adb_object->GetParentInterfaceHandle(); local
382 bool ret = adb_object->GetEndpointInformation(info); local
403 ADBAPIHANDLE ret = adb_object->AsyncRead(buffer, local
428 ADBAPIHANDLE ret = adb_object->AsyncWrite(buffer, local
452 bool ret = local
473 bool ret = local
493 bool ret = local
510 bool ret = local
526 bool ret = adb_object->CloseHandle(); local
[all...]
H A Dadb_api_instance.h87 LONG ret = InterlockedDecrement(&ref_count_); local
88 if (0 == ret)
91 return ret;
H A Dadb_legacy_endpoint_object.cpp76 ADBAPIHANDLE ret = adb_io_completion->CreateHandle(); local
78 if (NULL != ret) {
117 ret = NULL;
125 return ret;
150 BOOL ret = TRUE; local
154 ret = is_read ?
165 ret = DeviceIoControl(usb_handle(),
175 if (!ret && (ERROR_IO_PENDING != GetLastError())) {
182 ret = GetOverlappedResult(usb_handle(), &overlapped, &transferred, TRUE);
183 if (ret
217 ADBAPIHANDLE ret = AdbObjectHandle::CreateHandle(); local
[all...]
H A Dadb_legacy_io_completion.cpp52 bool ret = GetOverlappedResult(parent_legacy_io_object()->usb_handle(), local
64 if (wait && ret && (0 == transfer) && (0 != expected_transfer_size_) &&
68 ret = GetOverlappedResult(parent_legacy_io_object()->usb_handle(),
74 if (!ret || (0 != transfer) ||
89 return ret;
H A Dadb_interface_enum.cpp45 bool ret = EnumerateDeviceInterfaces(class_id, local
53 if (ret)
56 return ret;
H A Dadb_legacy_interface.cpp127 BOOL ret = DeviceIoControl(usb_device_handle, local
135 ULONG error = ret ? NO_ERROR : GetLastError();
192 BOOL ret = DeviceIoControl(usb_device_handle, local
198 ATLASSERT(!ret || (sizeof(AdbEndpointInformation) == ret_bytes));
201 ULONG error = ret ? NO_ERROR : GetLastError();
209 return ret ? true : false;
272 ADBAPIHANDLE ret = adb_endpoint->CreateHandle(endpoint_path.c_str(), local
278 return ret;
284 BOOL ret = DeviceIoControl(usb_device_handle, local
291 ATLASSERT(!ret || (sizeo
299 BOOL ret = DeviceIoControl(usb_device_handle, local
314 BOOL ret = DeviceIoControl(usb_device_handle, local
[all...]
H A Dadb_helper_routines.cpp89 bool ret = false; local
129 ret = true;
139 if (ret)
142 return ret;
156 bool ret = false; local
160 ret = EnumerateDeviceInterfaces(hardware_dev_info,
167 ULONG error_to_report = ret ? NO_ERROR : GetLastError();
175 return ret;
263 BOOL ret = DeviceIoControl(usb_device_handle, local
273 return ret
[all...]
/development/ndk/sources/android/libportable/arch-x86/
H A Dstat.c24 int ret = REAL(stat)(path, &x86_stat); local
26 return ret;
32 int ret = REAL(fstat)(fd, &x86_stat); local
34 return ret;
40 int ret = REAL(lstat)(path, &x86_stat); local
42 return ret;
48 int ret = REAL(fstatat)(dirfd, path, &x86_stat, flags); local
50 return ret;
H A Depoll.c34 int ret = REAL(epoll_wait)(epfd, &x86_epoll_event, max, timeout); local
39 return ret;
/development/ndk/sources/android/libportable/arch-mips/
H A Dstat.c26 int ret; local
32 ret = REAL(stat)(path, &mips_stat);
34 return ret;
40 int ret; local
46 ret = REAL(fstat)(fd, &mips_stat);
48 return ret;
54 int ret; local
60 ret = REAL(lstat)(path, &mips_stat);
62 return ret;
68 int ret; local
[all...]
H A Dstatfs.c41 int ret; local
47 ret = REAL(statfs)(path, &mips_stat);
49 return ret;
55 int ret; local
61 ret = REAL(fstatfs)(fd, &mips_stat);
63 return ret;
H A Dpoll.c112 int ret; local
117 ret = REAL(poll)(fds, nfds, timeout);
124 return ret;
H A Dclone.c54 int ret; local
121 ret = REAL(clone)(fn, child_stack, mips_flags, arg, parent_tidptr,
124 if (ret > 0) {
138 ALOGV("%s: return(ret:%d); }", __func__, ret);
139 return ret;
H A Dsyscall.c59 int native_number, ret; local
80 ret = cacheflush(start, end, flags);
130 ret = WRAP(eventfd)(initval, flags); /* Android uses __NR_eventfd2 in eventfd() */
152 ret = WRAP(eventfd)(initval, flags); /* Android uses __NR_eventfd2 in eventfd() */
233 ret = WRAP(inotify_init1)(portable_flags);
272 ret = WRAP(pipe2)(pipefd_ptr, portable_flags);
320 ret = WRAP(__rt_sigprocmask)(how, set, oset, sigsetsize);
339 ret = WRAP(__rt_sigtimedwait)(set, info, timeout, sigsetsize);
356 ret = WRAP(rt_sigqueueinfo)(pid, sig, uinfo);
397 ret
[all...]
H A Dpthread.c266 int portable_ret, ret; local
274 ret = 0;
278 ret = REAL(pthread_kill)(thread, mips_signum);
280 portable_ret = errno_ntop(ret);
282 ALOGV("%s: return portable_ret:%d; ret:%d;", __func__,
283 portable_ret, ret);
292 int portable_ret, ret; local
298 ret = do_sigmask(portable_how, portable_sigset, portable_oldset, REAL(pthread_sigmask), NULL);
300 portable_ret = errno_ntop(ret);
302 ALOGV("%s: return portable_ret:%d; ret
[all...]
/development/host/windows/usb/winusb/
H A Dadb_winusb_io_completion.cpp38 LONG ret = InterlockedDecrement(&ref_count_); local
39 ATLASSERT(ret >= 0);
40 if (0 == ret) {
44 return ret;
60 bool ret = WinUsb_GetOverlappedResult( local
72 if (wait && ret && (0 == transfer) && (0 != expected_transfer_size_) &&
76 ret = WinUsb_GetOverlappedResult(
82 if (!ret || (0 != transfer) ||
97 return ret;
H A Dadb_winusb_endpoint_object.cpp38 LONG ret = InterlockedDecrement(&ref_count_); local
39 ATLASSERT(ret >= 0);
40 if (0 == ret) {
44 return ret;
70 ADBAPIHANDLE ret = adb_io_completion->CreateHandle(); local
72 if (NULL != ret) {
97 ret = NULL;
105 return ret;
123 BOOL ret = TRUE; local
126 ret
[all...]
H A Dadb_winusb_interface.cpp45 LONG ret = InterlockedDecrement(&ref_count_); local
46 ATLASSERT(ret >= 0);
47 if (0 == ret) {
51 return ret;
211 bool ret = true; local
222 ret = false;
234 return ret;
335 ADBAPIHANDLE ret = adb_endpoint->CreateHandle(); local
339 return ret;
/development/ndk/platforms/android-3/arch-arm/include/asm/
H A Dlocks.h19 #define __down_op_ret(ptr,fail) ({ unsigned int ret; __asm__ __volatile__( "@ down_op_ret\n" "1: ldrex lr, [%1]\n" " sub lr, lr, %2\n" " strex ip, lr, [%1]\n" " teq ip, #0\n" " bne 1b\n" " teq lr, #0\n" " movmi ip, %1\n" " movpl ip, #0\n" " blmi " #fail "\n" " mov %0, ip" : "=&r" (ret) : "r" (ptr), "I" (1) : "ip", "lr", "cc"); smp_mb(); ret; })
38 #define __down_op_ret(ptr,fail) ({ unsigned int ret; __asm__ __volatile__( "@ down_op_ret\n" " mrs ip, cpsr\n" " orr lr, ip, #128\n" " msr cpsr_c, lr\n" " ldr lr, [%1]\n" " subs lr, lr, %2\n" " str lr, [%1]\n" " msr cpsr_c, ip\n" " movmi ip, %1\n" " movpl ip, #0\n" " blmi " #fail "\n" " mov %0, ip" : "=&r" (ret) : "r" (ptr), "I" (1) : "ip", "lr", "cc"); smp_mb(); ret; })
/development/ndk/platforms/android-3/include/linux/
H A Dseqlock.h41 #define read_seqretry_irqrestore(lock, iv, flags) ({ int ret = read_seqretry(lock, iv); local_irq_restore(flags); ret; })
H A Dlinkage.h28 #define prevent_tail_call(ret) do { } while (0)
/development/samples/TtsEngine/src/com/example/android/ttsengine/
H A DCheckVoiceData.java102 ArrayList<String> ret = new ArrayList<String>();
106 ret.add(lang);
110 return ret;

Completed in 1237 milliseconds

12