/freebsd-9.3-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-9.3-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-9.3-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-9.3-release/crypto/openssl/demos/tunala/ |
H A D | cb.c | 73 char buf1[256]; /* Used for the subject name */ local 85 buf1[0] = buf2[0] = '\0'; 86 /* Fill buf1 */ 87 X509_NAME_oneline(X509_get_subject_name(err_cert), buf1, 256); local 117 fprintf(fp_cb_ssl_verify, "--> subject = %s\n", buf1);
|
/freebsd-9.3-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-9.3-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-9.3-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-9.3-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 | 342 char buf1[PATH_MAX], buf2[PATH_MAX], key[PATH_MAX], pivot[PATH_MAX]; local 352 realsrc = _lookup_alias(CS_ALIAS, src, buf1, sizeof(buf1),
|
/freebsd-9.3-release/contrib/ntp/sntp/libevent/test/ |
H A D | regress_buffer.c | 1613 struct evbuffer *buf1 = NULL, *buf2 = NULL; local 1615 buf1 = evbuffer_new(); 1616 tt_assert(buf1); 1618 evbuffer_add_reference(buf1, chunk1, len1, ref_done_cb, (void*)111); 1619 evbuffer_add(buf1, ", ", 2); 1620 evbuffer_add_reference(buf1, chunk2, len2, ref_done_cb, (void*)222); 1621 tt_int_op(evbuffer_get_length(buf1), ==, len1+len2+2); 1624 tt_int_op(evbuffer_remove(buf1, tmp, 6), ==, 6); 1626 tt_int_op(evbuffer_remove(buf1, tmp, 5), ==, 5); 1630 tt_int_op(evbuffer_prepend(buf1, " 1689 struct evbuffer *buf1 = NULL, *buf2 = NULL; local 1757 struct evbuffer *buf1 = NULL, *buf2 = NULL; local 1789 struct evbuffer *buf1 = NULL, *buf2 = NULL; local [all...] |
/freebsd-9.3-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-9.3-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-9.3-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-9.3-release/crypto/heimdal/lib/roken/ |
H A D | snprintf-test.c | 47 char buf1[256], buf2[256]; local 50 ret = vsnprintf (buf1, sizeof(buf1), format, ap); 51 if (ret >= sizeof(buf1)) 56 ret = strcmp (buf1, buf2); 59 format, buf1, buf2);
|
/freebsd-9.3-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-9.3-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-9.3-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-9.3-release/sbin/gvinum/ |
H A D | gvinum.c | 183 char buf[BUFSIZ], buf1[BUFSIZ], commandline[BUFSIZ], *ed, *sdname; local 289 snprintf(buf1, sizeof(buf1), "volume%d", volumes); 290 gctl_ro_param(req, buf1, sizeof(*v), v); 325 snprintf(buf1, sizeof(buf1), "plex%d", plexes); 326 gctl_ro_param(req, buf1, sizeof(*p), p); 359 snprintf(buf1, sizeof(buf1), "sd%d", subdisks); 360 gctl_ro_param(req, buf1, sizeo [all...] |
/freebsd-9.3-release/contrib/cvs/src/ |
H A D | filesubr.c | 595 char *buf1, *buf2; local 615 buf1 = xreadlink (file1); 617 result = (strcmp (buf1, buf2) == 0); 618 free (buf1); 660 buf1 = xmalloc (buf_size); 665 read1 = block_read (fd1, buf1, buf_size); 675 ret = memcmp(buf1, buf2, read1); 678 free (buf1);
|
/freebsd-9.3-release/crypto/openssl/crypto/asn1/ |
H A D | asn1_lib.c | 440 char buf1[DECIMAL_SIZE(address) + 1], buf2[DECIMAL_SIZE(offset) + 1]; local 442 BIO_snprintf(buf1, sizeof buf1, "%lu", (unsigned long)address); 444 ERR_add_error_data(4, "address=", buf1, " offset=", buf2);
|
/freebsd-9.3-release/usr.bin/netstat/ |
H A D | unix.c | 262 char buf1[15]; local 283 snprintf(buf1, 15, "%d/%d/%d", so->so_qlen, 285 printf("unix %-14.14s", buf1);
|
/freebsd-9.3-release/sys/fs/ext2fs/ |
H A D | ext2_htree.c | 631 char *buf1 = NULL; local 640 buf1 = malloc(blksize, M_TEMP, M_WAITOK | M_ZERO); 650 memcpy(buf1, ep, dirlen); 651 ep = (struct ext2fs_direct_2 *)buf1; 652 while ((char *)ep < buf1 + dirlen) 655 ep->e2d_reclen = buf1 + blksize - (char *)ep; 679 ext2_htree_split_dirblock(buf1, buf2, blksize, fs->e3fs_hash_seed, 699 error = ext2_htree_append_block(vp, buf1, cnp, blksize); 708 free(buf1, M_TEMP); 715 free(buf1, M_TEM [all...] |
/freebsd-9.3-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-9.3-release/contrib/bind9/lib/dns/ |
H A D | gen.c | 234 char buf1[TYPECLASSBUF], buf2[TYPECLASSBUF]; local 265 funname(tt->typename, buf1), args); 270 funname(tt->classname, buf1), 523 char buf1[TYPECLASSBUF]; local 812 funname(tt->typename, buf1), 828 s = funname(tt->typename, buf1); 865 s = funname(name, buf1); \
|