Searched defs:cc (Results 126 - 150 of 247) sorted by relevance

12345678910

/illumos-gate/usr/src/cmd/script/
H A Dscript.c136 int cc; local
141 while ((cc = read(0, ibuf, BUFSIZ)) != 0) {
142 if (cc == -1) {
149 (void) write(master, ibuf, cc);
186 int cc; local
193 cc = read(master, obuf, sizeof (obuf));
194 if (cc <= 0)
196 (void) write(1, obuf, cc);
197 (void) fwrite(obuf, 1, cc, fscript);
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/ftp/
H A Dsecure.c61 int cc, len2 = 0; local
67 cc = write(fd, buf, len);
68 if (cc < 0) {
71 return (cc);
72 } else if (cc == 0) {
75 buf += cc;
76 len2 += cc;
77 len -= cc;
86 int cc, len2 = 0; local
89 cc
[all...]
/illumos-gate/usr/src/cmd/sgs/yacc/common/
H A Dy3.c253 int i, work, cc; local
264 if ((cc = prdptr[i][1] - NTBASE) >= 0) {
265 /* cc is a nonterminal */
266 if (temp1[cc] != 0) {
268 * cc has a goto on c
272 cc = *prdptr[i] - NTBASE;
273 if (temp1[cc] == 0) {
275 temp1[cc] = 1;
282 /* now, we have temp1[c] = 1 if a goto on c in closure of cc */
296 if ((cc
[all...]
/illumos-gate/usr/src/cmd/strings/
H A Dstrings.c191 #if !defined(TEXT_DOMAIN) /* Should be defined by cc -D */
349 int cc; local
352 cc = 0;
355 if (!(cr = dirt(c, cc))) {
356 if (cc >= minlength) {
361 ftell(stdin) - cc - 1);
366 ftell(stdin) - cc - 1);
371 ftell(stdin) - cc - 1);
376 if (cc >= buf_size)
379 buf[cc]
[all...]
/illumos-gate/usr/src/uts/common/syscall/
H A Dcorectl.c72 corectl_content_alloc(core_content_t cc) argument
77 ccp->ccc_content = cc;
/illumos-gate/usr/src/uts/sun4u/sys/
H A Dsmc_if.h75 uint8_t cc; /* if non-SMC, contains MSG type */ member in struct:__anon10260
128 #define SC_MSG_CC(msg) (SC_MSG_HDR(msg).cc)
/illumos-gate/usr/src/lib/smbsrv/libsmbns/common/
H A Dsmbns_ksetpwd.c234 krb5_ccache cc = NULL; local
247 if ((code = krb5_cc_default(ctx, &cc)) != 0) {
255 code = krb5_set_password_using_ccache(ctx, cc, passwd, princ,
258 (void) krb5_cc_close(ctx, cc);
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ping/
H A Dping_aux.c223 check_reply(struct addrinfo *ai_dst, struct msghdr *msg, int cc, argument
294 if ((cc < sizeof (struct ip)) || (cc < hlen + ICMP_MINLEN)) {
296 Printf("packet too short (%d bytes) from %s\n", cc,
302 cc -= hlen;
314 cc_left = cc - ICMP_MINLEN;
326 cc, pr_name((char *)&from->sin_addr,
450 Printf("%d bytes from %s: ", cc,
512 cc, pr_name((char *)&from->sin_addr,
668 Printf("%d bytes from %s: ", cc,
[all...]
H A Dping_aux6.c261 check_reply6(struct addrinfo *ai_dst, struct msghdr *msg, int cc, argument
326 if (cc < ICMP6_MINLEN) {
328 Printf("packet too short (%d bytes) from %s\n", cc,
335 cc_left = cc - ICMP6_MINLEN;
344 cc,
365 cc,
485 Printf("%d bytes from %s: ", cc,
553 cc, pr_name((char *)&from6->sin6_addr,
587 cc,
630 cc,
[all...]
/illumos-gate/usr/src/uts/sparc/fpu/
H A Dfpu_simulator.c178 enum fcc_type cc; local
402 cc = _fp_compare(pfpsd, &us1, &us2, 0);
406 fsr.fcc0 = cc;
409 fsr.fcc1 = cc;
412 fsr.fcc2 = cc;
415 fsr.fcc3 = cc;
424 cc = _fp_compare(pfpsd, &us1, &us2, 1);
428 fsr.fcc0 = cc;
431 fsr.fcc1 = cc;
434 fsr.fcc2 = cc;
[all...]
/illumos-gate/usr/src/cmd/fm/modules/sun4/cpumem-diagnosis/
H A Dcmd_dimm.c110 cmd_case_t *cc = &dimm->dimm_case; local
118 if (cc->cc_cp != NULL) {
119 cmd_case_fini(hdl, cc->cc_cp, destroy);
120 if (cc->cc_serdnm != NULL) {
121 if (fmd_serd_exists(hdl, cc->cc_serdnm) &&
123 fmd_serd_destroy(hdl, cc->cc_serdnm);
124 fmd_hdl_strfree(hdl, cc->cc_serdnm);
/illumos-gate/usr/src/cmd/fm/modules/sun4u/cpumem-diagnosis/
H A Dcmd_oplerr.c137 cmd_case_t *cc, uint8_t cpumask)
193 if (cc->cc_cp != NULL &&
194 fmd_case_solved(hdl, cc->cc_cp)) {
200 if (cc->cc_cp == NULL)
201 cc->cc_cp = cmd_case_create(hdl,
204 if (cc->cc_serdnm != NULL) {
207 cc->cc_serdnm, class);
208 fmd_serd_destroy(hdl, cc->cc_serdnm);
209 fmd_hdl_strfree(hdl, cc->cc_serdnm);
210 cc
134 cmd_opl_ue_cpu(fmd_hdl_t *hdl, fmd_event_t *ep, const char *class, const char *fltname, cmd_ptrsubtype_t ptr, cmd_cpu_t *cpu, cmd_case_t *cc, uint8_t cpumask) argument
[all...]
/illumos-gate/usr/src/boot/lib/libstand/
H A Dprintf.c65 putchar_wrapper(int cc, void *arg) argument
68 putchar(cc);
216 #define PCHAR(c) {int cc=(c); if (func) (*func)(cc, arg); else *d++ = cc; retval++; }
/illumos-gate/usr/src/lib/libsqlite/src/
H A Dtrigger.c488 Trigger *cc = pTable->pTrigger; local
489 while( cc ){
490 if( cc->pNext == pTrigger ){
491 cc->pNext = cc->pNext->pNext;
494 cc = cc->pNext;
496 assert(cc);
/illumos-gate/usr/src/lib/libipadm/common/
H A Dipadm_ngz.c86 long cc; local
129 cc = write(rtsock, &w, w.w_rtm.rtm_msglen);
130 if (cc < 0) {
140 } else if (cc != w.w_rtm.rtm_msglen) {
164 long cc; local
205 cc = write(rtsock, &w, w.w_rtm.rtm_msglen);
206 if (cc < 0) {
216 } else if (cc != w.w_rtm.rtm_msglen) {
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/snowbird/envmond/
H A Dpiclplatmod.c162 uint8_t cc)
167 uint8_t data = cc; /* completion code */
161 send_response2remote_device(uint8_t ipmb_addr, uint8_t cmd, uint8_t reqseq_lun, uint8_t cc) argument
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/snowbird/lib/libctsmc/
H A Dlibctsmc.c57 #define SMC_ERRMSG_ERROR "SMC error, cc = %d, msg_id = %x\n"
60 #define SMC_ERRMSG_IPMI_ERR "SMC IPMI invalid cc:%x, dest = %x\n"
215 uint8_t cc, netfn; local
284 "cc = %x", p, SC_MSG_ID(rsp_pkt), SC_MSG_CMD(rsp_pkt),
289 dbg_print(SMC_ERRMSG_IPMI_ERR, rsp_pkt->hdr.cc,
301 if ((cc = rsp_pkt->data[IPMI_RSP_HDR_LEN-1]) != 0) {
304 cc, req_pkt->data[SMC_CMD_OFFSET]);
/illumos-gate/usr/src/cmd/rexd/
H A Don.c219 int nfds, cc; local
591 cc = read(InOut, buf, sizeof buf);
592 if (cc > 0)
593 write(1, buf, cc);
600 cc = read(Err, buf, sizeof buf);
601 if (cc > 0)
602 write(2, buf, cc);
609 cc = read(0, buf, sizeof buf);
610 if (cc > 0)
611 write(InOut, buf, cc);
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/rdist/
H A Dexpand.c456 int c, cc; local
469 while (cc = *p++) {
470 if (cc == ']') {
475 if (cc == '-') {
479 if (scc == (lc = cc))
482 if (cc == 0) {
543 int c, cc; local
552 while (cc = *p++) {
553 if (cc == ']') {
558 if (cc
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Din.rexecd.c172 int pv[2], cc; local
400 cc = read(pv[0], buf, sizeof (buf));
401 if (cc <= 0) {
405 (void) write(s, buf, cc);
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.routed/
H A Dinput.c116 int cc; local
132 cc = recvmsg(rip_sock, &msg, 0);
133 if (cc == 0)
135 if (cc < 0) {
147 input(&from, ifp, &inbuf.rip, cc);
157 int cc)
181 trace_rip("Recv", "from", from, ifp, rip, cc);
211 if (cc > (int)OVER_MAXPACKETSIZE) {
214 cc-MAXPACKETSIZE, naddr_ntoa(FROM_NADDR));
218 lim = n + (cc
154 input(struct sockaddr_in *from, struct interface *ifp, struct rip *rip, int cc) argument
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/traceroute/
H A Dtraceroute_aux6.c308 int cc; local
356 cc = sendmsg(sndsock, msg6, 0);
358 if (cc < 0 || cc != send_size) {
359 if (cc < 0) {
364 prog, hostname, send_size, cc);
399 check_reply6(struct msghdr *msg, int cc, int seq, uchar_t *type, uchar_t *code) argument
406 int save_cc = cc;
420 if (cc < ICMP6_MINLEN) {
423 cc,
648 print_addr6(uchar_t *buf, int cc, struct sockaddr *from) argument
[all...]
/illumos-gate/usr/src/cmd/mailx/
H A Dcmd2.c267 long lc, cc, t; local
280 lc = cc = 0;
312 cc += wr_charcount;
321 printf("%s %ld/%ld\n", disp, lc, cc);
323 printf("%s binary/%ld\n", disp, cc);
/illumos-gate/usr/src/cmd/rmt/
H A Drmt.c161 ssize_t cc; local
165 #if !defined(TEXT_DOMAIN) /* Should be defined by cc -D */
363 cc = 0;
365 for (i = 0; i < n; i += (size_t)cc) {
366 cc = read(0, &record[i], n - i);
367 if (cc <= 0) {
/illumos-gate/usr/src/cmd/backup/lib/
H A Drmtlib.c278 int n, i, cc; local
297 cc = read(rmtape, buf+i, n - i);
298 if (cc <= 0)
300 i += cc;
324 int n, i, cc; local
341 cc = read(rmtape, buf+i, n - i);
342 if (cc <= 0)
344 i += cc;

Completed in 116 milliseconds

12345678910