/illumos-gate/usr/src/cmd/script/ |
H A D | script.c | 136 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 D | secure.c | 61 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 D | y3.c | 253 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 D | strings.c | 191 #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 D | corectl.c | 72 corectl_content_alloc(core_content_t cc) argument 77 ccp->ccc_content = cc;
|
/illumos-gate/usr/src/uts/sun4u/sys/ |
H A D | smc_if.h | 75 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 D | smbns_ksetpwd.c | 234 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 D | ping_aux.c | 223 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 D | ping_aux6.c | 261 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 D | fpu_simulator.c | 178 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 D | cmd_dimm.c | 110 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 D | cmd_oplerr.c | 137 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 D | printf.c | 65 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 D | trigger.c | 488 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 D | ipadm_ngz.c | 86 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 D | piclplatmod.c | 162 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 D | libctsmc.c | 57 #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 D | on.c | 219 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 D | expand.c | 456 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 D | in.rexecd.c | 172 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 D | input.c | 116 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 D | traceroute_aux6.c | 308 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 D | cmd2.c | 267 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 D | rmt.c | 161 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 D | rmtlib.c | 278 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;
|