HomeSort by: relevance | last modified time | path
    Searched defs:cfp (Results 1 - 18 of 18) sorted by relevancy

  /src/external/gpl3/gdb/dist/libctf/testsuite/libctf-writable/
pptrtab-writable-page-deep-lookup.c 12 ctf_dict_t *pfp, *cfp; local
28 if ((cfp = ctf_create (&err)) == NULL)
31 if (ctf_import (cfp, pfp) < 0)
40 if ((type = ctf_lookup_by_name (cfp, "*foo")) != CTF_ERR)
42 fprintf (stderr, "Type lookup unexpectedly succeeded: %s\n", ctf_errmsg (ctf_errno (cfp)));
46 if ((type = ctf_lookup_by_name (cfp, "foo *")) == CTF_ERR)
48 fprintf (stderr, "Type lookup error: %s\n", ctf_errmsg (ctf_errno (cfp)));
52 ctf_dict_close (cfp);
66 fprintf (stderr, "Cannot create child type: %s\n", ctf_errmsg (ctf_errno (cfp)));
pptrtab.c 9 ctf_dict_t *cfp; local
19 if ((cfp = ctf_create (&err)) == NULL)
22 if (ctf_import (cfp, pfp) < 0)
35 if ((ptr = ctf_add_pointer (cfp, CTF_ADD_ROOT, base)) == CTF_ERR)
38 if ((type = ctf_lookup_by_name (cfp, "int *") ) == CTF_ERR)
41 type_name = ctf_type_aname (cfp, type);
43 type_name, ctf_type_kind (cfp, ctf_type_reference (cfp, type)));
46 if (ctf_type_reference (cfp, type) != base)
48 ctf_type_reference (cfp, type))
    [all...]
parent-child-dtd-crash-lib.c 14 ctf_dict_t *pfp, *cfp; local
62 if ((cfp = ctf_create (&err)) == NULL)
65 if (ctf_import (cfp, pfp) < 0)
83 if ((stype = ctf_add_struct_sized (cfp, CTF_ADD_ROOT, "foo", 1024)) == CTF_ERR)
90 if ((stype = ctf_add_union_sized (cfp, CTF_ADD_ROOT, "foo", 1024)) == CTF_ERR)
97 if ((stype = ctf_add_enum (cfp, CTF_ADD_ROOT, "foo")) == CTF_ERR)
115 if ((ctype = ctf_add_integer (cfp, CTF_ADD_NONROOT, "xyzzy", &e)) == CTF_ERR)
118 if (ctf_add_member_offset (cfp, stype, "member", ptype, 5) == CTF_ERR)
121 if (ctf_add_member_offset (cfp, stype, "xyzzy", ctype, 4) != CTF_ERR)
123 else if (ctf_errno (cfp) == 0
    [all...]
  /src/external/gpl3/gdb.old/dist/libctf/testsuite/libctf-writable/
pptrtab-writable-page-deep-lookup.c 12 ctf_dict_t *pfp, *cfp; local
28 if ((cfp = ctf_create (&err)) == NULL)
31 if (ctf_import (cfp, pfp) < 0)
40 if ((type = ctf_lookup_by_name (cfp, "*foo")) != CTF_ERR)
42 fprintf (stderr, "Type lookup unexpectedly succeeded: %s\n", ctf_errmsg (ctf_errno (cfp)));
46 if ((type = ctf_lookup_by_name (cfp, "foo *")) == CTF_ERR)
48 fprintf (stderr, "Type lookup error: %s\n", ctf_errmsg (ctf_errno (cfp)));
52 ctf_dict_close (cfp);
66 fprintf (stderr, "Cannot create child type: %s\n", ctf_errmsg (ctf_errno (cfp)));
pptrtab.c 9 ctf_dict_t *cfp; local
19 if ((cfp = ctf_create (&err)) == NULL)
22 if (ctf_import (cfp, pfp) < 0)
35 if ((ptr = ctf_add_pointer (cfp, CTF_ADD_ROOT, base)) == CTF_ERR)
38 if ((type = ctf_lookup_by_name (cfp, "int *") ) == CTF_ERR)
41 type_name = ctf_type_aname (cfp, type);
43 type_name, ctf_type_kind (cfp, ctf_type_reference (cfp, type)));
46 if (ctf_type_reference (cfp, type) != base)
48 ctf_type_reference (cfp, type))
    [all...]
