| /src/external/gpl3/gdb/dist/libctf/testsuite/libctf-writable/ |
| 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...] |
| 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)));
|
| 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.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...] |
| 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)));
|
| 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/sys/arch/m68k/include/ |
| frame.h | 238 #define ATOMIC_CAS_CHECK(cfp) \ 240 if (! CLKF_USERMODE(cfp) && \ 241 (CLKF_PC(cfp) < (u_long)&_atomic_cas_ras_end && \ 242 CLKF_PC(cfp) > (u_long)&_atomic_cas_ras_start)) { \ 243 (cfp)->cf_pc = (u_long)&_atomic_cas_ras_start; \ 247 #define ATOMIC_CAS_CHECK(cfp) /* nothing */
|
| /src/sys/arch/mips/mips/ |
| mips3_clockintr.c | 66 mips3_clockintr(struct clockframe *cfp) 95 hardclock(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/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/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/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/sys/arch/powerpc/powerpc/ |
| clock.c | 139 decr_intr(struct clockframe *cfp) 190 hardclock(cfp); 191 hardclock(cfp);
|
| /src/sys/arch/x68k/dev/ |
| grf_machdep.c | 120 grfmatch(device_t parent, cfdata_t cfp, void *aux) 124 addr = cfp->cf_loc[GRFBCF_ADDR];
|
| /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/external/gpl3/gdb.old/dist/gdb/ |
| ctfread.c | 93 explicit ctf_fp_info (ctf_dict_t *cfp) : fp (cfp) {} 1302 ctf_psymtab_add_stt_entries (ctf_dict_t *cfp, ctf_psymtab *pst, 1309 while ((tid = ctf_symbol_next (cfp, &i, &tname, functions)) != CTF_ERR) 1311 uint32_t kind = ctf_type_kind (cfp, tid); 1344 ctf_psymtab_add_stt_obj (ctf_dict_t *cfp, ctf_psymtab *pst, 1347 ctf_psymtab_add_stt_entries (cfp, pst, of, 0); 1353 ctf_psymtab_add_stt_func (ctf_dict_t *cfp, ctf_psymtab *pst, 1356 ctf_psymtab_add_stt_entries (cfp, pst, of, 1); 1437 ctf_dict_t *cfp, [all...] |
| /src/external/gpl3/gdb/dist/gdb/ |
| ctfread.c | 93 explicit ctf_fp_info (ctf_dict_t *cfp) : fp (cfp) {} 1302 ctf_psymtab_add_stt_entries (ctf_dict_t *cfp, ctf_psymtab *pst, 1309 while ((tid = ctf_symbol_next (cfp, &i, &tname, functions)) != CTF_ERR) 1311 uint32_t kind = ctf_type_kind (cfp, tid); 1344 ctf_psymtab_add_stt_obj (ctf_dict_t *cfp, ctf_psymtab *pst, 1347 ctf_psymtab_add_stt_entries (cfp, pst, of, 0); 1353 ctf_psymtab_add_stt_func (ctf_dict_t *cfp, ctf_psymtab *pst, 1356 ctf_psymtab_add_stt_entries (cfp, pst, of, 1); 1437 ctf_dict_t *cfp, [all...] |
| /src/sys/arch/evbsh3/nextvod/ |
| stasc.c | 146 stasc_match(device_t parent, cfdata_t cfp, void *aux) 149 if (strcmp(cfp->cf_name, "stasc") != 0)
|
| /src/sys/arch/hpcsh/dev/ |
| psh3pwr.c | 111 psh3pwr_match(device_t parent, struct cfdata *cfp, void *aux) 117 if (strcmp(cfp->cf_name, "psh3pwr") != 0)
|
| /src/sys/arch/sh3/dev/ |
| wdog.c | 100 wdogmatch(device_t parent, cfdata_t cfp, void *aux) 103 if (strcmp(cfp->cf_name, "wdog"))
|
| /src/sys/arch/amigappc/amigappc/ |
| mainbus.c | 89 mbmatch(device_t parent, cfdata_t cfp, void *aux)
|
| /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/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/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...] |