/haiku-fatelf/src/tests/kits/storage/testapps/ |
H A D | dump_mime_types.cpp | 87 BMessage attrInfo; local 88 if (mimeType.GetAttrInfo(&attrInfo) == B_OK) { 97 attrInfo.FindString("attr:name", k, &name) == B_OK 98 && (attrInfo.FindString("attr:public_name", k, 100 && (attrInfo.FindInt32("attr:type", k, (int32*)&type) == B_OK 102 && (attrInfo.FindBool("attr:viewable", k, &isViewable) == B_OK 104 && (attrInfo.FindBool("attr:public", k, &isPublic) == B_OK 106 && (attrInfo.FindBool("attr:editable", k, &isEditable) == B_OK
|
/haiku-fatelf/src/build/libbe/storage/ |
H A D | NodeInfo.cpp | 137 attr_info attrInfo; local 139 error = fNode->GetAttrInfo(kNITypeAttribute, &attrInfo); 140 if (error == B_OK && attrInfo.type != B_MIME_STRING_TYPE) 142 if (error == B_OK && attrInfo.size > B_MIME_TYPE_LENGTH) 146 ssize_t read = fNode->ReadAttr(kNITypeAttribute, attrInfo.type, 0, 147 type, attrInfo.size); 150 else if (read != attrInfo.size) 253 attr_info attrInfo; local 255 error = fNode->GetAttrInfo(attribute, &attrInfo); 256 if (error == B_OK && attrInfo 404 attr_info attrInfo; local 494 attr_info attrInfo; local [all...] |
/haiku-fatelf/src/kits/storage/ |
H A D | NodeInfo.cpp | 141 attr_info attrInfo; local 143 error = fNode->GetAttrInfo(kNITypeAttribute, &attrInfo); 144 if (error == B_OK && attrInfo.type != B_MIME_STRING_TYPE) 146 if (error == B_OK && attrInfo.size > B_MIME_TYPE_LENGTH) 151 ssize_t read = fNode->ReadAttr(kNITypeAttribute, attrInfo.type, 0, 152 type, attrInfo.size); 155 else if (read != attrInfo.size) 160 type[min_c(attrInfo.size, B_MIME_TYPE_LENGTH - 1)] = '\0'; 270 // attr_info attrInfo; 272 // error = fNode->GetAttrInfo(attribute, &attrInfo); 525 attr_info attrInfo; local 620 attr_info attrInfo; local [all...] |
/haiku-fatelf/src/bin/ |
H A D | resattr.cpp | 93 attr_info attrInfo; local 94 if (!overwrite && out.GetAttrInfo(name, &attrInfo) == B_OK) 133 attr_info attrInfo; local 134 status_t error = in.GetAttrInfo(name, &attrInfo); 142 char *data = new char[attrInfo.size]; 143 ssize_t bytesRead = in.ReadAttr(name, attrInfo.type, 0LL, data, 144 attrInfo.size); 155 while (resources.GetResourceInfo(attrInfo.type, resID, &existingName, 161 error = resources.AddResource(attrInfo.type, resID++, data, 162 attrInfo [all...] |
H A D | listattr.cpp | 260 attr_info attrInfo; local 262 status = node.GetAttrInfo(name, &attrInfo); 264 printf("%*s", kTypeWidth, get_type(attrInfo.type)); 265 printf("% *" B_PRId64 " ", kSizeWidth, attrInfo.size); 274 show_attr_contents(node, name, attrInfo); 278 total += attrInfo.size;
|
H A D | copyattr.cpp | 205 attr_info attrInfo; local 206 status_t error = source.GetAttrInfo(attrName, &attrInfo); 214 if (!parameters.attribute_filter.Filter(attrName, attrInfo.type)) 220 off_t bytesLeft = attrInfo.size; 229 ssize_t bytesRead = source.ReadAttr(attrName, attrInfo.type, 240 attrInfo.type, offset, buffer, bytesRead);
|
/haiku-fatelf/headers/build/os/kernel/ |
H A D | fs_attr.h | 29 struct attr_info *attrInfo);
|
/haiku-fatelf/headers/os/kernel/ |
H A D | fs_attr.h | 29 struct attr_info *attrInfo);
|
/haiku-fatelf/headers/private/fs_shell/ |
H A D | fssh_fs_attr.h | 31 struct fssh_attr_info *attrInfo);
|
/haiku-fatelf/src/add-ons/kernel/file_systems/netfs/client/ |
H A D | ShareAttrDir.cpp | 437 const AttributeInfo& attrInfo = attrInfos[i]; local 440 const void* data = attrInfo.data.GetData(); 441 if (data && attrInfo.data.GetSize() != attrInfo.info.size) 443 error = Attribute::CreateAttribute(attrInfo.name.GetString(), 444 attrInfo.info, data, attributes + i);
|
H A D | VirtualVolume.h | 113 struct attr_info* attrInfo);
|
H A D | Volume.h | 147 struct attr_info* attrInfo);
|
H A D | netfs.cpp | 92 struct attr_info *attrInfo); 848 struct attr_info *attrInfo) 852 attrInfo); 853 status_t error = node->GetVolume()->StatAttr(node, name, attrInfo); 847 netfs_stat_attr(void *ns, void *_node, const char *name, struct attr_info *attrInfo) argument
|
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/userlandfs/r5/src/test/netfs/client/ |
H A D | ShareAttrDir.cpp | 437 const AttributeInfo& attrInfo = attrInfos[i]; local 440 const void* data = attrInfo.data.GetData(); 441 if (data && attrInfo.data.GetSize() != attrInfo.info.size) 443 error = Attribute::CreateAttribute(attrInfo.name.GetString(), 444 attrInfo.info, data, attributes + i);
|
/haiku-fatelf/src/system/libroot/os/ |
H A D | fs_attr.cpp | 95 fs_stat_attr(int fd, const char* attribute, struct attr_info* attrInfo) argument 97 status_t status = _kern_stat_attr(fd, attribute, attrInfo);
|
/haiku-fatelf/src/build/libroot/ |
H A D | fs_attr_generic.cpp | 457 fs_stat_attr(int fd, const char *attribute, struct attr_info *attrInfo) argument 459 if (!attribute || !attrInfo) { 478 attrInfo->size = st.st_size; 485 ssize_t bytesRead = read(typeFD, &attrInfo->type, sizeof(attrInfo->type)); 488 else if (bytesRead < (ssize_t)sizeof(attrInfo->type))
|
H A D | fs_attr_untyped.cpp | 657 fs_stat_attr(int fd, const char *_attribute, struct attr_info *attrInfo) argument 659 if (!_attribute || !attrInfo) { 701 attrInfo->size = bytesRead - sizeof(AttributeHeader); 702 attrInfo->type = ((AttributeHeader*)attributeBuffer)->type;
|
/haiku-fatelf/src/libs/icon/ |
H A D | IconUtils.cpp | 312 attr_info attrInfo; local 313 status_t ret = node->GetAttrInfo(attrName, &attrInfo); 319 if (attrInfo.type != attrType) 323 if (attrInfo.size > 16 * 1024) 326 uint8 buffer[attrInfo.size]; 327 ssize_t read = node->ReadAttr(attrName, attrType, 0, buffer, attrInfo.size); 328 if (read != attrInfo.size) 335 ret = GetVectorIcon(buffer, attrInfo.size, result); 460 attr_info attrInfo; local 462 ret = node->GetAttrInfo(attribute, &attrInfo); [all...] |
/haiku-fatelf/src/add-ons/kernel/file_systems/userlandfs/server/beos/ |
H A D | BeOSKernelVolume.cpp | 647 beos_attr_info attrInfo; local 652 &attrInfo); 657 st->st_size = attrInfo.size; 658 st->st_type = attrInfo.type; 845 beos_attr_info attrInfo; 849 = (fFSOps->stat_attr(fVolumeCookie, node, name, &attrInfo) == B_OK); 861 type = attrInfo.type;
|
/haiku-fatelf/src/system/kernel/device_manager/ |
H A D | device_manager.cpp | 506 struct device_attr_info attrInfo; local 511 if (user_memcpy(&attrInfo, buffer, sizeof(device_attr_info)) < B_OK) 514 device_node* node = (device_node*)attrInfo.node_cookie; 515 device_attr* last = (device_attr*)attrInfo.cookie; 526 attrInfo.cookie = 0; 531 attrInfo.cookie = (device_node_cookie)attr; 532 strlcpy(attrInfo.name, attr->name, 254); 533 attrInfo.type = attr->type; 534 switch (attrInfo.type) { 536 attrInfo [all...] |
/haiku-fatelf/src/kits/locale/ |
H A D | DefaultCatalog.cpp | 240 attr_info attrInfo; 241 res = node.GetAttrInfo(BLocaleRoster::kEmbeddedCatAttr, &attrInfo); 244 if (attrInfo.type != B_MESSAGE_TYPE) 247 size_t size = attrInfo.size;
|
/haiku-fatelf/src/apps/icon-o-matic/ |
H A D | MainWindow.cpp | 671 attr_info attrInfo; local 672 if (file.GetAttrInfo(kVectorAttrNodeName, &attrInfo) == B_OK) { 673 if (attrInfo.type != B_VECTOR_ICON_TYPE) 680 buffer = new(nothrow) uint8[attrInfo.size]; 686 B_VECTOR_ICON_TYPE, 0, buffer, attrInfo.size); 687 if (bytesRead != (ssize_t)attrInfo.size) { 693 ret = flatImporter.Import(icon, buffer, attrInfo.size);
|
/haiku-fatelf/src/kits/tracker/ |
H A D | QueryPoseView.cpp | 369 attr_info attrInfo; local 374 &attrInfo);
|
/haiku-fatelf/src/add-ons/kernel/file_systems/netfs/server/ |
H A D | ClientConnection.h | 130 const char* name, const attr_info& attrInfo,
|
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/userlandfs/r5/src/kernel_add_on/ |
H A D | Volume.h | 128 struct attr_info* attrInfo);
|