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

12

/sdk/emulator/opengl/shared/OpenglOsUtils/
H A DosThreadUnix.cpp38 int ret = pthread_create(&m_thread, NULL, Thread::thread_main, this); local
39 if(ret) {
58 long long int ret=(long long int)retval; local
60 *exitStatus = (int)ret;
68 bool ret = false; local
73 ret = true;
76 return ret;
83 int ret = self->Main(); local
87 self->m_exitStatus = ret;
90 return (void*)ret;
[all...]
H A DosThreadWin.cpp96 int ret = self->Main(); local
98 return ret;
H A DosProcessWin.cpp36 BOOL ret = CreateProcessA( local
47 if (ret == 0) {
164 DWORD ret = WaitForSingleObject(process, 0); local
166 isRunning = (ret == WAIT_TIMEOUT);
/sdk/emulator/tests/
H A Dtest-qemud-pipes.c80 int ret, count; local
83 ret = read(client, buff, sizeof(buff));
84 } while (ret < 0 && errno == EINTR);
86 if (ret < 0) {
91 count = ret;
97 ret = write(client, p, count);
98 } while (ret < 0 && errno == EINTR);
100 if (ret < 0) {
105 printf(" sent: %d bytes\n", ret);
107 p += ret;
[all...]
/sdk/emulator/opengl/host/include/libOpenglRender/
H A Drender_api.h37 #define DECL(ret, name, args) \
38 typedef ret (* name##Fn) args
40 #define DECL(ret, name, args) \
41 typedef ret (* name##Fn) args ; \
42 ret name args
/sdk/device_validator/app/src/com/android/validator/
H A DDeviceValidator.java32 int ret = 0;
39 ret = 1;
45 ret = 1;
48 System.exit(ret);
/sdk/emulator/opengl/shared/OpenglCodecCommon/
H A DUnixStream.cpp54 int ret = 0; local
62 ret = ::lstat(tmp, &st);
63 } while (ret < 0 && errno == EINTR);
65 if (ret < 0 && errno == ENOENT) {
67 ret = ::mkdir(tmp, 0766);
68 } while (ret < 0 && errno == EINTR);
69 if (ret < 0) {
74 else if (ret < 0) {
/sdk/avdlauncher/
H A Davdlauncher.c76 int ret, pos; local
86 ret = GetModuleFileName(NULL, program_dir, sizeof(program_dir));
87 if (ret == 0) {
92 pos = ret - 1;
102 ret = CreateProcess(
114 dprintf("CreateProcess returned %d\n", ret);
116 if (!ret) {
/sdk/sdklauncher/
H A Dsdklauncher.c76 int ret, pos; local
86 ret = GetModuleFileName(NULL, program_dir, sizeof(program_dir));
87 if (ret == 0) {
92 pos = ret - 1;
102 ret = CreateProcess(
114 dprintf("CreateProcess returned %d\n", ret);
116 if (!ret) {
/sdk/emulator/opengl/host/libs/libOpenglRender/
H A DRenderControl.cpp133 EGLint ret = 0; local
137 ret = fb->getWidth();
140 ret = fb->getHeight();
143 ret = 72; // XXX: should be implemented
146 ret = 72; // XXX: should be implemented
149 ret = 60;
152 ret = 1; // XXX: should be implemented
155 ret = 1; // XXX: should be implemented
161 return ret;
172 HandleType ret local
264 bool ret = fb->bindContext(context, drawSurf, readSurf); local
[all...]
H A DNativeWindowsSubWindow.cpp41 EGLNativeWindowType ret = CreateWindowEx( local
51 ShowWindow(ret,SW_SHOW);
52 return ret;
H A DFrameBuffer.cpp487 HandleType ret = 0; local
491 ret = genHandle();
492 m_colorbuffers[ret].cb = cb;
493 m_colorbuffers[ret].refcount = 1;
495 return ret;
502 HandleType ret = 0; local
515 ret = genHandle();
516 m_contexts[ret] = rctx;
518 return ret;
525 HandleType ret local
800 bool ret = false; local
[all...]
H A DFBConfig.cpp64 InitConfigStatus ret = INIT_CONFIG_FAILED; local
67 return ret;
75 return ret;
84 return ret;
151 int ret = 0; local
155 return ret;
163 return ret;
H A Drender_api.cpp225 bool ret = false; local
238 ret = s_renderProc->wait(&exitStatus);
247 ret = s_renderThread->wait(&status);
253 return ret;
/sdk/find_java/
H A Dutils.cpp73 int ret = CreateProcessA( local
85 if (ret) {
90 return ret;
107 int ret = CreateProcessA( local
120 if (ret) {
137 int ret = GetModuleFileName(NULL, programDir, sizeof(programDir)); local
138 if (ret != 0) {
140 int pos = ret - 1;
/sdk/emulator/opengl/tests/event_injector/
H A Dsockets.c639 int ret; local
644 ret = getaddrinfo(hostname, NULL, hints, &res);
645 if (ret != 0) {
648 switch (ret) {
707 ret = _set_errno(ENOENT);
712 ret = sock_address_from_bsd( a, r->ai_addr, r->ai_addrlen );
713 if (ret < 0)
726 return ret;
741 int nn, count, ret; local
764 ret
867 int ret; local
903 int ret; local
1002 int ret; local
1043 int ret; local
1057 int ret; local
1077 int ret; local
1095 int ret; local
1207 int ret, err; local
1386 int s, ret; local
1408 int s, ret; local
1431 int ret = socketpair(AF_UNIX, SOCK_STREAM, 0, fds); local
1546 int ret; local
[all...]
H A Demulator-console.c87 int ret = socket_recv(con->fd, temp, sizeof temp); local
88 if (ret < 0) {
94 if (ret == 0) {
97 DD("Console received: '%.*s'", ret, temp);
111 int ret; local
113 ret = socket_send(con->fd,
116 if (ret > 0) {
117 DD("Console sent: '%.*s'", ret, msg->data + msg->sent);
119 msg->sent += ret;
126 if (ret <
223 int ret; local
[all...]
H A Diolooper-select.c163 int ret; local
179 ret = select( count, iol->reads_result, iol->writes_result, &errs, &tv);
180 } while (ret < 0 && errno == EINTR);
182 return ret;
189 int ret; local
210 ret = select( count, iol->reads_result, iol->writes_result, &errs, tm);
211 if (ret == 0) {
215 } while (ret < 0 && errno == EINTR);
217 return ret;
/sdk/emulator/sensors/
H A Dsensors_qemu.c158 int ret; local
185 ret = qemud_channel_send(ctl->fd, command, -1);
186 if (ret < 0) {
433 int ret; local
438 ret = data__poll(dev, data);
440 if (ret > MAX_NUM_SENSORS || ret < 0) {
453 int ret; local
460 ret = data__data_open(dev,hdl);
462 ret
554 int ret; local
[all...]
/sdk/emulator/opengl/host/libs/Translator/GLES_CM/
H A DGLDispatch.cpp29 GL_FUNC_PTR ret = NULL; local
32 ret = (GL_FUNC_PTR)glXGetProcAddress((const GLubyte*)funcName);
35 ret = (GL_FUNC_PTR)wglGetProcAddress(funcName);
37 if(!ret && libGL){
38 ret = libGL->findSymbol(funcName);
40 return ret;
/sdk/emulator/opengl/host/libs/Translator/include/GLcommon/
H A DGLESmacros.h41 #define RET_AND_SET_ERROR_IF(condition,err,ret) if((condition)) { \
44 return ret; \
/sdk/emulator/opengl/host/libs/Translator/EGL/
H A DEglDisplay.cpp263 EGLSurface ret =reinterpret_cast<EGLSurface> (hndl); local
266 return ret;
270 return ret;
277 EGLContext ret = reinterpret_cast<EGLContext> (hndl); local
280 return ret;
283 return ret;
320 EGLNativeContextType ret = local
322 if (!ret)
323 ret = (EGLNativeContextType)m_manager[GLES_2_0]->getGlobalContext();
324 return ret;
[all...]
/sdk/emulator/gps/
H A Dgps_qemu.c604 int ret; local
606 do { ret=write( s->control[0], &cmd, 1 ); }
607 while (ret < 0 && errno == EINTR);
609 if (ret != 1)
610 D("%s: could not send CMD_START command: ret=%d: %s",
611 __FUNCTION__, ret, strerror(errno));
619 int ret; local
621 do { ret=write( s->control[0], &cmd, 1 ); }
622 while (ret < 0 && errno == EINTR);
624 if (ret !
634 int ret, flags; local
652 int ret; local
704 int ret; local
734 int nn, ret; local
[all...]
/sdk/emulator/opengl/host/libs/Translator/GLcommon/
H A DobjectNameManager.cpp294 ObjectDataPtr ret; local
296 if (p_type >= NUM_OBJECT_TYPES) return ret;
303 if (i != map->end()) ret = (*i).second;
308 return ret;
403 void *ret = NULL; local
406 if (m_groups.size() > 0) ret = (*m_groups.begin()).first;
409 return ret;
/sdk/chimpchat/src/com/android/chimpchat/hierarchyviewer/
H A DHierarchyViewer.java153 boolean ret = (node != null)
157 return ret;

Completed in 290 milliseconds

12