/haiku/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/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/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/src/add-ons/kernel/file_systems/ramfs/ |
H A D | Node.cpp | 45 // attribute management 72 while (Attribute *attribute = fAttributes.First()) { 73 status_t error = DeleteAttribute(attribute); 75 FATAL("Node::~Node(): Failed to delete attribute!\n"); 188 // create attribute 189 Attribute *attribute = new(nothrow) Attribute(fVolume, NULL, name); local 190 if (attribute) { 191 error = attribute->InitCheck(); 193 // add attribute to node 194 error = AddAttribute(attribute); 208 DeleteAttribute(Attribute *attribute) argument 218 AddAttribute(Attribute *attribute) argument 234 RemoveAttribute(Attribute *attribute) argument 280 Attribute *attribute = NULL; local 360 Attribute *attribute = NULL; local [all...] |
H A D | AttributeIndex.h | 18 virtual status_t Added(Attribute *attribute) = 0; 19 virtual bool Removed(Attribute *attribute) = 0; 20 virtual status_t Changed(Attribute *attribute,
|
H A D | AttributeIndexImpl.cpp | 69 PrimaryKey(Attribute *attribute, const uint8 *theKey, argument 71 : attribute(attribute), length(length) 73 PrimaryKey(Attribute *attribute) argument 74 : attribute(attribute) { attribute->GetKey(key, &length); } 76 : attribute(NULL), length(length) 79 Attribute *attribute; member in class:AttributeIndexImpl::PrimaryKey 107 if (a.attribute ! 237 Changed(Attribute *attribute, const uint8 *oldKey, size_t oldLength) argument 277 Added(Attribute *attribute) argument 296 Removed(Attribute *attribute) argument [all...] |
H A D | AttributeIndexImpl.h | 19 virtual status_t Changed(Attribute *attribute, 23 virtual status_t Added(Attribute *attribute); 24 virtual bool Removed(Attribute *attribute);
|
/haiku/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/headers/build/os/kernel/ |
H A D | fs_attr.h | 24 extern ssize_t fs_read_attr(int fd, const char *attribute, uint32 type, 26 extern ssize_t fs_write_attr(int fd, const char *attribute, uint32 type, 28 extern int fs_remove_attr(int fd, const char *attribute); 29 extern int fs_stat_attr(int fd, const char *attribute, 32 extern int fs_open_attr(const char *path, const char *attribute, 34 extern int fs_fopen_attr(int fd, const char *attribute, uint32 type,
|
/haiku/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/src/apps/mediaplayer/playlist/ |
H A D | UrlPlaylistItem.h | 26 virtual status_t SetAttribute(const Attribute& attribute, 28 virtual status_t GetAttribute(const Attribute& attribute, 31 virtual status_t SetAttribute(const Attribute& attribute, 33 virtual status_t GetAttribute(const Attribute& attribute, 36 virtual status_t SetAttribute(const Attribute& attribute, 38 virtual status_t GetAttribute(const Attribute& attribute, 41 virtual status_t SetAttribute(const Attribute& attribute, 43 virtual status_t GetAttribute(const Attribute& attribute,
|
H A D | UrlPlaylistItem.cpp | 67 UrlPlaylistItem::SetAttribute(const Attribute& attribute, const BString& string) argument 74 UrlPlaylistItem::GetAttribute(const Attribute& attribute, BString& string) const argument 76 if (attribute == ATTR_STRING_NAME) { 86 UrlPlaylistItem::SetAttribute(const Attribute& attribute, const int32& value) argument 93 UrlPlaylistItem::GetAttribute(const Attribute& attribute, int32& value) const argument 100 UrlPlaylistItem::SetAttribute(const Attribute& attribute, const int64& value) argument 107 UrlPlaylistItem::GetAttribute(const Attribute& attribute, int64& value) const argument 109 if (attribute == ATTR_INT64_DURATION && fDuration >= 0) { 118 UrlPlaylistItem::SetAttribute(const Attribute& attribute, const float& value) argument 125 UrlPlaylistItem::GetAttribute(const Attribute& attribute, floa argument [all...] |
/haiku/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/src/add-ons/kernel/file_systems/packagefs/package/ |
H A D | PackageNode.cpp | 31 while (PackageNodeAttribute* attribute = fAttributes.RemoveHead()) 32 delete attribute; 84 PackageNode::AddAttribute(PackageNodeAttribute* attribute) argument 86 fAttributes.Add(attribute); 91 PackageNode::RemoveAttribute(PackageNodeAttribute* attribute) argument 93 fAttributes.Remove(attribute); 101 PackageNodeAttribute* attribute = it.Next();) { 102 if (name == attribute->Name()) 103 return attribute;
|
/haiku/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/src/add-ons/kernel/file_systems/packagefs/nodes/ |
H A D | AutoPackageAttributes.cpp | 24 AutoPackageAttributeCookie(Package* package, AutoPackageAttribute attribute) argument 27 fAttribute(attribute) 40 // get the attribute 97 AutoPackageAttributes::NameForAttribute(AutoPackageAttribute attribute) argument 99 ASSERT(attribute >= 0 && attribute < AUTO_PACKAGE_ATTRIBUTE_ENUM_COUNT); 100 return StringConstants::Get().kAutoPackageAttributeNames[attribute]; 106 AutoPackageAttribute attribute, off_t& _size, uint32& _type) 108 switch (attribute) { 138 // get the attribute 105 GetAttributeValue(const Package* package, AutoPackageAttribute attribute, off_t& _size, uint32& _type) argument [all...] |
H A D | UnpackingAttributeCookie.cpp | 55 PackageNodeAttribute* attribute, int openMode) 59 fAttribute(attribute), 81 // get the attribute 82 PackageNodeAttribute* attribute = packageNode->FindAttribute(name); 83 if (attribute == NULL) { 84 // We don't know the attribute -- maybe it's an auto-generated one. 91 UnpackingAttributeCookie(packageNode, attribute, openMode); 120 PackageNodeAttribute* attribute, off_t offset, void* buffer, 123 const PackageData& data = attribute->Data(); 156 // get the attribute 54 UnpackingAttributeCookie(PackageNode* packageNode, PackageNodeAttribute* attribute, int openMode) argument 119 ReadAttribute(PackageNode* packageNode, PackageNodeAttribute* attribute, off_t offset, void* buffer, size_t* bufferSize) argument [all...] |
/haiku/src/apps/diskprobe/ |
H A D | AttributeWindow.h | 19 const char* attribute = NULL, 26 const char* attribute);
|
/haiku/src/libs/gnu/ |
H A D | xattr.cpp | 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) argument 143 // pure open -- attribute must exist 148 attributeName.Init(attribute); 172 ssize_t Get(const char* attribute, void* buffer, size_t size) argument 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) argument 284 getxattr(const char* path, const char* attribute, void* buffer, size_t size) argument 291 lgetxattr(const char* path, const char* attribute, void* buffer, size_t size) argument 298 fgetxattr(int fd, const char* attribute, void* buffer, size_t size) argument 305 setxattr(const char* path, const char* attribute, const void* buffer, size_t size, int flags) argument 313 lsetxattr(const char* path, const char* attribute, const void* buffer, size_t size, int flags) argument 321 fsetxattr(int fd, const char* attribute, const void* buffer, size_t size, int flags) argument 329 removexattr(const char* path, const char* attribute) argument 336 lremovexattr(const char* path, const char* attribute) argument 343 fremovexattr(int fd, const char* attribute) argument [all...] |
/haiku/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...] |
H A D | ShareAttrDirIterator.cpp | 30 ShareAttrDirIterator::SetCurrentAttribute(Attribute* attribute) argument 32 fCurrentAttribute = attribute;
|
/haiku/src/kits/game/ |
H A D | GameSound.cpp | 116 gs_attribute attribute; local 118 attribute.attribute = B_GS_GAIN; 119 attribute.value = gain; 120 attribute.duration = duration; 121 attribute.flags = 0; 123 return fDevice->SetAttributes(fSound, &attribute, 1); 130 gs_attribute attribute; local 132 attribute.attribute 144 gs_attribute attribute; local 159 gs_attribute attribute; local [all...] |
/haiku/src/apps/people/ |
H A D | PeopleApp.cpp | 42 const char* attribute; member in struct:DefaultAttribute 47 // TODO: Add flags in attribute info message to find these. 104 // or if it contains no attribute definitions, install a "clean" 125 Attribute* attribute = new Attribute(); local 126 ObjectDeleter<Attribute> deleter(attribute); 128 &attribute->name) != B_OK) { 132 &attribute->attribute) != B_OK) { 136 if (!fAttributes.AddItem(attribute)) 161 for (int32 i = 0; sDefaultAttributes[i].attribute; 172 Attribute* attribute = new Attribute(); local 189 Attribute* attribute = fAttributes.ItemAt(i); local 327 Attribute* attribute = fAttributes.ItemAt(i); local [all...] |