Home
last modified time | relevance | path

Searched refs:buff (Results 76 – 100 of 147) sorted by relevance

123456

/dragonfly/contrib/libarchive/libarchive/
H A Darchive_getdate.c876 char buff[64]; in nexttoken() local
907 && i < sizeof(buff)-1) { in nexttoken()
910 buff[i++] = tolower((unsigned char)*src); in nexttoken()
912 buff[i++] = *src; in nexttoken()
916 buff[i] = '\0'; in nexttoken()
927 if (strlen(buff) >= abbrev in nexttoken()
928 && strncmp(tp->name, buff, strlen(buff)) in nexttoken()
H A Darchive_write_add_filter_lrzip.c174 const void *buff, size_t length) in archive_write_lrzip_write() argument
178 return __archive_write_program_write(f, data->pdata, buff, length); in archive_write_lrzip_write()
H A Darchive_read_support_format_ar.c87 const void **buff, size_t *size, int64_t *offset);
482 const void **buff, size_t *size, int64_t *offset) in archive_read_format_ar_read_data() argument
495 *buff = __archive_read_ahead(a, 1, &bytes_read); in archive_read_format_ar_read_data()
523 *buff = NULL; in archive_read_format_ar_read_data()
H A Darchive_write_set_format_iso9660.c1663 const char *xp = buff; in wb_write_to_temp()
1757 buff = (const void *)(((const unsigned char *)buff) + ts); in write_iso9660_data()
7320 unsigned char buff[4096]; in setup_boot_information() local
7337 rsize = sizeof(buff); in setup_boot_information()
7362 set_num_731(buff+12, sum); in setup_boot_information()
7364 memset(buff+16, 0, 40); in setup_boot_information()
7528 magic_buff = buff; in zisofs_detect_magic()
7715 unsigned char buff[16]; in zisofs_finish_entry() local
7754 memcpy(buff, zisofs_magic, 8); in zisofs_finish_entry()
7758 buff[14] = buff[15] = 0;/* Reserved */ in zisofs_finish_entry()
[all …]
H A Darchive_write_set_format_cpio_newc.c50 const void *buff, size_t s);
375 archive_write_newc_data(struct archive_write *a, const void *buff, size_t s) in archive_write_newc_data() argument
384 ret = __archive_write_output(a, buff, s); in archive_write_newc_data()
H A Darchive_write_set_format_cpio_odc.c49 const void *buff, size_t s);
417 archive_write_odc_data(struct archive_write *a, const void *buff, size_t s) in archive_write_odc_data() argument
426 ret = __archive_write_output(a, buff, s); in archive_write_odc_data()
H A Darchive_write_set_format_xar.c664 p = (const unsigned char *)buff; in write_to_temp()
695 checksum_update(&(xar->e_sumwrk), buff, s); in xar_write_data()
696 checksum_update(&(xar->a_sumwrk), buff, s); in xar_write_data()
699 xar->stream.next_in = (const unsigned char *)buff; in xar_write_data()
736 checksum_update(&(xar->e_sumwrk), buff, rsize); in xar_write_data()
744 const unsigned char *b = (const unsigned char *)buff; in xar_write_data()
771 if (write_to_temp(a, buff, size) != ARCHIVE_OK) in xar_write_data()
950 char buff[MAX_SUM_SIZE*2 + 1]; in xmlwrite_sum() local
960 p = buff; in xmlwrite_sum()
969 key, buff, in xmlwrite_sum()
[all …]
H A Darchive_write_add_filter_lz4.c289 const void *buff, size_t length) in archive_filter_lz4_write() argument
308 p = (const char *)buff; in archive_filter_lz4_write()
674 archive_filter_lz4_write(struct archive_write_filter *f, const void *buff, in archive_filter_lz4_write() argument
679 return __archive_write_program_write(f, data->pdata, buff, length); in archive_filter_lz4_write()
H A Darchive_read_open_filename.c90 static ssize_t file_read(struct archive *, void *, const void **buff);
388 file_read(struct archive *a, void *client_data, const void **buff) in file_read() argument
406 *buff = mine->buffer; in file_read()
H A Darchive_write_add_filter_xz.c420 const void *buff, size_t length) in archive_compressor_xz_write() argument
428 data->crc32 = lzma_crc32(buff, length, data->crc32); in archive_compressor_xz_write()
431 data->stream.next_in = buff; in archive_compressor_xz_write()
H A Darchive_write_add_filter_b64encode.c215 archive_filter_b64encode_write(struct archive_write_filter *f, const void *buff, in archive_filter_b64encode_write() argument
219 const unsigned char *p = buff; in archive_filter_b64encode_write()
H A Darchive_write_add_filter_uuencode.c206 archive_filter_uuencode_write(struct archive_write_filter *f, const void *buff, in archive_filter_uuencode_write() argument
210 const unsigned char *p = buff; in archive_filter_uuencode_write()
H A Darchive_read.c163 client_read_proxy(struct archive_read_filter *self, const void **buff) in client_read_proxy() argument
167 self->data, buff); in client_read_proxy()
823 archive_read_data(struct archive *_a, void *buff, size_t s) in archive_read_data() argument
833 dest = (char *)buff; in archive_read_data()
924 const void *buff; in archive_read_data_skip() local
935 &buff, &size, &offset)) in archive_read_data_skip()
974 const void **buff, size_t *size, int64_t *offset) in _archive_read_data_block() argument
987 return (a->format->read_data)(a, buff, size, offset); in _archive_read_data_block()
/dragonfly/contrib/gcc-4.7/gcc/
H A Dc-aux-info.c313 char buff[10]; in gen_type() local
314 sprintf (buff, "[%d]", size); in gen_type()
315 ret_val = gen_type (concat (ret_val, buff, NULL), in gen_type()
/dragonfly/contrib/gcc-8.0/gcc/c/
H A Dc-aux-info.c310 char buff[23]; in gen_type() local
311 sprintf (buff, "[" HOST_WIDE_INT_PRINT_DEC"]", in gen_type()
314 ret_val = gen_type (concat (ret_val, buff, NULL), in gen_type()
/dragonfly/contrib/libarchive/tar/
H A Dwrite.c452 if ((bsdtar->buff = malloc(bsdtar->buff_size)) == NULL) in write_archive()
582 free(bsdtar->buff); in write_archive()
744 const void *buff; in copy_file_data_block() local
747 while ((r = archive_read_data_block(in_a, &buff, in copy_file_data_block()
757 null_buff = bsdtar->buff; in copy_file_data_block()
788 bytes_written = archive_write_data(a, buff, bytes_read); in copy_file_data_block()
/dragonfly/contrib/binutils-2.27/binutils/
H A Dnm.c344 static char buff [32]; in get_elf_symbol_type() local
357 sprintf (buff, _("<processor specific>: %d"), type); in get_elf_symbol_type()
359 sprintf (buff, _("<OS specific>: %d"), type); in get_elf_symbol_type()
361 sprintf (buff, _("<unknown>: %d"), type); in get_elf_symbol_type()
362 return buff; in get_elf_symbol_type()
369 static char buff [32]; in get_coff_symbol_type() local
388 sprintf (buff, _("<unknown>: %d/%d"), sym->n_sclass, sym->n_type); in get_coff_symbol_type()
389 return buff; in get_coff_symbol_type()
/dragonfly/usr.sbin/ppp/
H A Dccp.c349 u_char *cp, buff[100]; in CcpSendConfigReq() local
353 cp = buff; in CcpSendConfigReq()
377 if (cp + (*o)->val.hdr.len > buff + sizeof buff) { in CcpSendConfigReq()
391 fsm_Output(fp, CODE_CONFIGREQ, fp->reqid, buff, cp - buff, MB_CCPOUT); in CcpSendConfigReq()
H A Dipv6cp.c584 u_char buff[IPV6CP_IFIDLEN+2]; in ipv6cp_SendConfigReq() local
587 o = (struct fsm_opt *)buff; in ipv6cp_SendConfigReq()
594 fsm_Output(fp, CODE_CONFIGREQ, fp->reqid, buff, (u_char *)o - buff, in ipv6cp_SendConfigReq()
/dragonfly/contrib/binutils-2.34/bfd/
H A Dcoffcode.h3616 SCNHDR buff; in coff_write_object_contents() local
3730 SCNHDR buff; in coff_write_object_contents() local
4073 char * buff; in coff_write_object_contents() local
4076 buff = (char *) bfd_malloc (amount); in coff_write_object_contents()
4077 if (buff == NULL) in coff_write_object_contents()
4083 free (buff); in coff_write_object_contents()
4093 char * buff; in coff_write_object_contents() local
4096 buff = (char *) bfd_malloc (amount); in coff_write_object_contents()
4097 if (buff == NULL) in coff_write_object_contents()
4103 free (buff); in coff_write_object_contents()
[all …]
/dragonfly/contrib/binutils-2.27/bfd/
H A Dcoffcode.h3873 SCNHDR buff; in coff_write_object_contents() local
3987 SCNHDR buff; in coff_write_object_contents() local
4372 char * buff; in coff_write_object_contents() local
4375 buff = (char *) bfd_malloc (amount); in coff_write_object_contents()
4376 if (buff == NULL) in coff_write_object_contents()
4382 free (buff); in coff_write_object_contents()
4392 char * buff; in coff_write_object_contents() local
4395 buff = (char *) bfd_malloc (amount); in coff_write_object_contents()
4396 if (buff == NULL) in coff_write_object_contents()
4402 free (buff); in coff_write_object_contents()
[all …]
/dragonfly/contrib/cvs-1.12/lib/
H A Dgetdate.c2484 char buff[20]; in yylex() local
2485 char *p = buff; in yylex()
2490 if (p < buff + sizeof buff - 1) in yylex()
2497 tp = lookup_word (pc, buff); in yylex()
2905 char buff[BUFSIZ]; in main() local
2910 buff[BUFSIZ - 1] = '\0'; in main()
2911 while (fgets (buff, BUFSIZ - 1, stdin) && buff[0]) in main()
2915 if (! get_date (&d, buff, NULL)) in main()
/dragonfly/contrib/zstd/programs/
H A Dutil.c1149 char buff[BUF_SIZE]; in UTIL_countPhysicalCores() local
1163 if (fgets(buff, BUF_SIZE, cpuinfo) != NULL) { in UTIL_countPhysicalCores()
1164 if (strncmp(buff, "siblings", 8) == 0) { in UTIL_countPhysicalCores()
1165 const char* const sep = strchr(buff, ':'); in UTIL_countPhysicalCores()
1173 if (strncmp(buff, "cpu cores", 9) == 0) { in UTIL_countPhysicalCores()
1174 const char* const sep = strchr(buff, ':'); in UTIL_countPhysicalCores()
/dragonfly/contrib/gdb-7/gdb/
H A Dremote.h46 extern char *unpack_varlen_hex (char *buff, ULONGEST *result);
/dragonfly/bin/ps/
H A Dprint.c368 char buff[16]; in tdev() local
374 snprintf(buff, sizeof(buff), "%d/%d", major(dev), minor(dev)); in tdev()
375 printf("%*s", vent->width, buff); in tdev()

123456