/haiku-fatelf/src/preferences/appearance/ |
H A D | CursorWhichItem.cpp | 51 attribute=which; 57 attribute=which; 63 attribute=which; 69 attribute=which; 75 attribute=which; 81 attribute=which; 87 attribute=which; 93 attribute=which; 99 attribute=which; 105 attribute [all...] |
/haiku-fatelf/headers/compatibility/gnu/sys/ |
H A D | xattr.h | 6 * Haiku attribute namespace with type B_XATTR_TYPE. Haiku attributes are mapped 7 * into a user xattr namespace, the attribute types encoded in the names. 18 #define XATTR_CREATE 1 /* fail if attribute exists */ 19 #define XATTR_REPLACE 2 /* fail if attribute doesn't exist yet */ 25 ssize_t getxattr(const char* path, const char* attribute, void* buffer, 27 ssize_t lgetxattr(const char* path, const char* attribute, void* buffer, 29 ssize_t fgetxattr(int fd, const char* attribute, void* buffer, size_t size); 31 int setxattr(const char* path, const char* attribute, const void* buffer, 33 int lsetxattr(const char* path, const char* attribute, const void* buffer, 35 int fsetxattr(int fd, const char* attribute, cons [all...] |
/haiku-fatelf/src/build/libroot/ |
H A D | fs_attr_bsdxattr.h | 30 get_attribute(int fd, const char* path, const char* attribute, void* buffer, argument 34 return fgetxattr(fd, attribute, buffer, bufferSize, 0, 0); 35 return getxattr(path, attribute, buffer, bufferSize, 0, XATTR_NOFOLLOW); 40 set_attribute(int fd, const char* path, const char* attribute, argument 44 return fsetxattr(fd, attribute, buffer, bufferSize, 0, 0); 45 return setxattr(path, attribute, buffer, bufferSize, 0, XATTR_NOFOLLOW); 50 remove_attribute(int fd, const char* path, const char* attribute) argument 53 return fremovexattr(fd, attribute, 0); 54 return removexattr(path, attribute, XATTR_NOFOLLOW);
|
H A D | fs_attr_xattr.h | 30 get_attribute(int fd, const char* path, const char* attribute, void* buffer, argument 34 return fgetxattr(fd, attribute, buffer, bufferSize); 35 return lgetxattr(path, attribute, buffer, bufferSize); 40 set_attribute(int fd, const char* path, const char* attribute, argument 44 return fsetxattr(fd, attribute, buffer, bufferSize, 0); 45 return lsetxattr(path, attribute, buffer, bufferSize, 0); 50 remove_attribute(int fd, const char* path, const char* attribute) argument 53 return fremovexattr(fd, attribute); 54 return lremovexattr(path, attribute);
|
H A D | fs_attr_extattr.h | 55 get_attribute(int fd, const char* path, const char* attribute, void* buffer, argument 59 return extattr_get_fd(fd, EXTATTR_NAMESPACE_USER, attribute, buffer, 62 return extattr_get_link(path, EXTATTR_NAMESPACE_USER, attribute, buffer, 68 set_attribute(int fd, const char* path, const char* attribute, argument 72 return extattr_set_fd(fd, EXTATTR_NAMESPACE_USER, attribute, buffer, 75 return extattr_set_link(path, EXTATTR_NAMESPACE_USER, attribute, buffer, 81 remove_attribute(int fd, const char* path, const char* attribute) argument 84 return extattr_delete_fd(fd, EXTATTR_NAMESPACE_USER, attribute); 85 return extattr_delete_link(path, EXTATTR_NAMESPACE_USER, attribute);
|
/haiku-fatelf/src/add-ons/kernel/file_systems/ramfs/ |
H A D | Node.cpp | 42 // attribute management 67 while (Attribute *attribute = fAttributes.First()) { 68 status_t error = DeleteAttribute(attribute); 70 FATAL(("Node::~Node(): Failed to delete attribute!\n")); 182 // create attribute 183 Attribute *attribute = new(nothrow) Attribute(fVolume, NULL, name); local 184 if (attribute) { 185 error = attribute->InitCheck(); 187 // add attribute to node 188 error = AddAttribute(attribute); 202 DeleteAttribute(Attribute *attribute) argument 212 AddAttribute(Attribute *attribute) argument 228 RemoveAttribute(Attribute *attribute) argument 357 Attribute *attribute = NULL; local [all...] |
H A D | AttributeIndex.h | 16 virtual status_t Added(Attribute *attribute) = 0; 17 virtual bool Removed(Attribute *attribute) = 0; 18 virtual status_t Changed(Attribute *attribute,
|
H A D | AttributeIndexImpl.cpp | 66 PrimaryKey(Attribute *attribute, const uint8 *key, argument 68 : attribute(attribute), key(key), length(length) {} 69 PrimaryKey(Attribute *attribute) argument 70 : attribute(attribute) { attribute->GetKey(&key, &length); } 72 : attribute(NULL), key(key), length(length) {} 74 Attribute *attribute; member in class:AttributeIndexImpl::PrimaryKey 102 if (a.attribute ! 232 Changed(Attribute *attribute, const uint8 *oldKey, size_t oldLength) argument 272 Added(Attribute *attribute) argument 291 Removed(Attribute *attribute) argument [all...] |
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/userlandfs/r5/src/test/ramfs/ |
H A D | Node.cpp | 42 // attribute management 67 while (Attribute *attribute = fAttributes.First()) { 68 status_t error = DeleteAttribute(attribute); 70 FATAL(("Node::~Node(): Failed to delete attribute!\n")); 182 // create attribute 183 Attribute *attribute = new(nothrow) Attribute(fVolume, NULL, name); local 184 if (attribute) { 185 error = attribute->InitCheck(); 187 // add attribute to node 188 error = AddAttribute(attribute); 202 DeleteAttribute(Attribute *attribute) argument 212 AddAttribute(Attribute *attribute) argument 228 RemoveAttribute(Attribute *attribute) argument 357 Attribute *attribute = NULL; local [all...] |
H A D | AttributeIndex.h | 16 virtual status_t Added(Attribute *attribute) = 0; 17 virtual bool Removed(Attribute *attribute) = 0; 18 virtual status_t Changed(Attribute *attribute,
|
H A D | AttributeIndexImpl.cpp | 66 PrimaryKey(Attribute *attribute, const uint8 *key, argument 68 : attribute(attribute), key(key), length(length) {} 69 PrimaryKey(Attribute *attribute) argument 70 : attribute(attribute) { attribute->GetKey(&key, &length); } 72 : attribute(NULL), key(key), length(length) {} 74 Attribute *attribute; member in class:AttributeIndexImpl::PrimaryKey 102 if (a.attribute ! 236 Changed(Attribute *attribute, const uint8 *oldKey, size_t oldLength) argument 276 Added(Attribute *attribute) argument 295 Removed(Attribute *attribute) argument [all...] |
/haiku-fatelf/headers/build/os/kernel/ |
H A D | fs_attr.h | 23 extern ssize_t fs_read_attr(int fd, const char *attribute, uint32 type, 25 extern ssize_t fs_write_attr(int fd, const char *attribute, uint32 type, 27 extern int fs_remove_attr(int fd, const char *attribute); 28 extern int fs_stat_attr(int fd, const char *attribute, 31 extern int fs_open_attr(const char *path, const char *attribute, 33 extern int fs_fopen_attr(int fd, const char *attribute, uint32 type,
|
/haiku-fatelf/headers/os/kernel/ |
H A D | fs_attr.h | 23 extern ssize_t fs_read_attr(int fd, const char *attribute, uint32 type, 25 extern ssize_t fs_write_attr(int fd, const char *attribute, uint32 type, 27 extern int fs_remove_attr(int fd, const char *attribute); 28 extern int fs_stat_attr(int fd, const char *attribute, 31 extern int fs_open_attr(const char *path, const char *attribute, 33 extern int fs_fopen_attr(int fd, const char *attribute, uint32 type,
|
/haiku-fatelf/src/add-ons/kernel/file_systems/packagefs/ |
H A D | PackageNode.cpp | 29 while (PackageNodeAttribute* attribute = fAttributes.RemoveHead()) 30 delete attribute; 69 PackageNode::AddAttribute(PackageNodeAttribute* attribute) argument 71 fAttributes.Add(attribute); 76 PackageNode::RemoveAttribute(PackageNodeAttribute* attribute) argument 78 fAttributes.Remove(attribute); 86 PackageNodeAttribute* attribute = it.Next();) { 87 if (strcmp(attribute->Name(), name) == 0) 88 return attribute;
|
H A D | AutoPackageAttributes.cpp | 28 AutoPackageAttributeCookie(Package* package, AutoPackageAttribute attribute) argument 31 fAttribute(attribute) 44 // get the attribute 99 AutoPackageAttributes::NameForAttribute(AutoPackageAttribute attribute) argument 101 if (attribute >= 0 && attribute < AUTO_PACKAGE_ATTRIBUTE_ENUM_COUNT) 102 return kAttributeNames[attribute]; 109 AutoPackageAttribute attribute, off_t& _size, uint32& _type) 111 switch (attribute) { 133 // get the attribute 108 GetAttributeValue(const Package* package, AutoPackageAttribute attribute, off_t& _size, uint32& _type) argument [all...] |
H A D | AutoPackageAttributes.h | 28 AutoPackageAttribute attribute); 30 AutoPackageAttribute attribute,
|
/haiku-fatelf/src/add-ons/kernel/file_systems/netfs/server/ |
H A D | AttributeDirectory.cpp | 44 const void* data, Attribute** attribute) 46 if (!name || !attribute) 59 *attribute = new(buffer) Attribute(name, info, data); 65 Attribute::DeleteAttribute(Attribute* attribute) argument 67 if (attribute) { 68 attribute->~Attribute(); 69 free(attribute); 159 // iterate through the attribute directory 162 // get the attribute data 170 // create the attribute 43 CreateAttribute(const char* name, const attr_info& info, const void* data, Attribute** attribute) argument 218 Attribute* attribute = it.Next(); local 231 RemoveAttribute(Attribute* attribute) argument 270 Attribute* attribute = it.Next(); local 281 Attribute* attribute; local 327 Attribute* attribute = it.Next(); local [all...] |
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/userlandfs/r5/src/test/netfs/server/ |
H A D | AttributeDirectory.cpp | 43 const void* data, Attribute** attribute) 45 if (!name || !attribute) 58 *attribute = new(buffer) Attribute(name, info, data); 64 Attribute::DeleteAttribute(Attribute* attribute) argument 66 if (attribute) { 67 attribute->~Attribute(); 68 free(attribute); 158 // iterate through the attribute directory 161 // get the attribute data 169 // create the attribute 42 CreateAttribute(const char* name, const attr_info& info, const void* data, Attribute** attribute) argument 217 Attribute* attribute = it.Next(); local 230 RemoveAttribute(Attribute* attribute) argument 269 Attribute* attribute = it.Next(); local 280 Attribute* attribute; local 326 Attribute* attribute = it.Next(); local [all...] |
/haiku-fatelf/src/bin/makeudfimage/ |
H A D | Attribute.cpp | 10 BDataIO wrapper around a given attribute for a file. (implementation) 15 Attribute::Attribute(BNode &node, const char *attribute) argument 17 , fAttribute(attribute)
|
/haiku-fatelf/headers/private/fs_shell/ |
H A D | fssh_fs_attr.h | 23 extern fssh_ssize_t fssh_fs_read_attr(int fd, const char *attribute, 26 extern fssh_ssize_t fssh_fs_write_attr(int fd, const char *attribute, 29 extern int fssh_fs_remove_attr(int fd, const char *attribute); 30 extern int fssh_fs_stat_attr(int fd, const char *attribute, 35 //extern int fssh_fs_open_attr(const char *path, const char *attribute, uint32_t type, int openMode); 36 extern int fssh_fs_open_attr(int fd, const char *attribute,
|
/haiku-fatelf/src/system/libroot/os/ |
H A D | fs_attr.cpp | 49 fs_read_attr(int fd, const char* attribute, uint32 /*type*/, off_t pos, argument 52 ssize_t bytes = _kern_read_attr(fd, attribute, pos, buffer, readBytes); 58 fs_write_attr(int fd, const char* attribute, uint32 type, off_t pos, argument 65 // that did not actually happen if the attribute was backed up by a real 67 // Also, it will truncate any existing attribute, disregarding the specified 71 // BeOS in that it clobbers the existing attribute when you write at offset 79 ssize_t bytes = _kern_write_attr(fd, attribute, type, pos, buffer, 86 fs_remove_attr(int fd, const char* attribute) argument 88 status_t status = _kern_remove_attr(fd, attribute); 95 fs_stat_attr(int fd, const char* attribute, struc argument 103 fs_open_attr(const char *path, const char *attribute, uint32 type, int openMode) argument 111 fs_fopen_attr(int fd, const char* attribute, uint32 type, int openMode) argument [all...] |
/haiku-fatelf/src/apps/diskprobe/ |
H A D | AttributeWindow.h | 17 AttributeWindow(BRect rect, entry_ref *ref, const char *attribute = NULL, 23 virtual bool Contains(const entry_ref &ref, const char *attribute);
|
/haiku-fatelf/src/libs/gnu/ |
H A D | xattr.cpp | 40 // a Haiku attribute -- map the name 65 // a Haiku attribute -- extract the actual name and type 131 int Set(const char* attribute, int flags, const void* buffer, size_t size) argument 141 // pure open -- attribute must exist 146 attributeName.Init(attribute); 170 ssize_t Get(const char* attribute, void* buffer, size_t size) argument 176 attributeName.Init(attribute); 178 // get the attribute size -- we read all or nothing 187 // if an empty buffer is given, return the attribute size 207 int Remove(const char* attribute) argument 282 getxattr(const char* path, const char* attribute, void* buffer, size_t size) argument 289 lgetxattr(const char* path, const char* attribute, void* buffer, size_t size) argument 296 fgetxattr(int fd, const char* attribute, void* buffer, size_t size) argument 303 setxattr(const char* path, const char* attribute, const void* buffer, size_t size, int flags) argument 311 lsetxattr(const char* path, const char* attribute, const void* buffer, size_t size, int flags) argument 319 fsetxattr(int fd, const char* attribute, const void* buffer, size_t size, int flags) argument 327 removexattr(const char* path, const char* attribute) argument 334 lremovexattr(const char* path, const char* attribute) argument 341 fremovexattr(int fd, const char* attribute) argument [all...] |
/haiku-fatelf/src/add-ons/kernel/file_systems/netfs/client/ |
H A D | ShareAttrDir.cpp | 85 const void* data, Attribute** attribute) 87 if (!name || !attribute) 100 *attribute = new(buffer) Attribute(name, info, data); 106 Attribute::DeleteAttribute(Attribute* attribute) argument 108 if (attribute) { 109 attribute->~Attribute(); 110 free(attribute); 248 Attribute* attribute = fAttributes.GetFirst(); local 249 oldAttributes[i] = attribute; 250 fAttributes.Remove(attribute); 84 CreateAttribute(const char* name, const attr_info& info, const void* data, Attribute** attribute) argument 362 Attribute* attribute = it.Next(); local 375 RemoveAttribute(Attribute* attribute) argument 393 Attribute* attribute = it.Next(); local [all...] |
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/userlandfs/r5/src/test/netfs/client/ |
H A D | ShareAttrDir.cpp | 85 const void* data, Attribute** attribute) 87 if (!name || !attribute) 100 *attribute = new(buffer) Attribute(name, info, data); 106 Attribute::DeleteAttribute(Attribute* attribute) argument 108 if (attribute) { 109 attribute->~Attribute(); 110 free(attribute); 248 Attribute* attribute = fAttributes.GetFirst(); local 249 oldAttributes[i] = attribute; 250 fAttributes.Remove(attribute); 84 CreateAttribute(const char* name, const attr_info& info, const void* data, Attribute** attribute) argument 362 Attribute* attribute = it.Next(); local 375 RemoveAttribute(Attribute* attribute) argument 393 Attribute* attribute = it.Next(); local [all...] |