/device/generic/goldfish-opengl/system/OpenglSystemCommon/ |
D | QemuPipeStreamFuchsia.cpp | 60 zx_status_t status = zx_vmar_unmap(zx_vmar_root_self(), in ~QemuPipeStream() local 63 if (status != ZX_OK) { in ~QemuPipeStream() 64 ALOGE("zx_vmar_unmap failed: %d\n", status); in ~QemuPipeStream() 83 zx_status_t status = zx::event::create(0, &event); in connect() local 84 if (status != ZX_OK) { in connect() 85 ALOGE("%s: failed to create event: %d", __FUNCTION__, status); in connect() 89 status = event.duplicate(ZX_RIGHT_SAME_RIGHTS, &event_copy); in connect() 90 if (status != ZX_OK) { in connect() 91 ALOGE("%s: failed to duplicate event: %d", __FUNCTION__, status); in connect() 95 status = m_pipe->SetEvent(std::move(event_copy)); in connect() [all …]
|
D | ProcessPipe.cpp | 73 zx_status_t status, status2 = ZX_OK; in processPipeInitOnce() local 75 status = pipe->GetBuffer(&status2, &vmo); in processPipeInitOnce() 76 if (status != ZX_OK || status2 != ZX_OK) { in processPipeInitOnce() 77 ALOGE("%s: failed to get buffer: %d:%d", __FUNCTION__, status, status2); in processPipeInitOnce() 82 status = vmo.write("pipe:GLProcessPipe", 0, len + 1); in processPipeInitOnce() 83 if (status != ZX_OK) { in processPipeInitOnce() 88 status = pipe->Write(len + 1, 0, &status2, &actual); in processPipeInitOnce() 89 if (status != ZX_OK || status2 != ZX_OK) { in processPipeInitOnce() 91 status, status2); in processPipeInitOnce() 97 status = vmo.write(&confirmInt, 0, sizeof(confirmInt)); in processPipeInitOnce() [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/ |
D | thread_pthread.h | 120 #define CHECK_STATUS(name) if (status != 0) { perror(name); error = 1; } 163 int status; in PyThread_start_new_thread() local 193 status = pthread_create(&th, in PyThread_start_new_thread() 206 if (status != 0) in PyThread_start_new_thread() 259 int status, error = 0; in PyThread_allocate_lock() local 268 status = sem_init(lock,0,1); in PyThread_allocate_lock() 285 int status, error = 0; in PyThread_free_lock() local 292 status = sem_destroy(thelock); in PyThread_free_lock() 305 fix_status(int status) in fix_status() argument 307 return (status == -1) ? errno : status; in fix_status() [all …]
|
D | thread_pth.h | 31 #define CHECK_STATUS(name) if (status == -1) { printf("%d ", status); perror(name); error = 1; } 91 int status, error = 0; in PyThread_allocate_lock() local 101 status = pth_mutex_init(&lock->mut); in PyThread_allocate_lock() 103 status = pth_cond_init(&lock->lock_released); in PyThread_allocate_lock() 127 int status, error = 0; in PyThread_acquire_lock() local 131 status = pth_mutex_acquire(&thelock->mut, !waitflag, NULL); in PyThread_acquire_lock() 135 status = pth_mutex_release( &thelock->mut ); in PyThread_acquire_lock() 143 status = pth_mutex_acquire( &thelock->mut, !waitflag, NULL ); in PyThread_acquire_lock() 146 status = pth_cond_await(&thelock->lock_released, in PyThread_acquire_lock() 151 status = pth_mutex_release( &thelock->mut ); in PyThread_acquire_lock() [all …]
|
/device/linaro/hikey/hifi/xaf/hifi-dpf/include/sys/xt-shmem/ |
D | xf-hal.h | 66 static inline void xf_isr_restore(u32 core, u32 status) in xf_isr_restore() argument 69 XTOS_RESTORE_INTLEVEL(status); in xf_isr_restore() 93 u32 status; in xf_atomic_test_and_set() local 97 status = XTOS_DISABLE_ALL_INTERRUPTS; in xf_atomic_test_and_set() 99 XTOS_RESTORE_INTLEVEL(status); in xf_atomic_test_and_set() 106 u32 status; in xf_atomic_test_and_clear() local 110 status = XTOS_DISABLE_ALL_INTERRUPTS; in xf_atomic_test_and_clear() 112 XTOS_RESTORE_INTLEVEL(status); in xf_atomic_test_and_clear() 119 u32 status; in xf_atomic_set() local 123 status = XTOS_DISABLE_ALL_INTERRUPTS; in xf_atomic_set() [all …]
|
/device/linaro/bootloader/arm-trusted-firmware/plat/arm/board/common/drivers/norflash/ |
D | norflash.c | 37 unsigned long status; in nor_status() local 40 status = mmio_read_32(base_addr); in nor_status() 41 status |= status >> 16; /* merge status from both flash banks */ in nor_status() 43 return status & 0xFFFF; in nor_status() 54 unsigned long status; in nor_poll_dws() local 58 status = mmio_read_32(base_addr); in nor_poll_dws() 59 if ((status & NOR_CMD_END) == NOR_CMD_END) in nor_poll_dws() 74 unsigned long status; in nor_full_status_check() local 77 status = nor_status(base_addr); in nor_full_status_check() 79 if (status & (NOR_PS | NOR_BLS | NOR_ESS | NOR_PSS)) in nor_full_status_check() [all …]
|
/device/generic/goldfish/network/wifi_forwarder/ |
D | poller.cpp | 71 int status = ::sigfillset(&blockMask); in run() local 72 if (status != 0) { in run() 76 status = ::sigprocmask(SIG_SETMASK, &blockMask, &mask); in run() 77 if (status != 0) { in run() 103 status = ::ppoll(fds.data(), fds.size(), tsPtr, &mask); in run() 104 if (status < 0) { in run() 112 } else if (status > 0) { in run() 127 int status = 0; in run() local 128 if (!pollable->second->onReadAvailable(fd.fd, &status)) { in run() 130 return status; in run() [all …]
|
/device/generic/goldfish/network/netmgr/ |
D | poller.cpp | 72 int status = ::sigfillset(&blockMask); in run() local 73 if (status != 0) { in run() 77 status = ::sigprocmask(SIG_SETMASK, &blockMask, &mask); in run() 78 if (status != 0) { in run() 104 status = ::ppoll(fds.data(), fds.size(), tsPtr, &mask); in run() 105 if (status < 0) { in run() 113 } else if (status > 0) { in run() 128 int status = 0; in run() local 129 if (!pollable->second->onReadAvailable(fd.fd, &status)) { in run() 131 return status; in run() [all …]
|
D | fork.cpp | 47 int status = 0; in forkAndExec() local 49 ::waitpid(pid, &status, 0); in forkAndExec() 50 if (WIFEXITED(status)) { in forkAndExec() 51 int exitStatus = WEXITSTATUS(status); in forkAndExec() 56 } else if (WIFSIGNALED(status)) { in forkAndExec() 58 argv[0], WTERMSIG(status)); in forkAndExec() 64 } while (!WIFEXITED(status) && !WIFSIGNALED(status)); in forkAndExec()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Lua/src/ |
D | lua.c | 135 static int report (lua_State *L, int status) { in report() argument 136 if (status != LUA_OK && !lua_isnil(L, -1)) { in report() 144 return status; in report() 149 static void finalreport (lua_State *L, int status) { in finalreport() argument 150 if (status != LUA_OK) { in finalreport() 173 int status; in docall() local 179 status = lua_pcall(L, narg, nres, base); in docall() 182 return status; in docall() 211 int status = luaL_loadfile(L, name); in dofile() local 212 if (status == LUA_OK) status = docall(L, 0, 0); in dofile() [all …]
|
D | ldo.c | 55 try { a } catch(...) { if ((c)->status == 0) (c)->status = -1; } 80 volatile int status; /* error code */ member 105 L->errorJmp->status = errcode; /* set status */ in luaD_throw() 109 L->status = cast_byte(errcode); /* mark it as dead */ in luaD_throw() 128 lj.status = LUA_OK; in luaD_rawrunprotected() 136 return lj.status; in luaD_rawrunprotected() 421 ci->u.c.status = LUA_YIELD; /* 'default' status */ in finishCcall() 422 lua_assert(ci->u.c.status != LUA_OK); in finishCcall() 461 static int recover (lua_State *L, int status) { in recover() argument 468 seterrorobj(L, status, oldtop); in recover() [all …]
|
D | lbaselib.c | 245 static int load_aux (lua_State *L, int status, int envidx) { in load_aux() argument 246 if (status == LUA_OK) { in load_aux() 266 int status = luaL_loadfilex(L, fname, mode); in luaB_loadfile() local 267 return load_aux(L, status, env); in luaB_loadfile() 310 int status; in luaB_load() local 317 status = luaL_loadbufferx(L, s, l, chunkname, mode); in luaB_load() 323 status = lua_load(L, generic_reader, NULL, chunkname, mode); in luaB_load() 325 return load_aux(L, status, env); in luaB_load() 369 static int finishpcall (lua_State *L, int status) { in finishpcall() argument 376 lua_pushboolean(L, status); /* first result (status) */ in finishpcall() [all …]
|
/device/google/atv/audio_proxy/ |
D | StreamOutImpl.cpp | 40 status_t status = EventFlag::deleteEventFlag(&obj); in deleteEventFlag() local 41 ALOGE_IF(status, "write MQ event flag deletion error: %s", strerror(-status)); in deleteEventFlag() 88 IStreamOut::WriteStatus status; in doWrite() local 89 status.replyTo = IStreamOut::WriteCommand::WRITE; in doWrite() 90 status.retval = Result::OK; in doWrite() 91 status.reply.written = 0; in doWrite() 93 status.reply.written = availToRead; in doWrite() 96 status.reply.written = writeResult; in doWrite() 100 status.retval = Result::INVALID_STATE; in doWrite() 104 return status; in doWrite() [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/ssl/ |
D | get-remote-certificate.py | 18 status = proc.wait() 20 return status, output 35 status, output = subproc(r'openssl x509 -in "%s" -out "%s"' % 37 if status != 0: 38 raise OperationError(status, tsig, output) 53 status, output = subproc( 59 status, output = subproc( 62 if status != 0: 63 raise OSError(status)
|
/device/google/cuttlefish/guest/commands/vsock_logcat/ |
D | main.cpp | 61 bool Set(const char* status) { in Set() argument 62 auto ret = property_set(kServiceStatusProperty, status); in Set() 65 strcpy(status_, status); in Set() 81 void LogFailed(const std::string& msg, ServiceStatus* status) { in LogFailed() argument 83 if (strcmp(status->Get(), ServiceStatus::kStatusFailed) != 0) { in LogFailed() 91 auto ret = status->Set(ServiceStatus::kStatusFailed); in LogFailed() 104 ServiceStatus status; in main() local 111 LogFailed(msg.str(), &status); in main() 114 auto ret = status.Set(ServiceStatus::kStatusStarted); in main()
|
/device/linaro/bootloader/OpenPlatformPkg/Drivers/Usb/DwUsbDxe/ |
D | DwUsbDxe.c | 114 gDmaDescEp0->status.b.bs = 0x3; in ResetEndpoints() 115 gDmaDescEp0->status.b.mtrf = 0; in ResetEndpoints() 116 gDmaDescEp0->status.b.sr = 0; in ResetEndpoints() 117 gDmaDescEp0->status.b.l = 1; in ResetEndpoints() 118 gDmaDescEp0->status.b.ioc = 1; in ResetEndpoints() 119 gDmaDescEp0->status.b.sp = 0; in ResetEndpoints() 120 gDmaDescEp0->status.b.bytes = 64; in ResetEndpoints() 122 gDmaDescEp0->status.b.sts = 0; in ResetEndpoints() 123 gDmaDescEp0->status.b.bs = 0x0; in ResetEndpoints() 151 gDmaDescIn->status.b.bs = 0x3; in EpTx() [all …]
|
/device/generic/goldfish/dhcp/client/ |
D | interface.cpp | 98 int status = ::ioctl(mSocketFd, SIOCSIFMTU, &request); in setMtu() local 99 if (status != 0) { in setMtu() 139 int status = ::sendto(mSocketFd, &request, request.hdr.nlmsg_len, 0, in setAddress() local 142 if (status == -1) { in setAddress() 147 status = ::recv(mSocketFd, buffer, sizeof(buffer), 0); in setAddress() 148 if (status < 0) { in setAddress() 152 size_t responseSize = static_cast<size_t>(status); in setAddress() 183 int status = ::ioctl(mSocketFd, SIOCGIFINDEX, &request); in populateIndex() local 184 if (status != 0) { in populateIndex() 195 int status = ::ioctl(mSocketFd, SIOCGIFHWADDR, &request); in populateMacAddress() local [all …]
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/GenPatchPcdTable/ |
D | GenPatchPcdTable.py | 65 status = 0 72 if status == 0 and line == "Memory Configuration": 73 status = 1 75 elif status == 1 and line == 'Linker script and memory map': 76 status = 2 78 elif status ==2 and line == 'START GROUP': 79 status = 3 83 if status == 3: 87 if status == 3: 120 status = 0 #0 - beginning of file; 1 - PE section definition; 2 - symbol table [all …]
|
/device/linaro/hikey/hifi/xaf/hifi-dpf/core/ |
D | xf-shmem.c | 156 u32 status = 0; in xf_shmem_process_input() local 175 status |= XF_PROXY_STATUS_REMOTE | XF_PROXY_STATUS_LOCAL; in xf_shmem_process_input() 177 status |= XF_PROXY_STATUS_LOCAL; in xf_shmem_process_input() 205 return status; in xf_shmem_process_input() 214 u32 status = 0; in xf_shmem_process_output() local 232 status = XF_PROXY_STATUS_REMOTE | XF_PROXY_STATUS_LOCAL; in xf_shmem_process_output() 237 status |= XF_PROXY_STATUS_REMOTE | XF_PROXY_STATUS_LOCAL; in xf_shmem_process_output() 239 status |= XF_PROXY_STATUS_LOCAL; in xf_shmem_process_output() 289 return status; in xf_shmem_process_output() 299 u32 status; in xf_shmem_process_queues() local [all …]
|
/device/google/trout/hal/vehicle/2.0/ |
D | WatchdogClient.cpp | 39 StatusCode status = StatusCode::TRY_AGAIN; in isClientHealthy() local 41 while (status == StatusCode::TRY_AGAIN) { in isClientHealthy() 42 mHal->get(propValue, [&propValue, &status](StatusCode s, const VehiclePropValue& v) { in isClientHealthy() 43 status = s; in isClientHealthy() 49 return status == StatusCode::OK; in isClientHealthy()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Library/SmmReportStatusCodeLib/ |
D | SmmReportStatusCodeLib.uni | 2 // SMM report status code library. 4 // Retrieve status code and report status code in SMM phase. 18 #string STR_MODULE_ABSTRACT #language en-US "SMM report status code library" 20 #string STR_MODULE_DESCRIPTION #language en-US "Retrieves status code and report status co…
|
/device/linaro/bootloader/edk2/MdeModulePkg/Library/DxeReportStatusCodeLib/ |
D | DxeReportStatusCodeLib.uni | 2 // DXE report status code library. 4 // Retrieve status code and report status code in DXE phase. 18 #string STR_MODULE_ABSTRACT #language en-US "DXE report status code library" 20 #string STR_MODULE_DESCRIPTION #language en-US "Retrieve status code and report status cod…
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
D | check_soundcard.vbs | 5 set status = sc.Properties_("Status") 6 wscript.Echo(sc.Properties_("Name") + "/" + status) 7 if status = "OK" then 11 rem No sound card found - exit with status code of 1
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/ |
D | puremodule.c | 65 int status; in call_voidarg_function() local 70 status = func(); in call_voidarg_function() 71 return Py_BuildValue("i", status); in call_voidarg_function() 77 int status; in call_stringarg_function() local 83 status = func(stringarg); in call_stringarg_function() 84 return Py_BuildValue("i", status); in call_stringarg_function() 90 int status; in call_stringorint_function() local 103 status = func((char*)intarg); in call_stringorint_function() 110 status = func(stringarg); in call_stringorint_function() 112 return Py_BuildValue("i", status); in call_stringorint_function() [all …]
|
/device/linaro/bootloader/arm-trusted-firmware/lib/cpus/ |
D | errata_report.c | 24 # error This image should not be printing errata status 63 void errata_print_msg(unsigned int status, const char *cpu, const char *id) in errata_print_msg() argument 75 assert(status < ARRAY_SIZE(errata_status_str)); in errata_print_msg() 79 msg = errata_status_str[status]; in errata_print_msg() 81 switch (status) { in errata_print_msg()
|