/illumos-gate/usr/src/lib/libcurses/screen/ |
H A D | longname.c | 53 char *cp = strrchr(ttytype, '|'); local 55 if (cp) 56 return (++cp);
|
H A D | tgoto.c | 54 char *cp; local 56 cp = tparm_p2(cap, row, col); 57 return (cp);
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | atof.c | 40 atof(const char *cp) argument 42 return (strtod(cp, (char **)NULL));
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/ |
H A D | free_krbhs.c | 39 register char * const *cp; local 41 for (cp = hostlist; *cp; cp++) 42 free(*cp);
|
/illumos-gate/usr/src/lib/libwrap/ |
H A D | percent_m.c | 28 char *cp = ibuf; local 30 while (*bp = *cp) 31 if (*cp == '%' && cp[1] == 'm') { 34 cp += 2; 36 bp++, cp++;
|
/illumos-gate/usr/src/lib/libxcurses/src/libc/mks/ |
H A D | m_strdup.c | 50 char *cp; local 53 if ((cp = m_malloc(len = strlen(s)+1)) == NULL) { 57 return (memcpy(cp, s, len));
|
/illumos-gate/usr/src/lib/libxcurses/src/libc/wide/ |
H A D | m_wcsdup.c | 50 wchar_t *cp; local 54 cp = (wchar_t *)malloc(len = (wcslen(s) + 1) * sizeof(wchar_t)); 55 if (cp == (wchar_t *)NULL) { 58 return ((wchar_t *)memcpy((char *)cp, s, len));
|
/illumos-gate/usr/src/uts/i86pc/os/cpupm/ |
H A D | cpupm_amd.c | 35 cpupm_amd_init(cpu_t *cp) argument 38 (cpupm_mach_state_t *)(cp->cpu_m.mcpu_pm_mach_state);
|
/illumos-gate/usr/src/lib/libxcurses/src/libc/i18n/ |
H A D | m_strmsg.c | 50 char* cp; local 51 int id = (int)strtol(str, &cp, 0); 53 if (cp[0]!='#' || cp[1]!='#') /* no "##" delimiter */ 56 return (m_textmsg(id, &cp[2], ""));
|
/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/ |
H A D | winchn.c | 53 cchar_t *cp; local 61 for (cp = w->_line[w->_cury], x = w->_curx; x < eol; ++x, ++chs) { 62 if ((*chs = __m_cc_chtype(&cp[x])) == (chtype) ERR)
|
H A D | wbkgrnd.c | 60 cchar_t old_bg, *cp; local 70 for (cp = w->_line[y], x = 0; x < w->_maxx; ++x) { 71 old_bg._f = cp->_f; 72 if (__m_cc_compare(cp, &w->_bg, 0)) { 74 *cp = *bg; 77 cp->_at &= ~old_bg._at; 84 cp->_at |= bg->_at | w->_fg._at;
|
H A D | win_wchn.c | 53 cchar_t *cp, null = { 0 }; local 61 for (cp = w->_line[w->_cury], x = w->_curx; x < eol; ++ccs) { 62 *ccs = *cp;
|
H A D | winnwstr.c | 53 cchar_t *cp; local 60 cp = &w->_line[w->_cury][x]; 63 if (n < cp->_n) 67 for (i = 0; i < cp->_n; ++i) 68 *wcs++ = cp->_wc[i];
|
/illumos-gate/usr/src/common/net/dhcp/ |
H A D | ipv4_sum.c | 36 ipv4cksum(uint16_t *cp, uint16_t count) argument 46 sum += (uint_t)*cp++;
|
/illumos-gate/usr/src/cmd/mailx/ |
H A D | usg.local.c | 62 register char *cp; local 67 } else if ((cp = getenv("MAIL")) != NULL) { 69 nstrcpy(mailname, PATHSIZE, cp);
|
/illumos-gate/usr/src/cmd/backup/lib/ |
H A D | memutils.c | 42 void *cp; local 44 cp = malloc(bytes); 45 if (cp == NULL) { 50 return (cp); 58 void *cp; local 60 cp = calloc(nelem, size); 61 if (cp == NULL) { 66 return (cp); 74 void *cp; local 77 cp [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/common/ |
H A D | compat.c | 51 char *cp; local 61 if (cp = defread(DEFAULT_IP_LINE)) 62 *value = strdup(cp);
|
/illumos-gate/usr/src/ucblib/libcurses/ |
H A D | fullname.c | 32 char *cp; local 37 cp = def; /* start of answer */ 39 *cp++ = *bp++; /* copy name over */ 41 *cp = 0; /* zero end of name */
|
H A D | longname.c | 31 char *cp; local 37 cp = def; 39 *cp++ = *bp++; 40 *cp = 0;
|
/illumos-gate/usr/src/uts/common/syscall/ |
H A D | processor_info.c | 49 cpu_t *cp; local 53 if ((cp = cpu_get(cpun)) == NULL) { 57 bcopy(&cp->cpu_type_info, &temp, sizeof (temp));
|
/illumos-gate/usr/src/boot/lib/libstand/ |
H A D | in_cksum.c | 58 u_char *cp = p; local 63 sum += v + *cp++; 66 if (((long)cp & 1) == 0) { 68 sum += *(u_short *)cp; 69 cp += 2; 74 sum += *cp++ << 8; 75 sum += *cp++; 77 sum += *cp++; 78 sum += *cp++ << 8; 84 v = *cp << [all...] |
/illumos-gate/usr/src/lib/libumem/common/ |
H A D | umem_agent_support.c | 37 __umem_agent_free_bp(umem_cache_t *cp, void *buf) argument 41 _umem_cache_free(cp, buf);
|
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/ |
H A D | waddwchn.c | 52 wadd_wchnstr(WINDOW *w, const cchar_t *cp, int n) argument 59 for (x = w->_curx; x < n && cp->_n != 0 && cp->_wc[0] != '\0'; 60 x += width, ++cp) 61 width = __m_cc_replace(w, w->_cury, x, cp, 0);
|
/illumos-gate/usr/src/uts/common/disp/ |
H A D | thread_intr.c | 50 thread_create_intr(cpu_t *cp) argument 66 THREAD_FREEINTR(tp, cp); 74 tp->t_cpu = cp; 75 tp->t_bound_cpu = cp; 76 tp->t_disp_queue = cp->cpu_disp; 95 tp->t_link = cp->cpu_intr_thread; 96 cp->cpu_intr_thread = tp; 105 cpu_intr_alloc(cpu_t *cp, int n) argument 110 thread_create_intr(cp); 112 cp [all...] |
/illumos-gate/usr/src/ucbcmd/biff/ |
H A D | biff.c | 57 char *cp = ttyname(2); local 68 if (cp == 0) { 75 if (stat(cp, &stb) < 0) 76 perror(cp), exit(1); 85 if (chmod(cp, stb.st_mode|0100) < 0) 86 perror(cp); 90 if (chmod(cp, stb.st_mode&~0100) < 0) 91 perror(cp);
|