HelenOS sources

code               35 boot/genarch/include/genarch/efi.h #define EFI_ERROR(code) (((sysarg_t) 1 << (sizeof(sysarg_t) * 8 - 1)) | (code))
code              322 boot/generic/src/inflate.c 	uint16_t code = 0;
code              338 boot/generic/src/inflate.c 		code |= get_bits(state, 1);
code              342 boot/generic/src/inflate.c 		if (code < first + count) {
code              344 boot/generic/src/inflate.c 			*symbol = huffman->symbol[index + code - first];
code              352 boot/generic/src/inflate.c 		code <<= 1;
code              261 kernel/arch/ia64/include/arch/register.h 			uint16_t code;
code              109 kernel/genarch/include/genarch/drivers/bcm2835/mbox.h 	ioport32_t code;
code               66 kernel/genarch/src/drivers/bcm2835/mbox.c 	req->buf_hdr.code = MBOX_PROP_CODE_REQ;
code               77 kernel/genarch/src/drivers/bcm2835/mbox.c 	if (req->buf_hdr.code == MBOX_PROP_CODE_RESP_OK) {
code              141 kernel/genarch/src/drivers/bcm2835/mbox.c 	msg->buf_hdr.code = MBOX_PROP_CODE_REQ;
code              151 kernel/genarch/src/drivers/bcm2835/mbox.c 	r = msg->buf_hdr.code == MBOX_PROP_CODE_RESP_OK;
code               82 kernel/generic/include/ddi/irq.h 	irq_code_t *code;
code              208 kernel/generic/src/ipc/irq.c static void code_free(irq_code_t *code)
code              210 kernel/generic/src/ipc/irq.c 	if (code) {
code              211 kernel/generic/src/ipc/irq.c 		ranges_unmap(code->ranges, code->rangecount);
code              212 kernel/generic/src/ipc/irq.c 		free(code->ranges);
code              213 kernel/generic/src/ipc/irq.c 		free(code->cmds);
code              214 kernel/generic/src/ipc/irq.c 		free(code);
code              230 kernel/generic/src/ipc/irq.c 	irq_code_t *code = malloc(sizeof(*code));
code              231 kernel/generic/src/ipc/irq.c 	if (!code)
code              233 kernel/generic/src/ipc/irq.c 	errno_t rc = copy_from_uspace(code, ucode, sizeof(*code));
code              237 kernel/generic/src/ipc/irq.c 	if ((code->rangecount > IRQ_MAX_RANGE_COUNT) ||
code              238 kernel/generic/src/ipc/irq.c 	    (code->cmdcount > IRQ_MAX_PROG_SIZE))
code              241 kernel/generic/src/ipc/irq.c 	ranges = malloc(sizeof(code->ranges[0]) * code->rangecount);
code              244 kernel/generic/src/ipc/irq.c 	rc = copy_from_uspace(ranges, (uintptr_t) code->ranges,
code              245 kernel/generic/src/ipc/irq.c 	    sizeof(code->ranges[0]) * code->rangecount);
code              249 kernel/generic/src/ipc/irq.c 	cmds = malloc(sizeof(code->cmds[0]) * code->cmdcount);
code              252 kernel/generic/src/ipc/irq.c 	rc = copy_from_uspace(cmds, (uintptr_t) code->cmds,
code              253 kernel/generic/src/ipc/irq.c 	    sizeof(code->cmds[0]) * code->cmdcount);
code              257 kernel/generic/src/ipc/irq.c 	rc = code_check(cmds, code->cmdcount);
code              261 kernel/generic/src/ipc/irq.c 	rc = ranges_map_and_apply(ranges, code->rangecount, cmds,
code              262 kernel/generic/src/ipc/irq.c 	    code->cmdcount);
code              266 kernel/generic/src/ipc/irq.c 	code->ranges = ranges;
code              267 kernel/generic/src/ipc/irq.c 	code->cmds = cmds;
code              269 kernel/generic/src/ipc/irq.c 	return code;
code              278 kernel/generic/src/ipc/irq.c 	free(code);
code              304 kernel/generic/src/ipc/irq.c 	code_free(irq->notif_cfg.code);
code              330 kernel/generic/src/ipc/irq.c 	irq_code_t *code;
code              332 kernel/generic/src/ipc/irq.c 		code = code_from_uspace(ucode);
code              333 kernel/generic/src/ipc/irq.c 		if (!code)
code              336 kernel/generic/src/ipc/irq.c 		code = NULL;
code              372 kernel/generic/src/ipc/irq.c 	irq->notif_cfg.code = code;
code              444 kernel/generic/src/ipc/irq.c 	irq_code_t *code = irq->notif_cfg.code;
code              450 kernel/generic/src/ipc/irq.c 	if (!code)
code              453 kernel/generic/src/ipc/irq.c 	for (size_t i = 0; i < code->cmdcount; i++) {
code              454 kernel/generic/src/ipc/irq.c 		uintptr_t srcarg = code->cmds[i].srcarg;
code              455 kernel/generic/src/ipc/irq.c 		uintptr_t dstarg = code->cmds[i].dstarg;
code              457 kernel/generic/src/ipc/irq.c 		switch (code->cmds[i].cmd) {
code              460 kernel/generic/src/ipc/irq.c 			    pio_read_8((ioport8_t *) code->cmds[i].addr);
code              464 kernel/generic/src/ipc/irq.c 			    pio_read_16((ioport16_t *) code->cmds[i].addr);
code              468 kernel/generic/src/ipc/irq.c 			    pio_read_32((ioport32_t *) code->cmds[i].addr);
code              471 kernel/generic/src/ipc/irq.c 			pio_write_8((ioport8_t *) code->cmds[i].addr,
code              472 kernel/generic/src/ipc/irq.c 			    (uint8_t) code->cmds[i].value);
code              475 kernel/generic/src/ipc/irq.c 			pio_write_16((ioport16_t *) code->cmds[i].addr,
code              476 kernel/generic/src/ipc/irq.c 			    (uint16_t) code->cmds[i].value);
code              479 kernel/generic/src/ipc/irq.c 			pio_write_32((ioport32_t *) code->cmds[i].addr,
code              480 kernel/generic/src/ipc/irq.c 			    (uint32_t) code->cmds[i].value);
code              483 kernel/generic/src/ipc/irq.c 			pio_write_8((ioport8_t *) code->cmds[i].addr,
code              487 kernel/generic/src/ipc/irq.c 			pio_write_16((ioport16_t *) code->cmds[i].addr,
code              491 kernel/generic/src/ipc/irq.c 			pio_write_32((ioport32_t *) code->cmds[i].addr,
code              495 kernel/generic/src/ipc/irq.c 			scratch[dstarg] = code->cmds[i].value;
code              499 kernel/generic/src/ipc/irq.c 			    code->cmds[i].value;
code              503 kernel/generic/src/ipc/irq.c 				i += code->cmds[i].value;
code              102 uspace/drv/bus/usb/ehci/hc.c errno_t hc_gen_irq_code(irq_code_t *code, hc_device_t *hcd, const hw_res_list_parsed_t *hw_res, int *irq)
code              104 uspace/drv/bus/usb/ehci/hc.c 	assert(code);
code              116 uspace/drv/bus/usb/ehci/hc.c 	code->ranges = malloc(sizeof(ehci_pio_ranges));
code              117 uspace/drv/bus/usb/ehci/hc.c 	if (code->ranges == NULL)
code              120 uspace/drv/bus/usb/ehci/hc.c 	code->cmds = malloc(sizeof(ehci_irq_commands));
code              121 uspace/drv/bus/usb/ehci/hc.c 	if (code->cmds == NULL) {
code              122 uspace/drv/bus/usb/ehci/hc.c 		free(code->ranges);
code              126 uspace/drv/bus/usb/ehci/hc.c 	code->rangecount = ARRAY_SIZE(ehci_pio_ranges);
code              127 uspace/drv/bus/usb/ehci/hc.c 	code->cmdcount = ARRAY_SIZE(ehci_irq_commands);
code              129 uspace/drv/bus/usb/ehci/hc.c 	memcpy(code->ranges, ehci_pio_ranges, sizeof(ehci_pio_ranges));
code              130 uspace/drv/bus/usb/ehci/hc.c 	code->ranges[0].base = RNGABS(regs);
code              132 uspace/drv/bus/usb/ehci/hc.c 	memcpy(code->cmds, ehci_irq_commands, sizeof(ehci_irq_commands));
code              136 uspace/drv/bus/usb/ehci/hc.c 	code->cmds[0].addr = (void *) &registers->usbsts;
code              137 uspace/drv/bus/usb/ehci/hc.c 	code->cmds[3].addr = (void *) &registers->usbsts;
code              138 uspace/drv/bus/usb/ehci/hc.c 	EHCI_WR(code->cmds[1].value, EHCI_USED_INTERRUPTS);
code              105 uspace/drv/bus/usb/ohci/hc.c errno_t hc_gen_irq_code(irq_code_t *code, hc_device_t *hcd, const hw_res_list_parsed_t *hw_res, int *irq)
code              107 uspace/drv/bus/usb/ohci/hc.c 	assert(code);
code              118 uspace/drv/bus/usb/ohci/hc.c 	code->ranges = malloc(sizeof(ohci_pio_ranges));
code              119 uspace/drv/bus/usb/ohci/hc.c 	if (code->ranges == NULL)
code              122 uspace/drv/bus/usb/ohci/hc.c 	code->cmds = malloc(sizeof(ohci_irq_commands));
code              123 uspace/drv/bus/usb/ohci/hc.c 	if (code->cmds == NULL) {
code              124 uspace/drv/bus/usb/ohci/hc.c 		free(code->ranges);
code              128 uspace/drv/bus/usb/ohci/hc.c 	code->rangecount = ARRAY_SIZE(ohci_pio_ranges);
code              129 uspace/drv/bus/usb/ohci/hc.c 	code->cmdcount = ARRAY_SIZE(ohci_irq_commands);
code              131 uspace/drv/bus/usb/ohci/hc.c 	memcpy(code->ranges, ohci_pio_ranges, sizeof(ohci_pio_ranges));
code              132 uspace/drv/bus/usb/ohci/hc.c 	code->ranges[0].base = RNGABS(regs);
code              134 uspace/drv/bus/usb/ohci/hc.c 	memcpy(code->cmds, ohci_irq_commands, sizeof(ohci_irq_commands));
code              136 uspace/drv/bus/usb/ohci/hc.c 	code->cmds[0].addr = (void *) &registers->interrupt_status;
code              137 uspace/drv/bus/usb/ohci/hc.c 	code->cmds[3].addr = (void *) &registers->interrupt_status;
code              138 uspace/drv/bus/usb/ohci/hc.c 	OHCI_WR(code->cmds[1].value, OHCI_USED_INTERRUPTS);
code              113 uspace/drv/bus/usb/uhci/hc.c errno_t hc_gen_irq_code(irq_code_t *code, hc_device_t *hcd, const hw_res_list_parsed_t *hw_res, int *irq)
code              115 uspace/drv/bus/usb/uhci/hc.c 	assert(code);
code              125 uspace/drv/bus/usb/uhci/hc.c 	code->ranges = malloc(sizeof(uhci_irq_pio_ranges));
code              126 uspace/drv/bus/usb/uhci/hc.c 	if (code->ranges == NULL)
code              129 uspace/drv/bus/usb/uhci/hc.c 	code->cmds = malloc(sizeof(uhci_irq_commands));
code              130 uspace/drv/bus/usb/uhci/hc.c 	if (code->cmds == NULL) {
code              131 uspace/drv/bus/usb/uhci/hc.c 		free(code->ranges);
code              135 uspace/drv/bus/usb/uhci/hc.c 	code->rangecount = ARRAY_SIZE(uhci_irq_pio_ranges);
code              136 uspace/drv/bus/usb/uhci/hc.c 	code->cmdcount = ARRAY_SIZE(uhci_irq_commands);
code              138 uspace/drv/bus/usb/uhci/hc.c 	memcpy(code->ranges, uhci_irq_pio_ranges, sizeof(uhci_irq_pio_ranges));
code              139 uspace/drv/bus/usb/uhci/hc.c 	code->ranges[0].base = RNGABS(regs);
code              141 uspace/drv/bus/usb/uhci/hc.c 	memcpy(code->cmds, uhci_irq_commands, sizeof(uhci_irq_commands));
code              143 uspace/drv/bus/usb/uhci/hc.c 	code->cmds[0].addr = (void *)&registers->usbsts;
code              144 uspace/drv/bus/usb/uhci/hc.c 	code->cmds[3].addr = (void *)&registers->usbsts;
code              336 uspace/drv/bus/usb/xhci/commands.c static void report_error(int code)
code              338 uspace/drv/bus/usb/xhci/commands.c 	if (code < XHCI_TRBC_MAX && trb_codes[code] != NULL)
code              339 uspace/drv/bus/usb/xhci/commands.c 		usb_log_error("Command resulted in error: %s.", trb_codes[code]);
code              357 uspace/drv/bus/usb/xhci/commands.c 	int code = TRB_GET_CODE(*trb);
code              359 uspace/drv/bus/usb/xhci/commands.c 	if (code == XHCI_TRBC_COMMAND_RING_STOPPED) {
code              384 uspace/drv/bus/usb/xhci/commands.c 		if (code != XHCI_TRBC_SUCCESS)
code              385 uspace/drv/bus/usb/xhci/commands.c 			report_error(code);
code              393 uspace/drv/bus/usb/xhci/commands.c 	if (command->_header.cmd == XHCI_CMD_NO_OP && code == XHCI_TRBC_TRB_ERROR)
code              394 uspace/drv/bus/usb/xhci/commands.c 		code = XHCI_TRBC_SUCCESS;
code              396 uspace/drv/bus/usb/xhci/commands.c 	command->status = code;
code              402 uspace/drv/bus/usb/xhci/commands.c 	if (code != XHCI_TRBC_SUCCESS) {
code              403 uspace/drv/bus/usb/xhci/commands.c 		report_error(code);
code              363 uspace/drv/bus/usb/xhci/hc.c errno_t hc_irq_code_gen(irq_code_t *code, xhci_hc_t *hc, const hw_res_list_parsed_t *hw_res, int *irq)
code              365 uspace/drv/bus/usb/xhci/hc.c 	assert(code);
code              373 uspace/drv/bus/usb/xhci/hc.c 	code->ranges = malloc(sizeof(irq_pio_range_t));
code              374 uspace/drv/bus/usb/xhci/hc.c 	if (code->ranges == NULL)
code              377 uspace/drv/bus/usb/xhci/hc.c 	code->cmds = malloc(sizeof(irq_commands));
code              378 uspace/drv/bus/usb/xhci/hc.c 	if (code->cmds == NULL) {
code              379 uspace/drv/bus/usb/xhci/hc.c 		free(code->ranges);
code              383 uspace/drv/bus/usb/xhci/hc.c 	code->rangecount = 1;
code              384 uspace/drv/bus/usb/xhci/hc.c 	code->ranges[0] = (irq_pio_range_t) {
code              389 uspace/drv/bus/usb/xhci/hc.c 	code->cmdcount = ARRAY_SIZE(irq_commands);
code              390 uspace/drv/bus/usb/xhci/hc.c 	memcpy(code->cmds, irq_commands, sizeof(irq_commands));
code              399 uspace/drv/bus/usb/xhci/hc.c 	code->cmds[0].addr = intr0_iman;
code              400 uspace/drv/bus/usb/xhci/hc.c 	code->cmds[1].value = host2xhci(32, 1);
code              401 uspace/drv/bus/usb/xhci/hc.c 	code->cmds[3].addr = usbsts;
code              402 uspace/drv/bus/usb/xhci/hc.c 	code->cmds[4].value = host2xhci(32, XHCI_STATUS_ACK_MASK);
code              403 uspace/drv/bus/usb/xhci/hc.c 	code->cmds[5].addr = usbsts;
code              404 uspace/drv/bus/usb/xhci/hc.c 	code->cmds[6].addr = intr0_iman;
code               70 uspace/drv/bus/usb/xhci/main.c static errno_t hcd_irq_code_gen(irq_code_t *code, hc_device_t *hcd,
code               74 uspace/drv/bus/usb/xhci/main.c 	return hc_irq_code_gen(code, hc, hw_res, irq);
code              212 uspace/drv/hid/atkbd/atkbd.c 		uint8_t code = 0;
code              213 uspace/drv/hid/atkbd/atkbd.c 		rc = chardev_read(kbd->chardev, &code, 1, &nwr, chardev_f_none);
code              220 uspace/drv/hid/atkbd/atkbd.c 		if (code == KBD_SCANCODE_SET_EXTENDED) {
code              224 uspace/drv/hid/atkbd/atkbd.c 			rc = chardev_read(kbd->chardev, &code, 1, &nwr,
code              228 uspace/drv/hid/atkbd/atkbd.c 		} else if (code == KBD_SCANCODE_SET_EXTENDED_SPECIAL) {
code              229 uspace/drv/hid/atkbd/atkbd.c 			rc = chardev_read(kbd->chardev, &code, 1, &nwr,
code              233 uspace/drv/hid/atkbd/atkbd.c 			if (code != 0x14)
code              236 uspace/drv/hid/atkbd/atkbd.c 			rc = chardev_read(kbd->chardev, &code, 1, &nwr,
code              240 uspace/drv/hid/atkbd/atkbd.c 			if (code != 0x77)
code              243 uspace/drv/hid/atkbd/atkbd.c 			rc = chardev_read(kbd->chardev, &code, 1, &nwr,
code              247 uspace/drv/hid/atkbd/atkbd.c 			if (code != 0xe1)
code              250 uspace/drv/hid/atkbd/atkbd.c 			rc = chardev_read(kbd->chardev, &code, 1, &nwr,
code              254 uspace/drv/hid/atkbd/atkbd.c 			if (code != 0xf0)
code              257 uspace/drv/hid/atkbd/atkbd.c 			rc = chardev_read(kbd->chardev, &code, 1, &nwr,
code              261 uspace/drv/hid/atkbd/atkbd.c 			if (code != 0x14)
code              264 uspace/drv/hid/atkbd/atkbd.c 			rc = chardev_read(kbd->chardev, &code, 1, &nwr,
code              268 uspace/drv/hid/atkbd/atkbd.c 			if (code != 0xf0)
code              271 uspace/drv/hid/atkbd/atkbd.c 			rc = chardev_read(kbd->chardev, &code, 1, &nwr,
code              275 uspace/drv/hid/atkbd/atkbd.c 			if (code == 0x77)
code              285 uspace/drv/hid/atkbd/atkbd.c 		if (code == KBD_SCANCODE_KEY_RELEASE) {
code              287 uspace/drv/hid/atkbd/atkbd.c 			rc = chardev_read(kbd->chardev, &code, 1, &nwr,
code              295 uspace/drv/hid/atkbd/atkbd.c 		const unsigned int key = (code < map_size) ? map[code] : 0;
code              300 uspace/drv/hid/atkbd/atkbd.c 			ddf_msg(LVL_WARN, "Unknown scancode: %hhx", code);
code              419 uspace/drv/hid/atkbd/atkbd.c 	uint8_t code = AT_KBD_ENABLE;
code              421 uspace/drv/hid/atkbd/atkbd.c 	rc = chardev_write(kbd->chardev, &code, 1, &bytes);
code              429 uspace/drv/hid/atkbd/atkbd.c 	rc = chardev_read(kbd->chardev, &code, 1, &bytes,
code              431 uspace/drv/hid/atkbd/atkbd.c 	if (rc != EOK || code != AT_KBD_ACK) {
code              433 uspace/drv/hid/atkbd/atkbd.c 		    code);
code              208 uspace/drv/hid/xtkbd/xtkbd.c static errno_t xtkbd_get_code(xt_kbd_t *kbd, uint8_t *code)
code              213 uspace/drv/hid/xtkbd/xtkbd.c 	*code = 0;
code              214 uspace/drv/hid/xtkbd/xtkbd.c 	rc = chardev_read(kbd->chardev, code, 1, &nread, chardev_f_none);
code              220 uspace/drv/hid/xtkbd/xtkbd.c 	ddf_msg(LVL_DEBUG, "Read scancode: 0x%02hhx", *code);
code              238 uspace/drv/hid/xtkbd/xtkbd.c 	uint8_t code;
code              244 uspace/drv/hid/xtkbd/xtkbd.c 		rc = xtkbd_get_code(kbd, &code);
code              249 uspace/drv/hid/xtkbd/xtkbd.c 		if ((code == KBD_ACK) || (code == KBD_RESEND))
code              253 uspace/drv/hid/xtkbd/xtkbd.c 		if (code == KBD_SCANCODE_SET_EXTENDED) {
code              277 uspace/drv/hid/xtkbd/xtkbd.c 		if (code == KBD_SCANCODE_SET_EXTENDED_SPECIAL) {
code              301 uspace/drv/hid/xtkbd/xtkbd.c 		evtype = (code & 0x80) ? KEY_RELEASE : KEY_PRESS;
code              304 uspace/drv/hid/xtkbd/xtkbd.c 		key = (code & 0x7f) < map_size ?
code              305 uspace/drv/hid/xtkbd/xtkbd.c 		    scanmap_simple[code & 0x7f] : 0;
code              310 uspace/drv/hid/xtkbd/xtkbd.c 			ddf_msg(LVL_WARN, "Unknown scancode: %hhx", code);
code              255 uspace/drv/nic/ne2k/dp8390.h 	irq_code_t code;
code              130 uspace/drv/nic/ne2k/ne2k.c 	if (ne2k->code.cmdcount == 0) {
code              153 uspace/drv/nic/ne2k/ne2k.c 		ne2k->code.rangecount = sizeof(ne2k_ranges_prototype) /
code              155 uspace/drv/nic/ne2k/ne2k.c 		ne2k->code.ranges = ne2k_ranges;
code              157 uspace/drv/nic/ne2k/ne2k.c 		ne2k->code.cmdcount = sizeof(ne2k_cmds_prototype) /
code              159 uspace/drv/nic/ne2k/ne2k.c 		ne2k->code.cmds = ne2k_cmds;
code              163 uspace/drv/nic/ne2k/ne2k.c 	    ne2k->irq, ne2k_interrupt_handler, (void *)nic_data, &ne2k->code,
code              174 uspace/drv/nic/ne2k/ne2k.c 			free(ne2k->code.ranges);
code              175 uspace/drv/nic/ne2k/ne2k.c 			free(ne2k->code.cmds);
code              261 uspace/lib/c/arch/ia64/include/libarch/register.h 			uint16_t code;
code              278 uspace/lib/codepage/src/cp437.c char32_t cp437_decode(uint8_t code)
code              280 uspace/lib/codepage/src/cp437.c 	return cp437[code];
code              292 uspace/lib/codepage/src/cp437.c errno_t cp437_encode(char32_t c, uint8_t *code)
code              298 uspace/lib/codepage/src/cp437.c 		*code = 0;
code              323 uspace/lib/codepage/src/cp437.c 	*code = b;
code               39 uspace/lib/codepage/test/cp437.c 	unsigned code;
code               44 uspace/lib/codepage/test/cp437.c 	for (code = 0; code < 256; code++) {
code               45 uspace/lib/codepage/test/cp437.c 		c = cp437_decode(code);
code               48 uspace/lib/codepage/test/cp437.c 		PCUT_ASSERT_EQUALS(code, cdec);
code               55 uspace/lib/codepage/test/cp437.c 	uint8_t code;
code               59 uspace/lib/codepage/test/cp437.c 	rc = cp437_encode(0, &code);
code               61 uspace/lib/codepage/test/cp437.c 	PCUT_ASSERT_EQUALS(0x00, code);
code               64 uspace/lib/codepage/test/cp437.c 	rc = cp437_encode(0x3ff, &code);
code               68 uspace/lib/codepage/test/cp437.c 	rc = cp437_encode(0x400, &code);
code               72 uspace/lib/codepage/test/cp437.c 	rc = cp437_encode(0x1fff, &code);
code               76 uspace/lib/codepage/test/cp437.c 	rc = cp437_encode(0x2000, &code);
code               80 uspace/lib/codepage/test/cp437.c 	rc = cp437_encode(0x26ff, &code);
code               84 uspace/lib/codepage/test/cp437.c 	rc = cp437_encode(0x2700, &code);
code              321 uspace/lib/compress/inflate.c 	uint16_t code = 0;
code              337 uspace/lib/compress/inflate.c 		code |= get_bits(state, 1);
code              341 uspace/lib/compress/inflate.c 		if (code < first + count) {
code              343 uspace/lib/compress/inflate.c 			*symbol = huffman->symbol[index + code - first];
code              351 uspace/lib/compress/inflate.c 		code <<= 1;
code              342 uspace/lib/cpp/include/__bits/system_error.hpp             const error_code& code() const noexcept;
code               79 uspace/lib/cpp/include/__bits/thread/future_common.hpp             const error_code& code() const noexcept;
code               39 uspace/lib/cpp/src/system_error.cpp     error_condition error_category::default_error_condition(int code) const noexcept
code               41 uspace/lib/cpp/src/system_error.cpp         return error_condition{code, *this};
code               44 uspace/lib/cpp/src/system_error.cpp     bool error_category::equivalent(int code, const error_condition& cond) const noexcept
code               46 uspace/lib/cpp/src/system_error.cpp         return default_error_condition(code) == cond;
code              277 uspace/lib/cpp/src/system_error.cpp     system_error::system_error(int code, const error_category& cat,
code              279 uspace/lib/cpp/src/system_error.cpp         : runtime_error{what_arg.c_str()}, code_{code, cat}
code              282 uspace/lib/cpp/src/system_error.cpp     system_error::system_error(int code, const error_category& cat,
code              284 uspace/lib/cpp/src/system_error.cpp         : runtime_error{what_arg}, code_{code, cat}
code              287 uspace/lib/cpp/src/system_error.cpp     system_error::system_error(int code, const error_category& cat)
code              288 uspace/lib/cpp/src/system_error.cpp         : runtime_error{"system_error"}, code_{code, cat}
code              124 uspace/lib/trackmod/protracker.c 	uint32_t code;
code              126 uspace/lib/trackmod/protracker.c 	code = uint32_t_be2host(cdata);
code              127 uspace/lib/trackmod/protracker.c 	cell->period = (code >> (4 * 4)) & 0xfff;
code              128 uspace/lib/trackmod/protracker.c 	cell->instr = (((code >> (7 * 4)) & 0xf) << 4) |
code              129 uspace/lib/trackmod/protracker.c 	    ((code >> (3 * 4)) & 0xf);
code              130 uspace/lib/trackmod/protracker.c 	cell->effect = code & 0xfff;
code              137 uspace/lib/usbhost/src/hcd.c static inline void irq_code_clean(irq_code_t *code)
code              139 uspace/lib/usbhost/src/hcd.c 	if (code) {
code              140 uspace/lib/usbhost/src/hcd.c 		free(code->ranges);
code              141 uspace/lib/usbhost/src/hcd.c 		free(code->cmds);
code              142 uspace/lib/usbhost/src/hcd.c 		code->ranges = NULL;
code              143 uspace/lib/usbhost/src/hcd.c 		code->cmds = NULL;
code              144 uspace/lib/usbhost/src/hcd.c 		code->rangecount = 0;
code              145 uspace/lib/usbhost/src/hcd.c 		code->cmdcount = 0;
code              275 uspace/srv/hid/input/input.c 				keycode_t code = dz > 0 ? KC_UP : KC_DOWN;
code              280 uspace/srv/hid/input/input.c 					    KEY_PRESS, code, 0, 0);
code              283 uspace/srv/hid/input/input.c 				    0 /* XXX kbd_id */, code, 0, 0);
code               56 uspace/srv/hid/remcons/telnet.h #define TELNET_IS_OPTION_CODE(code) (((code) >= 251) && ((code) <= 254))
code              101 uspace/srv/net/inetsrv/icmp.c 	reply->code = 0;
code              153 uspace/srv/net/inetsrv/icmp.c 	request->code = 0;
code               58 uspace/srv/net/inetsrv/icmp_std.h 	uint8_t code;
code               75 uspace/srv/net/inetsrv/icmpv6.c 	reply->code = 0;
code              169 uspace/srv/net/inetsrv/icmpv6.c 	request->code = 0;
code               75 uspace/srv/net/inetsrv/icmpv6_std.h 	uint8_t code;
code              491 uspace/srv/net/inetsrv/pdu.c 	icmpv6->code = 0;
HelenOS homepage, sources at GitHub