Searched defs:ret (Results 1 - 25 of 36) sorted by relevance

12

/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/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 DosProcessUnix.cpp152 int ret=0; local
154 pid_t pid = waitpid(m_pid,&ret,0);
158 *exitStatus = ret;
169 int ret=0; local
172 pid_t pid = waitpid(m_pid,&ret,WNOHANG);
178 return ((char)WEXITSTATUS(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/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/emulator/opengl/host/libs/libOpenglRender/
H A DNativeWindowsSubWindow.cpp41 EGLNativeWindowType ret = CreateWindowEx( local
51 ShowWindow(ret,SW_SHOW);
52 return ret;
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;
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...]
/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) {
H A DSocketStream.cpp115 const unsigned char* ret = NULL; local
H A DWin32PipeStream.cpp196 const unsigned char* ret = NULL; local
/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/tests/event_injector/
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;
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...]
/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;
H A Dutils.h110 int ret = vsnprintf(mStr, len, str, ap); local
111 if (ret == -1) {
115 } else if (ret >= len) {
116 len = ret + 1;
/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...]
H A DEglMacApi.cpp127 bool ret = nsGetWinDims(win,width,height); local
134 return ret && match;
/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/emulator/opengl/tests/ut_renderer/
H A DRenderingThread.cpp240 int ret = Renderer::instance()->makeCurrent(m_tls, local
245 if (ret && ctx) {
249 return ret;
/sdk/emulator/opengl/host/tools/emugen/
H A DApiGen.cpp359 int ret = 0; local
363 ret = 1;
376 return ret;
381 int ret = 0; local
385 ret = 1;
388 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...]

Completed in 350 milliseconds

12