Searched refs:bufferSize (Results 1 - 25 of 472) sorted by relevance

1234567891011>>

/haiku/src/build/libroot/
H A Dfs_attr_bsdxattr.h21 list_attributes(int fd, const char* path, char* buffer, size_t bufferSize) argument
24 return flistxattr(fd, buffer, bufferSize, 0);
25 return listxattr(path, buffer, bufferSize, XATTR_NOFOLLOW);
31 size_t bufferSize)
34 return fgetxattr(fd, attribute, buffer, bufferSize, 0, 0);
35 return getxattr(path, attribute, buffer, bufferSize, 0, XATTR_NOFOLLOW);
41 const void* buffer, size_t bufferSize)
44 return fsetxattr(fd, attribute, buffer, bufferSize, 0, 0);
45 return setxattr(path, attribute, buffer, bufferSize, 0, XATTR_NOFOLLOW);
30 get_attribute(int fd, const char* path, const char* attribute, void* buffer, size_t bufferSize) argument
40 set_attribute(int fd, const char* path, const char* attribute, const void* buffer, size_t bufferSize) argument
H A Dfs_attr_xattr.h21 list_attributes(int fd, const char* path, char* buffer, size_t bufferSize) argument
24 return flistxattr(fd, buffer, bufferSize);
25 return llistxattr(path, buffer, bufferSize);
31 size_t bufferSize)
34 return fgetxattr(fd, attribute, buffer, bufferSize);
35 return lgetxattr(path, attribute, buffer, bufferSize);
41 const void* buffer, size_t bufferSize)
44 return fsetxattr(fd, attribute, buffer, bufferSize, 0);
45 return lsetxattr(path, attribute, buffer, bufferSize, 0);
30 get_attribute(int fd, const char* path, const char* attribute, void* buffer, size_t bufferSize) argument
40 set_attribute(int fd, const char* path, const char* attribute, const void* buffer, size_t bufferSize) argument
H A Dfs_attr_extattr.h22 list_attributes(int fd, const char* path, char* buffer, size_t bufferSize) argument
27 bufferSize);
30 bufferSize);
56 size_t bufferSize)
60 bufferSize);
63 bufferSize);
69 const void* buffer, size_t bufferSize)
73 bufferSize);
76 bufferSize);
55 get_attribute(int fd, const char* path, const char* attribute, void* buffer, size_t bufferSize) argument
68 set_attribute(int fd, const char* path, const char* attribute, const void* buffer, size_t bufferSize) argument
/haiku/src/bin/debug/time_stats/
H A Dtime_stats.h12 size_t bufferSize);
14 bool schedulingAnalysis, int outFD, size_t bufferSize);
/haiku/src/tools/fs_shell/
H A Dfs_shell_command.cpp14 add_char(char *&buffer, int &bufferSize, char c) argument
16 if (bufferSize <= 0) {
23 bufferSize--;
29 int bufferSize)
35 add_char(buffer, bufferSize, ' ');
39 add_char(buffer, bufferSize, '\\');
40 add_char(buffer, bufferSize, *arg);
45 add_char(buffer, bufferSize, '\0');
28 prepare_command_string(const char *const *argv, int argc, char *buffer, int bufferSize) argument
/haiku/src/system/libroot/posix/unistd/
H A Dread.c24 read(int fd, void* buffer, size_t bufferSize) argument
26 ssize_t status = _kern_read(fd, -1, buffer, bufferSize);
33 read_pos(int fd, off_t pos, void* buffer, size_t bufferSize) argument
38 RETURN_AND_SET_ERRNO_TEST_CANCEL(_kern_read(fd, pos, buffer, bufferSize));
43 pread(int fd, void* buffer, size_t bufferSize, off_t pos) argument
48 RETURN_AND_SET_ERRNO_TEST_CANCEL(_kern_read(fd, pos, buffer, bufferSize));
H A Dwrite.c22 write(int fd, void const *buffer, size_t bufferSize) argument
24 int status = _kern_write(fd, -1, buffer, bufferSize);
31 write_pos(int fd, off_t pos, const void *buffer, size_t bufferSize) argument
36 RETURN_AND_SET_ERRNO_TEST_CANCEL(_kern_write(fd, pos, buffer, bufferSize));
41 pwrite(int fd, const void *buffer, size_t bufferSize, off_t pos) argument
46 RETURN_AND_SET_ERRNO_TEST_CANCEL(_kern_write(fd, pos, buffer, bufferSize));
/haiku/src/system/libroot/posix/wchar/
H A Dwcsdup.c20 size_t bufferSize = (wcslen(wcs) + 1) * sizeof(wchar_t); local
21 wchar_t* dest = malloc(bufferSize);
27 memcpy(dest, wcs, bufferSize);
/haiku/src/add-ons/kernel/file_systems/userlandfs/kernel_add_on/
H A DIOCtlInfo.h12 int32 bufferSize; member in struct:IOCtlInfo
/haiku/src/system/libroot/os/
H A Dextended_system_info.cpp23 size_t bufferSize = 4096; local
28 void* buffer = malloc(bufferSize);
36 bufferSize, &sizeNeeded);
47 bufferSize = (sizeNeeded + 1023) / 1024 * 1024;
/haiku/src/system/runtime_loader/
H A Delf_haiku_version.h13 size_t bufferSize);
/haiku/src/system/boot/platform/atari_m68k/
H A DHandle.cpp56 Handle::ReadAt(void *cookie, off_t pos, void *buffer, size_t bufferSize) argument
63 Handle::WriteAt(void *cookie, off_t pos, const void *buffer, size_t bufferSize) argument
99 CharHandle::ReadAt(void *cookie, off_t pos, void *buffer, size_t bufferSize) argument
105 for (i = 0; i < bufferSize; i++) {
111 return bufferSize;
116 CharHandle::WriteAt(void *cookie, off_t pos, const void *buffer, size_t bufferSize) argument
124 for (i = 0; i < bufferSize; i++) {
128 return bufferSize;
H A DHandle.h23 virtual ssize_t ReadAt(void *cookie, off_t pos, void *buffer, size_t bufferSize);
24 virtual ssize_t WriteAt(void *cookie, off_t pos, const void *buffer, size_t bufferSize);
39 virtual ssize_t ReadAt(void *cookie, off_t pos, void *buffer, size_t bufferSize);
40 virtual ssize_t WriteAt(void *cookie, off_t pos, const void *buffer, size_t bufferSize);
/haiku/src/add-ons/kernel/file_systems/netfs/client/
H A DVolumeSupport.h13 set_dirent_name(struct dirent* buffer, size_t bufferSize, const char* name, argument
17 if (length <= bufferSize) {
30 next_dirent(struct dirent*& buffer, size_t& bufferSize) argument
38 if (len > (int32)bufferSize)
43 bufferSize -= len;
/haiku/headers/posix/
H A Dgrp.h27 size_t bufferSize, struct group **_result);
29 size_t bufferSize, struct group **_result);
32 extern int getgrent_r(struct group* group, char* buffer, size_t bufferSize,
H A Dshadow.h31 extern int getspent_r(struct spwd* spwd, char* buffer, size_t bufferSize,
38 size_t bufferSize, struct spwd** _result);
42 size_t bufferSize, struct spwd** _result);
46 size_t bufferSize, struct spwd** _result);
/haiku/src/system/boot/loader/file_systems/bfs/
H A DLink.h24 virtual status_t ReadLink(char *buffer, size_t bufferSize);
26 virtual ssize_t ReadAt(void *cookie, off_t pos, void *buffer, size_t bufferSize);
27 virtual ssize_t WriteAt(void *cookie, off_t pos, const void *buffer, size_t bufferSize);
H A DLink.cpp39 Link::ReadLink(char *buffer, size_t bufferSize) argument
41 return fStream.ReadLink(buffer, bufferSize);
46 Link::ReadAt(void *cookie, off_t pos, void *buffer, size_t bufferSize) argument
53 Link::WriteAt(void *cookie, off_t pos, const void *buffer, size_t bufferSize) argument
/haiku/src/tests/system/boot/loader/
H A DHandle.h25 virtual ssize_t ReadAt(void *cookie, off_t pos, void *buffer, size_t bufferSize);
26 virtual ssize_t WriteAt(void *cookie, off_t pos, const void *buffer, size_t bufferSize);
28 virtual status_t GetName(char *nameBuffer, size_t bufferSize) const;
/haiku/src/system/boot/platform/openfirmware/
H A Dconsole.cpp26 size_t bufferSize);
28 size_t bufferSize);
36 size_t bufferSize);
65 size_t bufferSize)
68 return of_read(fHandle, buffer, bufferSize);
74 size_t bufferSize)
81 return bufferSize;
85 while (bufferSize > 0) {
89 for (; length < bufferSize; length++) {
90 if (string[length] == '\r' && length + 1 < bufferSize) {
64 ReadAt(void * , off_t , void *buffer, size_t bufferSize) argument
73 WriteAt(void * , off_t , const void *buffer, size_t bufferSize) argument
130 ReadAt(void * , off_t , void *_buffer, size_t bufferSize) argument
[all...]
H A DHandle.cpp49 Handle::ReadAt(void *cookie, off_t pos, void *buffer, size_t bufferSize) argument
52 return of_read(fHandle, buffer, bufferSize);
59 Handle::WriteAt(void *cookie, off_t pos, const void *buffer, size_t bufferSize) argument
62 return of_write(fHandle, buffer, bufferSize);
/haiku/src/add-ons/kernel/debugger/demangle/
H A Ddemangle.h11 const char* demangle_symbol(const char* mangledName, char* buffer, size_t bufferSize,
19 size_t bufferSize, bool* _isObjectMethod);
27 size_t bufferSize, bool* _isObjectMethod);
34 size_t bufferSize);
/haiku/src/add-ons/kernel/file_systems/packagefs/nodes/
H A DEmptyAttributeDirectoryCookie.cpp12 struct dirent* buffer, size_t bufferSize, uint32* _count)
11 Read(dev_t volumeID, ino_t nodeID, struct dirent* buffer, size_t bufferSize, uint32* _count) argument
/haiku/headers/private/libroot/
H A Dstdlib_private.h17 size_t bufferSize);
/haiku/src/system/boot/platform/u-boot/
H A Dmenu.cpp79 size_t bufferSize)
81 platform_generic_get_user_input_text(menu, item, buffer, bufferSize);
78 platform_get_user_input_text(Menu *menu, MenuItem *item, char *buffer, size_t bufferSize) argument

Completed in 256 milliseconds

1234567891011>>