/macosx-10.10.1/sudo-73/src/ |
H A D | lbuf.c | 55 #include "lbuf.h" 83 lbuf_init(lbuf, output, indent, continuation) 84 struct lbuf *lbuf; 89 lbuf->output = output; 90 lbuf->continuation = continuation; 91 lbuf->indent = indent; 92 lbuf->cols = get_ttycols(); 93 lbuf->len = 0; 94 lbuf 112 lbuf_append_quoted(struct lbuf *lbuf, const char *set, const char *fmt, ...) argument 175 lbuf_append(struct lbuf *lbuf, const char *fmt, ...) argument [all...] |
H A D | lbuf.h | 25 struct lbuf { struct 36 void lbuf_append __P((struct lbuf *, const char *, ...) __printflike(2, 3)); 37 void lbuf_append_quoted __P((struct lbuf *, const char *, const char *, ...)) __printflike(3, 4); 38 void lbuf_destroy __P((struct lbuf *)); 39 void lbuf_init __P((struct lbuf *, int (*)(const char *), int, const char *)); 40 void lbuf_print __P((struct lbuf *));
|
H A D | parse_args.c | 48 #include "lbuf.h" 332 struct lbuf lbuf; local 356 lbuf_init(&lbuf, fatal ? usage_err : usage_out, ulen, NULL); 358 lbuf_append(&lbuf, "usage: %s%s", getprogname(), uvec[i]); 359 lbuf_print(&lbuf); 361 lbuf_destroy(&lbuf); 380 struct lbuf lbuf; local 384 lbuf_init(&lbuf, usage_ou [all...] |
H A D | parse.c | 47 #include "lbuf.h" 78 static void print_member __P((struct lbuf *, char *, int, int, int)); 79 static int display_bound_defaults __P((int, struct lbuf *)); 275 sudo_file_append_cmnd(cs, tags, lbuf) 278 struct lbuf *lbuf; 284 lbuf_append(lbuf, "ROLE=%s ", cs->role); 286 lbuf_append(lbuf, "TYPE=%s ", cs->type); 289 lbuf_append(lbuf, cs->tags.setenv ? "SETENV: " : "NOSETENV: "); 293 lbuf_append(lbuf, c [all...] |
H A D | sudo_nss.h | 17 struct lbuf; 29 int (*display_defaults) __P((struct sudo_nss *nss, struct passwd *, struct lbuf *)); 30 int (*display_bound_defaults) __P((struct sudo_nss *nss, struct passwd *, struct lbuf *)); 31 int (*display_privs) __P((struct sudo_nss *nss, struct passwd *, struct lbuf *));
|
H A D | ldap.c | 81 #include "lbuf.h" 336 struct passwd *pw, struct lbuf *lbuf)); 338 struct passwd *pw, struct lbuf *lbuf)); 340 struct passwd *pw, struct lbuf *lbuf)); 1622 sudo_ldap_display_defaults(nss, pw, lbuf) 1625 struct lbuf *lbuf; [all...] |
/macosx-10.10.1/bash-94.1.2/bash-3.2/lib/sh/ |
H A D | itos.c | 47 char *p, lbuf[INT_STRLEN_BOUND(intmax_t) + 1]; local 49 p = fmtumax (i, 10, lbuf, sizeof(lbuf), 0); 68 char *p, lbuf[INT_STRLEN_BOUND(uintmax_t) + 1]; local 70 p = fmtumax (i, 10, lbuf, sizeof(lbuf), FL_UNSIGNED);
|
H A D | zcatfd.c | 47 char lbuf[128]; local 52 nr = zread (fd, lbuf, sizeof (lbuf)); 60 else if (zwrite (ofd, lbuf, nr) < 0)
|
H A D | zread.c | 88 static char lbuf[128]; variable 100 nr = zread (fd, lbuf, sizeof (lbuf)); 110 *cp = lbuf[lind++];
|
/macosx-10.10.1/diskdev_cmds-576/fdisk.tproj/ |
H A D | misc.c | 66 char lbuf[100], *cp, *buf; local 69 if (fgets(lbuf, sizeof lbuf, stdin) == NULL) 71 lbuf[strlen(lbuf)-1] = '\0'; 74 buf = lbuf; 88 char lbuf[100], *cp; local 101 if (fgets(lbuf, sizeof lbuf, stdin) == NULL) 103 lbuf[strle [all...] |
/macosx-10.10.1/vim-55/src/ |
H A D | termlib.c | 180 char *lbuf = tbuf; /* lbuf=line buffer */ local 183 while (lbuf < tbuf+buflen && /* There's room and */ 184 fgets(lbuf, (int)(tbuf+buflen-lbuf), termcap)) /* another line */ 186 int llen = strlen(lbuf); 188 if (*lbuf == '#') /* eat comments */ 190 if (lbuf[-1] == ':' && /* and whitespace */ 191 lbuf[0] == '\t' && 192 lbuf[ [all...] |
H A D | tag.c | 68 static int jumpto_tag __ARGS((char_u *lbuf, int forceit, int keep_help)); 70 static int parse_tag_line __ARGS((char_u *lbuf, int is_etag, tagptrs_T *tagp)); 72 static int parse_tag_line __ARGS((char_u *lbuf, tagptrs_T *tagp)); 75 static int parse_match __ARGS((char_u *lbuf, tagptrs_T *tagp)); 1273 char_u *lbuf; /* line buffer */ local 1395 lbuf = alloc(LSIZE); 1404 if (lbuf == NULL || tag_fname == NULL 1627 eof = tag_fgets(lbuf, LSIZE, fp); 1643 eof = tag_fgets(lbuf, LSIZE, fp); 1646 while (!eof && vim_isblankline(lbuf)) [all...] |
/macosx-10.10.1/Libc-1044.1.2/locale/FreeBSD/ |
H A D | ldpart.c | 59 char *lbuf, *p; local 87 if ((lbuf = malloc(bufsize)) == NULL) { 91 (void)strcpy(lbuf, name); 92 p = lbuf + namesize; 116 *locale_buf = lbuf; 127 free(lbuf);
|
/macosx-10.10.1/text_cmds-88/cut/ |
H A D | cut.c | 279 char *lbuf; local 285 while ((lbuf = fgetln(fp, &lbuflen)) != NULL) { 287 if ((clen = mbrlen(lbuf, lbuflen, &mbs)) < 0) { 295 if (clen == 0 || *lbuf == '\n') 312 fwrite(lbuf, 1, clen, stdout); 326 fwrite(lbuf, 1, clen, stdout); 328 lbuf += clen; 380 char *lbuf, *mlbuf; local 384 for (sep = dchar; (lbuf = fgetln(fp, &lbuflen)) != NULL;) { 387 if (*(lbuf [all...] |
/macosx-10.10.1/remote_cmds-47/wall.tproj/ |
H A D | wall.c | 245 char *p, hostname[MAXHOSTNAMELEN], lbuf[256], tmpname[64]; local 274 (void)snprintf(lbuf, sizeof(lbuf), 277 (void)fprintf(fp, "%-79.79s\007\007\r\n", lbuf); 278 (void)snprintf(lbuf, sizeof(lbuf), 281 (void)fprintf(fp, "%-79.79s\r\n", lbuf); 292 while (fgets(lbuf, sizeof(lbuf), stdin)) { 293 for (cnt = 0, p = lbuf; (c [all...] |
/macosx-10.10.1/Heimdal-398.1.2/appl/telnet/libtelnet/ |
H A D | enc_des.c | 447 char lbuf[32]; local 456 snprintf(lbuf, sizeof(lbuf), "%s_IV", type); 457 cp = lbuf; 461 snprintf(lbuf, sizeof(lbuf), "%s_IV_OK", type); 462 cp = lbuf; 466 snprintf(lbuf, sizeof(lbuf), "%s_IV_BAD", type); 467 cp = lbuf; [all...] |
/macosx-10.10.1/OpenSSL098-52/src/fips/dsa/ |
H A D | fips_dssvs.c | 46 char lbuf[10240]; local 52 if (!parse_line(&keyword, &value, lbuf, buf)) 69 char lbuf[1024]; local 75 if (!parse_line(&keyword, &value, lbuf, buf)) 118 char lbuf[1024]; local 129 if (!parse_line(&keyword, &value, lbuf, buf)) 218 char lbuf[1024]; local 230 if (!parse_line(&keyword, &value, lbuf, buf)) 305 char lbuf[1024]; local 311 if (!parse_line(&keyword, &value, lbuf, bu 354 char lbuf[1024]; local 428 char lbuf[1024]; local [all...] |
/macosx-10.10.1/OpenSSL098-52/src/test/ |
H A D | fips_dssvs.c | 46 char lbuf[10240]; local 52 if (!parse_line(&keyword, &value, lbuf, buf)) 69 char lbuf[1024]; local 75 if (!parse_line(&keyword, &value, lbuf, buf)) 118 char lbuf[1024]; local 129 if (!parse_line(&keyword, &value, lbuf, buf)) 218 char lbuf[1024]; local 230 if (!parse_line(&keyword, &value, lbuf, buf)) 305 char lbuf[1024]; local 311 if (!parse_line(&keyword, &value, lbuf, bu 354 char lbuf[1024]; local 428 char lbuf[1024]; local [all...] |
H A D | fips_rngvs.c | 41 char lbuf[1024]; local 56 if (!parse_line(&keyword, &value, lbuf, buf)) 118 char lbuf[1024]; local 134 if (!parse_line(&keyword, &value, lbuf, buf))
|
/macosx-10.10.1/ppp-786.1.1/Family/ |
H A D | ppp_link.c | 443 char lbuf[16], *data; local 453 for(lcount = 0; lcount < sizeof(lbuf); lcount += copycount) { 461 copycount = (count > sizeof(lbuf) - lcount) ? sizeof(lbuf) - lcount : count; 462 bcopy(data, &lbuf[lcount], copycount); 471 IOLog("%02x ", (u_char)lbuf[i]); 473 for( ; i < sizeof(lbuf); i++) { 479 IOLog("%c",(lbuf[i]>=040 && lbuf[i]<=0176)?lbuf[ [all...] |
H A D | ppp_comp.c | 431 char lbuf[16], *data; local 440 for(lcount = 0; lcount < sizeof(lbuf); lcount += copycount) { 448 copycount = (count > sizeof(lbuf) - lcount) ? sizeof(lbuf) - lcount : count; 449 bcopy(data, &lbuf[lcount], copycount); 458 IOLog("%02x ", (u_char)lbuf[i]); 460 for( ; i < sizeof(lbuf); i++) { 466 IOLog("%c",(lbuf[i]>=040 && lbuf[i]<=0176)?lbuf[ [all...] |
/macosx-10.10.1/OpenSSL098-52/src/fips/rand/ |
H A D | fips_rngvs.c | 41 char lbuf[1024]; local 56 if (!parse_line(&keyword, &value, lbuf, buf)) 118 char lbuf[1024]; local 134 if (!parse_line(&keyword, &value, lbuf, buf))
|
/macosx-10.10.1/libtelnet-13/ |
H A D | enc_des.c | 458 char lbuf[32]; local 467 sprintf(lbuf, "%s_IV", type); 468 cp = lbuf; 472 sprintf(lbuf, "%s_IV_OK", type); 473 cp = lbuf; 477 sprintf(lbuf, "%s_IV_BAD", type); 478 cp = lbuf; 482 sprintf(lbuf, " %d (unknown)", data[2]); 483 cp = lbuf; 488 sprintf(lbuf, " [all...] |
/macosx-10.10.1/patch_cmds-17/patch/ |
H A D | inp.c | 136 char *p, *s, lbuf[MAXLINELEN]; local 180 /* Leave room in lbuf for the diff command. */ 181 s = lbuf + 20; 184 (snprintf(s, sizeof lbuf - 20, f, a1, a2, a3), stat(s, &cstat) == 0) 190 snprintf(lbuf, sizeof lbuf, RCSDIFF, filename); 195 snprintf(lbuf, sizeof lbuf, SCCSDIFF, s, filename); 219 if (system(lbuf))
|
/macosx-10.10.1/bash-94.1.2/bash-3.2/examples/loadables/ |
H A D | cut.c | 272 char lbuf[_POSIX2_LINE_MAX + 1]; local 274 for (sep = dchar; fgets(lbuf, sizeof(lbuf), fp);) { 276 for (isdelim = 0, p = lbuf;; ++p) { 286 (void)printf("%s", lbuf); 294 for (field = maxval, p = lbuf; field; --field, ++pos) {
|