Searched refs:attrName (Results 1 - 25 of 45) sorted by last modified time

12

/haiku/src/kits/tracker/
H A DPose.cpp244 BPose::UpdateWidgetAndModel(Model* resolvedModel, const char* attrName, argument
252 if (attrName != NULL) {
254 if (resolvedModel->AttrChanged(attrName) && visible)
259 uint32 attrHash = AttrHashString(attrName, attrType);
273 && strcmp(column->AttrName(), attrName) == 0) {
H A DWidgetAttributeText.cpp216 const char* attrName = column->AttrName(); local
218 if (strcmp(attrName, kAttrPath) == 0)
221 if (strcmp(attrName, kAttrMIMEType) == 0)
224 if (strcmp(attrName, kAttrStatName) == 0)
227 if (strcmp(attrName, kAttrRealName) == 0)
230 if (strcmp(attrName, kAttrStatSize) == 0)
233 if (strcmp(attrName, kAttrStatModified) == 0)
236 if (strcmp(attrName, kAttrStatCreated) == 0)
240 if (strcmp(attrName, kAttrStatOwner) == 0)
243 if (strcmp(attrName, kAttrStatGrou
389 AttrAsString(const Model* model, BString* outString, const char* attrName, int32 attrType, float width, BView* view, int64* resultingValue) argument
[all...]
H A DContainerWindow.cpp1123 char attrName[256]; local
1124 while (node->GetNextAttrName(attrName) == B_OK) {
1126 if (node->GetAttrInfo(attrName, &info) != B_OK)
1132 if (strcmp(attrName, kAttrWindowFrame) != 0
1133 && strcmp(attrName, kAttrColumns) != 0
1134 && strcmp(attrName, kAttrViewState) != 0
1135 && strcmp(attrName, kAttrColumnsForeign) != 0
1136 && strcmp(attrName, kAttrViewStateForeign) != 0) {
1141 if (node->ReadAttr(attrName, info.type, 0, buffer,
1143 message->AddData(attrName, inf
3478 const char* attrName; local
[all...]
H A DPoseView.cpp2890 const char* attrName; local
2891 if (message->FindString("attr_name", &attrName) != B_OK)
2918 attrName, attrType, displayAs, isStatfield, isEditable);
5843 const char* attrName; local
5844 if (message->FindString("attr", &attrName) != B_OK)
5845 attrName = NULL;
5850 && targetModel->AttrChanged(attrName)) {
5903 if (attrName != NULL && poseModel->Node() != NULL) {
5906 poseModel->Node()->GetAttrInfo(attrName, &info);
5907 pose->UpdateWidgetAndModel(poseModel, attrName, inf
[all...]
H A DWidgetAttributeText.h101 const char* attrName, int32 attrType, float width,
H A DPose.h104 void UpdateWidgetAndModel(Model* resolvedModel, const char* attrName,
H A DFindPanel.cpp2979 FindPanel::GetDefaultAttrName(BString& attrName, int32 row) const argument
2988 attrName << item->Label();
2990 attrName << B_TRANSLATE("Name");
2998 attrName << " " << item->Label() << " ";
3000 attrName << " = ";
3005 attrName << textControl->Text();
H A DThumbnails.cpp385 char attrName[B_ATTR_NAME_LENGTH]; local
386 while (node->GetNextAttrName(attrName) == B_OK) {
387 if (BString(attrName).StartsWith(kAttrThumbnail))
388 node->RemoveAttr(attrName);
H A DModel.cpp894 Model::AttrChanged(const char* attrName) argument
901 if (attrName != NULL
902 && (strcmp(attrName, kAttrIcon) == 0
903 || strcmp(attrName, kAttrMiniIcon) == 0
904 || strcmp(attrName, kAttrLargeIcon) == 0
905 || strcmp(attrName, kAttrThumbnail) == 0)) {
909 if (attrName == NULL
910 || strcmp(attrName, kAttrMIMEType) == 0
911 || strcmp(attrName, kAttrPreferredApp) == 0) {
928 Name(), attrName !
[all...]
H A DNodePreloader.cpp143 const char* attrName; local
144 message->FindString("attr", &attrName);
H A DModel.h166 bool AttrChanged(const char* attrName);
/haiku/src/system/kernel/device_manager/
H A Ddevice_manager.cpp2249 char attrName[256]; local
2252 sprintf(attrName, "dev/%" B_PRIdINO "/path", device->ID());
2253 attr = find_attr(this, attrName, false, B_STRING_TYPE);
2259 sprintf(attrName, "dev/%" B_PRIdINO "/driver", device->ID());
2260 attr = find_attr(this, attrName, false, B_STRING_TYPE);
/haiku/src/apps/webpositive/
H A DBrowserWindow.cpp1969 char attrName[B_ATTR_NAME_LENGTH]; local
1971 status_t attrStatus = node.GetNextAttrName(attrName);
1972 if (strcmp(attrName, "_trk/pinfo_le") == 0)
1973 attrStatus = node.GetNextAttrName(attrName);
/haiku/src/kits/tracker/infowindow/
H A DGeneralInfoView.cpp471 const char* attrName; local
472 if (message->FindString("attr", &attrName) == B_OK) {
473 if (strcmp(attrName, kAttrLargeIcon) == 0
474 || strcmp(attrName, kAttrIcon) == 0) {
477 } else if (strcmp(attrName, kAttrMIMEType) == 0) {
479 model->AttrChanged(attrName);
/haiku/src/apps/icon-o-matic/
H A DMainWindow.cpp1466 const char* attrName local
1469 saver = new AttributeSaver(ref, attrName);
/haiku/src/apps/icon-o-matic/import_export/flat_icon/
H A DFlatIconExporter.cpp133 const char* attrName)
147 node->RemoveAttr(attrName);
151 ssize_t written = node->WriteAttr(attrName, B_VECTOR_ICON_TYPE, 0,
132 Export(const Icon* icon, BNode* node, const char* attrName) argument
H A DFlatIconExporter.h74 const char* attrName);
/haiku/src/libs/icon/
H A DIconUtils.cpp379 BIconUtils::GetVectorIcon(BNode* node, const char* attrName, BBitmap* icon) argument
381 if (node == NULL || attrName == NULL || *attrName == '\0' || icon == NULL)
398 result = node->GetAttrInfo(attrName, &attrInfo);
417 ssize_t bytesRead = node->ReadAttr(attrName, attrType, 0, buffer,
/haiku/src/apps/icon-o-matic/document/savers/
H A DAttributeSaver.h21 const char* attrName);
/haiku/headers/os/interface/
H A DIconUtils.h29 const char* attrName, BBitmap* result);
/haiku/src/kits/storage/
H A DCopyEngine.cpp377 char attrName[B_ATTR_NAME_LENGTH]; local
378 while (source.GetNextAttrName(attrName) == B_OK) {
381 status_t error = source.GetAttrInfo(attrName, &attrInfo);
390 && !fController->AttributeStarted(sourcePath, attrName,
394 "of file \"%s\": %s\n", attrName, sourcePath,
401 error = _HandleAttributeError(sourcePath, attrName, attrInfo.type,
403 "%s\n", attrName, sourcePath, strerror(error));
420 ssize_t bytesRead = source.ReadAttr(attrName, attrInfo.type,
423 error = _HandleAttributeError(sourcePath, attrName,
425 "of file \"%s\": %s\n", attrName, sourcePat
[all...]
H A DQuery.cpp83 BQuery::PushAttr(const char* attrName) argument
85 return _PushNode(new(nothrow) AttributeNode(attrName), true);
/haiku/src/bin/
H A Dcopyattr.cpp202 char attrName[B_ATTR_NAME_LENGTH]; local
203 while (source.GetNextAttrName(attrName) == B_OK) {
206 status_t error = source.GetAttrInfo(attrName, &attrInfo);
209 "of file \"%s\": %s\n", attrName, sourcePath, strerror(error));
214 if (!parameters.attribute_filter.Filter(attrName, attrInfo.type))
229 ssize_t bytesRead = source.ReadAttr(attrName, attrInfo.type,
233 "of file \"%s\": %s\n", attrName, sourcePath,
239 ssize_t bytesWritten = destination.WriteAttr(attrName,
243 "of file \"%s\": %s\n", attrName, destPath,
/haiku/src/kits/package/
H A DFetchUtils.h29 const char* attrName,
33 const char* attrName,
H A DFetchUtils.cpp68 FetchUtils::_SetAttribute(BNode& node, const char* attrName, argument
74 ssize_t written = node.WriteAttr(attrName, type, 0, data, size);
85 FetchUtils::_GetAttribute(const BNode& node, const char* attrName, argument
91 ssize_t read = node.ReadAttr(attrName, type, 0, data, size);

Completed in 616 milliseconds

12