/sdk/emulator/opengl/host/libs/Translator/GLES_CM/ |
H A D | GLDispatch.cpp | 29 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 D | osThreadUnix.cpp | 38 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 D | osThreadWin.cpp | 96 int ret = self->Main(); local 98 return ret;
|
H A D | osProcessUnix.cpp | 152 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 D | osProcessWin.cpp | 36 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 D | test-qemud-pipes.c | 80 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 D | avdlauncher.c | 76 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 D | NativeWindowsSubWindow.cpp | 41 EGLNativeWindowType ret = CreateWindowEx( local 51 ShowWindow(ret,SW_SHOW); 52 return ret;
|
H A D | FBConfig.cpp | 64 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 D | render_api.cpp | 225 bool ret = false; local 238 ret = s_renderProc->wait(&exitStatus); 247 ret = s_renderThread->wait(&status); 253 return ret;
|
H A D | RenderControl.cpp | 133 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 D | UnixStream.cpp | 54 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 D | SocketStream.cpp | 115 const unsigned char* ret = NULL; local
|
H A D | Win32PipeStream.cpp | 196 const unsigned char* ret = NULL; local
|
/sdk/sdklauncher/ |
H A D | sdklauncher.c | 76 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 D | iolooper-select.c | 163 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 D | emulator-console.c | 87 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 D | utils.cpp | 73 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 D | utils.h | 110 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 D | EglDisplay.cpp | 263 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 D | EglMacApi.cpp | 127 bool ret = nsGetWinDims(win,width,height); local 134 return ret && match;
|
/sdk/emulator/opengl/host/libs/Translator/GLcommon/ |
H A D | objectNameManager.cpp | 294 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 D | RenderingThread.cpp | 240 int ret = Renderer::instance()->makeCurrent(m_tls, local 245 if (ret && ctx) { 249 return ret;
|
/sdk/emulator/opengl/host/tools/emugen/ |
H A D | ApiGen.cpp | 359 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 D | sensors_qemu.c | 158 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...] |