parent-child-dtd-crash-lib.c 14 ctf_dict_t *pfp, *cfp; local
62 if ((cfp = ctf_create (&err)) == NULL)
65 if (ctf_import (cfp, pfp) < 0)
83 if ((stype = ctf_add_struct_sized (cfp, CTF_ADD_ROOT, "foo", 1024)) == CTF_ERR)
90 if ((stype = ctf_add_union_sized (cfp, CTF_ADD_ROOT, "foo", 1024)) == CTF_ERR)
97 if ((stype = ctf_add_enum (cfp, CTF_ADD_ROOT, "foo")) == CTF_ERR)
115 if ((ctype = ctf_add_integer (cfp, CTF_ADD_NONROOT, "xyzzy", &e)) == CTF_ERR)
118 if (ctf_add_member_offset (cfp, stype, "member", ptype, 5) == CTF_ERR)
121 if (ctf_add_member_offset (cfp, stype, "xyzzy", ctype, 4) != CTF_ERR)
123 else if (ctf_errno (cfp) == 0
    [all...]
  /src/usr.bin/man/
manconf.c 103 FILE *cfp; local
110 if ((cfp = fopen(fname, "r")) == NULL)
113 for (lcnt = 1; (p = fgetln(cfp, &len)) != NULL; ++lcnt) {
212 (void)fclose(cfp);
  /src/usr.sbin/lpr/common_source/
rmjob.c 187 FILE *cfp; local
192 if ((cfp = fopen(file, "r")) == NULL)
195 while (get_line(cfp)) {
203 (void)fclose(cfp);
229 FILE *cfp; local
244 if ((cfp = fopen(file, "r")) == NULL)
247 while (get_line(cfp)) {
251 (void)fclose(cfp);
displayq.c 302 FILE *cfp; local
309 if ((cfp = fopen(cf, "r")) == NULL)
318 while (get_line(cfp)) {
322 fclose(cfp);
354 fclose(cfp);
  /src/games/dm/
dm.c 129 FILE *cfp; local
132 if (!(cfp = fopen(_PATH_CONFIG, "r")))
134 while (fgets(lbuf, sizeof(lbuf), cfp))
154 (void)fclose(cfp);
  /src/sys/kern/
subr_userconf.c 201 const struct cfparent *cfp; local
217 cfp = cd->cf_pspec;
218 if (cfp == NULL)
220 else if (cfp->cfp_parent != NULL && cfp->cfp_unit != -1)
221 printf(" %s%d", cfp->cfp_parent, cfp->cfp_unit);
223 printf(" %s?", cfp->cfp_parent != NULL ? cfp->cfp_parent
224 : cfp->cfp_iattr)
    [all...]
  /src/distrib/utils/ssh/
ssh.c 101 FILE *cfp; /* command file ptr */ local
135 if ((cfp = fopen(cf_name, "r")) != NULL) {
136 error = runfile(cfp);
137 fclose(cfp);
152 cfp = fopen(cf_name, "r");
153 if (cfp == NULL) {
157 error = runfile(cfp);
158 fclose(cfp);
199 runfile(FILE *cfp)
214 if ((fgets(ibuf, sizeof(ibuf), cfp)) == NULL
    [all...]
  /src/lib/libc/rpc/
svc_vc.c 438 struct cf_rendezvous *cfp; local
440 cfp = (struct cf_rendezvous *)xprt->xp_p1;
441 if (cfp == NULL)
445 *(int *)in = cfp->maxrec;
448 cfp->maxrec = *(int *)in;
475 struct cf_conn *cfp; local
518 cfp = (struct cf_conn *)xprt->xp_p1;
520 if (cfp->nonblock) {
529 gettimeofday(&cfp->last_recv_time, NULL);
551 gettimeofday(&cfp->last_recv_time, NULL)
    [all...]
  /src/sys/arch/mac68k/obio/
iwm_fd.c 413 struct cfdata *cfp; local
416 cfp = match;
418 cfUnit = cfp->cf_loc[IWMCF_DRIVE];
  /src/usr.sbin/lpr/lpd/
printjob.c 96 static FILE *cfp; /* control file */ variable
347 if ((cfp = fopen(file, "r")) == NULL) {
400 while (get_line(cfp))
484 (void)fclose(cfp);
504 fseek(cfp, 0L, 0);
505 while (get_line(cfp))
525 (void)fclose(cfp);
807 if ((cfp = fopen(file, "r")) == NULL)
824 while (get_line(cfp)) {
841 while ((i = get_line(cfp)) != 0
    [all...]
  /src/external/bsd/ppp/dist/chat/
chat.c 402 FILE *cfp; local
404 cfp = fopen (chat_file, "r");
405 if (cfp == NULL)
411 while (fgets(buf, STR_LEN, cfp) != NULL) {
461 fclose (cfp);
  /src/external/apache2/mDNSResponder/dist/mDNSCore/
uDNS.c 5873 CacheRecord **cfp = &CacheFlushRecords; local
5995 rr = mDNSCoreReceiveCacheCheck(m, msg, uDNS_LLQ_Events, slot, cg, &cfp, if_id);
mDNS.c 11154 const mDNSu32 slot, CacheGroup *cg, CacheRecord ***cfp, mDNSInterfaceID InterfaceID)
11157 CacheRecord **cflocal = *cfp;
11200 if (cr->NextInCFList == mDNSNULL && *cfp != &cr->NextInCFList && LLQType != uDNS_LLQ_Events)
11205 *cfp = &cr->NextInCFList;
11518 CacheRecord **cfp = &CacheFlushRecords; local
12327 rr = mDNSCoreReceiveCacheCheck(m, response, LLQType, slot, cg, &cfp, InterfaceID);
12364 *cfp = rr;
12365 cfp = &rr->NextInCFList;
12366 *cfp = (CacheRecord*)1;

Completed in 70 milliseconds