Searched defs:fp (Results 151 - 175 of 1010) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/lib/print/libpapi-common/common/
H A Duri.c243 uri_dump(FILE *fp, uri_t *uri) argument
246 fprintf(fp, "URI:\n");
248 fprintf(fp, "scheme: %s\n", uri->scheme);
250 fprintf(fp, "scheme_part: %s\n", uri->scheme_part);
252 fprintf(fp, "user: %s\n", uri->user);
254 fprintf(fp, "password: %s\n", uri->password);
256 fprintf(fp, "host: %s\n", uri->host);
258 fprintf(fp, "port: %s\n", uri->port);
260 fprintf(fp, "path: %s\n", uri->path);
262 fprintf(fp, "fragmen
[all...]
/illumos-gate/usr/src/lib/libshell/common/sh/
H A Dfcin.c142 extern void fcsave(Fcin_t *fp) argument
144 *fp = _Fcin;
148 extern void fcrestore(Fcin_t *fp) argument
150 _Fcin = *fp;
H A Dtdump.c160 struct fornod *fp; local
164 fp=0;
167 fp=(struct fornod*)arg->argchn.ap;
168 n = strlen(fp->fornam)+1;
171 if(fp)
174 outstring(outfile,fp->fornam,n-1);
179 if(fp)
181 sfputu(outfile,fp->fortyp);
182 p_tree(fp->fortre);
/illumos-gate/usr/src/lib/libslp/clib/
H A Dslp_config.c50 * Reads from fp and dynamically reallocates the buffer if necessary.
53 static int super_fgets(char **buf, size_t *bufsize, FILE *fp) { argument
60 r = fgets(p, (int)real_bufsize, fp);
61 if (feof(fp) && !r)
97 FILE *fp; local
101 fp = NULL;
103 fp = fopen(cfile, "rF");
104 if (!fp)
105 if (!(fp = fopen(SLP_DEFAULT_CONFIG_FILE, "rF"))) {
113 (void) fclose(fp);
[all...]
/illumos-gate/usr/src/lib/libdtrace/common/
H A Ddt_work.c249 dtrace_work(dtrace_hdl_t *dtp, FILE *fp, argument
294 if (dtrace_consume(dtp, fp, pfunc, rfunc, arg) == -1)
/illumos-gate/usr/src/lib/libfsmgt/common/
H A Dfs_shares.c88 FILE *fp; local
93 if ((fp = fopen(SHARETAB, "r")) != NULL) {
97 while (getshare(fp, &sharetab_entry) > 0) {
106 (void) fclose(fp);
118 } /* while (getshare(fp, &sharetab_entry) != 0) */
120 (void) fclose(fp);
123 } /* if ((fp = fopen(SHARETAB, "r")) != NULL) */
/illumos-gate/usr/src/lib/libwrap/
H A Drfc931.c55 FILE *fp; local
61 if ((fp = fdopen(s, "r+")) == 0) {
65 return (fp);
92 FILE *fp; local
106 if ((fp = fsocket(SGFAM(rmt_sin), SOCK_STREAM, 0)) != 0) {
107 setbuf(fp, (char *) 0);
146 if (bind(fileno(fp), (struct sockaddr *) &our_query_sin,
148 connect(fileno(fp), (struct sockaddr *) &rmt_query_sin,
157 fprintf(fp, "%u,%u\r\n",
160 fflush(fp);
[all...]
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dgetwin.c54 get_cc(WINDOW *w, char *mbs, FILE *fp) argument
60 if (fscanf(fp, "%d,%d,%hx,%hd,", &y, &x, &at, &co) < 4)
63 if (fscanf(fp, "%[^\n]%n ", mbs, &n) < 1)
78 getwin(FILE *fp) argument
86 if (fscanf(fp, "MAX=%d,%d BEG=%d,%d ", &my, &mx, &by, &bx) < 4)
96 by = fscanf(fp,
106 by = fscanf(fp, "BG=%hx,%hd,%[^\n] ", &w->_bg._at, &w->_bg._co, mbs);
110 while (get_cc(w, mbs, fp))
113 if (fscanf(fp, "CUR=%hd,%hd", &w->_cury, &w->_curx) < 2)
124 rewind(fp);
130 put_cc(WINDOW *w, int y, int x, char *mbs, int len, FILE *fp) argument
163 putwin(WINDOW *w, FILE *fp) argument
[all...]
/illumos-gate/usr/src/lib/libproc/common/
H A DPstack.c48 * detecting when there is a stack loop (the %fp has been seen before).
51 stack_loop(prgreg_t fp, prgreg_t **prevfpp, int *nfpp, uint_t *pfpsizep) argument
59 if (fp == prevfp[i])
74 prevfp[nfp++] = fp;
152 * %fp + sizeof (struct frame) == oldcontext
/illumos-gate/usr/src/lib/libbsm/common/
H A Dadrf.c42 adrf_start(adrf_t *adrf, adr_t *adr, FILE *fp) argument
44 adrf->adrf_fp = fp;
/illumos-gate/usr/src/lib/libc/amd64/threads/
H A Dmachdep.c42 uint64_t fp; member in struct:__anon2849
60 frame.fp = 0;
/illumos-gate/usr/src/lib/libc/port/locale/
H A Dwcscoll.c82 wchar_t *bp, *fp, c; local
86 fp = tr1 + wcslen(tr1) - 1;
87 while (bp < fp) {
89 *bp++ = *fp;
90 *fp-- = c;
95 fp = tr2 + wcslen(tr2) - 1;
96 while (bp < fp) {
98 *bp++ = *fp;
99 *fp-- = c;
/illumos-gate/usr/src/lib/libcmd/common/
H A Dfold.c173 register Sfio_t *fp; local
229 fp = sfstdin;
230 else if(!(fp = sfopen(NiL,cp,"r")))
236 fold(fp,sfstdout,width,cont,contsize,cols);
237 if(fp!=sfstdin)
238 sfclose(fp);
H A Dtee.c71 tee_write(Sfio_t* fp, const void* buf, size_t n, Sfdisc_t* handle) argument
76 register int fd = sffileno(fp);
H A Dvmstate.c67 key(void* handle, Sffmt_t* fp, const char* arg, char** ps, Sflong_t* pn) argument
72 if (!(s = fp->t_str) || streq(s, "size"))
/illumos-gate/usr/src/lib/libgss/
H A Dg_utils.c64 FILE *fp; local
78 fp = fopen(QOP_NUM_FILE, "rF");
79 if (fp == (FILE *)0) {
90 while (!feof(fp)) {
91 line = fgets(buf, BUFLEN, fp);
157 (void) fclose(fp);
/illumos-gate/usr/src/lib/libinstzones/common/
H A Dzones_lofs.c62 FILE *fp; local
70 fp = fopen(MNTTAB, "r");
71 if (fp == NULL) {
81 while (getmntent(fp, &ent) == 0) {
101 (void) fclose(fp);
/illumos-gate/usr/src/cmd/vi/port/
H A Dex_unix.c51 unsigned char *up, *fp; local
121 fp = puxb;
122 if (*fp == 0) {
129 while (*fp) {
132 *up++ = *fp++;
144 fp = puxb;
145 if (*fp == 0) {
152 while (*fp) {
155 *up++ = *fp++;
173 fp
[all...]
/illumos-gate/usr/src/common/ctf/
H A Dctf_hash.c95 ctf_hash_insert(ctf_hash_t *hp, ctf_file_t *fp, ushort_t type, uint_t name) argument
97 ctf_strs_t *ctsp = &fp->ctf_str[CTF_NAME_STID(name)];
132 ctf_hash_define(ctf_hash_t *hp, ctf_file_t *fp, ushort_t type, uint_t name) argument
134 const char *str = ctf_strptr(fp, name);
135 ctf_helem_t *hep = ctf_hash_lookup(hp, fp, str, strlen(str));
138 return (ctf_hash_insert(hp, fp, type, name));
145 ctf_hash_lookup(ctf_hash_t *hp, ctf_file_t *fp, const char *key, size_t len) argument
156 ctsp = &fp->ctf_str[CTF_NAME_STID(hep->h_name)];
H A Dctf_labels.c32 extract_label_info(ctf_file_t *fp, const ctf_lblent_t **ctl, uint_t *num_labels) argument
39 if (fp->ctf_version < CTF_VERSION_2)
40 return (ctf_set_errno(fp, ECTF_NOTSUP));
42 h = (const ctf_header_t *)fp->ctf_data.cts_data;
45 *ctl = (const ctf_lblent_t *)(fp->ctf_buf + h->cth_lbloff);
55 ctf_label_topmost(ctf_file_t *fp) argument
61 if (extract_label_info(fp, &ctlp, &num_labels) == CTF_ERR)
65 (void) ctf_set_errno(fp, ECTF_NOLABELDATA);
69 if ((s = ctf_strraw(fp, (ctlp + num_labels - 1)->ctl_label)) == NULL)
70 (void) ctf_set_errno(fp, ECTF_CORRUP
80 ctf_label_iter(ctf_file_t *fp, ctf_label_f *func, void *arg) argument
138 ctf_label_info(ctf_file_t *fp, const char *lname, ctf_lblinfo_t *linfo) argument
[all...]
H A Dctf_util.c99 ctf_strraw(ctf_file_t *fp, uint_t name) argument
101 ctf_strs_t *ctsp = &fp->ctf_str[CTF_NAME_STID(name)];
111 ctf_strptr(ctf_file_t *fp, uint_t name) argument
113 const char *s = ctf_strraw(fp, name);
148 ctf_set_errno(ctf_file_t *fp, int err) argument
150 fp->ctf_errno = err;
/illumos-gate/usr/src/common/net/wanboot/
H A Dp12access.c358 FILE *fp = NULL; local
369 if ((fp = fopen(filename, "r")) == 0) {
374 p12 = d2i_PKCS12_fp(fp, NULL);
380 if (fp != NULL)
381 (void) fclose(fp);
/illumos-gate/usr/src/cmd/newtask/
H A Dutils.c124 FILE *fp; local
129 if ((fp = fopen(file, "r")) == NULL)
132 while (fgets(cp, PATH_MAX, fp) != NULL) {
188 (void) fclose(fp);
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/kssl/kssladm/
H A Dkssladm.c93 FILE *fp; local
95 fp = fopen(filename, "r");
96 if (fp == NULL) {
102 line = fgets(buffer, bufsize, fp);
103 (void) fclose(fp);
/illumos-gate/usr/src/cmd/dfs.cmds/dfshares/
H A Ddfshares.c70 FILE *dfp; /* fp for dfs list */
213 * getfs(fp) - get the next file system name from fp
221 getfs(FILE *fp) argument
225 while (s = fgets(buf, BUFSIZ, fp)) {

Completed in 89 milliseconds

1234567891011>>