Searched refs:linebuf (Results 1 - 25 of 59) sorted by relevance

123

/macosx-10.10.1/groff-38/groff/src/preproc/eqn/
H A Dmain.cpp68 string linebuf; local
73 while (read_line(fp, &linebuf)) {
74 if (linebuf.length() >= 4
75 && linebuf[0] == '.' && linebuf[1] == 'l' && linebuf[2] == 'f'
76 && (linebuf[3] == ' ' || linebuf[3] == '\n' || compatible_flag)) {
77 put_string(linebuf, stdout);
78 linebuf
132 inline_equation(FILE *fp, string &linebuf, string &str) argument
[all...]
/macosx-10.10.1/dtrace-147/libdwarf/
H A Ddwarf_line2.c71 Dwarf_Line *linebuf; local
73 res = _dwarf_internal_srclines(die, &linebuf, &lcount, /* addrlist=
82 dwarf_srclines_dealloc(dbg, linebuf, lcount);
89 dwarf_srclines_dealloc(dbg, linebuf, lcount);
99 laddrs[i] = linebuf[i]->li_address;
100 loffsets[i] = linebuf[i]->li_addr_line.li_offset;
102 dwarf_srclines_dealloc(dbg, linebuf, lcount);
/macosx-10.10.1/mail_cmds-30/mail/
H A Dfio.c75 char linebuf[LINESIZE], pathbuf[PATHSIZE]; local
107 if (fgets(linebuf, sizeof(linebuf), ibuf) == NULL) {
113 count = strlen(linebuf);
118 if (count >= 2 && linebuf[count - 1] == '\n' &&
119 linebuf[count - 2] == '\r') {
121 linebuf[count - 1] = '\n';
124 (void)fwrite(linebuf, sizeof(*linebuf), count, otf);
128 linebuf[coun
[all...]
H A Dhead.c60 ishead(linebuf)
61 char linebuf[];
66 if (strncmp(linebuf, "From ", 5) != 0)
68 parse(linebuf, &hl, parbuf);
70 fail(linebuf, "No date field");
74 fail(linebuf, "Date field not legal date");
85 fail(linebuf, reason)
86 const char *linebuf, *reason;
92 fprintf(stderr, "\"%s\"\nnot a header because %s\n", linebuf, reason);
H A Daux.c147 char linebuf[LINESIZE]; local
155 if (readline(ibuf, linebuf, LINESIZE) < 0)
158 if ((lc = gethfield(ibuf, linebuf, lc, &colon)) < 0)
160 if ((hfield = ishfield(linebuf, colon, field)) != NULL)
173 gethfield(f, linebuf, rem, colon)
175 char linebuf[];
186 if ((c = readline(f, linebuf, LINESIZE)) <= 0)
188 for (cp = linebuf; isprint((unsigned char)*cp) && *cp != ' ' && *cp != ':';
191 if (*cp != ':' || cp == linebuf)
198 cp = linebuf
532 char linebuf[LINESIZE]; local
[all...]
H A Dcollect.c95 char linebuf[LINESIZE], tempname[PATHSIZE], *cp, getsub; local
185 c = readline(stdin, linebuf, LINESIZE);
199 if (linebuf[0] == '.' && linebuf[1] == '\0' &&
203 if (linebuf[0] != escape || value("interactive") == NULL ||
205 if (putline(collf, linebuf, !longline) < 0)
209 c = linebuf[1];
217 if (putline(collf, &linebuf[1], !longline) < 0)
235 shell(&linebuf[2]);
242 execute(&linebuf[
[all...]
H A Dlex.c211 char linebuf[PATHSIZE+LINESIZE]; /* make very large to handle maximum pathname in commands */ local
245 if (readline(input, &linebuf[n], sizeof(linebuf) - n) < 0) {
250 if ((n = strlen(linebuf)) == 0)
253 if (linebuf[n] != '\\')
255 linebuf[n++] = ' ';
275 if (execute(linebuf, 0))
288 execute(linebuf, contxt)
289 char linebuf[];
308 for (cp = linebuf; isspac
[all...]
/macosx-10.10.1/less-25/less/
H A Dline.c21 static char *linebuf = NULL; /* Buffer which holds the current output line */ variable
22 static char *attr = NULL; /* Extension of linebuf to hold attributes */
31 static int curr; /* Index into linebuf */
85 linebuf = (char *) ecalloc(LINEBUF_SIZE, sizeof(char));
101 char *new_buf = (char *) realloc(linebuf, new_size);
127 memcpy(new_buf, linebuf, size_linebuf * sizeof(char));
130 free(linebuf);
132 linebuf = new_buf;
187 * {{ Since forw_raw_line modifies linebuf, we must
188 * do this first, before storing anything in linebuf
[all...]
/macosx-10.10.1/apache-793/httpd/modules/filters/
H A Dsed0.c210 if (!commands->linebuf) {
211 commands->linebuf = apr_pcalloc(commands->pool, LBSIZE + 1);
214 if (rline(commands, fin, commands->linebuf,
215 (commands->linebuf + LBSIZE + 1)) < 0)
217 if (*commands->linebuf == '#') {
218 if (commands->linebuf[1] == 'n')
222 commands->cp = commands->linebuf;
227 if (rline(commands, fin, commands->linebuf,
228 (commands->linebuf + LBSIZE + 1)) < 0)
231 commands->cp = commands->linebuf;
[all...]
H A Dsed1.c129 grow_buffer(eval->pool, &eval->linebuf, &eval->lspend,
161 unsigned int reqsize = (eval->lspend - eval->linebuf) + len;
185 eval->lspend = eval->linebuf;
266 if (eval->linebuf == NULL) {
268 eval->linebuf = apr_pcalloc(eval->pool, eval->lsize);
278 eval->lspend = eval->linebuf;
319 /* eval->linebuf, eval->holdbuf, eval->genbuf and eval->inar are allocated
433 if (eval->lspend > eval->linebuf) {
564 rv = wline(eval, eval->linebuf, eval->lspend - eval->linebuf);
[all...]
/macosx-10.10.1/procmail-14/procmail/src/
H A Dcomsat.c123 if(!*cslgname||strlen(cslgname)+2>linebuf) /* is $LOGNAME bogus? */
128 strlcat(buf,"@",linebuf); /* start setting up the message */
131 strlcat(buf,buf2,linebuf);
133 strlcat(buf,COMSATxtrsep,linebuf); /* custom seperator */
134 strlcat(buf,p,linebuf); /* where was it delivered? */
/macosx-10.10.1/OpenSSL098-52/src/fips/
H A Dfips_utl.h56 int parse_line(char **pkw, char **pval, char *linebuf, char *olinebuf);
60 int tidy_line(char *linebuf, char *olinebuf);
176 int parse_line(char **pkw, char **pval, char *linebuf, char *olinebuf) argument
179 strcpy(linebuf, olinebuf);
180 keyword = linebuf;
186 p = strchr(linebuf, '=');
262 int tidy_line(char *linebuf, char *olinebuf) argument
265 strcpy(linebuf, olinebuf);
266 keyword = linebuf;
271 p = strchr(linebuf, '
[all...]
/macosx-10.10.1/autofs-246/automountlib/
H A Dns_files.c53 char *linebuf, int linebufsz);
84 char linebuf[LINESZ], lineqbuf[LINESZ]; local
118 rc = read_execout(key, &lp, fname, ml->linebuf, LINESZ);
125 if (lp == NULL || strlen(ml->linebuf) == 0) {
130 unquote(ml->linebuf, ml->lineqbuf);
141 lp = get_line(fp, fname, linebuf, sizeof (linebuf));
195 (void) strcpy(ml->linebuf, lp);
218 char linebuf[LINESZ], lineqbuf[LINESZ]; local
267 rc = read_execoutreaddir(list, fname, linebuf, LINES
366 char linebuf[LINESZ]; local
466 char linebuf[LINESZ]; local
702 read_execoutreaddir(struct dir_entry **list, char *fname, char *linebuf, int linebufsz) argument
[all...]
/macosx-10.10.1/OpenSSL098-52/src/crypto/asn1/
H A Dasn_mime.c102 static int strip_eol(char *linebuf, int *plen);
469 char linebuf[MAX_SMLEN]; local
480 while((len = BIO_read(in, linebuf, MAX_SMLEN)) > 0)
481 BIO_write(out, linebuf, len);
487 while ((len = BIO_gets(in, linebuf, MAX_SMLEN)) > 0)
489 eol = strip_eol(linebuf, &len);
491 BIO_write(out, linebuf, len);
538 char linebuf[MAX_SMLEN]; local
551 while ((len = BIO_gets(bio, linebuf, MAX_SMLEN)) > 0) {
552 state = mime_bound_check(linebuf, le
592 char linebuf[MAX_SMLEN]; local
863 strip_eol(char *linebuf, int *plen) argument
[all...]
/macosx-10.10.1/OpenSSL098-52/src/fips/hmac/
H A Dfips_hmactest.c148 char *linebuf, *olinebuf, *p, *q; local
157 linebuf = OPENSSL_malloc(HMAC_TEST_MAXLINELEN);
159 if (!linebuf || !olinebuf)
169 strcpy(linebuf, olinebuf);
170 keyword = linebuf;
176 p = strchr(linebuf, '=');
287 if (linebuf)
288 OPENSSL_free(linebuf);
/macosx-10.10.1/OpenSSL098-52/src/fips/rsa/
H A Dfips_rsagtest.c149 char *linebuf, *olinebuf, *p, *q; local
159 linebuf = OPENSSL_malloc(RSA_TEST_MAXLINELEN);
161 if (!linebuf || !olinebuf)
167 strcpy(linebuf, olinebuf);
168 keyword = linebuf;
174 p = strchr(linebuf, '=');
297 if (linebuf)
298 OPENSSL_free(linebuf);
H A Dfips_rsastest.c164 char *linebuf, *olinebuf, *p, *q; local
175 linebuf = OPENSSL_malloc(RSA_TEST_MAXLINELEN);
177 if (!linebuf || !olinebuf)
183 strcpy(linebuf, olinebuf);
184 keyword = linebuf;
190 p = strchr(linebuf, '=');
307 if (linebuf)
308 OPENSSL_free(linebuf);
H A Dfips_rsavtest.c169 char *linebuf, *olinebuf, *p, *q; local
179 linebuf = OPENSSL_malloc(RSA_TEST_MAXLINELEN);
181 if (!linebuf || !olinebuf)
187 strcpy(linebuf, olinebuf);
188 keyword = linebuf;
194 p = strchr(linebuf, '=');
301 if (linebuf)
302 OPENSSL_free(linebuf);
/macosx-10.10.1/OpenSSL098-52/src/fips/sha/
H A Dfips_shatest.c148 char *linebuf, *olinebuf, *p, *q; local
156 linebuf = OPENSSL_malloc(SHA_TEST_MAXLINELEN);
158 if (!linebuf || !olinebuf)
165 strcpy(linebuf, olinebuf);
166 keyword = linebuf;
172 p = strchr(linebuf, '=');
283 if (linebuf)
284 OPENSSL_free(linebuf);
/macosx-10.10.1/OpenSSL098-52/src/test/
H A Dfips_hmactest.c148 char *linebuf, *olinebuf, *p, *q; local
157 linebuf = OPENSSL_malloc(HMAC_TEST_MAXLINELEN);
159 if (!linebuf || !olinebuf)
169 strcpy(linebuf, olinebuf);
170 keyword = linebuf;
176 p = strchr(linebuf, '=');
287 if (linebuf)
288 OPENSSL_free(linebuf);
H A Dfips_rsagtest.c149 char *linebuf, *olinebuf, *p, *q; local
159 linebuf = OPENSSL_malloc(RSA_TEST_MAXLINELEN);
161 if (!linebuf || !olinebuf)
167 strcpy(linebuf, olinebuf);
168 keyword = linebuf;
174 p = strchr(linebuf, '=');
297 if (linebuf)
298 OPENSSL_free(linebuf);
H A Dfips_rsastest.c164 char *linebuf, *olinebuf, *p, *q; local
175 linebuf = OPENSSL_malloc(RSA_TEST_MAXLINELEN);
177 if (!linebuf || !olinebuf)
183 strcpy(linebuf, olinebuf);
184 keyword = linebuf;
190 p = strchr(linebuf, '=');
307 if (linebuf)
308 OPENSSL_free(linebuf);
H A Dfips_rsavtest.c169 char *linebuf, *olinebuf, *p, *q; local
179 linebuf = OPENSSL_malloc(RSA_TEST_MAXLINELEN);
181 if (!linebuf || !olinebuf)
187 strcpy(linebuf, olinebuf);
188 keyword = linebuf;
194 p = strchr(linebuf, '=');
301 if (linebuf)
302 OPENSSL_free(linebuf);
H A Dfips_shatest.c148 char *linebuf, *olinebuf, *p, *q; local
156 linebuf = OPENSSL_malloc(SHA_TEST_MAXLINELEN);
158 if (!linebuf || !olinebuf)
165 strcpy(linebuf, olinebuf);
166 keyword = linebuf;
172 p = strchr(linebuf, '=');
283 if (linebuf)
284 OPENSSL_free(linebuf);
/macosx-10.10.1/tidy-15.15/tidy/src/
H A Dpprint.h55 uint *linebuf; member in struct:_TidyPrintImpl

Completed in 155 milliseconds

123