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

12

/haiku-fatelf/src/bin/addattr/
H A DaddAttr.h14 status_t addAttr(const char *file, type_code attrType, const char *attrName,
H A Dmain.cpp218 const char *attrName = argv[optind++]; local
234 status_t status = addAttr(argv[optind], attrType, attrName, attrValue,
/haiku-fatelf/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.h20 const char* attrName);
/haiku-fatelf/src/apps/soundrecorder/
H A DFileUtils.cpp85 char attrName[B_ATTR_NAME_LENGTH]; local
86 while (src.GetNextAttrName(attrName) == B_OK) {
88 if (src.GetAttrInfo(attrName, &info) != B_OK) {
90 attrName);
97 ssize_t read = src.ReadAttr(attrName, info.type, offset, buffer,
100 fprintf(stderr, "Error reading attribute '%s'\n", attrName);
105 ssize_t written = dst.WriteAttr(attrName, info.type, offset,
108 fprintf(stderr, "Error writing attribute '%s'\n", attrName);
115 read = src.ReadAttr(attrName, info.type, offset, buffer,
118 fprintf(stderr, "Error reading attribute '%s'\n", attrName);
[all...]
/haiku-fatelf/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-fatelf/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.cpp341 const char* attrName = argv[optind++]; local
345 status_t status = catAttr(attrName, fileName, keepRaw, dataOnly,
349 program, fileName, attrName, strerror(status));
/haiku-fatelf/src/libs/print/libprint/
H A DPrinterDriver.cpp175 PrinterDriver::_ReadSettings(const char* attrName, BMessage* settings) argument
183 if (fSpoolFolder->GetAttrInfo(attrName, &info) == B_OK && info.size > 0) {
186 size = fSpoolFolder->ReadAttr(attrName, B_MESSAGE_TYPE, 0, data, info.size);
196 PrinterDriver::_WriteSettings(const char* attrName, BMessage* settings) argument
208 fSpoolFolder->WriteAttr(attrName, B_MESSAGE_TYPE, 0, data, size);
214 PrinterDriver::_MergeWithPreviousSettings(const char* attrName, BMessage* settings) argument
219 if (_ReadSettings(attrName, &stored)) {
/haiku-fatelf/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-fatelf/src/apps/mediaplayer/playlist/
H A DFilePlaylistItem.h65 status_t _SetAttribute(const char* attrName,
68 status_t _GetAttribute(const char* attrName,
H A DFilePlaylistItem.cpp390 FilePlaylistItem::_SetAttribute(const char* attrName, type_code type, argument
398 ssize_t written = node.WriteAttr(attrName, type, 0, data, size);
409 FilePlaylistItem::_GetAttribute(const char* attrName, type_code type, argument
417 ssize_t read = node.ReadAttr(attrName, type, 0, data, size);
/haiku-fatelf/src/tests/kits/storage/
H A DNodeTest.cpp596 const char *attrName = attrNames[i]; local
599 CPPUNIT_ASSERT( node.WriteAttr(attrName, B_STRING_TYPE, 0, attrValue,
695 const char *attrName = attrNames[i]; local
698 CPPUNIT_ASSERT( node.ReadAttr(attrName, B_STRING_TYPE, 0, buffer,
706 const char *attrName = attrNames[i]; local
709 CPPUNIT_ASSERT( node.ReadAttr(attrName, B_STRING_TYPE, 0, buffer,
746 const char *attrName = attrNames[i]; local
747 CPPUNIT_ASSERT( node.RemoveAttr(attrName) == B_OK );
748 CPPUNIT_ASSERT( node.ReadAttr(attrName, B_STRING_TYPE, 0, buffer,
882 const char *attrName local
891 const char *attrName = attrNames[i]; local
956 const char *attrName = attrNames[i]; local
962 const char *attrName = attrNames[i]; local
970 const char *attrName = attrNames[i]; local
976 const char *attrName = attrNames[i]; local
1001 const char *attrName = attrNames[i]; local
[all...]
/haiku-fatelf/headers/os/interface/
H A DIconUtils.h29 const char* attrName, BBitmap* result);
/haiku-fatelf/src/apps/packageinstaller/
H A DPackageItem.cpp234 char *attrName = 0; local
249 ret = ParseAttribute(buffer, node, &attrName, &nameSize, &attrType,
270 PackageItem::ParseAttribute(uint8 *buffer, BNode *node, char **attrName, argument
280 if (*attrName)
281 *attrName[0] = 0;
298 delete[] *attrName;
300 *attrName = new char[*nameSize];
302 fPackage->Read(*attrName, length);
303 (*attrName)[length] = 0;
305 parser_debug(" (%ld) = %s\n", length, *attrName);
857 char *attrName = 0; local
[all...]
/haiku-fatelf/src/apps/webpositive/support/
H A DIconUtils.h48 const char* attrName, BBitmap* result);
/haiku-fatelf/src/apps/installer/
H A DCopyEngine.cpp425 char attrName[B_ATTR_NAME_LENGTH]; local
426 while (sourceNode.GetNextAttrName(attrName) == B_OK) {
428 if (sourceNode.GetAttrInfo(attrName, &info) < B_OK)
433 ssize_t read = sourceNode.ReadAttr(attrName, info.type,
438 targetNode.WriteAttr(attrName, info.type, offset, buffer, read);
440 read = sourceNode.ReadAttr(attrName, info.type,
/haiku-fatelf/src/kits/tracker/
H A DNodePreloader.cpp136 const char* attrName; local
137 message->FindString("attr", &attrName);
H A DModel.cpp885 Model::AttrChanged(const char* attrName) argument
892 if (attrName
893 && (strcmp(attrName, kAttrIcon) == 0
894 || strcmp(attrName, kAttrMiniIcon) == 0
895 || strcmp(attrName, kAttrLargeIcon) == 0))
898 if (!attrName
899 || strcmp(attrName, kAttrMIMEType) == 0
900 || strcmp(attrName, kAttrPreferredApp) == 0) {
917 Name(), attrName ? attrName
[all...]
H A DWidgetAttributeText.cpp239 const char* attrName = column->AttrName(); local
241 if (strcmp(attrName, kAttrPath) == 0)
243 if (strcmp(attrName, kAttrMIMEType) == 0)
245 if (strcmp(attrName, kAttrStatName) == 0)
247 if (strcmp(attrName, kAttrRealName) == 0)
249 if (strcmp(attrName, kAttrStatSize) == 0)
251 if (strcmp(attrName, kAttrStatModified) == 0)
253 if (strcmp(attrName, kAttrStatCreated) == 0)
256 if (strcmp(attrName, kAttrStatOwner) == 0)
258 if (strcmp(attrName, kAttrStatGrou
391 AttrAsString(const Model* model, BString* result, const char* attrName, int32 attrType, float width, BView* view, int64* resultingValue) argument
[all...]
/haiku-fatelf/src/apps/icon-o-matic/import_export/flat_icon/
H A DFlatIconExporter.h63 const char* attrName);
/haiku-fatelf/src/build/libroot/
H A Dfs_attr_generic.cpp185 string attrName(escape_attr_name(attribute));
186 typePath = attrPath + "t" + attrName;
187 attrPath += attrName;
298 string attrName = deescape_attr_name(entry->d_name); local
299 strcpy(entry->d_name, attrName.c_str());
/haiku-fatelf/headers/os/storage/
H A DQuery.h61 status_t PushAttr(const char* attrName);
/haiku-fatelf/src/apps/resedit/
H A DResView.cpp265 char attrName[B_ATTR_NAME_LENGTH]; local
268 while (node.GetNextAttrName(attrName) == B_OK) {
269 if (resData->SetFromAttribute(attrName, node)) {

Completed in 161 milliseconds

12