/src/lib/libc/inet/ |
nsap_addr.c | 100 char *tmpbuf = inet_nsap_ntoa_tmpbuf; local in function:inet_nsap_ntoa 108 ascii = tmpbuf; 109 start = tmpbuf;
|
/src/tests/fs/common/ |
fstest_zfs.c | 103 char tmpbuf[128]; local in function:zfs_fstest_mount 108 snprintf(tmpbuf, sizeof(tmpbuf)-1, 110 setenv("RUMPHIJACK", tmpbuf, 1); 117 snprintf(tmpbuf, sizeof(tmpbuf)-1, "zpool create %s %s", 119 if ((error = system(tmpbuf)) != 0) {
|
/src/lib/libc/posix1e/ |
acl_to_text.c | 64 char *buf, *tmpbuf; local in function:_posix1e_acl_to_text 96 len = asprintf(&tmpbuf, "%suser::%s\n", buf, 101 buf = tmpbuf; 123 len = asprintf(&tmpbuf, "%suser:%s:%s\t\t# " 128 len = asprintf(&tmpbuf, "%suser:%s:%s\n", buf, 134 buf = tmpbuf; 151 len = asprintf(&tmpbuf, "%sgroup::%s\t\t# " 155 len = asprintf(&tmpbuf, "%sgroup::%s\n", buf, 161 buf = tmpbuf; 183 len = asprintf(&tmpbuf, "%sgroup:%s:%s\t\t# [all...] |
/src/tests/lib/libcurses/slave/ |
slave.c | 131 char *cmdbuf, *tmpbuf, **args; local in function:process_commands 145 if ((tmpbuf = realloc(cmdbuf, maxlen)) == NULL) 148 cmdbuf = tmpbuf;
|
/src/games/warp/ |
score.c | 71 char tmpbuf[80]; local in function:score_init 74 if (fgets(tmpbuf,80,savfil) != NULL) { 77 tmpbuf[strlen(tmpbuf)-1] = '\0'; 78 printf("You seem to have left a game %s.\r\n",tmpbuf+9); 79 s = strchr(tmpbuf+9, ','); 93 getcmd(tmpbuf); 94 if (*tmpbuf == INTRCH) 99 if (strcmp(term+8,tmpbuf+23)) { 113 getcmd(tmpbuf); [all...] |
term.c | 306 char tmpbuf[1024]; local in function:mac_init 311 mac_line(tcbuf,tmpbuf,(sizeof tmpbuf)); 318 mac_line(char *line, char *tmpbuf, size_t tbsize) 333 m = dointerp(tmpbuf,tbsize,line," \t"); 337 for (s=tmpbuf,curmap=topmap; *s; s++) { 783 char tmpbuf[PUSHSIZE]; local in function:pushstring 784 char *s = tmpbuf;
|
/src/sys/ufs/chfs/ |
chfs_write.c | 291 void *tmpbuf = NULL; local in function:chfs_write_flash_dnode 322 tmpbuf = kmem_zalloc(CHFS_PAD(size) 324 memcpy(tmpbuf, bp->b_data, len); 331 vec[1].iov_base = tmpbuf; 404 kmem_free(tmpbuf, CHFS_PAD(size) - sizeof(*dnode));
|
/src/usr.sbin/bootp/bootptest/ |
getether.c | 198 char tmpbuf[sizeof(union DL_primitives) + 16]; 231 memset(tmpbuf, 0, sizeof(tmpbuf)); 232 dlp = (union DL_primitives *) tmpbuf; 235 cbuf.buf = tmpbuf; 242 cbuf.buf = tmpbuf; 243 cbuf.maxlen = sizeof(tmpbuf); 273 memset(tmpbuf, 0, sizeof(tmpbuf)); 274 dlp = (union DL_primitives *) tmpbuf; 195 char tmpbuf[sizeof(union DL_primitives) + 16]; local in function:getether [all...] |
/src/sys/dev/ |
smbios_platform.c | 208 char tmpbuf[128]; /* XXX is this long enough? */ local in function:platform_add 210 if (smbios_get_string(tbl, idx, tmpbuf, 128) != NULL) { 212 pmf_set_platform(key, tmpbuf); 223 char tmpbuf[128]; /* XXX is this long enough? */ local in function:platform_add_word 225 if (snprintf(tmpbuf, sizeof(tmpbuf), "%u%s", val, suf)) { 227 pmf_set_platform(key, tmpbuf); 261 char tmpbuf[128], datestr[9]; local in function:platform_add_date 263 if (smbios_get_string(tbl, idx, tmpbuf, 128) == NULL) 265 if (platform_scan_date(tmpbuf, &month, &day, &year) != 3 284 char tmpbuf[UUID_STR_LEN]; local in function:platform_add_uuid [all...] |
/src/sys/dev/eisa/ |
if_tlp_eisa.c | 151 u_int8_t enaddr[ETHER_ADDR_LEN], tmpbuf[sizeof(testpat)]; local in function:tlp_eisa_attach 214 tmpbuf[i] = bus_space_read_1(iot, ioh, DE425_ENETROM); 215 if (tmpbuf[i] == testpat[i])
|
/src/lib/libedit/ |
search.c | 459 wchar_t tmpbuf[EL_BUFSIZ]; local in function:cv_search 463 tmpbuf[0] = '.'; 464 tmpbuf[1] = '*'; 470 tmplen = c_gets(el, &tmpbuf[LEN], 476 ch = tmpbuf[tmplen]; 477 tmpbuf[tmplen] = '\0'; 490 (void) wcsncpy(tmpbuf, el->el_search.patbuf, 491 sizeof(tmpbuf) / sizeof(*tmpbuf) - 1); 494 (void) wcsncpy(&el->el_search.patbuf[2], tmpbuf, [all...] |
common.c | 826 wchar_t tmpbuf[EL_BUFSIZ]; local in function:ed_command 829 tmplen = c_gets(el, tmpbuf, L"\n: "); 832 if (tmplen < 0 || (tmpbuf[tmplen] = 0, parse_line(el, tmpbuf)) == -1)
|
/src/usr.sbin/cpuctl/arch/ |
arm.c | 171 char namebuf[24], valuebuf[12], tmpbuf[30]; local in function:print_features 196 size_t tmplen = snprintf(tmpbuf, sizeof(tmpbuf), 201 "%s: %s: %s", cpuname, setname, tmpbuf + 2); 203 len = strlcat(buf, tmpbuf, sizeof(buf));
|
/src/distrib/utils/edlabel/ |
edlabel.c | 91 char tmpbuf[64]; variable in typeref:typename:char[64] 121 strlcpy(tmpbuf, (char*)cp, sizeof(tmpbuf)); 122 printf("%s", tmpbuf); 133 tmpbuf[0] = '\0'; 134 if (fgets(tmpbuf, sizeof(tmpbuf), stdin) == NULL) 136 if ((tmpbuf[0] == '\0') || (tmpbuf[0] == '\n')) { 143 if (sscanf(tmpbuf, "%d", &tmp) != 1 [all...] |
/src/sys/arch/hpc/stand/hpcboot/menu/ |
menu.cpp | 287 TCHAR tmpbuf[8]; local in function:MainTabWindow::get 288 ComboBox_GetText(_combobox_serial_speed, tmpbuf, 8); 289 pref.serial_speed = _wtoi(tmpbuf);
|
/src/sys/arch/hpcmips/vr/ |
vrpciu.c | 153 char tmpbuf[16]; local in function:vrpciu_attach 288 snprintf(tmpbuf, sizeof(tmpbuf), "%s/iot", 291 tmpbuf, VRPCIU_MAW_ADDR(reg), VRPCIU_MAW_SIZE(reg));
|
/src/sys/fs/sysvbfs/ |
bfs.c | 248 uint8_t tmpbuf[DEV_BSIZE]; local in function:bfs_file_read 263 if (!bfs->io->read(bfs->io, tmpbuf, end)) 265 memcpy(p + n, tmpbuf, sz - n); 364 uint8_t *p, tmpbuf[DEV_BSIZE]; local in function:bfs_file_create 421 memset(tmpbuf, 0, DEV_BSIZE); 422 memcpy(tmpbuf, p, bufsz - n); 423 if (!bfs->io->write(bfs->io, tmpbuf, bfs->start_sector + i))
|
/src/usr.bin/patch/ |
util.c | 321 char *tmpbuf; local in function:makedirs 323 if ((tmpbuf = strdup(filename)) == NULL) 327 char *s = strrchr(tmpbuf, '/'); 329 free(tmpbuf); 334 if (mkpath(tmpbuf) != 0) 335 pfatal("creation of %s failed", tmpbuf); 336 free(tmpbuf); 398 char *filebase, *filedir, tmpbuf[MAXPATHLEN]; local in function:checked_in 405 (snprintf(tmpbuf, sizeof tmpbuf, f, a1, a2, a3), stat(tmpbuf, &filestat) == 0 [all...] |
/src/usr.bin/resize/ |
resize.c | 491 char *tmpbuf = TypeMallocN(char, local in function:main 496 if (tmpbuf == 0) { 500 sprintf(tmpbuf, setsize[emu], argv[0], argv[1]); 501 IGNORE_RC(write(tty, tmpbuf, strlen(tmpbuf))); 502 free(tmpbuf);
|
/src/usr.sbin/ypserv/ypserv/ |
ypserv_db.c | 474 char tmpbuf[MAXHOSTNAMELEN + 20]; local in function:lookup_host 495 (void)snprintf(tmpbuf, sizeof(tmpbuf), "%s %s\n", 497 if (v - val + strlen(tmpbuf) + 1 > sizeof(val)) 499 (void)strlcpy(v, tmpbuf, sizeof(val) - (v - val)); 500 v = v + strlen(tmpbuf);
|
/src/sys/arch/powerpc/oea/ |
ofw_autoconf.c | 111 char tmpbuf[100]; local in function:canonicalize_bootpath 121 tmpbuf[0] = '\0'; 123 strcpy(tmpbuf, cp); 133 strcpy(&bootpath[len], tmpbuf);
|
/src/usr.bin/rpcgen/ |
rpc_svcout.c | 162 char tmpbuf[32]; local in function:write_netid_register 169 sprintf(tmpbuf, "%s\t\t", sp); 170 print_err_message(tmpbuf); 177 print_err_message(tmpbuf); 197 print_err_message(tmpbuf); 893 char tmpbuf[32]; local in function:write_inetd_register 934 (void) sprintf(tmpbuf, "%s\t\t", sp); 935 print_err_message(tmpbuf); 960 print_err_message(tmpbuf);
|
/src/sys/dev/raidframe/ |
rf_driver.c | 482 void *tmpbuf; local in function:rf_AllocEmergBuffers 496 tmpbuf = malloc( raidPtr->Layout.sectorsPerStripeUnit << 499 if (tmpbuf) { 501 vple->p= tmpbuf; 515 tmpbuf = malloc( raidPtr->numCol * (raidPtr->Layout.sectorsPerStripeUnit << 518 if (tmpbuf) { 520 vple->p= tmpbuf;
|
/src/sys/arch/amiga/dev/ |
mscreg.h | 38 * - Added Jukka's turbo board detection support and tmpbuf for copys. 950918 82 * - Added Jukka's turbo board detection support and tmpbuf for copys. 950918 160 char tmpbuf[IOBUFLEN]; /* temp buffer for data transfers */ member in struct:mscdevice
|
/src/sys/arch/hpcmips/stand/pbsdboot/ |
main.c | 535 TCHAR tmpbuf[PATHBUFLEN]; local in function:WinMain 536 wsprintf(tmpbuf, TEXT("%s%S"), path_list[0].name, "netbsd"); 548 wstrcpy(pref.kernel_name, tmpbuf); 563 TCHAR tmpbuf[1024]; local in function:WinMain 564 wsprintf(tmpbuf, TEXT("%s%S"), 567 CB_ADDSTRING, 0, (LPARAM)tmpbuf); 838 TCHAR tmpbuf[PATHBUFLEN]; local in function:UpdateFbDlg 859 wsprintf(tmpbuf, TEXT("%X"), fbs->addr); 860 SetDlgItemText(hWnd, IDC_FB_ADDR, tmpbuf); 861 wsprintf(tmpbuf, TEXT("%d"), fbs->width) 910 TCHAR tmpbuf[100]; local in function:FbDlgProc [all...] |