/fuchsia/zircon/kernel/syscalls/ |
H A D | port.cpp | 29 zx_status_t result = up->QueryPolicy(ZX_POL_NEW_PORT); local 30 if (result != ZX_OK) 31 return result; 36 result = PortDispatcher::Create(options, &dispatcher, &rights); 37 if (result != ZX_OK) 38 return result; 42 result = out->make(fbl::move(dispatcher), rights); 45 return result;
|
H A D | profile.cpp | 66 zx_status_t result = local 68 if (result != ZX_OK) 69 return result;
|
H A D | channel.cpp | 63 zx_status_t result = ChannelDispatcher::Create(&mpd0, &mpd1, &rights); local 64 if (result != ZX_OK) 65 return result; 70 result = out0->make(fbl::move(mpd0), rights); 71 if (result == ZX_OK) 72 result = out1->make(fbl::move(mpd1), rights); 73 if (result == ZX_OK) 75 return result; 125 zx_status_t result = up->GetDispatcherWithRights(handle_value, ZX_RIGHT_READ, &channel); local 126 if (result ! [all...] |
H A D | zircon.cpp | 134 zx_status_t result = EventDispatcher::Create(options, &dispatcher, &rights); local 135 if (result == ZX_OK) 136 result = event_out->make(fbl::move(dispatcher), rights); 137 return result; 153 zx_status_t result = EventPairDispatcher::Create(&epd0, &epd1, &rights); local 155 if (result == ZX_OK) 156 result = out0->make(fbl::move(epd0), rights); 157 if (result == ZX_OK) 158 result = out1->make(fbl::move(epd1), rights); 160 return result; 178 zx_status_t result = LogDispatcher::Create(options, &dispatcher, &rights); local [all...] |
H A D | socket.cpp | 38 zx_status_t result = SocketDispatcher::Create(options, &socket0, &socket1, &rights); local 40 if (result == ZX_OK) 41 result = out0->make(fbl::move(socket0), rights); 42 if (result == ZX_OK) 43 result = out1->make(fbl::move(socket1), rights); 44 return result;
|
H A D | task.cpp | 78 zx_status_t result = src.copy_array_from_user(buf, src_len); local 79 if (result != ZX_OK) { 158 zx_status_t result = copy_user_string(_name, name_len, local 160 if (result != ZX_OK) 161 return result; 168 result = get_process(up, process_handle, &process); 169 if (result != ZX_OK) 170 return result; 177 result = ThreadDispatcher::Create(fbl::move(process), options, sp, 179 if (result ! 335 zx_status_t result = up->QueryPolicy(ZX_POL_NEW_PROCESS); local [all...] |
/fuchsia/zircon/system/ulib/zx/ |
H A D | process.cpp | 31 thread* result) const { 32 // Assume |result| and |this| are distinct containers, due to strict 35 value_, koid, rights, result->reset_and_get_address());
|
/fuchsia/zircon/system/utest/kernel-unittests/ |
H A D | kernel-unittests.cpp | 28 ssize_t result = ioctl_dmctl_command(dmctl_fd, &cmd); local 32 // Check result of kernel unit tests. 33 ASSERT_EQ(result, ZX_OK);
|
/fuchsia/zircon/system/ulib/fbl/include/fbl/ |
H A D | alloc_checker.h | 26 void arm(size_t size, bool result);
|
/fuchsia/zircon/system/dev/ethernet/aml-ethernet-s912/ |
H A D | aml-ethernet.cpp | 100 zx_protocol_device_t result; 102 result.version = DEVICE_OPS_VERSION; 103 result.unbind = &DdkUnbind; 104 result.release = &DdkRelease; 105 return result; 109 device_add_args_t result; 111 result.version = DEVICE_ADD_ARGS_VERSION; 112 result.name = "aml-ethernet"; 113 result.ops = ð_device_ops; 114 result [all...] |
/fuchsia/zircon/system/uapp/disk-pave/ |
H A D | pave-utils.cpp | 34 ssize_t result = ioctl_block_get_fifos(fd.get(), fifo.reset_and_get_address()); local 35 if (result < 0) { 37 return static_cast<zx_status_t>(result);
|
/fuchsia/zircon/system/ulib/libzbi/ |
H A D | zbi.c | 18 zbi_result_t result = ZBI_RESULT_OK; local 21 result = ZBI_RESULT_BAD_MAGIC; 23 result = ZBI_RESULT_BAD_VERSION; 26 result = ZBI_RESULT_BAD_CRC; 30 if (state->err != NULL && result != ZBI_RESULT_OK) { 38 return result; 121 zbi_result_t result = cb(entryHeader, entryHeader + 1, cookie); local 123 if (result != ZBI_RESULT_OK) return result; 140 zbi_result_t result local [all...] |
/fuchsia/zircon/system/utest/core/pthread-barrier/ |
H A D | barrier.c | 25 int result = pthread_barrier_wait(&barrier); local 26 if (result == PTHREAD_BARRIER_SERIAL_THREAD) { 29 ASSERT_EQ(result, 0,
|
/fuchsia/zircon/system/dev/misc/cpu-trace/ |
H A D | cpu-trace.c | 49 ssize_t result; local 53 result = cpuperf_ioctl(dev, op, cmd, cmdlen, 57 result = insntrace_ioctl(dev, op, cmd, cmdlen, 62 result = ZX_ERR_INVALID_ARGS; 68 return result;
|
/fuchsia/zircon/system/public/zircon/device/ |
H A D | camera.h | 130 zx_status_t result; member in struct:camera_stream_cmd_set_format_resp 153 zx_status_t result; member in struct:camera_vb_cmd_set_buffer_resp 165 zx_status_t result; member in struct:camera_vb_cmd_start_resp 177 zx_status_t result; member in struct:camera_vb_cmd_stop_resp 192 zx_status_t result; member in struct:camera_vb_cmd_frame_release_resp
|
/fuchsia/zircon/system/ulib/process-launcher/ |
H A D | launcher.cpp | 126 fuchsia_process_LaunchResult* result = builder.New<fuchsia_process_LaunchResult>(); local 128 status = launchpad_go(lp, &result->process, &error_msg); 130 result->status = status; 133 result->error_message.size = len; 134 result->error_message.data = builder.NewArray<char>(len); 135 strncpy(result->error_message.data, error_msg, len); 167 fuchsia_process_CreateWithoutStartingResult* result = builder.New<fuchsia_process_CreateWithoutStartingResult>(); local 172 result->status = status; 174 result->data = builder.New<fuchsia_process_ProcessStartData>(); 175 result [all...] |
/fuchsia/zircon/system/ulib/zx/include/lib/zx/ |
H A D | vmo.h | 29 static zx_status_t create(uint64_t size, uint32_t options, vmo* result); 48 vmo* result) const { 49 // Allow for the caller aliasing |result| to |this|. 53 result->reset(h.release()); 66 zx_status_t replace_as_executable(const handle& vmex, vmo* result) { argument 69 // We store ZX_HANDLE_INVALID to value_ before calling reset on result 70 // in case result == this. 72 result->reset(h);
|
/fuchsia/zircon/system/dev/pci/amlogic-pcie/ |
H A D | aml-pcie-device.cpp | 127 zx_protocol_device_t result; 128 result.version = DEVICE_OPS_VERSION; 129 result.release = aml_pcie_release; 130 return result; 140 device_add_args_t result; 142 result.version = DEVICE_ADD_ARGS_VERSION; 143 result.name = "aml-dw-pcie"; 144 result.ops = &aml_pcie_device_proto, 145 result.props = props; 146 result [all...] |
/fuchsia/zircon/third_party/uapp/dash/src/ |
H A D | arith_yacc.c | 139 intmax_t result; local 144 result = assignment(op, noeval); 148 return result; 275 intmax_t result; local 283 result = assignment(yylex(), noeval); 285 return result; 288 op == ARITH_ASS ? result : 289 do_binop(op - 11, lookupvarint(val.name), result), 0); 294 intmax_t result; local 298 result [all...] |
/fuchsia/zircon/third_party/lib/cortex-strings/src/aarch64/ |
H A D | strcmp.S | 44 /* Parameters and result. */ 47 #define result x0 define 100 sub result, data1, data2, lsr #56 107 the result directly. We can't just subtract the bytes as the 111 cset result, ne 112 cneg result, result, lo 132 sub result, data1, data2, lsr #56 165 sub result, data1, data2
|
/fuchsia/zircon/system/dev/audio/lib/simple-audio-stream/ |
H A D | simple-audio-stream.cpp | 326 resp.result = ZX_ERR_ACCESS_DENIED; 342 resp.result = ZX_ERR_INVALID_ARGS; 351 resp.result = ZX_ERR_INTERNAL; 367 resp.result = ChangeFormat(req); 368 if (resp.result != ZX_OK) { 378 resp.result = ZX_ERR_NO_MEMORY; 393 resp.result = rb_channel_->Activate(&client_rb_channel, 397 if (resp.result != ZX_OK) { 404 if (resp.result == ZX_OK) { 428 resp.result [all...] |
/fuchsia/zircon/kernel/object/ |
H A D | job_dispatcher.cpp | 58 T& children, zx_status_t* result, Fn func) { 74 *result = ZX_OK; 81 *result = ZX_ERR_NO_MEMORY; 92 *result = func(cref); 101 if (*result != ZX_OK) 326 zx_status_t result; local 329 jobs_refs = ForEachChildInLocked(jobs_, &result, [&](fbl::RefPtr<JobDispatcher> job) { 333 proc_refs = ForEachChildInLocked(procs_, &result, [&](fbl::RefPtr<ProcessDispatcher> proc) { 375 zx_status_t result = ZX_OK; local 381 procs_, &result, [ 57 ForEachChildInLocked( T& children, zx_status_t* result, Fn func) argument 414 zx_status_t result; local 436 zx_status_t result; local [all...] |
/fuchsia/zircon/system/ulib/fvm/ |
H A D | fvm.cpp | 65 uint64_t result = data & VPART_MASK; local 66 ZX_DEBUG_ASSERT(result < VPART_MAX); 67 return result; 76 uint64_t result = (data & VSLICE_MASK) >> VPART_BITS; 77 ZX_DEBUG_ASSERT(result < VSLICE_MAX); 78 return result;
|
/fuchsia/zircon/system/ulib/region-alloc/ |
H A D | region-alloc-c-api.cpp | 105 zx_status_t result = alloc.GetRegion(size, alignment, managed_region); local 107 if (result == ZX_OK) { 119 return result; 131 zx_status_t result = alloc.GetRegion(*requested_region, managed_region); local 133 if (result == ZX_OK) { 145 return result;
|
/fuchsia/zircon/kernel/lib/crypto/entropy/ |
H A D | quality_test.cpp | 110 size_t result = collector->DrawEntropy(entropy_buf, entropy_len); local 113 if (result < entropy_len) { 114 printf("entropy-boot-test: source only returned %zu bytes.\n", result); 115 entropy_len = result;
|