/freebsd-10.0-release/usr.bin/cmp/ |
H A D | link.c | 42 char buf1[PATH_MAX], *p1; local 48 if ((len1 = readlink(file1, buf1, sizeof(buf1) - 1)) < 0) { 64 buf1[len1] = '\0'; 72 for (p1 = buf1 + skip1, p2 = buf2 + skip2; *p1 && *p2; p1++, p2++) {
|
/freebsd-10.0-release/usr.bin/locate/bigram/ |
H A D | locate.bigram.c | 65 u_char buf1[MAXPATHLEN] = " "; variable 73 u_char *oldpath = buf1, *path = buf2; 96 if (path == buf1) { 98 oldpath = buf1; 100 path = buf1;
|
/freebsd-10.0-release/usr.sbin/ctm/mkCTM/ |
H A D | mkctm.c | 153 char *buf1 = alloca(strlen(dir1) + strlen(name) + local 162 strcpy(buf1, dir1); 163 strcat(buf1, "/"); strcat(buf1, name); 164 strcat(buf1, "/"); strcat(buf1, de->d_name); 165 fd1 = open(buf1, O_RDONLY); 166 if(fd1 < 0) { err(3, "%s", buf1); } 185 if (p1 == (u_char *)MAP_FAILED) { err(3, "%s", buf1); } 214 buf1, buf 358 char *buf1 = alloca(strlen(dir1) + strlen(name) + local 379 char buf1[BUFSIZ]; local 432 char *buf1 = alloca(strlen(dir1) + strlen(name) + 4); local [all...] |
/freebsd-10.0-release/crypto/openssl/engines/ccgost/ |
H A D | gost_crypt.c | 230 unsigned char buf1[8]; local 238 gostcrypt(&(c->cctx),iv,buf1); 242 memcpy(buf1,iv,8); 244 g = buf1[0]|(buf1[1]<<8)|(buf1[2]<<16)|(buf1[3]<<24); 246 buf1[0]=(unsigned char)(g&0xff); 247 buf1[1]=(unsigned char)((g>>8)&0xff); 248 buf1[ [all...] |
/freebsd-10.0-release/bin/stty/ |
H A D | print.c | 58 char buf1[100], buf2[100]; local 193 (void)snprintf(buf1, sizeof(buf1), "%s = %s;", 195 bput(buf1); 204 (void)snprintf(buf1 + cnt * 8, sizeof(buf1) - cnt * 8, 210 (void)printf("%s\n", buf1); 215 (void)printf("%s\n", buf1);
|
/freebsd-10.0-release/contrib/libreadline/examples/ |
H A D | rl-fgets.c | 232 char buf1[256], buf2[256] ; 254 for ( i = 0 ; _fgets(buf1,255,fp) ; i ++ ) ; 259 while ( _fgets(buf1,255,fp) ) { 260 buf1[255] = 0 ; 261 if ( 1 == sscanf(buf1,"%s",buf2) ) { 225 char buf1[256], buf2[256] ; local
|
/freebsd-10.0-release/usr.bin/locate/code/ |
H A D | locate.code.c | 107 u_char buf1[MAXPATHLEN] = " "; variable 166 oldpath = buf1; 243 if (path == buf1) { /* swap pointers */ 245 oldpath = buf1; 247 path = buf1;
|
/freebsd-10.0-release/lib/libc/iconv/ |
H A D | citrus_esdb.c | 196 char buf1[PATH_MAX], buf2[PATH_MAX], path[PATH_MAX]; local 200 realname = _lookup_alias(path, esname, buf1, sizeof(buf1), 325 char buf1[PATH_MAX]; local 327 snprintf(buf1, sizeof(buf1), "%.*s", 330 if ((p = strchr(buf1, '/')) != NULL) 331 memcpy(buf1, p + 1, strlen(p) - 1); 332 if ((p = strstr(buf1, ".esdb")) != NULL) 334 snprintf(buf, sizeof(buf), "%s/%.*s", buf1, [all...] |
H A D | citrus_csmapper.c | 344 char buf1[PATH_MAX], buf2[PATH_MAX], key[PATH_MAX], pivot[PATH_MAX]; local 354 realsrc = _lookup_alias(CS_ALIAS, src, buf1, sizeof(buf1),
|
/freebsd-10.0-release/sbin/ccdconfig/ |
H A D | ccdconfig.c | 172 char buf1[BUFSIZ]; local 189 sprintf(buf1, "ccd%d", ccd); 190 gctl_ro_param(grq, "geom", -1, buf1); 259 sprintf(buf1, "provider%d", i); 263 gctl_ro_param(grq, buf1, -1, cp); 265 gctl_rw_param(grq, "output", sizeof(buf1), buf1); 269 printf("%s", buf1);
|
/freebsd-10.0-release/contrib/gcc/ |
H A D | vmsdbgout.c | 430 char buf1[256]; 443 ASM_NAME_TO_STRING (buf1, XSTR (x, 0)); 444 strcat (str, buf1); 448 ASM_GENERATE_INTERNAL_LABEL (buf1, "L", CODE_LABEL_NUMBER (XEXP (x, 0))); 449 ASM_NAME_TO_STRING (buf2, buf1); 454 ASM_GENERATE_INTERNAL_LABEL (buf1, "L", CODE_LABEL_NUMBER (x)); 455 ASM_NAME_TO_STRING (buf2, buf1); 460 sprintf (buf1, HOST_WIDE_INT_PRINT_DEC, INTVAL (x)); 461 strcat (str, buf1); 467 addr_const_to_string (buf1, XEX 429 char buf1[256]; local [all...] |
H A D | c-cppbuiltin.c | 688 char dec_str[64], buf1[256], buf2[256]; local 705 sprintf (buf1, "%s%s", dec_str, fp_suffix); 706 sprintf (buf2, fp_cast, buf1); 707 sprintf (buf1, "%s=%s", macro, buf2); 709 cpp_define (parse_in, buf1);
|
/freebsd-10.0-release/contrib/libreadline/ |
H A D | mbutil.c | 235 _rl_compare_chars (buf1, pos1, ps1, buf2, pos2, ps2) 236 char *buf1; 245 if ((w1 = _rl_get_char_len (&buf1[pos1], ps1)) <= 0 || 248 (buf1[pos1] != buf2[pos2])) 252 if (buf1[pos1+i] != buf2[pos2+i])
|
/freebsd-10.0-release/crypto/heimdal/lib/roken/ |
H A D | snprintf-test.c | 42 char buf1[256], buf2[256]; local 45 ret = rk_vsnprintf (buf1, sizeof(buf1), format, ap); 46 if (ret >= sizeof(buf1)) 51 ret = strcmp (buf1, buf2); 54 format, buf1, buf2);
|
/freebsd-10.0-release/sys/geom/bde/ |
H A D | g_bde_lock.c | 446 u_char *buf, buf1[16]; local 453 bzero(buf1, sizeof buf1); 454 if (meta != NULL && bcmp(buf1, meta, sizeof buf1))
|
/freebsd-10.0-release/contrib/ldns/compat/ |
H A D | snprintf.c | 702 char buf1[LONG_STRING]; local 742 snprintf (buf1, sizeof (buf1), fp_fmt[x], fp_nums[y]); 744 if (strcmp (buf1, buf2)) 747 fp_fmt[x], buf1, buf2); 756 snprintf (buf1, sizeof (buf1), int_fmt[x], int_nums[y]); 758 if (strcmp (buf1, buf2)) 761 int_fmt[x], buf1, buf2);
|
/freebsd-10.0-release/contrib/unbound/compat/ |
H A D | snprintf.c | 724 char buf1[LONG_STRING]; local 764 snprintf (buf1, sizeof (buf1), fp_fmt[x], fp_nums[y]); 766 if (strcmp (buf1, buf2)) 769 fp_fmt[x], buf1, buf2); 778 snprintf (buf1, sizeof (buf1), int_fmt[x], int_nums[y]); 780 if (strcmp (buf1, buf2)) 783 int_fmt[x], buf1, buf2);
|
/freebsd-10.0-release/contrib/diff/src/ |
H A D | cmp.c | 384 char *buf1 = (char *) buffer1; 441 read1 = block_read (file_desc[1], buf1, bytes_to_read); 447 buf0[read0] = ~buf1[read0]; 448 buf1[read1] = ~buf0[read1]; 496 unsigned char c1 = buf1[first_diff]; 514 unsigned char c1 = buf1[first_diff]; 380 char *buf1 = (char *) buffer1; local
|
/freebsd-10.0-release/sbin/gbde/ |
H A D | gbde.c | 203 char buf1[BUFSIZ + SHA512_DIGEST_LENGTH]; local 213 klen = read(kfd, buf1, BUFSIZ); 219 g_bde_hash_pass(sc, buf1, klen); 220 memcpy(buf1, sc->sha2, SHA512_DIGEST_LENGTH); 228 strcpy(buf1 + bpos, input); 230 g_bde_hash_pass(sc, buf1, strlen(buf1 + bpos) + bpos); 237 buf1 + bpos, sizeof buf1 - bpos, 249 if (strcmp(buf1 [all...] |
/freebsd-10.0-release/sbin/gvinum/ |
H A D | gvinum.c | 182 char buf[BUFSIZ], buf1[BUFSIZ], commandline[BUFSIZ], *ed, *sdname; local 288 snprintf(buf1, sizeof(buf1), "volume%d", volumes); 289 gctl_ro_param(req, buf1, sizeof(*v), v); 324 snprintf(buf1, sizeof(buf1), "plex%d", plexes); 325 gctl_ro_param(req, buf1, sizeof(*p), p); 358 snprintf(buf1, sizeof(buf1), "sd%d", subdisks); 359 gctl_ro_param(req, buf1, sizeo [all...] |
/freebsd-10.0-release/crypto/openssl/crypto/asn1/ |
H A D | asn1_lib.c | 468 char buf1[DECIMAL_SIZE(address)+1],buf2[DECIMAL_SIZE(offset)+1]; local 470 BIO_snprintf(buf1,sizeof buf1,"%lu",(unsigned long)address); 472 ERR_add_error_data(4,"address=",buf1," offset=",buf2);
|
/freebsd-10.0-release/usr.bin/netstat/ |
H A D | unix.c | 263 char buf1[15]; local 284 snprintf(buf1, 15, "%d/%d/%d", so->so_qlen, 286 printf("unix %-14.14s", buf1);
|
/freebsd-10.0-release/sys/fs/ext2fs/ |
H A D | ext2_htree.c | 633 char *buf1 = NULL; local 642 buf1 = malloc(blksize, M_TEMP, M_WAITOK | M_ZERO); 652 memcpy(buf1, ep, dirlen); 653 ep = (struct ext2fs_direct_2 *)buf1; 654 while ((char *)ep < buf1 + dirlen) 657 ep->e2d_reclen = buf1 + blksize - (char *)ep; 681 ext2_htree_split_dirblock(buf1, buf2, blksize, fs->e3fs_hash_seed, 701 error = ext2_htree_append_block(vp, buf1, cnp, blksize); 710 free(buf1, M_TEMP); 717 free(buf1, M_TEM [all...] |
/freebsd-10.0-release/usr.bin/make/ |
H A D | arch.c | 343 Buffer *buf1; local 351 buf1 = Var_Subst(memName, ctxt, TRUE); 352 memName = Buf_Data(buf1); 373 Buf_Destroy(buf1, FALSE); 385 Buf_Destroy(buf1, FALSE); 391 Buf_Destroy(buf1, FALSE);
|
/freebsd-10.0-release/sys/dev/hatm/ |
H A D | if_hatm_intr.c | 318 struct mbuf1_chunk *buf1; local 387 buf1 = (struct mbuf1_chunk *)cf; 388 pg = sc->mbuf_pages[buf1->hdr.pageno]; 389 buf1->hdr.flags |= MBUF_CARD; 391 buf1->hdr.chunkno * MBUF1_CHUNK + MBUF1_OFFSET; 393 MBUF_MAKE_HANDLE(buf1->hdr.pageno, 394 buf1->hdr.chunkno);
|