/haiku/headers/os/storage/ |
H A D | SymLink.h | 27 ssize_t ReadLink(char* buf, size_t size);
|
/haiku/src/kits/media/legacy/ |
H A D | OldAudioModule.h | 75 static bool _WriteDAC(void* arg, char* buf, uint32 bytes, void* header); 76 bool WriteDAC(short* buf, int32 frames, audio_buffer_header* header); 129 static bool _ReadADC(void* arg, char* buf, uint32 bytes, void* header); 130 void ReadADC(short* buf, int32 frames, audio_buffer_header* header);
|
H A D | OldAudioModule.cpp | 259 BDACRenderer::_WriteDAC(void *arg, char *buf, uint32 bytes, void *header) argument 268 BDACRenderer::WriteDAC(short *buf, int32 frames, audio_buffer_header *header) argument 419 BADCSource::_ReadADC(void *arg, char *buf, uint32 bytes, void *header) argument 428 BADCSource::ReadADC(short *buf, int32 frames, audio_buffer_header *header) argument
|
/haiku/src/libs/compat/freebsd_network/ |
H A D | fbsd_subr_sbuf.c | 58 #define SBFREE(buf) free(buf) 65 #define SBFREE(buf) free(buf) 188 * If buf is non-NULL, it points to a static or already-allocated string 192 sbuf_newbuf(struct sbuf *s, char *buf, int length, int flags) argument 198 s->s_buf = buf; 221 * If buf is non-NULL, it points to a static or already-allocated string 225 sbuf_new(struct sbuf *s, char *buf, int length, int flags) argument 235 return (sbuf_newbuf(s, buf, lengt 396 sbuf_put_bytes(struct sbuf *s, const char *buf, size_t len) argument 442 sbuf_bcat(struct sbuf *s, const void *buf, size_t len) argument 485 sbuf_bcpy(struct sbuf *s, const void *buf, size_t len) argument [all...] |
/haiku/src/system/libnetwork/netresolv/resolv/ |
H A D | res_debug.c | 163 char *buf; local 174 buf = malloc((size_t)buflen); 175 if (buf == NULL) { 256 buf, (u_int)buflen); 259 free(buf); 260 buf = NULL; 262 buf = malloc((size_t)(buflen += 1024)); 263 if (buf == NULL) { 274 fputs(buf, file); 280 if (buf ! 740 p_sockun(union res_sockaddr_union u, char *buf, size_t size) argument 1194 res_nametoclass(const char *buf, int *successp) argument 1217 res_nametotype(const char *buf, int *successp) argument [all...] |
H A D | res_init.c | 181 char buf[BUFSIZ]; local 272 char buf[sizeof(statp->defdname)], *cp; local 275 if ((ret = sysinfo(SI_SRPC_DOMAIN, buf, sizeof(buf))) > 0 && 276 (unsigned int)ret <= sizeof(buf)) { 277 if (buf[0] == '+') 278 buf[0] = '.'; 279 cp = strchr(buf, '.'); 280 cp = (cp == NULL) ? buf : (cp + 1); 334 while (fgets(buf, (in [all...] |
/haiku/src/system/libroot/posix/crypt/ |
H A D | pbkdf2.cpp | 37 insecure_memzero_func(volatile void * buf, size_t len) argument 39 volatile uint8_t * _buf = (volatile uint8_t *)buf; 127 * PBKDF2_SHA256(passwd, passwdlen, salt, saltlen, c, buf, dkLen): 129 * write the output to buf. The value dkLen must be at most 32 * (2^32 - 1). 133 size_t saltlen, uint64_t c, uint8_t * buf, size_t dkLen) 175 /* Copy as many bytes as necessary into buf. */ 179 memcpy(&buf[i * 32], T, clen); 132 PBKDF2_SHA256(const uint8_t * passwd, size_t passwdlen, const uint8_t * salt, size_t saltlen, uint64_t c, uint8_t * buf, size_t dkLen) argument
|
/haiku/src/tests/system/network/tcptester/ |
H A D | tcptester.cpp | 235 char buf[64]; 236 inet_ntop(AF_INET, &peer.sin_addr, buf, sizeof(buf)); 242 newSock, buf, (int32)newThread);
|
/haiku/src/add-ons/kernel/drivers/graphics/s3/ |
H A D | driver.cpp | 117 static status_t device_read(void* dev, off_t pos, void* buf, size_t* len); 118 static status_t device_write(void* dev, off_t pos, const void* buf, size_t* len); 119 static status_t device_ioctl(void* dev, uint32 msg, void* buf, size_t len); 734 device_read(void* dev, off_t pos, void* buf, size_t* len) argument 739 (void)buf; 747 device_write(void* dev, off_t pos, const void* buf, size_t* len) argument 752 (void)buf; 812 device_ioctl(void* dev, uint32 msg, void* buf, size_t len) argument 818 // TRACE("device_ioctl(); ioctl: %lu, buf: 0x%08lx, len: %lu\n", msg, (uint32)buf, le [all...] |
/haiku/src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/usb/ |
H A D | rtwn_usb_reg.c | 90 rtwn_usb_write_region_1(struct rtwn_softc *sc, uint16_t addr, uint8_t *buf, argument 100 return (rtwn_do_request(sc, &req, buf)); 124 rtwn_usb_read_region_1(struct rtwn_softc *sc, uint16_t addr, uint8_t *buf, argument 134 return (rtwn_do_request(sc, &req, buf));
|
/haiku/headers/private/graphics/common/ |
H A D | i2c.h | 16 int buf; // bus free between start and stop (4.7/1.3) member in struct:i2c_timing
|
/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/ |
H A D | ea.c | 418 char *buf; local 431 buf = (char*)malloc(bufsize); 432 if (buf) { 433 lth = ntfs_get_ntfs_ea(ni, buf, bufsize); 434 /* retry if short buf */ 436 free(buf); 438 buf = (char*)malloc(bufsize); 439 if (buf) 440 lth = ntfs_get_ntfs_ea(ni, buf, bufsize); 443 if (buf [all...] |
/haiku/src/preferences/mail/ |
H A D | DNSQuery.cpp | 38 BRawNetBuffer::BRawNetBuffer(const void* buf, size_t size) argument 40 _Init(buf, size); 117 BRawNetBuffer::_Init(const void* buf, size_t size) argument 121 fBuffer.WriteAt(fWritePosition, buf, size); 181 char buf[1024]; local 186 while (fgets(buf, sizeof(buf), fp) != NULL) { 188 if (*buf == ';' || *buf == '#') 192 if (MATCH(buf, "nameserve [all...] |
/haiku/headers/os/device/ |
H A D | SerialPort.h | 72 ssize_t Read(void* buf, size_t count); 73 ssize_t Write(const void* buf, size_t count);
|
/haiku/src/add-ons/print/transports/shared/ |
H A D | SocketStream.cpp | 102 : buf(sock, n) 104 ios::init(&this->buf);
|
/haiku/src/libs/libtelnet/ |
H A D | auth.c | 593 auth_printsub(unsigned char *data, int cnt, unsigned char *buf, int buflen) argument 598 (*ap->printsub)(data, cnt, buf, buflen); 600 auth_gen_printsub(data, cnt, buf, buflen); 604 auth_gen_printsub(unsigned char *data, int cnt, unsigned char *buf, int buflen) argument 611 buf[buflen-1] = '\0'; 612 buf[buflen-2] = '*'; 617 *buf++ = *cp++; 621 *buf = '\0';
|
H A D | enc_des.c | 443 fb64_printsub(unsigned char *data, int cnt, unsigned char *buf, int buflen, const char *type) argument 449 buf[buflen-1] = '\0'; /* make sure it's NULL terminated */ 472 for (; (buflen > 0) && (*buf = *cp++); buf++) 476 for (cp = lbuf; (buflen > 0) && (*buf = *cp++); buf++) 484 cfb64_printsub(unsigned char *data, int cnt, unsigned char *buf, int buflen) argument 486 fb64_printsub(data, cnt, buf, buflen, "CFB64"); 490 ofb64_printsub(unsigned char *data, int cnt, unsigned char *buf, int buflen) argument 492 fb64_printsub(data, cnt, buf, bufle [all...] |
/haiku/src/tests/kits/game/chart/ |
H A D | ChartRender.h | 225 void RefreshStarPacket(buffer *buf, star_packet *sp, geometry *geo); 228 void RefreshClipping(buffer *buf, star_packet *sp);
|
H A D | ChartRender_d.h | 246 void RefreshStarPacket(buffer *buf, star_packet *sp, geometry *geo); 249 void RefreshClipping(buffer *buf, star_packet *sp);
|
/haiku/src/add-ons/locale/catalogs/plaintext/ |
H A D | Catalog.cpp | 47 extern "C" uint32 adler32(uint32 adler, const uint8 *buf, uint32 len); 346 char buf[bufSize]; local 348 if (catalogFile.ReadAttr("BEOS:TYPE", B_MIME_STRING_TYPE, 0, &buf, bufSize) 350 || strcmp(kCatMimeType, buf) != 0) { 355 &buf, bufSize) <= 0 || fLanguageName != buf) { 359 &buf, bufSize) <= 0 || fSignature != buf) {
|
/haiku/src/system/libroot/posix/musl/time/ |
H A D | wcsftime.c | 11 char buf[100]; local 39 t_mb = __strftime_fmt_1(&buf, &k, *f, tm, loc, pad);
|
/haiku/src/libs/compat/openbsd_network/compat/sys/ |
H A D | systm.h | 19 explicit_bzero(void *buf, size_t len) argument 21 memset(buf, 0, len);
|
/haiku/src/add-ons/media/media-add-ons/usb_webcam/ |
H A D | CamDeframer.cpp | 185 CamDeframer::FindTags(const uint8 *buf, size_t buflen, const uint8 **tags, int tagcount, size_t taglen, size_t skiplen, int *which) argument 190 if (!memcmp(buf+i, tags[t], taglen)) { 202 CamDeframer::FindSOF(const uint8 *buf, size_t buflen, int *which) argument 204 return FindTags(buf, buflen, fSOFTags, fNumSOFTags, fLenSOFTags, fSkipSOFTags, which); 209 CamDeframer::FindEOF(const uint8 *buf, size_t buflen, int *which) argument 211 return FindTags(buf, buflen, fEOFTags, fNumEOFTags, fLenEOFTags, fSkipEOFTags, which);
|
/haiku/src/add-ons/media/media-add-ons/mixer/ |
H A D | MixerUtils.cpp | 321 StringForFormat(char *buf, MixerOutput *output) argument 323 return StringForFormat(buf, output->MediaOutput().format); 327 StringForFormat(char *buf, MixerInput *input) argument 329 return StringForFormat(buf, input->MediaInput().format); 333 StringForChannelType(char *buf, int type) argument 335 return StringForChannelMask(buf, 1 << type);
|
/haiku/src/bin/acpi_call/ |
H A D | acpi_call.cpp | 280 void print_acpi_buffer(ACPI_BUFFER* buf, char format) argument 285 printf("%" B_PRIu64, *((ACPI_INTEGER*)(buf->Pointer))); 288 printf("%s", (char*)buf->Pointer); 291 for(uint32 i = 0; i < buf->Length; i++) 293 printf("%02X", ((UINT8*)(buf->Pointer))[i]); 297 print_acpi_object((ACPI_OBJECT*)(buf->Pointer));
|