Lines Matching refs:buffer

133 	int Set(const char* attribute, int flags, const void* buffer, size_t size)
160 ssize_t written = write(attributeFD, buffer, size);
172 ssize_t Get(const char* attribute, void* buffer, size_t size)
189 // if an empty buffer is given, return the attribute size
193 // if the buffer is too small, fail
200 info.type, 0, buffer, info.size);
228 char* buffer = (char*)_buffer;
253 strcpy((char*)buffer, attributeName.name);
254 buffer += nameLength + 1;
262 // If the buffer was too small, fail.
284 getxattr(const char* path, const char* attribute, void* buffer, size_t size)
286 return Node(path, true).Get(attribute, buffer, size);
291 lgetxattr(const char* path, const char* attribute, void* buffer, size_t size)
293 return Node(path, false).Get(attribute, buffer, size);
298 fgetxattr(int fd, const char* attribute, void* buffer, size_t size)
300 return Node(fd).Get(attribute, buffer, size);
305 setxattr(const char* path, const char* attribute, const void* buffer,
308 return Node(path, true).Set(attribute, flags, buffer, size);
313 lsetxattr(const char* path, const char* attribute, const void* buffer,
316 return Node(path, false).Set(attribute, flags, buffer, size);
321 fsetxattr(int fd, const char* attribute, const void* buffer, size_t size,
324 return Node(fd).Set(attribute, flags, buffer, size);
350 listxattr(const char* path, char* buffer, size_t size)
352 return Node(path, true).GetList(buffer, size);
357 llistxattr(const char* path, char* buffer, size_t size)
359 return Node(path, false).GetList(buffer, size);
364 flistxattr(int fd, char* buffer, size_t size)
366 return Node(fd).GetList(buffer, size);