Searched refs:buf1 (Results 1 - 24 of 24) sorted by relevance

/haiku-fatelf/src/tests/system/libroot/posix/
H A Dtst-wscanf.c11 char buf1[20]; local
19 n = wscanf(L"%s %S %c%C %d", buf1, wbuf2, &c3, &wc4, &d);
21 if (n != 5 || strcmp (buf1, "Hello") != 0 || wcscmp (wbuf2, L"World") != 0
23 printf ("*** FAILED, n = %d, buf1 = \"%s\", wbuf2 = L\"%S\", c3 = '%c', wc4 = L'%C', d = %d\n",
24 n, buf1, wbuf2, c3, (wint_t) wc4, d);
H A Dtst-swscanf2.c13 char buf1[20]; local
29 buf1, wbuf2, buf3, &c4, &wc5);
30 if (n != 5 || strcmp (buf1, "one") != 0 || wcscmp (wbuf2, L"two") != 0
32 printf ("*** FAILED, n = %Zu, buf1 = \"%s\", wbuf2 = L\"%S\", buf3 = \"%s\", c4 = '%c', wc5 = L'%C'\n",
33 n, buf1, wbuf2, buf3, c4, (wint_t) wc5);
/haiku-fatelf/src/libs/mapm/
H A Dmapm_rnd.c252 char ss[32], buf1[48], buf2[32]; local
266 sprintf(buf1,"%d",(millisec / 10));
281 strcat(buf1,buf2);
282 strcat(buf1,ss);
284 m_apm_set_string(atmp, buf1);
302 char buf1[32], buf2[32]; local
308 sprintf(buf1,"%ld",usec3);
311 strcat(buf1,buf2);
313 m_apm_set_string(atmp, buf1);
346 char *cvi_time, *cvi_date, buf1[6 local
[all...]
/haiku-fatelf/src/libs/x86emu/
H A Dvalidate.c64 char buf1[80],buf2[80]; \
89 r, #name, d, s, print_flags(buf1,inflags), print_flags(buf2,M.x86.R_EFLG)); \
91 r_asm, #name"_asm", d, s, print_flags(buf1,inflags), print_flags(buf2,flags));
97 r, #name, d, s, print_flags(buf1,inflags), print_flags(buf2,M.x86.R_EFLG)); \
99 r_asm, #name"_asm", d, s, print_flags(buf1,inflags), print_flags(buf2,flags));
105 r, #name, d, s, print_flags(buf1,inflags), print_flags(buf2,M.x86.R_EFLG)); \
107 r_asm, #name"_asm", d, s, print_flags(buf1,inflags), print_flags(buf2,flags));
195 char buf1[80],buf2[80]; \
213 r, #name, d, s, shift, print_flags(buf1,inflags), print_flags(buf2,M.x86.R_EFLG)); \
215 r_asm, #name"_asm", d, s, shift, print_flags(buf1,inflag
[all...]
H A Ddebug.c204 char buf1[64]; local
207 sprintf(buf1 + 2 * i, "%02x", fetch_data_byte_abs(s, o + i));
209 printk("%-20s", buf1);
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/aio_write/
H A D2-1.c45 char buf1[BUF_SIZE1]; local
48 char *bufs[3] = {buf0, buf1, buf2};
136 if (memcmp(buf1, check + BUF_SIZE0, BUF_SIZE1))
/haiku-fatelf/src/add-ons/media/plugins/ac3_decoder/liba52/
H A Dimdct.c182 complex_t * buf1; local
189 buf1 = buf + n;
193 BUTTERFLY_ZERO (buf[-1], buf1[-1], buf2[-1], buf3[-1]);
198 BUTTERFLY (buf[0], buf1[0], buf2[0], buf3[0], weight[n], weight[2*i]);
200 buf1++;
292 complex_t buf1[64], buf2[64]; local
300 buf1[i].real = t_i * data[254-k] + t_r * data[k];
301 buf1[i].imag = t_r * data[254-k] - t_i * data[k];
307 ifft64 (buf1);
317 a_r = t_r * buf1[
[all...]
/haiku-fatelf/src/bin/network/wget/src/
H A Dsnprintf.c878 char buf1[LONG_STRING]; local
962 snprintf (buf1, sizeof (buf1), fp_fmt[x], fp_nums[y]);
964 if (strcmp (buf1, buf2))
967 fp_fmt[x], buf1, buf2);
976 snprintf (buf1, sizeof (buf1), int_fmt[x], int_nums[y]);
978 if (strcmp (buf1, buf2))
981 int_fmt[x], buf1, buf2);
991 snprintf (buf1, sizeo
[all...]
/haiku-fatelf/src/bin/bash/lib/readline/
H A Dmbutil.c234 _rl_compare_chars (buf1, pos1, ps1, buf2, pos2, ps2)
235 char *buf1;
244 if ((w1 = _rl_get_char_len (&buf1[pos1], ps1)) <= 0 ||
247 (buf1[pos1] != buf2[pos2]))
251 if (buf1[pos1+i] != buf2[pos2+i])
/haiku-fatelf/src/bin/gdb/readline/
H A Dmbutil.c229 _rl_compare_chars (buf1, pos1, ps1, buf2, pos2, ps2)
230 char *buf1;
239 if ((w1 = _rl_get_char_len (&buf1[pos1], ps1)) <= 0 ||
242 (buf1[pos1] != buf2[pos2]))
246 if (buf1[pos1+i] != buf2[pos2+i])
/haiku-fatelf/src/bin/bash/lib/intl/
H A Dlocalcharset.c146 char buf1[50+1]; local
170 if (fscanf (fp, "%50s %50s", buf1, buf2) < 2)
172 l1 = strlen (buf1);
190 strcpy (res_ptr + res_size - (l2 + 1) - (l1 + 1), buf1);
/haiku-fatelf/src/bin/coreutils/lib/
H A Dlocalcharset.c194 char buf1[50+1]; local
215 if (fscanf (fp, "%50s %50s", buf1, buf2) < 2)
217 l1 = strlen (buf1);
238 strcpy (res_ptr + res_size - (l2 + 1) - (l1 + 1), buf1);
/haiku-fatelf/src/bin/findutils/gnulib/lib/
H A Dlocalcharset.c152 char buf1[50+1]; local
173 if (fscanf (fp, "%50s %50s", buf1, buf2) < 2)
175 l1 = strlen (buf1);
196 strcpy (res_ptr + res_size - (l2 + 1) - (l1 + 1), buf1);
/haiku-fatelf/src/bin/gawk/intl/
H A Dlocalcharset.c145 char buf1[50+1]; local
169 if (fscanf (fp, "%50s %50s", buf1, buf2) < 2)
171 l1 = strlen (buf1);
189 strcpy (res_ptr + res_size - (l2 + 1) - (l1 + 1), buf1);
/haiku-fatelf/src/bin/network/wget/lib/
H A Dlocalcharset.c158 char buf1[50+1]; local
179 if (fscanf (fp, "%50s %50s", buf1, buf2) < 2)
181 l1 = strlen (buf1);
202 strcpy (res_ptr + res_size - (l2 + 1) - (l1 + 1), buf1);
/haiku-fatelf/src/libs/iconv/
H A Dlocalcharset.c153 char buf1[50+1]; local
174 if (fscanf (fp, "%50s %50s", buf1, buf2) < 2)
176 l1 = strlen (buf1);
197 strcpy (res_ptr + res_size - (l2 + 1) - (l1 + 1), buf1);
/haiku-fatelf/src/bin/diffutils/src/
H A Dcmp.c380 char *buf1 = (char *) buffer1;
437 read1 = block_read (file_desc[1], buf1, bytes_to_read);
443 buf0[read0] = ~buf1[read0];
444 buf1[read1] = ~buf0[read1];
494 unsigned char c1 = buf1[first_diff];
512 unsigned char c1 = buf1[first_diff];
376 char *buf1 = (char *) buffer1; local
/haiku-fatelf/src/kits/network/libbind/resolv/
H A Dres_send.c246 * in (buf1,eom1) and (buf2,eom2)?
257 res_queriesmatch(const u_char *buf1, const u_char *eom1, argument
260 const u_char *cp = buf1 + HFIXEDSZ;
261 int qdcount = ntohs(((const HEADER*)buf1)->qdcount);
263 if (buf1 + HFIXEDSZ > eom1 || buf2 + HFIXEDSZ > eom2)
270 if ((((const HEADER *)buf1)->opcode == ns_o_update) &&
280 n = dn_expand(buf1, eom1, cp, tname, sizeof tname);
/haiku-fatelf/src/libs/ncurses/progs/
H A Dinfocmp.c340 char buf1[MAX_STRING], buf2[MAX_STRING]; local
374 dump_numeric(n1, buf1);
379 (void) printf("\t%s: %s, %s.\n", name, buf1, buf2);
384 (void) printf("\t%s= %s.\n", name, buf1);
400 dump_string(s1, buf1);
402 if (strcmp(buf1, buf2))
403 (void) printf("\t%s: %s, %s.\n", name, buf1, buf2);
/haiku-fatelf/src/bin/gdb/gdb/
H A Duw-thread.c275 static char *buf, buf1[80], buf2[80];
277 buf = buf1;
/haiku-fatelf/src/libs/print/libgutenprint/src/ghost/
H A Dijsgutenprint.c757 char *buf1 = stp_malloc(strlen("STP_OPT_") + strlen(xkey) + 1); local
759 strcpy(buf1, "STP_OPT_");
760 strcpy(buf1 + strlen("STP_OPT_"), xkey);
761 stp_string_list_add_string(option_remap_list, buf1, buf2);
762 stp_free(buf1);
/haiku-fatelf/src/bin/sharutils/
H A Dconfigure2623 char *buf1, *buf2, *buf3;
2628 buf1 = (char *)valloc(i2);
2632 *(buf1 + j) = rand();
2634 write(fd, buf1, i2);
2637 if (*(buf1 + j) != *(buf2 + j))
2645 if (*(buf1 + j) != *(buf3 + j))
/haiku-fatelf/src/bin/coreutils/src/
H A Dtr.c1661 struct Spec_list buf1, buf2;
1662 struct Spec_list *s1 = &buf1;
1660 struct Spec_list buf1, buf2; local
/haiku-fatelf/src/add-ons/input_server/methods/canna/lib/
H A Dromaji.c1572 WCHAR_T buf1[KANAYOMIINSERT_BUFLEN], buf2[KANAYOMIINSERT_BUFLEN]; local
1607 bufp = kanap; nextbufp = buf1;
1612 if (bufp == buf1) {
1616 nextbufp = buf1;
1623 if (bufp == buf1) {
1627 nextbufp = buf1;

Completed in 824 milliseconds