Home
last modified time | relevance | path

Searched refs:status (Results 1 – 25 of 63) sorted by relevance

123

/third_party/uapp/dash/src/
A Dprocess.c82 if (status != ZX_OK) in process_subshell()
83 return status; in process_subshell()
130 *status_out = status; in process_launch()
132 switch (status) { in process_launch()
172 zx_status_t status; in process_await_termination() local
199 if (status != ZX_OK && status != ZX_ERR_TIMED_OUT) { in process_await_termination()
203 status = ZX_OK; in process_await_termination()
224 if (status != ZX_OK) in process_await_termination()
225 return status; in process_await_termination()
229 if (status != ZX_OK) in process_await_termination()
[all …]
A Deval.c162 int status; in evalstring() local
168 status = 0; in evalstring()
174 status = i; in evalstring()
293 status = 0; in evaltree()
354 int status; in evalloop() local
357 status = 0; in evalloop()
392 int status; in evalfor() local
405 status = 0; in evalfor()
473 int status; in evalsubshell() local
504 status = 0; in evalsubshell()
[all …]
A Dmain.c209 if (status != ZX_OK) in evalifsubshell()
210 exit(status); in evalifsubshell()
215 if (status < 0) in evalifsubshell()
216 exit(status); in evalifsubshell()
242 int status = 0; in cmdloop() local
273 status = i; in cmdloop()
284 return status; in cmdloop()
356 int status = 0; in dotcmd() local
367 status = cmdloop(0); in dotcmd()
371 return status; in dotcmd()
[all …]
A Djobs.c383 int status; in restartjob() local
398 ps->status = -1; in restartjob()
404 return status; in restartjob()
418 st = WSTOPSIG(status); in sprint_status()
481 int status = psend[-1].status; in showjob() local
929 ps->status = -1; in forkparent()
1017 int status = -1; in dowait() local
1051 status = (status & 0xff) << 8; in dowait()
1053 sp->status = status; in dowait()
1499 int status; in getstatus() local
[all …]
A Dtrap.c318 int status, last_status; in dotrap() local
323 status = savestatus; in dotrap()
324 last_status = status; in dotrap()
325 if (likely(status < 0)) { in dotrap()
326 status = exitstatus; in dotrap()
327 savestatus = status; in dotrap()
348 exitstatus = status; in dotrap()
/third_party/ulib/musl/sanitizers/
A D__asan_early_init.c26 if (status != ZX_OK) in __asan_early_init()
50 status = _zx_vmar_allocate( in __asan_early_init()
55 if (status != ZX_OK || shadow_addr != info.base) in __asan_early_init()
68 status = _zx_vmo_create(shadow_used_size, 0, &vmo); in __asan_early_init()
69 if (status != ZX_OK) in __asan_early_init()
74 status = _zx_vmar_map( in __asan_early_init()
78 if (status != ZX_OK || shadow_addr != shadow_shadow_size) in __asan_early_init()
81 status = _zx_handle_close(vmo); in __asan_early_init()
82 if (status != ZX_OK) in __asan_early_init()
87 status = _zx_handle_close(shadow_vmar); in __asan_early_init()
[all …]
/third_party/ulib/jemalloc/test/unit/
A Dfork.c31 int status; in TEST_BEGIN() local
35 if (waitpid(pid, &status, 0) == -1) in TEST_BEGIN()
37 if (WIFSIGNALED(status)) { in TEST_BEGIN()
39 "signal %d", WTERMSIG(status)); in TEST_BEGIN()
42 if (WIFEXITED(status)) { in TEST_BEGIN()
43 if (WEXITSTATUS(status) != 0) { in TEST_BEGIN()
46 WEXITSTATUS(status)); in TEST_BEGIN()
/third_party/ulib/musl/src/legacy/
A Derr.c24 _Noreturn void verr(int status, const char* fmt, va_list ap) { in verr() argument
26 exit(status); in verr()
29 _Noreturn void verrx(int status, const char* fmt, va_list ap) { in verrx() argument
31 exit(status); in verrx()
48 _Noreturn void err(int status, const char* fmt, ...) { in err() argument
51 verr(status, fmt, ap); in err()
55 _Noreturn void errx(int status, const char* fmt, ...) { in errx() argument
58 verrx(status, fmt, ap); in errx()
/third_party/ulib/musl/src/mman/
A Dmmap.c46 zx_status_t status = ZX_OK; in __mmap() local
51 status = _zx_object_get_info(_zx_vmar_root_self(), ZX_INFO_VMAR, &info, in __mmap()
53 if (status < 0 || (uintptr_t)start < info.base) { in __mmap()
68 status = _mmap_file(offset, len, zx_options, flags, fd, fd_off, &ptr); in __mmap()
69 if (status < 0) { in __mmap()
75 status = _zx_vmar_map(_zx_vmar_root_self(), zx_options, offset, vmo, fd_off, len, &ptr); in __mmap()
78 if (status < 0) { in __mmap()
85 switch(status) { in __mmap()
A Dmprotect.c15 zx_status_t status = _zx_vmar_protect(_zx_vmar_root_self(), zx_prot, ptr, len); in __mprotect() local
16 if (!status) in __mprotect()
19 switch (status) { in __mprotect()
A Dmunmap.c10 zx_status_t status = _zx_vmar_unmap(_zx_vmar_root_self(), ptr, len); in __munmap() local
11 if (status < 0) { in __munmap()
/third_party/ulib/musl/ldso/
A Ddynlink.c878 return status; in map_library()
881 return status; in map_library()
1086 return status; in map_library()
1428 return status; in load_library()
1975 bootstrap, status, _zx_status_get_string(status)); in __dls3()
2441 call.wr_num_bytes, status, _zx_status_get_string(status)); in loader_svc_rpc()
2469 return status; in loader_svc_rpc()
2476 return status; in loader_svc_rpc()
2549 return status; in dl_clone_loader_service()
2656 return status; in __sanitizer_get_configuration()
[all …]
/third_party/ulib/jemalloc/src/
A Dpages.c73 zx_status_t status = _zx_vmar_allocate(pages_vmar, in fuchsia_pages_map() local
76 if (status != ZX_OK) in fuchsia_pages_map()
88 if (status != ZX_OK) { in fuchsia_pages_map()
166 zx_status_t status = fuchsia_pages_free(addr, size); in pages_unmap()
167 if (status != ZX_OK) in pages_unmap()
173 const char* buf = _zx_status_get_string(status); in pages_unmap()
397 if (status != ZX_OK) in pages_boot()
399 status = _zx_vmo_create(VMAR_SIZE, 0, &pages_vmo); in pages_boot()
400 if (status != ZX_OK) in pages_boot()
402 status = _zx_object_set_property(pages_vmo, ZX_PROP_NAME, MMAP_VMO_NAME, in pages_boot()
[all …]
/third_party/dev/ethernet/e1000/
A Dem_txrx.c102 uint8_t status; in em_dump_rs() local
112 status = txr->tx_base[cur].upper.fields.status; in em_dump_rs()
439 uint8_t status; in em_isc_txd_credits_update() local
446 status = txr->tx_base[cur].upper.fields.status; in em_isc_txd_credits_update()
470 status = txr->tx_base[cur].upper.fields.status; in em_isc_txd_credits_update()
499 rxd->status = 0; in lem_isc_rxd_refill()
558 staterr = rxd->status; in lem_isc_rxd_available()
564 staterr = rxd->status; in lem_isc_rxd_available()
622 u32 status, errors; in lem_isc_rxd_pkt_get() local
631 status = rxd->status; in lem_isc_rxd_pkt_get()
[all …]
A De1000_i210.c93 s32 status = E1000_SUCCESS; in e1000_read_nvm_srrd_i210() local
112 if (status != E1000_SUCCESS) in e1000_read_nvm_srrd_i210()
116 return status; in e1000_read_nvm_srrd_i210()
138 s32 status = E1000_SUCCESS; in e1000_write_nvm_srwr_i210() local
157 if (status != E1000_SUCCESS) in e1000_write_nvm_srwr_i210()
161 return status; in e1000_write_nvm_srwr_i210()
256 status = E1000_SUCCESS; in e1000_read_invm_word_i210()
261 if (status != E1000_SUCCESS) in e1000_read_invm_word_i210()
263 return status; in e1000_read_invm_word_i210()
355 s32 status = E1000_SUCCESS; in e1000_validate_nvm_checksum_i210() local
[all …]
/third_party/lib/acpica/source/os_specific/service_layers/
A Doszircon.cpp62 ACPI_STATUS status = AcpiFindRootPointer(&TableAddress); in AcpiOsGetRootPointer() local
64 if (status != AE_OK) { in AcpiOsGetRootPointer()
145 zx_status_t status = VmAspace::kernel_aspace()->AllocPhysical( in AcpiOsMapMemory() local
153 if (status != ZX_OK) { in AcpiOsMapMemory()
170 zx_status_t status = VmAspace::kernel_aspace()->FreeRegion( in AcpiOsUnmapMemory() local
172 if (status != ZX_OK) { in AcpiOsUnmapMemory()
A Dosfuchsia.cpp148 switch (status) { in thrd_status_to_acpi_status()
216 if (status != AE_OK) { in AcpiOsInitialize()
217 return status; in AcpiOsInitialize()
220 if (status != AE_OK) { in AcpiOsInitialize()
222 return status; in AcpiOsInitialize()
227 if (status != AE_OK) { in AcpiOsInitialize()
228 return status; in AcpiOsInitialize()
266 if (status != AE_OK) { in AcpiOsGetRootPointer()
432 if (status != ZX_OK) { in AcpiOsMapMemory()
733 if (status != AE_OK) { in AcpiOsCreateMutex()
[all …]
/third_party/ulib/musl/src/unistd/
A D_exit.c4 _Noreturn void _exit(int status) { in _exit() argument
5 _Exit(status); in _exit()
/third_party/ulib/musl/src/process/
A Dwait.c3 pid_t wait(int* status) { in wait() argument
4 return waitpid((pid_t)-1, status, 0); in wait()
A Dsystem.c13 int status = 0x7f00, ret; in system() local
37 while (waitpid(pid, &status, 0) < 0 && errno == EINTR) in system()
45 return status; in system()
/third_party/ulib/musl/src/thread/
A Dmtx_trylock.c5 zx_status_t status = sync_mutex_trylock((sync_mutex_t*)&m->__i); in mtx_trylock() local
6 switch (status) { in mtx_trylock()
A Dallocate.c100 zx_status_t status = _zx_vmar_allocate(parent_vmar, in map_block() local
105 if (status != ZX_OK) in map_block()
108 status = _zx_vmar_map(vmar, in map_block()
113 if (status != ZX_OK) in map_block()
118 return status != ZX_OK; in map_block()
157 zx_status_t status = _zx_vmo_create(vmo_size, 0, &vmo); in __allocate_thread() local
158 if (status != ZX_OK) { in __allocate_thread()
/third_party/ulib/musl/pthread/
A Dpthread_create.c59 zx_status_t status = in __pthread_create() local
62 if (status != ZX_OK) in __pthread_create()
86 status = zxr_thread_start(&new->zxr_thread, in __pthread_create()
90 if (status == ZX_OK) { in __pthread_create()
101 status == ZX_ERR_ACCESS_DENIED ? thrd_error : thrd_nomem); in __pthread_create()
107 return status == ZX_ERR_ACCESS_DENIED ? EPERM : EAGAIN; in __pthread_create()
/third_party/ulib/musl/src/env/
A D__libc_start_main.c48 zx_status_t status = zxr_processargs_strings(p->buffer, p->nbytes, in start_main() local
50 if (status != ZX_OK) { in start_main()
103 zx_status_t status = zxr_message_size(bootstrap, &p.nbytes, &p.nhandles); in __libc_start_main() local
104 if (status != ZX_OK) { in __libc_start_main()
111 if (status == ZX_OK) { in __libc_start_main()
112 status = zxr_processargs_read(bootstrap, buffer, p.nbytes, in __libc_start_main()
/third_party/ulib/ngunwind/src/
A Dfuchsia.c56 zx_status_t status = zx_process_read_memory (h, vaddr, ptr, len, &actual); in read_mem() local
57 if (status < 0) in read_mem()
59 Debug (3, "read_mem @0x%" PRIxPTR " FAILED %d\n", vaddr, status); in read_mem()
60 return status; in read_mem()
221 zx_status_t status = read_mem (process, addr, val, sizeof(*val)); in remote_access_mem() local
222 if (status < 0) in remote_access_mem()
242 zx_status_t status = read_mem (process, addr, buf, size); in remote_access_raw_mem() local
243 if (status < 0) in remote_access_raw_mem()
245 Debug (3, "read failed: %d\n", status); in remote_access_raw_mem()

Completed in 48 milliseconds

123