Searched refs:bufsize (Results 101 - 125 of 148) sorted by relevance

123456

/haiku-fatelf/src/bin/network/tcpdump/libpcap/
H A Dpcap-linux.c384 handle->bufsize = MAX_LINKHEADER_SIZE + mtu;
385 if (handle->bufsize < handle->snapshot)
386 handle->bufsize = handle->snapshot;
407 handle->bufsize = handle->snapshot;
412 handle->buffer = malloc(handle->bufsize + handle->offset);
511 handle->bufsize - offset, MSG_TRUNC,
H A Dpcap-win32.c508 p->bufsize = PcapBufSize;
533 PacketInitPacket(p->Packet,(BYTE*)p->buffer,p->bufsize);
H A Dpcap-dlpi.c263 data.maxlen = p->bufsize;
928 p->bufsize = PKTBUFSIZE;
929 p->buffer = (u_char *)malloc(p->bufsize + p->offset);
/haiku-fatelf/src/add-ons/kernel/file_systems/ntfs/
H A Dattributes.c140 struct dirent *entry, size_t bufsize, uint32 *num)
175 bufsize = MIN(bufsize, sizeof(struct dirent) + strlen(real_name) + 1);
139 fs_read_attrib_dir(fs_volume *_vol, fs_vnode *_node, void *_cookie, struct dirent *entry, size_t bufsize, uint32 *num) argument
H A Dfake_attributes.c178 struct dirent *entry, size_t bufsize, uint32 *num)
177 fake_read_attrib_dir(fs_volume *_vol, fs_vnode *_node, void *_cookie, struct dirent *entry, size_t bufsize, uint32 *num) argument
/haiku-fatelf/src/tests/add-ons/kernel/kernelland_emu/
H A Dmodule.cpp786 read_next_module_name(void *cookie, char *buf, size_t *bufsize) argument
788 TRACE(("read_next_module_name(%p, %p, %lu)\n", cookie, buf, *bufsize));
790 (module_name_list*)cookie, buf, bufsize);
/haiku-fatelf/src/bin/network/wget/src/
H A Dutils.c1117 int bufsize = 82;
1118 char *line = xmalloc (bufsize);
1120 while (fgets (line + length, bufsize - length, fp))
1134 bufsize <<= 1;
1135 line = xrealloc (line, bufsize);
1142 if (length + 1 < bufsize)
1111 int bufsize = 82; local
/haiku-fatelf/src/libs/termcap/
H A Dtermcap.c79 #define BUFSIZE bufsize
81 int bufsize = 128; variable
/haiku-fatelf/src/tools/docbook/libxml2/
H A Dxmlschemastypes.c5707 int bufsize; local
5711 bufsize = dec.total + 2;
5713 bufsize++;
5716 bufsize++;
5717 buf = xmlMalloc(bufsize);
5726 snprintf(offs, bufsize - (offs - buf),
5729 snprintf(offs, bufsize - (offs - buf),
5732 snprintf(offs, bufsize - (offs - buf),
5759 offs = buf + bufsize - 1;
5785 int bufsize local
[all...]
/haiku-fatelf/headers/libs/fluidsynth/fluidsynth/
H A Dsynth.h682 /** Write a list of all voices matching ID into buf, but not more than bufsize voices.
685 fluid_voice_t* buf[], int bufsize, int ID);
/haiku-fatelf/src/add-ons/media/plugins/matroska/libMatroskaParser/
H A DMatroskaParser.h386 X int cs_ReadData(CompressedStream *cs,char *buffer,unsigned bufsize);
/haiku-fatelf/src/add-ons/translators/icns/openjpeg/
H A Ddwt.c791 int bufsize = (tilec->x1 - tilec->x0) * (tilec->y1 - tilec->y0); local
807 v4dwt_interleave_h(&h, aj, w, bufsize);
816 bufsize -= w*4;
821 v4dwt_interleave_h(&h, aj, w, bufsize);
/haiku-fatelf/src/bin/coreutils/src/
H A Dod.c1403 size_t bufsize = MAX (100, string_min); local
1404 char *buf = xmalloc (bufsize);
1439 if (i == bufsize)
1441 buf = X2REALLOC (buf, &bufsize);
/haiku-fatelf/src/bin/patch/
H A Dcommon.h162 XTERN size_t bufsize; /* allocated size of buf */ variable
/haiku-fatelf/src/kits/tracker/
H A DFSUtils.cpp130 BNode* destNode, void* buffer, size_t bufsize);
1266 size_t bufsize = kMinBufferSize; local
1267 if ((off_t)bufsize < srcStat->st_size) {
1273 bufsize = freesize / 4; // take 1/4 of RAM max
1274 bufsize -= bufsize % (16* 1024); // Round to 16 KB boundaries
1275 if (bufsize < kMinBufferSize) // at least kMinBufferSize
1276 bufsize = kMinBufferSize;
1277 else if (bufsize > kMaxBufferSize) // no more than kMaxBufferSize
1278 bufsize
1369 CopyAttributes(CopyLoopControl* control, BNode* srcNode, BNode* destNode, void* buffer, size_t bufsize) argument
[all...]
/haiku-fatelf/src/bin/coreutils/lib/
H A Dunistd.in.h741 extern ssize_t pread (int fd, void *buf, size_t bufsize, off_t offset)
763 extern ssize_t readlink (const char *file, char *buf, size_t bufsize)
/haiku-fatelf/headers/private/userlandfs/fuse/
H A Dfuse_lowlevel_compat.h152 int fd, size_t bufsize, void *data);
/haiku-fatelf/src/add-ons/kernel/drivers/audio/emuxki/
H A Demuxki.h405 uint32 bufsize, uint16 blksize);
/haiku-fatelf/src/add-ons/kernel/file_systems/fat/
H A Ddir.c1099 dosfs_readlink(fs_volume *_vol, fs_vnode *_node, char *buf, size_t *bufsize) argument
1101 TOUCH(_vol); TOUCH(_node); TOUCH(buf); TOUCH(bufsize);
1158 struct dirent *entry, size_t bufsize, uint32 *num)
1201 bufsize - sizeof(struct dirent) - 1);
1157 dosfs_readdir(fs_volume *_vol, fs_vnode *_dir, void *_cookie, struct dirent *entry, size_t bufsize, uint32 *num) argument
/haiku-fatelf/src/bin/network/wget/lib/
H A Dunistd.in.h586 extern int readlink (const char *file, char *buf, size_t bufsize);
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/dos/r5/
H A Ddir.c1040 int dosfs_readlink(void *_vol, void *_node, char *buf, size_t *bufsize) argument
1042 TOUCH(_vol); TOUCH(_node); TOUCH(buf); TOUCH(bufsize);
1106 struct dirent *entry, size_t bufsize)
1146 result = get_next_dirent(vol, dir, &diri, &(entry->d_ino), entry->d_name, bufsize - sizeof(struct dirent) - 1);
1105 dosfs_readdir(void *_vol, void *_dir, void *_cookie, long *num, struct dirent *entry, size_t bufsize) argument
/haiku-fatelf/src/bin/diffutils/src/
H A Dsdiff.c422 lf_snarf (struct line_filter *lf, char *buffer, size_t bufsize)
429 if (bufsize <= s)
441 bufsize -= s;
421 lf_snarf(struct line_filter *lf, char *buffer, size_t bufsize) argument
/haiku-fatelf/src/bin/gawk/
H A Dbuiltin.c1320 size_t buflen, bufsize; local
1361 bufsize = sizeof(buf);
1364 buflen = strftime(bufp, bufsize, format, tm);
1373 if (buflen > 0 || bufsize >= 1024 * formatlen)
1375 bufsize *= 2;
1377 emalloc(bufp, char *, bufsize, "do_strftime");
1379 erealloc(bufp, char *, bufsize, "do_strftime");
/haiku-fatelf/src/add-ons/kernel/file_systems/googlefs/
H A Dgooglefs.c414 int googlefs_readdir(fs_volume *_volume, fs_vnode *_node, fs_dir_cookie *cookie, struct dirent *buf, size_t bufsize, uint32 *num) argument
423 if (!node || !cookie || !num || !*num || !buf || (bufsize < (sizeof(dirent_t)+GOOGLEFS_NAME_LEN)))
1034 int googlefs_read_attrdir(fs_volume *_volume, fs_vnode *_node, fs_attr_dir_cookie *cookie, struct dirent *buf, size_t bufsize, uint32 *num) argument
1045 if (!node || !cookie || !num || !*num || !buf || (bufsize < (sizeof(dirent_t)+GOOGLEFS_NAME_LEN)))
1428 int googlefs_read_query(fs_volume *_volume, fs_query_cookie *cookie, struct dirent *buf, size_t bufsize, uint32 *num) argument
1436 if (!cookie || !num || !*num || !buf || (bufsize < (sizeof(dirent_t)+GOOGLEFS_NAME_LEN)))
/haiku-fatelf/src/add-ons/kernel/file_systems/nfs/
H A Dnfs_add_on.c945 struct dirent *buf, size_t bufsize, uint32 *num)
1031 if (bufsize < 2 * (sizeof(dev_t) + sizeof(ino_t))
1048 bufsize -= buf->d_reclen;
2248 fs_readlink(fs_volume *_volume, fs_vnode *_node, char *buf, size_t *bufsize) argument
2294 length = min_c(length, *bufsize);
2296 *bufsize = length;
944 fs_readdir(fs_volume *_volume, fs_vnode *_node, void *_cookie, struct dirent *buf, size_t bufsize, uint32 *num) argument

Completed in 364 milliseconds

123456