Searched refs:buff (Results 26 - 50 of 60) sorted by relevance

123

/haiku-fatelf/src/bin/gdb/bfd/
H A Decofflink.c1470 char *buff = NULL;
1505 buff = (PTR) bfd_malloc (swap->external_hdr_size);
1506 if (buff == NULL && swap->external_hdr_size != 0)
1509 (*swap->swap_hdr_out) (abfd, symhdr, buff);
1510 if (bfd_bwrite (buff, swap->external_hdr_size, abfd)
1514 if (buff != NULL)
1515 free (buff);
1518 if (buff != NULL)
1519 free (buff);
2492 ecoff_collect_shuffle (l, buff)
1467 char *buff = NULL; local
[all...]
H A Dcoff64-rs6000.c839 struct external_scnhdr buff; local
888 if (bfd_coff_swap_scnhdr_out (abfd, &section, &buff) == 0
889 || bfd_bwrite ((PTR) (&buff), amount, abfd) != amount)
1063 char * buff; local
1066 buff = bfd_malloc (amount);
1067 if (buff == NULL)
1070 bfd_coff_swap_filehdr_out (abfd, (PTR) &internal_f, (PTR) buff);
1071 amount = bfd_bwrite ((PTR) buff, amount, abfd);
1073 free (buff);
1081 char * buff; local
[all...]
H A Dcoffcode.h3739 SCNHDR buff;
3742 if (coff_swap_scnhdr_out (abfd, &section, &buff) == 0
3743 || bfd_bwrite ((PTR) &buff, amt, abfd) != amt)
3851 SCNHDR buff;
3866 if (coff_swap_scnhdr_out (abfd, &scnhdr, &buff) == 0
3867 || bfd_bwrite ((PTR) &buff, amt, abfd) != amt)
4241 char * buff;
4244 buff = bfd_malloc (amount);
4245 if (buff == NULL)
4248 bfd_coff_swap_filehdr_out (abfd, (PTR) &internal_f, (PTR) buff);
3738 SCNHDR buff; variable
3850 SCNHDR buff; variable
4240 char * buff; variable
4250 free (buff); variable
4260 char * buff; variable
4270 free (buff); variable
4283 AOUTHDR buff; variable
[all...]
H A Decoff.c2490 PTR buff = NULL;
2522 /* Allocate buff big enough to hold a section header,
2531 buff = (PTR) bfd_malloc (siz);
2532 if (buff == NULL)
2590 if (bfd_coff_swap_scnhdr_out (abfd, (PTR) &section, buff) == 0
2591 || bfd_bwrite (buff, scnhsz, abfd) != scnhsz)
2739 bfd_coff_swap_filehdr_out (abfd, (PTR) &internal_f, buff);
2740 if (bfd_bwrite (buff, filhsz, abfd) != filhsz)
2743 bfd_coff_swap_aouthdr_out (abfd, (PTR) &internal_a, buff);
2744 if (bfd_bwrite (buff, aouts
2482 PTR buff = NULL; local
[all...]
H A Dcoffgen.c1358 PTR buff; local
1361 buff = bfd_alloc (abfd, linesz);
1362 if (!buff)
1387 bfd_coff_swap_lineno_out (abfd, &out, buff);
1388 if (bfd_bwrite (buff, (bfd_size_type) linesz, abfd)
1396 bfd_coff_swap_lineno_out (abfd, &out, buff);
1397 if (bfd_bwrite (buff, (bfd_size_type) linesz, abfd)
1408 bfd_release (abfd, buff);
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/fs_shell/
H A Dmount.c262 char buff[128]; local
275 sprintf(buff, "myfs:%s", device);
276 myfs->sem = create_sem(MAX_READERS, buff);
/haiku-fatelf/src/kits/network/libbind/irs/
H A Dirpmarshall.c1965 char buff[10];
1966 char *p = argv[1], *q = &buff[0];
1968 while (getfield(&q, sizeof buff, &p, ':') != NULL) {
2041 char *buff; local
2070 buff = malloc(size);
2072 irp_marshall_ng_start(ngname, buff, &size);
2075 domains[i], buff,
2079 irp_marshall_ng_end(buff, &size);
2081 if (strcmp_nws(argv[1], buff) != 0) {
2088 char *h, *u, *d, *buff; local
[all...]
/haiku-fatelf/headers/posix/
H A Dstdio.h118 extern void setbuf (FILE *file, char *buff);
119 extern int setvbuf(FILE *file, char *buff, int mode, size_t size);
/haiku-fatelf/src/add-ons/input_server/methods/canna/rk/
H A Dbun.c1149 unsigned char *buff; local
1159 if (!(buff = (unsigned char *)malloc(size)))
1161 (void)strcpy((char *)buff, dicname);
1165 free(buff);
1170 free(buff);
1174 free(buff);
1187 free(buff);
1193 free(buff);
1210 free(buff);
1214 free(buff);
[all...]
/haiku-fatelf/src/bin/coreutils/lib/
H A Dgetdate.y1110 char buff[20];
1111 char *p = buff;
1116 if (p < buff + sizeof buff - 1)
1123 tp = lookup_word (pc, buff);
1542 char buff[BUFSIZ];
1547 buff[BUFSIZ - 1] = '\0';
1548 while (fgets (buff, BUFSIZ - 1, stdin) && buff[0])
1552 if (! get_date (&d, buff, NUL
[all...]
H A Dgetdate.c3083 char buff[20];
3084 char *p = buff;
3089 if (p < buff + sizeof buff - 1)
3096 tp = lookup_word (pc, buff);
3515 char buff[BUFSIZ];
3520 buff[BUFSIZ - 1] = '\0';
3521 while (fgets (buff, BUFSIZ - 1, stdin) && buff[0])
3525 if (! get_date (&d, buff, NUL
3080 char buff[20]; local
3512 char buff[BUFSIZ]; local
[all...]
/haiku-fatelf/src/bin/coreutils/src/
H A Dpr.c363 current line in buff[].
366 buff.
405 int lines_stored; /* Number of lines stored in buff. */
452 we store the leftmost columns contiguously in buff.
453 To print a line from buff, get the index of the first character variable
455 static char *buff;
457 /* Index of the position in buff where the next character
461 /* The number of characters in buff.
462 Used for allocation of buff and to detect overflow of buff
[all...]
/haiku-fatelf/src/add-ons/kernel/file_systems/googlefs/
H A Dringbuff.c117 char buff[10]; member in struct:_myrb
/haiku-fatelf/src/bin/
H A Durlwrapper.cpp75 char buff[B_PATH_NAME_LENGTH]; local
78 char* args[] = { const_cast<char*>("urlwrapper"), buff, NULL };
200 if (f.ReadAttr("META:url", B_STRING_TYPE, 0LL, buff,
202 BPrivate::Support::BUrl u(buff);
/haiku-fatelf/src/system/runtime_loader/
H A Delf_load_image.cpp37 count_regions(const char* imagePath, char const* buff, int phnum, int phentsize) argument
44 pheaders = (elf_phdr*)(buff + i * phentsize);
92 parse_program_headers(image_t* image, uint64_t imageOffset, char* buff, argument
101 pheader = (elf_phdr*)(buff + i * phentsize);
/haiku-fatelf/src/add-ons/input_server/methods/canna/lib/
H A Dkeydef.c59 static void regist_act_hash(unsigned char *tbl_ptr, unsigned char key, unsigned char *buff);
481 regist_act_hash(unsigned char *tbl_ptr, unsigned char key, unsigned char *buff) argument
492 p->kinou_seq = (unsigned char *)malloc(strlen((char *)buff)+1);
494 strcpy((char *)p->kinou_seq,(char *)buff);
502 p->kinou_seq = (unsigned char *)malloc(strlen((char *)buff)+1);
504 strcpy((char *)p->kinou_seq,(char *)buff);
/haiku-fatelf/src/bin/gdb/bfd/doc/
H A Dchew.c1479 char buff[10000]; local
1483 r = fread (buff, 1, sizeof (buff), file);
1484 catbuf (str, buff, r);
1487 buff[0] = 0;
1489 catbuf (str, buff, 1);
/haiku-fatelf/src/add-ons/media/plugins/xvid_decoder/
H A DXvidDecoder.cpp94 print_hex(unsigned char* buff, int len) argument
100 printf("%02X", buff[i+j]);
109 printf("%c", make_printable_char(buff[i+j]));
/haiku-fatelf/src/bin/zip/
H A Dbeos.c478 char buff[80]; local
480 sprintf( buff, "read %ld, expected %ld",
482 zipwarn( "attribute size mismatch: ", buff );
/haiku-fatelf/src/apps/aboutsystem/
H A DAboutSystem.cpp915 char* buff = (char*)malloc((size_t)st.st_size + 1); local
916 if (!buff)
918 buff[(size_t)st.st_size] = '\0';
920 if (fortunes.Read(buff, (size_t)st.st_size) == (ssize_t)st.st_size) {
921 char* p = buff;
933 free(buff);
/haiku-fatelf/src/tools/docbook/libxml2/
H A Dxmlreader.c1645 xmlBufferPtr buff, buff2; local
1652 buff = xmlBufferCreate();
1660 xmlBufferFree(buff);
1663 xmlBufferCat(buff, buff2->content);
1667 resbuf = buff->content;
1668 buff->content = NULL;
1670 xmlBufferFree(buff);
1691 xmlBufferPtr buff; local
1700 buff = xmlBufferCreate();
1701 if (xmlNodeDump(buff, do
[all...]
/haiku-fatelf/src/bin/bash/support/
H A Dman2html.c3268 char buff[NULL_TERMINATED(MED_STR_MAX)]; local
3272 bufptr = buff;
3281 if (bufptr >= buff + MED_STR_MAX)
3291 if (bufptr < buff + MED_STR_MAX) {
3295 if (bufptr >= buff + MED_STR_MAX)
3299 if (bufptr < buff + MED_STR_MAX) {
3309 if (bufptr >= buff + MED_STR_MAX)
3315 scan_troff_mandoc(buff, 1, NULL);
/haiku-fatelf/src/apps/sudoku/
H A DSudokuView.cpp367 char buff[2]; local
368 _SetText(buff, fField->ValueAt(x, y));
397 text << buff; local
406 text << buff; local
/haiku-fatelf/src/add-ons/kernel/network/protocols/l2cap/
H A Dl2cap_signal.cpp714 net_buffer* buff = NULL; local
768 buff = l2cap_discon_rsp(ident, dcid, scid);
769 cmd = btCoreData->SpawnSignal(conn, channel, buff, ident, L2CAP_DISCON_RSP);
/haiku-fatelf/src/bin/unzip/
H A Dbeos.c1318 char buff[PATH_MAX], cwd_buff[PATH_MAX];
1324 sprintf( buff, "%s/%s", getcwd( cwd_buff, PATH_MAX ), file );
1325 fullname = buff;

Completed in 188 milliseconds

123