/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | gethz.c | 50 char *sptr, *cptr; local 55 cptr = sptr; 58 while (*cptr) { 59 if (!isdigit((unsigned char)*cptr)) 61 cptr++;
|
/illumos-gate/usr/src/lib/libbc/libc/stdio/common/ |
H A D | fwrite.c | 56 register unsigned char *cptr, *bufend; local 82 while ((n = bufend - (cptr = iop->_ptr)) <= 0) /* full buf */ 86 (void) memcpy((char *) cptr, ptr, n);
|
H A D | puts.c | 49 register unsigned char *cptr, *bufend; local 57 while ((n = bufend - (cptr = stdout->_ptr)) <= 0) /* full buf */ 60 if ((p = memccpy((char *) cptr, ptr, '\0', n)) != NULL) 61 n = p - (char *) cptr;
|
H A D | fputs.c | 50 unsigned char *cptr, *bufend; local 66 while ((n = bufend - (cptr = iop->_ptr)) <= 0) 70 if ((p = memnulccpy((char *) cptr, ptr, '\n', n)) != NULL) { 79 n = p - (char *) cptr; 103 while ((n = bufend - (cptr = iop->_ptr)) <= 0) 107 if ((p = memccpy((char *) cptr, ptr, '\0', n)) != NULL) 108 n = (p - (char *) cptr) - 1;
|
H A D | scanf.c | 167 unsigned char *aptr, *bptr, *cptr; local 238 cptr = aptr = args[i].a_start; 243 while (*cptr++); 245 cptr = args[i].a_start; 246 for (; bptr != cptr; *aptr++ = *bptr++);
|
/illumos-gate/usr/src/lib/libc/port/stdio/ |
H A D | puts.c | 48 unsigned char *cptr, *bufend; local 67 while ((n = bufend - (cptr = stdout->_ptr)) <= 0) /* full buf */ 85 (void) memcpy(cptr, ptr, len);
|
H A D | fputs.c | 54 unsigned char *cptr, *bufend; local 73 while ((n = bufend - (cptr = iop->_ptr)) <= 0) { 91 (void) memcpy(cptr, ptr, len);
|
/illumos-gate/usr/src/cmd/mail/ |
H A D | main.c | 46 char *cptr, *p; local 210 if (((cptr = getenv("LOGNAME")) != NULL) && 211 (strlen(cptr) != 0)) { 212 (void) strlcpy(my_name, cptr, sizeof (my_name));
|
/illumos-gate/usr/src/boot/sys/boot/arm/at91/bootspi/ |
H A D | env_vars.c | 103 char *cptr; local 106 cptr = &BootCommandSection; 107 for (index = 0; *cptr; index++) { 108 for (j = 0; *cptr; j++) 109 boot_commands[index][j] = *cptr++; 110 cptr++;
|
/illumos-gate/usr/src/lib/libsocket/inet/ |
H A D | link_addr.c | 72 const char *cptr; local 85 cptr = ascaddr; 86 while ((cval = *cptr++) != '\0') {
|
/illumos-gate/usr/src/lib/libmp/common/ |
H A D | mult.c | 77 short *cptr; local 94 cptr = c->val; 100 *cptr++ = (short)(sum & LOWBITS); 106 *cptr = (short)sum; 108 cptr -= alen; 109 cptr++; 115 sum += *aptr++ * bcache + *cptr; 116 *cptr++ = (short)(sum & LOWBITS); 122 *cptr = (short)sum; 124 cptr [all...] |
/illumos-gate/usr/src/uts/common/sys/ |
H A D | ecppsys.h | 53 char *cptr; member in struct:p1284_ioctl_st
|
/illumos-gate/usr/src/cmd/mdb/common/modules/emlxs/ |
H A D | emlxs.c | 354 char *cptr; local 526 cptr = buffer2; 531 cptr = buffer2; 543 *cptr++ = *bptr; 545 *cptr++ = '.'; 609 cptr = buffer2; 614 cptr = buffer2; 626 *cptr++ = *bptr; 628 *cptr++ = '.';
|
/illumos-gate/usr/src/lib/pkcs11/pkcs11_tpm/common/ |
H A D | sess_mgr.c | 1014 void *cptr = data + sizeof (OP_STATE_DATA); local 1015 ENCR_DECR_CONTEXT *ctx = (ENCR_DECR_CONTEXT *)cptr; 1057 void *cptr = data + sizeof (OP_STATE_DATA); local 1058 SIGN_VERIFY_CONTEXT *ctx = (SIGN_VERIFY_CONTEXT *)cptr; 1099 void *cptr = data + sizeof (OP_STATE_DATA); local 1100 DIGEST_CONTEXT *ctx = (DIGEST_CONTEXT *)cptr;
|
/illumos-gate/usr/src/cmd/bnu/ |
H A D | eio.c | 210 char cmsglen[EMESGLEN], *cptr, *erdptr = Erdstash; local 222 cptr = cmsglen + Erdlen; 224 ret = erdblk(cptr, len, fn);
|
/illumos-gate/usr/src/cmd/grpck/ |
H A D | grpck.c | 67 char *cptr; variable 288 while ((cptr = strchr(nptr, ',')) != NULL) { 289 *cptr = NULL; 363 nptr = ++cptr;
|
/illumos-gate/usr/src/lib/storage/libg_fc/common/ |
H A D | io.c | 749 char *cptr; local 774 cptr = strrchr(rootpath, ':'); 775 *cptr = '\0';
|
/illumos-gate/usr/src/uts/sun4u/serengeti/io/ |
H A D | sbdp_mbox.c | 683 char *cptr; local 691 if ((cptr = strstr(opts->copts, "diag=")) != NULL) { 695 cptr += strlen("diag="); 697 if (strncmp(cptr, "off", sizeof ("off")) == 0) { 699 } else if (strncmp(cptr, "init", sizeof ("init")) == 0) { 701 } else if (strncmp(cptr, "quick", sizeof ("quick")) == 0) { 703 } else if (strncmp(cptr, "min", sizeof ("min")) == 0) { 705 } else if (strncmp(cptr, "default", sizeof ("default")) == 0 || 706 strncmp(cptr, "max", sizeof ("max")) == 0) { 708 } else if (strncmp(cptr, "mem [all...] |
/illumos-gate/usr/src/cmd/fm/eversholt/common/ |
H A D | esclex.c | 296 const char *cptr; local 656 cptr = stable(Tok); 657 if (val = lex_s2i_lut_lookup(Rwordslut, cptr)) { 658 return (record(val, cptr)); 660 return (record(ID, cptr));
|
/illumos-gate/usr/src/cmd/sgs/ldprof/common/ |
H A D | profile.c | 482 L_cgarc * cptr, cbucket; local 513 cptr = &Cptr[ndx]; 515 if (cptr->cg_to == 0) { 525 cptr->cg_to = (caddr_t)(to - Lpc); 526 cptr->cg_from = from; 528 cptr->cg_count = 1; 543 while ((cptr->cg_from != from) && 544 (cptr->cg_from != PRF_UNKNOWN)) { 545 if (cptr->cg_next != 0) 546 cptr [all...] |
/illumos-gate/usr/src/lib/nsswitch/mdns/common/ |
H A D | mdns_common.c | 532 char *cptr; local 542 cptr = name + nlen - vdlen; 543 if (strncasecmp(cptr, vptr, vdlen) == 0)
|
/illumos-gate/usr/src/lib/libnsl/rpc/ |
H A D | rpcb_clnt.c | 164 struct address_cache *cptr; local 169 for (cptr = front; cptr != NULL; cptr = cptr->ac_next) { 170 if ((strcmp(cptr->ac_host, host) == 0) && 171 (strcmp(cptr->ac_netid, netid) == 0) && 172 (time(NULL) <= cptr->ac_maxtime)) { 173 return (cptr); 182 struct address_cache *cptr, *prevpt local 209 struct address_cache *ad_cache, *cptr, *prevptr; local [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppdump/ |
H A D | bsd-comp.c | 122 u_short cptr; /* map code to hash table entry */ member in struct:bsd_db::bsd_dict 321 /* hsize = 69001; */ /* and 69001 is too big for cptr */ 399 db->dict[i].cptr = 0; 503 if (db->dict[dictp2->cptr].codem1 == max_ent) 504 db->dict[dictp2->cptr].codem1 = BADCODEM1; 505 dictp2->cptr = hval; 653 dictp = &db->dict[db->dict[finchar].cptr]; 659 incode, finchar, db->dict[finchar].cptr, max_ent); 665 printf("oldcode=0x%x cptr=0x%x codem1=0x%x\n", oldcode, 666 db->dict[finchar].cptr, dict [all...] |
/illumos-gate/usr/src/uts/common/fs/nfs/ |
H A D | nfs_xdr.c | 897 char *cptr; local 982 cptr = (char *)ptr + size; 984 *cptr++ = '\0';
|
/illumos-gate/usr/src/cmd/format/ |
H A D | io.c | 351 char *cptr, *hptr, *sptr; local 360 cptr = str; 371 if (geti64(cptr, iptr, &wild64)) 400 clean_token(buf, cptr);
|