/ast/src/lib/libcs/ |
H A D | csrecv.c | 98 struct sockaddr_in nam; local 160 namlen = sizeof(nam); 161 if ((fds[0] = accept(fd, (struct sockaddr*)&nam, &namlen)) >= 0) 167 if (nam.sin_family == AF_UNSPEC) 168 nam.sin_family = AF_UNIX; 170 if (nam.sin_family == AF_UNIX) 214 if (nam.sin_family == AF_INET) 215 id->hid = (unsigned long)nam.sin_addr.s_addr;
|
H A D | csopen.c | 445 struct sockaddr_un nam; local 448 nam.sun_family = AF_UNIX; 449 strcpy(nam.sun_path, path); 450 namlen = sizeof(nam.sun_family) + strlen(path) + 1; 465 if (!connect(fd, (struct sockaddr*)&nam, namlen)) 525 if (!bind(fd, (struct sockaddr*)&nam, namlen))
|
/ast/src/lib/libcmd/ |
H A D | fds.c | 184 char nam[256]; local 328 if (a = (char*)inet_ntop(addr.sin_family, &addr.sin_addr, nam, sizeof(nam)))
|
/ast/src/cmd/nmake/ |
H A D | state.c | 49 sfputr(internal.nam, s1, *s2++); 51 sfputr(internal.nam, s2, s3 ? *s3++ : -1); 53 sfputr(internal.nam, s3, -1); 54 s1 = sfstruse(internal.nam); 254 char* nam; local 271 sfprintf(internal.nam, "(%s)%s", var, rul); 272 r = getrule(sfstruse(internal.nam)); 284 sfprintf(internal.nam, "(%s)%s", var, rul); 285 return getrule(sfstruse(internal.nam)); 294 sfprintf(internal.nam, "( [all...] |
H A D | bind.c | 301 char* nam; local 311 s = (nam = sfstruse(tmp)) + 1; 315 if ((z = getrule(nam)) && (z->dynamic & D_entries)) 461 sfprintf(internal.nam, "%s", gs->name); 463 sfprintf(internal.nam, "%s/%s", state.view[gs->view].root, gs->name); 467 sfprintf(internal.nam, "%s/", internal.pwd); 468 sfprintf(internal.nam, "%s/%s", state.view[gs->view].path, gs->name); 470 if (gs->dirp = opendir(sfstruse(internal.nam))) 513 sfprintf(internal.nam, "%s/%s", state.view[gs->view].root, gs->name); 517 sfprintf(internal.nam, " [all...] |
H A D | make.h | 640 Sfio_t* nam; /* name generation buffer */ member in struct:Internal_s
|
/ast/src/lib/libast/regex/ |
H A D | regcomp.c | 61 unsigned char nam[2]; member in struct:Cchr_s 1451 cc->nam[0] = primary[i]; 1452 mbxfrm(cc->key, cc->nam, COLL_KEY_MAX); 1635 xc = (tc = (Cchr_t*)dtprev(dt, cc)) && !strcasecmp((char*)tc->nam, (char*)cc->nam) ? tc : cc; 1652 if (!strcasecmp((char*)xc->nam, (char*)cc->nam) && (tc = (Cchr_t*)dtnext(dt, cc)))
|
/ast/src/cmd/html/ |
H A D | troff2html.c | 755 nam(int type, register char* name, char* buf, size_t n) function 782 if (!(np = (Num_t*)hashget(state.symbols, nam('n', s, buf, sizeof(buf))))) 803 if (!(sp = (Stream_t*)hashget(state.symbols, nam('s', s, buf, sizeof(buf))))) 987 if (!(mp = (Tag_t*)hashget(state.symbols, nam('.', name, buf, sizeof(buf))))) 2075 if (mp = (Tag_t*)hashget(state.symbols, nam('.', s, buf, sizeof(buf)))) 2085 if (mp = (Tag_t*)hashget(state.symbols, nam('n', s, buf, sizeof(buf)))) 2212 else if (!(xp = (Tag_t*)hashget(state.symbols, nam('n', ap->argv[2], buf, sizeof(buf))))) 2215 hashput(state.symbols, nam('n', ap->argv[1], buf, sizeof(buf)), xp); 2226 else if (!(xp = (Tag_t*)hashget(state.symbols, nam('.', ap->argv[2], buf, sizeof(buf))))) 2229 hashput(state.symbols, nam(' [all...] |