Searched defs:cp (Results 1 - 25 of 446) sorted by relevance

1234567891011>>

/osnet-11/usr/src/lib/libcurses/screen/
H A Dlongname.c53 char *cp = strrchr(ttytype, '|'); local
55 if (cp)
56 return (++cp);
H A Dtgoto.c54 char *cp; local
56 cp = tparm_p2(cap, row, col);
57 return (cp);
H A Dinit_acs.c77 char *cp; local
112 if ((cp = acs_chars) != 0)
113 while (*cp) {
114 to_get = *cp++; /* to get this ... */
115 must_output = *cp++; /* must output this ... */
H A Dslk_set.c62 char *cp, nlab[LABLEN + 1]; local
81 for (cp = nlab + slklen - 1; cp >= nlab; cp--)
82 *cp = ' ';
H A Dwdelch.c59 chtype *cp; local
77 for (cp = end; cp >= temp1; --cp)
78 if (!ISCBIT(*cp))
80 if (cp + _curs_scrwidth[TYPE(*cp)] > end+1)
81 end = cp - 1;
/osnet-11/usr/src/lib/libc/port/gen/
H A Datof.c40 atof(const char *cp) argument
42 return (strtod(cp, (char **)NULL));
H A Dl3.c41 ltol3(char *cp, const long *lp, int n) argument
46 a = cp;
71 l3tol(long *lp, const char *cp, int n) argument
77 b = cp;
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Dfree_krbhs.c40 register char * const *cp; local
44 for (cp = hostlist; *cp; cp++)
45 free(*cp);
/osnet-11/usr/src/lib/libwrap/
H A Dpercent_m.c34 char *cp = ibuf; local
36 while (*bp = *cp)
37 if (*cp == '%' && cp[1] == 'm') {
44 cp += 2;
46 bp++, cp++;
H A Dsetenv.c36 char *cp; local
40 if ((cp = malloc(strlen(name) + strlen(value) + 2)) == 0)
42 sprintf(cp, "%s=%s", name, value);
43 return (putenv(cp));
/osnet-11/usr/src/lib/libxcurses/src/libc/mks/
H A Dm_strdup.c50 char *cp; local
53 if ((cp = m_malloc(len = strlen(s)+1)) == NULL) {
57 return (memcpy(cp, s, len));
/osnet-11/usr/src/lib/libxcurses/src/libc/wide/
H A Dm_wcsdup.c50 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));
/osnet-11/usr/src/lib/libxcurses/src/libc/i18n/
H A Dm_strmsg.c50 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], ""));
/osnet-11/usr/src/lib/libxcurses/src/libc/xcurses/
H A Dwinchn.c53 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 Dwbkgrnd.c60 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 Dwin_wchn.c53 cchar_t *cp, null = { 0 }; local
61 for (cp = w->_line[w->_cury], x = w->_curx; x < eol; ++ccs) {
62 *ccs = *cp;
H A Dwinnwstr.c53 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];
/osnet-11/usr/src/lib/libumem/common/
H A Dumem_agent_support.c37 __umem_agent_free_bp(umem_cache_t *cp, void *buf) argument
41 _umem_cache_free(cp, buf);
/osnet-11/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dwaddwchn.c52 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);
/osnet-11/usr/src/lib/libshell/common/bltins/
H A Dumask.c76 char *cp = mask; local
78 c = strperm(cp,&cp,~flag&0777);
79 if(*cp)
/osnet-11/usr/src/lib/libsocket/inet/
H A Dinet_network.c52 inet_network(const char *cp) argument
63 if (*cp == '0') {
64 if (*++cp == 'x' || *cp == 'X')
65 base = 16, cp++;
69 while ((c = *cp) != NULL) {
74 cp++;
79 cp++;
87 if (*cp == '.') {
88 cp
[all...]
/osnet-11/usr/src/lib/libcmd/common/
H A Dcmdinit.c32 register char* cp; local
50 if (cp = strrchr(argv[0], '/'))
51 cp++;
53 cp = argv[0];
54 error_info.id = cp;
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/et/
H A Derror_message.c39 char *cp; local
46 cp = strerror(offset);
47 if (cp)
48 return cp;
97 for (cp = buffer; *cp; cp++)
100 *cp++ = '0' + offset / 100;
105 *cp++ = '0' + offset / 10;
108 *cp
[all...]
/osnet-11/usr/src/lib/krb5/ss/
H A Dparse.c56 register char **argv, *cp; local
73 cp = line_ptr; /* cp is for output */
90 cp = line_ptr++;
92 argv[argc++] = cp;
98 cp = line_ptr;
106 *cp++ = '\0';
110 *cp++ = '\0';
119 *cp++ = *line_ptr++;
134 *cp
[all...]
/osnet-11/usr/src/cmd/sendmail/db/btree/
H A Dbt_curadj.c37 CURSOR *cp; local
43 cp = (CURSOR *)dbc->internal;
46 (u_int)dbc, (u_int)cp, (u_long)cp->pgno, (u_long)cp->indx,
47 (u_long)cp->dpgno, (u_long)cp->dindx, (u_long)cp->recno);
48 if (F_ISSET(cp, C_DELETED))
73 CURSOR *cp; local
123 CURSOR *cp; local
159 CURSOR *cp; local
199 CURSOR *cp; local
234 CURSOR *cp; local
[all...]

Completed in 95 milliseconds

1234567891011>>