Searched refs:buf2 (Results 1 - 25 of 32) sorted by relevance

12

/haiku-fatelf/src/libs/mapm/
H A Dmapm_rnd.c252 char ss[32], buf1[48], buf2[32]; local
267 sprintf(buf2,"%lu",ul);
280 M_reverse_string(buf2);
281 strcat(buf1,buf2);
302 char buf1[32], buf2[32]; local
309 sprintf(buf2,"%lu",sec3);
310 M_reverse_string(buf2);
311 strcat(buf1,buf2);
346 char *cvi_time, *cvi_date, buf1[64], buf2[32]; local
365 buf2[
[all...]
H A Dmapm_set.c105 char *p, *buf, ch, buf2[64]; local
115 M_long_2_ascii(buf2, mm); /* convert long -> ascii in base 10 */
116 buf = buf2;
/haiku-fatelf/src/kits/network/libbind/resolv/
H A Dres_mkupdate.c89 char buf2[MAXDNAME]; local
211 if (!getword_str(buf2, sizeof buf2, &startp, endp))
213 if (!inet_aton(buf2, &ina))
226 if (!getword_str(buf2, sizeof buf2, &startp, endp))
228 n = dn_comp(buf2, cp, buflen, dnptrs, lastdnptr);
238 if (!getword_str(buf2, sizeof buf2, &startp,
241 n = dn_comp(buf2, c
[all...]
H A Dres_send.c246 * in (buf1,eom1) and (buf2,eom2)?
258 const u_char *buf2, const u_char *eom2)
263 if (buf1 + HFIXEDSZ > eom1 || buf2 + HFIXEDSZ > eom2)
271 (((const HEADER *)buf2)->opcode == ns_o_update))
274 if (qdcount != ntohs(((const HEADER*)buf2)->qdcount))
288 if (!res_nameinquery(tname, ttype, tclass, buf2, eom2))
257 res_queriesmatch(const u_char *buf1, const u_char *eom1, const u_char *buf2, const u_char *eom2) argument
/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,inflags), print_flags(buf2,flag
[all...]
/haiku-fatelf/src/libs/ncurses/progs/
H A Dinfocmp.c340 char buf1[MAX_STRING], buf2[MAX_STRING]; local
375 dump_numeric(n2, buf2);
379 (void) printf("\t%s: %s, %s.\n", name, buf1, buf2);
401 dump_string(s2, buf2);
402 if (strcmp(buf1, buf2))
403 (void) printf("\t%s: %s, %s.\n", name, buf1, buf2);
562 char buf2[MAX_TERMINFO_LENGTH]; local
589 (void) strncpy(buf2, sp, len);
590 buf2[len] = '\0';
592 if (_nc_capcmp(cp, buf2))
[all...]
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/aio_write/
H A D2-1.c47 char buf2[BUF_SIZE2]; local
48 char *bufs[3] = {buf0, buf1, buf2};
142 if (memcmp(buf2, check + BUF_SIZE0 + BUF_SIZE1, BUF_SIZE2))
/haiku-fatelf/src/add-ons/media/plugins/ac3_decoder/liba52/
H A Dimdct.c183 complex_t * buf2; local
190 buf2 = buf + 2 * 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]);
201 buf2++;
292 complex_t buf1[64], buf2[64]; local
303 buf2[i].real = t_i * data[255-k] + t_r * data[k+1];
304 buf2[i].imag = t_r * data[255-k] - t_i * data[k+1];
308 ifft64 (buf2);
322 c_r = t_r * buf2[
[all...]
/haiku-fatelf/src/libs/ncurses/ncurses/tinfo/
H A Dparse_entry.c773 char buf2[MAX_TERMINFO_LENGTH]; local
827 for (dp = buf2, bp = tp->Strings[from_ptr->nte_index]; *bp; bp++) {
837 tp->Strings[to_ptr->nte_index] = _nc_save_str(buf2);
877 char buf2[MAX_TERMCAP_LENGTH]; local
879 _nc_str_init(&result, buf2, sizeof(buf2));
894 if (buf2[0]) {
895 acs_chars = _nc_save_str(buf2);
917 char buf2[MAX_TERMCAP_LENGTH]; local
920 _nc_str_init(&result, buf2, sizeo
[all...]
/haiku-fatelf/src/bin/gdb/gdb/gdbserver/
H A Dremote-utils.c279 char *buf2; local
284 buf2 = malloc (PBUFSIZ);
289 p = buf2;
309 if (write (remote_desc, buf2, p - buf2) != p - buf2)
317 fprintf (stderr, "putpkt (\"%s\"); [looking for ack]\n", buf2);
334 free (buf2);
344 free (buf2);
/haiku-fatelf/src/bin/bash/lib/readline/
H A Dmbutil.c234 _rl_compare_chars (buf1, pos1, ps1, buf2, pos2, ps2)
238 char *buf2;
245 (w2 = _rl_get_char_len (&buf2[pos2], ps2)) <= 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)
233 char *buf2;
240 (w2 = _rl_get_char_len (&buf2[pos2], ps2)) <= 0 ||
242 (buf1[pos1] != buf2[pos2]))
246 if (buf1[pos1+i] != buf2[pos2+i])
/haiku-fatelf/src/bin/bash/lib/intl/
H A Dlocalcharset.c147 char buf2[50+1]; local
170 if (fscanf (fp, "%50s %50s", buf1, buf2) < 2)
173 l2 = strlen (buf2);
191 strcpy (res_ptr + res_size - (l2 + 1), buf2);
/haiku-fatelf/src/bin/coreutils/lib/
H A Dlocalcharset.c195 char buf2[50+1]; local
215 if (fscanf (fp, "%50s %50s", buf1, buf2) < 2)
218 l2 = strlen (buf2);
239 strcpy (res_ptr + res_size - (l2 + 1), buf2);
/haiku-fatelf/src/bin/findutils/gnulib/lib/
H A Dlocalcharset.c153 char buf2[50+1]; local
173 if (fscanf (fp, "%50s %50s", buf1, buf2) < 2)
176 l2 = strlen (buf2);
197 strcpy (res_ptr + res_size - (l2 + 1), buf2);
/haiku-fatelf/src/bin/gawk/intl/
H A Dlocalcharset.c146 char buf2[50+1]; local
169 if (fscanf (fp, "%50s %50s", buf1, buf2) < 2)
172 l2 = strlen (buf2);
190 strcpy (res_ptr + res_size - (l2 + 1), buf2);
/haiku-fatelf/src/bin/network/wget/lib/
H A Dlocalcharset.c159 char buf2[50+1]; local
179 if (fscanf (fp, "%50s %50s", buf1, buf2) < 2)
182 l2 = strlen (buf2);
203 strcpy (res_ptr + res_size - (l2 + 1), buf2);
/haiku-fatelf/src/libs/iconv/
H A Dlocalcharset.c154 char buf2[50+1]; local
174 if (fscanf (fp, "%50s %50s", buf1, buf2) < 2)
177 l2 = strlen (buf2);
198 strcpy (res_ptr + res_size - (l2 + 1), buf2);
/haiku-fatelf/src/kits/network/libbind/nameser/
H A Dns_verify.c236 u_char buf2[MAXDNAME]; local
253 n = ns_name_pton(name, buf2, sizeof(buf2));
256 n = ns_name_ntol(buf2, buf, sizeof(buf));
267 n = ns_name_pton(alg, buf2, sizeof(buf2));
270 n = ns_name_ntol(buf2, buf, sizeof(buf));
/haiku-fatelf/src/bin/network/wget/src/
H A Dsnprintf.c879 char buf2[LONG_STRING]; local
963 sprintf (buf2, fp_fmt[x], fp_nums[y]);
964 if (strcmp (buf1, buf2))
967 fp_fmt[x], buf1, buf2);
977 sprintf (buf2, int_fmt[x], int_nums[y]);
978 if (strcmp (buf1, buf2))
981 int_fmt[x], buf1, buf2);
992 sprintf (buf2, llong_fmt[x], llong_nums[y]);
993 if (strcmp (buf1, buf2))
996 llong_fmt[x], buf1, buf2);
[all...]
/haiku-fatelf/src/bin/gdb/gdb/
H A Dremote-sds.c729 char buf2[PBUFSIZ], buf3[PBUFSIZ];
747 p = buf2;
783 fprintf_unfiltered (gdb_stdlog, "Sending encoded: \"%s\"", buf2);
789 if (serial_write (sds_desc, buf2, p - buf2))
722 char buf2[PBUFSIZ], buf3[PBUFSIZ]; local
H A Duw-thread.c275 static char *buf, buf1[80], buf2[80];
276 if (!buf || buf == buf2)
279 buf = buf2;
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/dos/r5/
H A Ddosfs.c396 uint8 buf2[512]; local
400 buf2[0] = ~buf[0];
401 if ((err = read_pos(vol->fd, vol->bytes_per_sector*(vol->reserved_sectors + vol->sectors_per_fat*i), (void *)buf2, 0x200)) != 0x200) {
406 if (buf2[0] != vol->media_descriptor) {
407 dprintf("dosfs error: media descriptor mismatch in fat # %ld (%x != %x)\n", i, buf2[0], vol->media_descriptor);
414 if (memcmp(buf, buf2, 0x200)) {
/haiku-fatelf/src/bin/zip/
H A Dzipfile.c845 char buf2[16];
852 || (fread(buf2, 16, 1, f) != 1))
854 if (LG(buf2) != EXTLOCSIG)
864 b[LOCCRC+n] = buf2[4+n];
948 char buf2[16];
949 if (!fseek(f, zipbeg - 12, SEEK_SET) && fread(buf2, 12, 1, f) == 1) {
950 if (LG(buf2 + 4) == 0xF1030000 /* 1009 in Motorola byte order */)
951 /* could also check if LG(buf2) == 0xF2030000... no for now */
/haiku-fatelf/src/bin/network/tcpdump/
H A Dsmbutil.c794 const u_char *buf2; local
796 buf2 = smb_fdata(buf, fmt, maxbuf, unicodestr);
798 if (buf2 == NULL)
800 if (buf2 == buf)
802 buf = buf2;

Completed in 290 milliseconds

12