Lines Matching defs:result
74 HRESULT result;
121 result = (*plugInInterface)->QueryInterface(
129 if (result || !interface) {
131 (unsigned int) result);
234 ERR("could not clear input pipe; result %x, ignoring...\n", kr);
242 ERR("could not clear output pipe; result %x, ignoring....\n", kr);
265 HRESULT result;
281 result = (*plugin)->QueryInterface(plugin,
283 if ((result != 0) || (dev == NULL)) {
284 ERR("Couldn't create a device interface (%08x)\n", (int) result);
384 kern_return_t result;
403 result = IOServiceGetMatchingServices(
406 if (result != 0) {
471 IOReturn result;
492 result = (*h->interface)->ReadPipe(
495 if (result == 0) {
498 ERR("usb_read failed with status %x\n", result);
505 IOReturn result;
526 result = (*h->interface)->WritePipe(
535 result = 0;
540 result = (*h->interface)->WritePipe(
542 if (result != 0) break;
550 if ((result == 0) && (h->zero_mask)) {
553 result = (*h->interface)->WritePipe(
559 if (result != 0) {
560 ERR("usb_write failed with status %x\n", result);