Searched refs:attrName (Results 1 - 25 of 45) sorted by relevance

12

/haiku/src/bin/addattr/
H A DaddAttr.h14 status_t addAttr(const char* file, type_code attrType, const char* attrName,
H A Dmain.cpp240 const char* attrName = argv[optind++]; local
256 status_t status = addAttr(argv[optind], attrType, attrName, attrValue,
/haiku/src/apps/icon-o-matic/document/savers/
H A DAttributeSaver.cpp17 AttributeSaver::AttributeSaver(const entry_ref& ref, const char* attrName) argument
19 fAttrName(attrName)
H A DAttributeSaver.h21 const char* attrName);
/haiku/src/kits/shared/
H A DAttributeUtilities.cpp25 char attrName[B_ATTR_NAME_LENGTH]; local
26 while (source.GetNextAttrName(attrName) == B_OK) {
29 status_t status = source.GetAttrInfo(attrName, &attrInfo);
46 ssize_t bytesRead = source.ReadAttr(attrName, attrInfo.type,
52 ssize_t bytesWritten = destination.WriteAttr(attrName,
/haiku/src/apps/soundrecorder/
H A DFileUtils.cpp86 char attrName[B_ATTR_NAME_LENGTH]; local
87 while (src.GetNextAttrName(attrName) == B_OK) {
89 if (src.GetAttrInfo(attrName, &info) != B_OK) {
91 attrName);
98 ssize_t read = src.ReadAttr(attrName, info.type, offset, buffer,
101 fprintf(stderr, "Error reading attribute '%s'\n", attrName);
106 ssize_t written = dst.WriteAttr(attrName, info.type, offset,
109 fprintf(stderr, "Error writing attribute '%s'\n", attrName);
116 read = src.ReadAttr(attrName, info.type, offset, buffer,
119 fprintf(stderr, "Error reading attribute '%s'\n", attrName);
[all...]
/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);
/haiku/headers/libs/print/libprint/
H A DPrinterDriver.h47 bool _ReadSettings(const char* attrName,
49 void _WriteSettings(const char* attrName,
51 void _MergeWithPreviousSettings(const char* attrName,
/haiku/src/bin/
H A Dreindex.cpp194 char attrName[B_ATTR_NAME_LENGTH]; local
200 while (node->GetNextAttrName(attrName) == B_OK) {
202 if (!isAttrInList(attrName))
204 } else if (!nameMatchesPattern(attrName))
207 attr = new(std::nothrow) Attribute(attrName);
216 "\"%s\": %s\n", kProgramName, attrName, name, strerror(status));
222 attrName, attr->Length());
234 if (fs_stat_index(ref.device, attrName, &indexInfo) != B_OK)
235 fs_create_index(ref.device, attrName, attr->Type(), 0);
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,
H A Dcatattr.cpp348 const char* attrName = argv[optind++]; local
352 status_t status = catAttr(attrName, fileName, keepRaw, dataOnly,
356 program, fileName, attrName, strerror(status));
/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...]
/haiku/src/libs/print/libprint/
H A DPrinterDriver.cpp176 PrinterDriver::_ReadSettings(const char* attrName, BMessage* settings) argument
183 if (fSpoolFolder->GetAttrInfo(attrName, &info) == B_OK && info.size > 0) {
187 size = fSpoolFolder->ReadAttr(attrName, B_MESSAGE_TYPE, 0, data, info.size);
197 PrinterDriver::_WriteSettings(const char* attrName, BMessage* settings) argument
206 fSpoolFolder->WriteAttr(attrName, B_MESSAGE_TYPE, 0, data.Buffer(),
213 PrinterDriver::_MergeWithPreviousSettings(const char* attrName, BMessage* settings) argument
218 if (_ReadSettings(attrName, &stored)) {
/haiku/src/kits/locale/
H A DInitLocaleKit.cpp29 static void EnsureIndexExists(const char *attrName) argument
36 if (fs_stat_index(bootVol.Device(), attrName, &idxInfo) != 0)
37 fs_create_index(bootVol.Device(), attrName, B_STRING_TYPE, 0);
/haiku/src/tests/kits/storage/
H A DNodeTest.cpp598 const char *attrName = attrNames[i]; local
601 CPPUNIT_ASSERT( node.WriteAttr(attrName, B_STRING_TYPE, 0, attrValue,
697 const char *attrName = attrNames[i]; local
700 CPPUNIT_ASSERT( node.ReadAttr(attrName, B_STRING_TYPE, 0, buffer,
708 const char *attrName = attrNames[i]; local
711 CPPUNIT_ASSERT( node.ReadAttr(attrName, B_STRING_TYPE, 0, buffer,
755 const char *attrName = attrNames[i]; local
756 CPPUNIT_ASSERT( node.RemoveAttr(attrName) == B_OK );
757 CPPUNIT_ASSERT( node.ReadAttr(attrName, B_STRING_TYPE, 0, buffer,
903 const char *attrName local
912 const char *attrName = attrNames[i]; local
977 const char *attrName = attrNames[i]; local
983 const char *attrName = attrNames[i]; local
991 const char *attrName = attrNames[i]; local
997 const char *attrName = attrNames[i]; local
1022 const char *attrName = attrNames[i]; local
[all...]
/haiku/src/apps/mediaplayer/playlist/
H A DFilePlaylistItem.h72 status_t _SetAttribute(const char* attrName,
75 status_t _GetAttribute(const char* attrName,
/haiku/src/apps/packageinstaller/
H A DPackageItem.cpp280 char *attrName = 0; local
295 ret = ParseAttribute(buffer, node, &attrName, &nameSize, &attrType,
316 PackageItem::ParseAttribute(uint8* buffer, BNode* node, char** attrName, argument
326 if (*attrName)
327 *attrName[0] = 0;
344 delete[] *attrName;
346 *attrName = new char[*nameSize];
348 fPackage->Read(*attrName, length);
349 (*attrName)[length] = 0;
351 parser_debug(" (%ld) = %s\n", length, *attrName);
964 char *attrName = 0; local
[all...]
/haiku/headers/os/interface/
H A DIconUtils.h29 const char* attrName, BBitmap* result);
/haiku/src/kits/tracker/
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 DNodePreloader.cpp143 const char* attrName; local
144 message->FindString("attr", &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...]
/haiku/src/apps/installer/
H A DCopyEngine.cpp455 char attrName[B_ATTR_NAME_LENGTH]; local
456 while (sourceNode.GetNextAttrName(attrName) == B_OK) {
458 if (sourceNode.GetAttrInfo(attrName, &info) != B_OK)
463 ssize_t read = sourceNode.ReadAttr(attrName, info.type,
468 targetNode.WriteAttr(attrName, info.type, offset, buffer, read);
470 read = sourceNode.ReadAttr(attrName, info.type,
/haiku/src/apps/icon-o-matic/import_export/flat_icon/
H A DFlatIconExporter.h74 const char* attrName);
/haiku/headers/os/storage/
H A DQuery.h50 status_t PushAttr(const char* attrName);

Completed in 123 milliseconds

12