/src/games/battlestar/ |
save.c | 161 size_t tmpl; local in function:save_file_name 174 tmpl = strlen(home); 175 newname = malloc(tmpl + len + 2); 180 memcpy(newname, home, tmpl); 181 newname[tmpl] = '/'; 182 memcpy(newname + tmpl + 1, filename, len); 183 newname[tmpl + len + 1] = 0;
|
/src/usr.sbin/mopd/common/ |
rc.c | 42 int32_t tmpl; local in function:mopDumpRC 76 tmpl = mopGetLong(pkt,&idx); 77 (void)fprintf(fd,"Verification : %08x\n",tmpl); 162 tmpl = mopGetLong(pkt,&idx); 163 (void)fprintf(fd,"Bytes rec : %08x %d\n",tmpl,tmpl); 165 tmpl = mopGetLong(pkt,&idx); 166 (void)fprintf(fd,"Bytes snd : %08x %d\n",tmpl,tmpl); 168 tmpl = mopGetLong(pkt,&idx) [all...] |
dl.c | 42 u_int32_t tmpl; local in function:mopDumpDL 67 tmpl = mopGetLong(pkt,&idx);/* Load Address */ 68 (void)fprintf(fd,"Load Address : %08x\n", tmpl); 98 tmpl = mopGetLong(pkt,&idx); /* Load Address */ 99 (void)fprintf(fd,"Xfer Address : %08x\n", tmpl); 112 tmpl = mopGetLong(pkt,&idx); /* Load Address */ 113 (void)fprintf(fd,"Load Address : %08x\n", tmpl); 149 tmpl = mopGetLong(pkt,&idx); /* Memory Address */ 150 (void)fprintf(fd,"Mem Address : %08x\n", tmpl); 208 tmpl = mopGetLong(pkt,&idx); /* Memory Size * [all...] |
/src/sys/arch/ia64/disasm/ |
disasm_format.c | 316 const char *tmpl; local in function:asm_print_inst 319 tmpl = b->b_templ + slot; 320 if (*tmpl == ';' || (slot == 2 && b->b_templ[1] == ';')) 321 tmpl++; 323 if (*tmpl == 'L' || i->i_op == ASM_OP_NONE) 327 printf("%lx[%c] ", ip + slot, *tmpl);
|
/src/share/examples/puffs/pgfs/ |
mount.c | 177 char tmpl[] = "/tmp/pgfs.XXXXXXXX"; local in function:main 182 path = mkdtemp(tmpl);
|
/src/tests/bin/df/ |
getmntinfo.c | 66 other_variants(const struct statvfs *tmpl, const int *minfree, int minfreecnt, 76 *sf = *tmpl; 93 static const struct statvfs tmpl = { local in function:setup_filer 112 *getnewstatvfs() = tmpl; 113 other_variants(&tmpl, minfree, sizeof(minfree) / sizeof(minfree[0]), 124 static const struct statvfs tmpl = { local in function:setup_ld0g 145 *getnewstatvfs() = tmpl; 146 other_variants(&tmpl, minfree, sizeof(minfree) / sizeof(minfree[0]), 156 static const struct statvfs tmpl = { local in function:setup_strpct 175 *getnewstatvfs() = tmpl; 185 static const struct statvfs tmpl = { local in function:setup_pr23600 [all...] |
/src/sys/arch/ia64/ia64/ |
db_interface.c | 441 const char *tmpl; local in function:db_disasm 449 tmpl = bundle.b_templ + slot; 450 if (*tmpl == ';' || (slot == 2 && bundle.b_templ[1] == ';')) 451 tmpl++; 452 if (*tmpl == 'L' || i->i_op == ASM_OP_NONE) { 458 db_printf("[%c%d] ", *tmpl, slot); 493 tmpl = NULL; 500 if (slot == 1 && tmpl[1] == 'L')
|
/src/usr.bin/xinstall/ |
xinstall.c | 467 char tmpl[MAXPATHLEN]; local in function:do_link 471 (void)snprintf(tmpl, sizeof(tmpl), "%s.inst.XXXXXX", to_name); 473 if (mktemp(tmpl) == NULL) 474 err(EXIT_FAILURE, "%s: mktemp", tmpl); 475 ret = link(from_name, tmpl); 477 ret = rename(tmpl, to_name); 482 (void)unlink(tmpl); 500 char tmpl[MAXPATHLEN]; local in function:do_symlink 503 (void)snprintf(tmpl, sizeof(tmpl), "%s.inst.XXXXXX", to_name) 673 char *p, tmpl[MAXPATHLEN], *oto_name, *digestresult; local in function:install [all...] |