HelenOS sources
cp 88 kernel/arch/sparc64/include/arch/mm/sun4u/tte.h unsigned cp : 1; /**< Cacheable in physically indexed cache. */
cp 64 kernel/arch/sparc64/include/arch/mm/sun4v/tte.h unsigned cp : 1; /**< Cacheable in physically indexed cache. */
cp 112 kernel/arch/sparc64/src/mm/sun4u/tlb.c data.cp = cacheable;
cp 151 kernel/arch/sparc64/src/mm/sun4u/tlb.c data.cp = t->c;
cp 188 kernel/arch/sparc64/src/mm/sun4u/tlb.c data.cp = t->c;
cp 345 kernel/arch/sparc64/src/mm/sun4u/tlb.c d.pfn, d.soft, d.l, d.cp, d.cv, d.e, d.p, d.w, d.g);
cp 110 kernel/arch/sparc64/src/mm/sun4u/tsb.c tte->data.cp = t->c; /* cp as cache in phys.-idxed, c as cacheable */
cp 154 kernel/arch/sparc64/src/mm/sun4u/tsb.c tte->data.cp = t->c;
cp 137 kernel/arch/sparc64/src/mm/sun4v/tlb.c data.cp = cacheable;
cp 172 kernel/arch/sparc64/src/mm/sun4v/tlb.c data.cp = t->c;
cp 199 kernel/arch/sparc64/src/mm/sun4v/tlb.c data.cp = t->c;
cp 110 kernel/arch/sparc64/src/mm/sun4v/tsb.c tte->data.cp = t->c; /* cp as cache in phys.-idxed, c as cacheable */
cp 156 kernel/arch/sparc64/src/mm/sun4v/tsb.c tte->data.cp = t->c; /* cp as cache in phys.-idxed, c as cacheable */
cp 59 kernel/genarch/src/multiboot/multiboot.c const char *cp = end;
cp 62 kernel/genarch/src/multiboot/multiboot.c while (cp != start) {
cp 63 kernel/genarch/src/multiboot/multiboot.c if (*cp == '/') {
cp 64 kernel/genarch/src/multiboot/multiboot.c start = cp + 1;
cp 67 kernel/genarch/src/multiboot/multiboot.c cp--;
cp 344 uspace/app/calculator/calculator.c char *cp;
cp 354 uspace/app/calculator/calculator.c cp = str;
cp 355 uspace/app/calculator/calculator.c while (*cp != '\0') {
cp 356 uspace/app/calculator/calculator.c if (!isdigit(*cp) && *cp != '+' && *cp != '-' &&
cp 357 uspace/app/calculator/calculator.c *cp != '*' && *cp != '/')
cp 359 uspace/app/calculator/calculator.c ++cp;
cp 364 uspace/app/init/init.c const char **cp;
cp 400 uspace/app/init/init.c cp = sys_dirs;
cp 401 uspace/app/init/init.c while (*cp != NULL) {
cp 402 uspace/app/init/init.c rc = vfs_link_path(*cp, KIND_DIRECTORY, NULL);
cp 405 uspace/app/init/init.c NAME, *cp);
cp 409 uspace/app/init/init.c ++cp;
cp 236 uspace/app/sbi/src/builtin/bi_textfile.c char *cp;
cp 265 uspace/app/sbi/src/builtin/bi_textfile.c cp = line_buf;
cp 266 uspace/app/sbi/src/builtin/bi_textfile.c while (*cp != '\0')
cp 267 uspace/app/sbi/src/builtin/bi_textfile.c ++cp;
cp 269 uspace/app/sbi/src/builtin/bi_textfile.c if (cp != line_buf && cp[-1] == '\n')
cp 270 uspace/app/sbi/src/builtin/bi_textfile.c cp[-1] = '\0';
cp 98 uspace/app/sbi/src/program.c char *cp;
cp 122 uspace/app/sbi/src/program.c cp = name_buf;
cp 123 uspace/app/sbi/src/program.c while (*cp != '\0' && *cp != '\n')
cp 124 uspace/app/sbi/src/program.c ++cp;
cp 126 uspace/app/sbi/src/program.c if (*cp == '\n')
cp 127 uspace/app/sbi/src/program.c *cp = '\0';
cp 207 uspace/app/sysinst/sysinst.c const char **cp;
cp 210 uspace/app/sysinst/sysinst.c cp = sys_dirs;
cp 211 uspace/app/sysinst/sysinst.c while (*cp != NULL) {
cp 212 uspace/app/sysinst/sysinst.c rv = asprintf(&path, "%s%s", MOUNT_POINT, *cp);
cp 226 uspace/app/sysinst/sysinst.c ++cp;
cp 542 uspace/app/taskbar/tbsmenu.c char **cp;
cp 545 uspace/app/taskbar/tbsmenu.c cp = cmd->argv;
cp 546 uspace/app/taskbar/tbsmenu.c while (*cp != NULL) {
cp 547 uspace/app/taskbar/tbsmenu.c free(*cp);
cp 548 uspace/app/taskbar/tbsmenu.c ++cp;
cp 565 uspace/app/taskbar/tbsmenu.c char **cp;
cp 570 uspace/app/taskbar/tbsmenu.c cp = cmd->argv;
cp 571 uspace/app/taskbar/tbsmenu.c while (*cp != NULL) {
cp 572 uspace/app/taskbar/tbsmenu.c if (str_cmp(*cp, "%d") == 0) {
cp 574 uspace/app/taskbar/tbsmenu.c free(*cp);
cp 575 uspace/app/taskbar/tbsmenu.c *cp = str_dup(dspec);
cp 576 uspace/app/taskbar/tbsmenu.c if (*cp == NULL)
cp 579 uspace/app/taskbar/tbsmenu.c ++cp;
cp 601 uspace/app/taskbar/tbsmenu.c char **cp;
cp 641 uspace/app/taskbar/tbsmenu.c cp = cmd.argv;
cp 642 uspace/app/taskbar/tbsmenu.c while (*cp != NULL) {
cp 644 uspace/app/taskbar/tbsmenu.c ++cp;
cp 779 uspace/app/trace/trace.c char **cp = argv;
cp 780 uspace/app/trace/trace.c while (*cp)
cp 781 uspace/app/trace/trace.c printf("'%s'\n", *cp++);
cp 216 uspace/app/websrv/websrv.c char *cp = uri + 1;
cp 218 uspace/app/websrv/websrv.c while (*cp != '\0') {
cp 219 uspace/app/websrv/websrv.c char c = *cp++;
cp 1178 uspace/lib/ata/src/ata.c scsi_cdb_inquiry_t *cp = (scsi_cdb_inquiry_t *)cpb;
cp 1187 uspace/lib/ata/src/ata.c cp->op_code = SCSI_CMD_INQUIRY;
cp 1190 uspace/lib/ata/src/ata.c cp->alloc_len = host2uint16_t_be(min(obuf_size, 0xff));
cp 1247 uspace/lib/ata/src/ata.c scsi_cdb_read_12_t cp;
cp 1253 uspace/lib/ata/src/ata.c memset(&cp, 0, sizeof(cp));
cp 1255 uspace/lib/ata/src/ata.c cp.op_code = SCSI_CMD_READ_12;
cp 1256 uspace/lib/ata/src/ata.c cp.lba = host2uint32_t_be(ba);
cp 1257 uspace/lib/ata/src/ata.c cp.xfer_len = host2uint32_t_be(cnt);
cp 1259 uspace/lib/ata/src/ata.c rc = ata_cmd_packet(device, &cp, sizeof(cp), obuf, obuf_size, NULL);
cp 1287 uspace/lib/ata/src/ata.c scsi_cdb_read_toc_t *cp = (scsi_cdb_read_toc_t *)cpb;
cp 1292 uspace/lib/ata/src/ata.c cp->op_code = SCSI_CMD_READ_TOC;
cp 1293 uspace/lib/ata/src/ata.c cp->msf = 0;
cp 1294 uspace/lib/ata/src/ata.c cp->format = 0x01; /* 0x01 = multi-session mode */
cp 1295 uspace/lib/ata/src/ata.c cp->track_sess_no = session;
cp 1296 uspace/lib/ata/src/ata.c cp->alloc_len = host2uint16_t_be(obuf_size);
cp 1297 uspace/lib/ata/src/ata.c cp->control = 0x40; /* 0x01 = multi-session mode (shifted to MSB) */
cp 1319 uspace/lib/c/generic/stdio/scanf.c const char *cp;
cp 1331 uspace/lib/c/generic/stdio/scanf.c cp = fmt;
cp 1332 uspace/lib/c/generic/stdio/scanf.c while (*cp != '\0') {
cp 1333 uspace/lib/c/generic/stdio/scanf.c if (isspace(*cp)) {
cp 1335 uspace/lib/c/generic/stdio/scanf.c rc = vfscanf_match_ws(f, &numchar, &cp);
cp 1342 uspace/lib/c/generic/stdio/scanf.c } else if (*cp == '%') {
cp 1344 uspace/lib/c/generic/stdio/scanf.c rc = vfscanf_cvt(f, &cp, &va, &numchar,
cp 1363 uspace/lib/c/generic/stdio/scanf.c if (c != *cp) {
cp 1368 uspace/lib/c/generic/stdio/scanf.c ++cp;
cp 57 uspace/lib/c/generic/stdio/sstream.c char *cp = (char *)stream->arg;
cp 62 uspace/lib/c/generic/stdio/sstream.c if (*cp == '\0') {
cp 67 uspace/lib/c/generic/stdio/sstream.c bp[nread] = *cp;
cp 69 uspace/lib/c/generic/stdio/sstream.c ++cp;
cp 70 uspace/lib/c/generic/stdio/sstream.c stream->arg = (void *)cp;
cp 607 uspace/lib/c/test/stdio/scanf.c char *cp;
cp 609 uspace/lib/c/test/stdio/scanf.c cp = NULL;
cp 610 uspace/lib/c/test/stdio/scanf.c rc = sscanf("abc", "%m3c", &cp);
cp 612 uspace/lib/c/test/stdio/scanf.c PCUT_ASSERT_NOT_NULL(cp);
cp 613 uspace/lib/c/test/stdio/scanf.c PCUT_ASSERT_TRUE(cp[0] == 'a');
cp 614 uspace/lib/c/test/stdio/scanf.c PCUT_ASSERT_TRUE(cp[1] == 'b');
cp 615 uspace/lib/c/test/stdio/scanf.c PCUT_ASSERT_TRUE(cp[2] == 'c');
cp 616 uspace/lib/c/test/stdio/scanf.c free(cp);
cp 709 uspace/lib/c/test/stdio/scanf.c char *cp;
cp 711 uspace/lib/c/test/stdio/scanf.c rc = sscanf(" abc d", "%ms", &cp);
cp 713 uspace/lib/c/test/stdio/scanf.c PCUT_ASSERT_NOT_NULL(cp);
cp 714 uspace/lib/c/test/stdio/scanf.c PCUT_ASSERT_TRUE(cp[0] == 'a');
cp 715 uspace/lib/c/test/stdio/scanf.c PCUT_ASSERT_TRUE(cp[1] == 'b');
cp 716 uspace/lib/c/test/stdio/scanf.c PCUT_ASSERT_TRUE(cp[2] == 'c');
cp 717 uspace/lib/c/test/stdio/scanf.c PCUT_ASSERT_TRUE(cp[3] == '\0');
cp 718 uspace/lib/c/test/stdio/scanf.c free(cp);
cp 964 uspace/lib/c/test/stdio/scanf.c char *cp;
cp 966 uspace/lib/c/test/stdio/scanf.c cp = NULL;
cp 967 uspace/lib/c/test/stdio/scanf.c rc = sscanf("abcd42", "%m[abcd]", &cp);
cp 969 uspace/lib/c/test/stdio/scanf.c PCUT_ASSERT_NOT_NULL(cp);
cp 970 uspace/lib/c/test/stdio/scanf.c PCUT_ASSERT_TRUE(cp[0] == 'a');
cp 971 uspace/lib/c/test/stdio/scanf.c PCUT_ASSERT_TRUE(cp[1] == 'b');
cp 972 uspace/lib/c/test/stdio/scanf.c PCUT_ASSERT_TRUE(cp[2] == 'c');
cp 973 uspace/lib/c/test/stdio/scanf.c PCUT_ASSERT_TRUE(cp[3] == 'd');
cp 974 uspace/lib/c/test/stdio/scanf.c PCUT_ASSERT_TRUE(cp[4] == '\0');
cp 975 uspace/lib/c/test/stdio/scanf.c free(cp);
cp 93 uspace/lib/gfx/test/coord.c gfx_coord2_t cp;
cp 104 uspace/lib/gfx/test/coord.c gfx_coord2_clip(&p, &rect, &cp);
cp 106 uspace/lib/gfx/test/coord.c PCUT_ASSERT_INT_EQUALS(3, cp.x);
cp 107 uspace/lib/gfx/test/coord.c PCUT_ASSERT_INT_EQUALS(4, cp.y);
cp 114 uspace/lib/gfx/test/coord.c gfx_coord2_t cp;
cp 125 uspace/lib/gfx/test/coord.c gfx_coord2_clip(&p, &rect, &cp);
cp 127 uspace/lib/gfx/test/coord.c PCUT_ASSERT_INT_EQUALS(2, cp.x);
cp 128 uspace/lib/gfx/test/coord.c PCUT_ASSERT_INT_EQUALS(3, cp.y);
cp 135 uspace/lib/gfx/test/coord.c gfx_coord2_t cp;
cp 146 uspace/lib/gfx/test/coord.c gfx_coord2_clip(&p, &rect, &cp);
cp 148 uspace/lib/gfx/test/coord.c PCUT_ASSERT_INT_EQUALS(2, cp.x);
cp 149 uspace/lib/gfx/test/coord.c PCUT_ASSERT_INT_EQUALS(3, cp.y);
cp 71 uspace/lib/gfxfont/src/text.c const char *cp;
cp 80 uspace/lib/gfxfont/src/text.c cp = str;
cp 81 uspace/lib/gfxfont/src/text.c while (*cp != '\0') {
cp 82 uspace/lib/gfxfont/src/text.c rc = gfx_font_search_glyph(font, cp, &glyph, &stradv);
cp 84 uspace/lib/gfxfont/src/text.c ++cp;
cp 90 uspace/lib/gfxfont/src/text.c cp += stradv;
cp 260 uspace/lib/gfxfont/src/text.c const char *cp;
cp 292 uspace/lib/gfxfont/src/text.c cp = str;
cp 293 uspace/lib/gfxfont/src/text.c while (*cp != '\0') {
cp 294 uspace/lib/gfxfont/src/text.c rc = gfx_font_search_glyph(fmt->font, cp, &glyph, &stradv);
cp 296 uspace/lib/gfxfont/src/text.c ++cp;
cp 310 uspace/lib/gfxfont/src/text.c cp += stradv;
cp 374 uspace/lib/gfxfont/src/text.c const char *cp;
cp 397 uspace/lib/gfxfont/src/text.c cp = str;
cp 399 uspace/lib/gfxfont/src/text.c while (*cp != '\0') {
cp 400 uspace/lib/gfxfont/src/text.c rc = gfx_font_search_glyph(fmt->font, cp, &glyph, &stradv);
cp 402 uspace/lib/gfxfont/src/text.c ++cp;
cp 411 uspace/lib/gfxfont/src/text.c cp += stradv;
cp 613 uspace/lib/sif/src/sif.c const char *cp;
cp 618 uspace/lib/sif/src/sif.c cp = str;
cp 619 uspace/lib/sif/src/sif.c while (*cp != '\0') {
cp 620 uspace/lib/sif/src/sif.c if (*cp == '<') {
cp 623 uspace/lib/sif/src/sif.c } else if (*cp == '"') {
cp 627 uspace/lib/sif/src/sif.c if (fputc(*cp, f) == EOF)
cp 631 uspace/lib/sif/src/sif.c ++cp;
cp 649 uspace/lib/sif/src/sif.c const char *cp;
cp 652 uspace/lib/sif/src/sif.c cp = chars;
cp 653 uspace/lib/sif/src/sif.c while (*cp != '\0') {
cp 655 uspace/lib/sif/src/sif.c if (c != *cp)
cp 657 uspace/lib/sif/src/sif.c ++cp;
cp 75 uspace/lib/ui/src/ui.c const char *cp;
cp 83 uspace/lib/ui/src/ui.c cp = ospec;
cp 84 uspace/lib/ui/src/ui.c while (isalpha(*cp))
cp 85 uspace/lib/ui/src/ui.c ++cp;
cp 88 uspace/lib/ui/src/ui.c if (*cp == '@') {
cp 101 uspace/lib/ui/src/ui.c ++cp;
cp 107 uspace/lib/ui/src/ui.c qm = str_chr(cp, '?');
cp 109 uspace/lib/ui/src/ui.c *osvc = str_ndup(cp, qm - cp);
cp 112 uspace/lib/ui/src/ui.c *osvc = str_dup(cp);
cp 120 uspace/lib/ui/src/ui.c cp = qm + 1;
cp 123 uspace/lib/ui/src/ui.c if (str_lcmp(cp, "idev=", str_length("idev=")) == 0) {
cp 124 uspace/lib/ui/src/ui.c cp += str_length("idev=");
cp 126 uspace/lib/ui/src/ui.c rc = str_uint64_t(cp, &endptr, 10, false, &idev_id);
cp 131 uspace/lib/ui/src/ui.c cp = endptr;
cp 135 uspace/lib/ui/src/ui.c if (*cp != '\0') {
HelenOS homepage, sources at GitHub