/openbsd/games/battlestar/ |
H A D | getcom.c | 78 buf1++; in getword() 79 if (*buf1 != ',' && *buf1 != '.') { in getword() 80 if (!*buf1) { in getword() 84 while (cnt < WORDLEN && *buf1 && !isspace((unsigned char)*buf1) && in getword() 85 *buf1 != ',' && *buf1 != '.') in getword() 103 *buf2++ = *buf1++; in getword() 107 while (*buf1 && !isspace((unsigned char)*buf1)) in getword() 108 buf1++; in getword() 110 *buf2++ = *buf1++; in getword() 113 buf1++; in getword() [all …]
|
/openbsd/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/execute/ |
H A D | strncmp-1.c | 47 unsigned char *buf1, *buf2; in main() local 59 buf1 = p1; in main() 82 test (buf1, buf2, len, 0); in main() 88 test (buf1, buf2, len, 0); in main() 94 test (buf1, buf2, len, 0); in main() 101 test (buf1, buf2, len, 0); in main() 108 test (buf1, buf2, len, 0); in main() 115 test (buf1, buf2, len, 0); in main() 122 test (buf1, buf2, len, 0); in main() 129 test (buf1, buf2, len, 0); in main() [all …]
|
H A D | strcmp-1.c | 47 unsigned char *buf1, *buf2; in main() local 59 buf1 = p1; in main() 81 test (buf1, buf2, 0); in main() 86 test (buf1, buf2, +1); in main() 91 test (buf1, buf2, -1); in main() 97 test (buf1, buf2, -1); in main() 103 test (buf1, buf2, +1); in main() 109 test (buf1, buf2, -1); in main() 115 test (buf1, buf2, +1); in main() 121 test (buf1, buf2, -1); in main() [all …]
|
H A D | 920726-1.c | 57 char buf1[100], buf2[100]; in main() local 58 first(buf1, "i i ", 5, 20); in main() 60 if (strcmp ("5 20 ", buf1) || strcmp ("5 20 ", buf2)) in main()
|
/openbsd/usr.sbin/radiusctl/ |
H A D | radiusctl.c | 347 char buf[256], buf1[256]; in radius_dump() local 380 (hexstr(buf, len, buf1, sizeof(buf1))) in radius_dump() 388 (hexstr(buf, len, buf1, sizeof(buf1))) in radius_dump() 389 ? buf1 : "(too long)"); in radius_dump() 396 (hexstr(buf, len, buf1, sizeof(buf1))) in radius_dump() 397 ? buf1 : "(too long)"); in radius_dump() 404 (hexstr(buf, len, buf1, sizeof(buf1))) in radius_dump() 405 ? buf1 : "(too long)"); in radius_dump() 428 (hexstr(buf, len, buf1, sizeof(buf1))) in radius_dump() 429 ? buf1 : "(too long)"); in radius_dump() [all …]
|
/openbsd/usr.bin/locate/bigram/ |
H A D | locate.bigram.c | 51 u_char buf1[PATH_MAX] = " "; variable 59 u_char *oldpath = buf1, *path = buf2; in main() 85 if (path == buf1) { in main() 87 oldpath = buf1; in main() 89 path = buf1; in main()
|
/openbsd/gnu/usr.bin/perl/hints/ |
H A D | irix_6.sh | 587 char buf1[64]; 589 buf1[63] = '\0'; 592 (void)sprintf(buf1,"%.0"sPRIfldbl,(long double)0.6L); 594 if (strcmp(buf1,buf2)) { 597 (void)sprintf(buf1,"%.0"sPRIfldbl,(long double)-0.6L); 599 if (strcmp(buf1,buf2)) { 626 char buf1[64]; 628 buf1[63] = '\0'; 631 (void)sprintf(buf1,"%.0"sPRIfldbl,(long double)1.6L); 633 if (strcmp(buf1,buf2)) { [all …]
|
/openbsd/gnu/usr.bin/binutils/gdb/testsuite/gdb.base/ |
H A D | coremaker.c | 41 char *buf1; variable 62 buf1 = (char *) malloc (MAPSIZE); in mmapdata() 65 buf1[j] = j; in mmapdata() 77 write (fd, buf1, MAPSIZE); in mmapdata() 94 if (buf1[j] != buf2[j]) in mmapdata()
|
/openbsd/bin/stty/ |
H A D | print.c | 54 char buf1[100], buf2[100]; in print() local 174 (void)snprintf(buf1, sizeof(buf1), "%s = %s;", in print() 176 bput(buf1, 0); in print() 185 (void)snprintf(buf1 + cnt * 8, sizeof(buf1) - cnt * 8, in print() 191 (void)printf("%s\n", buf1); in print() 196 (void)printf("%s\n", buf1); in print()
|
/openbsd/lib/libradius/ |
H A D | radius_eapmsk.c | 41 uint8_t buf1[256]; in radius_get_eap_msk() local 48 len1 = sizeof(buf1); in radius_get_eap_msk() 50 radius_get_mppe_send_key_attr(packet, buf1, &len1, secret) == 0) { in radius_get_eap_msk() 56 memcpy(((char *)buf) + len0, buf1, len1); in radius_get_eap_msk()
|
/openbsd/gnu/gcc/gcc/ |
H A D | vmsdbgout.c | 429 char buf1[256]; in addr_const_to_string() local 443 strcat (str, buf1); in addr_const_to_string() 460 strcat (str, buf1); in addr_const_to_string() 467 strcat (str, buf1); in addr_const_to_string() 482 strcat (str, buf1); in addr_const_to_string() 495 strcat (str, buf1); in addr_const_to_string() 499 strcat (str, buf1); in addr_const_to_string() 504 strcat (str, buf1); in addr_const_to_string() 508 strcat (str, buf1); in addr_const_to_string() 527 strcat (str, buf1); in addr_const_to_string() [all …]
|
/openbsd/gnu/usr.bin/gcc/gcc/ |
H A D | vmsdbgout.c | 406 char buf1[256]; local 422 strcat (str, buf1); 439 strcat (str, buf1); 446 strcat (str, buf1); 461 strcat (str, buf1); 474 strcat (str, buf1); 478 strcat (str, buf1); 483 strcat (str, buf1); 487 strcat (str, buf1); 506 strcat (str, buf1); [all …]
|
/openbsd/regress/gnu/egcs/gcc-bounds/ |
H A D | sscanf-3.c | 3 extern char buf1[]; 6 char q[10], buf1[10]; in main() local 7 sscanf(q,"%[.0-9]",buf1); in main()
|
H A D | sscanf-4.c | 5 char buf1[10]; in main() local 6 sscanf(q,"%10c",buf1); in main()
|
H A D | sscanf-5.c | 5 char buf1[10]; in main() local 6 sscanf(q,"%20c",buf1); in main()
|
/openbsd/usr.bin/locate/code/ |
H A D | locate.code.c | 91 u_char buf1[PATH_MAX] = " "; variable 167 oldpath = buf1; in main() 233 if (path == buf1) { /* swap pointers */ in main() 235 oldpath = buf1; in main() 237 path = buf1; in main()
|
/openbsd/usr.sbin/eeprom/ |
H A D | ophandlers.c | 177 char buf1[BUFSIZE], buf2[BUFSIZE], buf3[BUFSIZE], buf4[BUFSIZE]; in op_dump() local 189 bzero(buf1, sizeof(buf1)); in op_dump() 194 opio1.op_name = buf1; in op_dump() 253 bzero(opio1.op_name, sizeof(buf1)); in op_dump() 255 strlcpy(opio1.op_name, opio2.op_name, sizeof(buf1)); in op_dump()
|
/openbsd/gnu/usr.bin/perl/cpan/Test-Harness/t/ |
H A D | yamlish-output.t | 71 my @buf1 = (); 77 destination => \@buf1, 78 normalise => sub { return \@buf1 },
|
/openbsd/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/compile/ |
H A D | 20001221-1.c | 8 char buf1[nibbles + 1]; in foo() local 11 buf1[nibbles] = '\0'; in foo() 16 void *__s = (buf1); in foo()
|
/openbsd/gnu/lib/libreadline/ |
H A D | mbutil.c | 229 _rl_compare_chars (buf1, pos1, ps1, buf2, pos2, ps2) in _rl_compare_chars() argument 230 char *buf1; in _rl_compare_chars() 239 if ((w1 = _rl_get_char_len (&buf1[pos1], ps1)) <= 0 || 242 (buf1[pos1] != buf2[pos2])) 246 if (buf1[pos1+i] != buf2[pos2+i])
|
/openbsd/gnu/usr.bin/gcc/gcc/intl/ |
H A D | localcharset.c | 122 char buf1[50+1]; in get_charset_aliases() local 146 if (fscanf(fp, "%50s %50s", buf1, buf2) < 2) in get_charset_aliases() 148 l1 = strlen (buf1); in get_charset_aliases() 166 strcpy (res_ptr + res_size - (l2 + 1) - (l1 + 1), buf1); in get_charset_aliases()
|
/openbsd/gnu/gcc/intl/ |
H A D | localcharset.c | 145 char buf1[50+1]; in get_charset_aliases() local 169 if (fscanf (fp, "%50s %50s", buf1, buf2) < 2) in get_charset_aliases() 171 l1 = strlen (buf1); in get_charset_aliases() 189 strcpy (res_ptr + res_size - (l2 + 1) - (l1 + 1), buf1); in get_charset_aliases()
|
/openbsd/gnu/usr.bin/texinfo/intl/ |
H A D | localcharset.c | 145 char buf1[50+1]; in get_charset_aliases() local 169 if (fscanf (fp, "%50s %50s", buf1, buf2) < 2) in get_charset_aliases() 171 l1 = strlen (buf1); in get_charset_aliases() 189 strcpy (res_ptr + res_size - (l2 + 1) - (l1 + 1), buf1); in get_charset_aliases()
|
/openbsd/libexec/talkd/ |
H A D | process.c | 94 char buf1[32], buf2[32]; in process_request() local 96 strlcpy(buf1, inet_ntoa(satosin(&rp->addr)->sin_addr), in process_request() 97 sizeof(buf1)); in process_request() 101 buf1, buf2); in process_request()
|
/openbsd/usr.sbin/npppd/npppd/ |
H A D | npppd_pool.c | 125 char buf0[BUFSIZ], buf1[BUFSIZ]; in npppd_pool_reload() local 163 snprintf(buf1, sizeof(buf1), "%d.%d.%d.%d/%d", in npppd_pool_reload() 165 strlcat(buf0, buf1, sizeof(buf0)); in npppd_pool_reload() 179 snprintf(buf1, sizeof(buf1), "%d.%d.%d.%d/%d", in npppd_pool_reload() 181 strlcat(buf0, buf1, sizeof(buf0)); in npppd_pool_reload()
|