Lines Matching defs:attribute

40 			// a Haiku attribute -- map the name
67 // a Haiku attribute -- extract the actual name and type
133 int Set(const char* attribute, int flags, const void* buffer, size_t size)
143 // pure open -- attribute must exist
148 attributeName.Init(attribute);
172 ssize_t Get(const char* attribute, void* buffer, size_t size)
178 attributeName.Init(attribute);
180 // get the attribute size -- we read all or nothing
189 // if an empty buffer is given, return the attribute size
209 int Remove(const char* attribute)
215 attributeName.Init(attribute);
233 // open attribute directory
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);
329 removexattr (const char* path, const char* attribute)
331 return Node(path, true).Remove(attribute);
336 lremovexattr (const char* path, const char* attribute)
338 return Node(path, false).Remove(attribute);
343 fremovexattr (int fd, const char* attribute)
345 return Node(fd).Remove(attribute);