Lines Matching refs:cp
207 struct copyresp *cp = (struct copyresp *)mp->b_rptr;
262 cp->cp_private = mp1;
263 cp->cp_rval = NULL;
317 struct copyresp *cp = (struct copyresp *)cq;
327 if ((int)(uintptr_t)cp->cp_rval || !mp1->b_cont) {
328 mi_copy_done(q, mp, (int)(uintptr_t)cp->cp_rval);
444 struct copyresp *cp = (struct copyresp *)iocp;
448 mp->b_cont = cp->cp_private;
456 if ((int)(uintptr_t)cp->cp_rval) {
457 mi_copy_done(q, mp, (int)(uintptr_t)cp->cp_rval);
957 const char *cp = str;
959 while (*cp != '\0')
960 cp++;
961 return ((int)(cp - str));
971 char *cp;
984 cp = buf;
985 count = mi_iprintf(fmt, ap, mi_sprintf_noop, (char *)&cp);
994 cp = alloc_buf;
995 count = mi_iprintf(fmt, ap, mi_sprintf_putc, (char *)&cp);
997 (void) mi_sprintf_putc((char *)&cp, '\0');
1011 const char *cp;
1016 cp = str;
1017 while (*cp == ' ' || *cp == '\t' || *cp == '\n')
1018 cp++;
1019 is_negative = (*cp == '-');
1021 cp++;
1024 if (*cp == '0') {
1026 cp++;
1027 if (*cp == 'x' || *cp == 'X') {
1029 cp++;
1034 for (; *cp != '\0'; cp++) {
1035 if (*cp >= '0' && *cp <= '9')
1036 digits = *cp - '0';
1037 else if (*cp >= 'a' && *cp <= 'f')
1038 digits = *cp - 'a' + 10;
1039 else if (*cp >= 'A' && *cp <= 'F')
1040 digits = *cp - 'A' + 10;
1049 *ptr = (char *)cp;