/haiku/src/apps/mail/ |
H A D | People.cpp | 36 char attr[32]; local 37 snprintf(attr, sizeof(attr), "META:email%d", i); 39 if (node.ReadAttrString(attr, &email) != B_OK)
|
H A D | Utilities.cpp | 49 WriteAttrString(BNode* node, const char* attr, const char* value) argument 54 ssize_t size = node->WriteAttr(attr, B_STRING_TYPE, 0, value,
|
/haiku/src/add-ons/kernel/file_systems/nfs4/ |
H A D | RootInode.cpp | 68 Attribute attr[] = { FATTR4_FILES_FREE, FATTR4_FILES_TOTAL, local 71 req.GetAttr(attr, sizeof(attr) / sizeof(Attribute)); 190 Attribute attr[] = { FATTR4_FS_LOCATIONS }; local 191 req.GetAttr(attr, sizeof(attr) / sizeof(Attribute));
|
H A D | FileSystem.h | 57 inline bool IsAttrSupported(Attribute attr) const; 136 FileSystem::IsAttrSupported(Attribute attr) const 138 return sIsAttrSet(attr, fSupAttrs, 2);
|
H A D | NFS4Defs.h | 145 static inline bool sIsAttrSet(Attribute attr, const uint32* bitmap, argument 148 if ((uint32)attr / 32 >= count) 151 return (bitmap[attr / 32] & 1 << attr % 32) != 0;
|
H A D | Inode.h | 69 OpenAttrCookie* attr = NULL); 71 OpenAttrCookie* attr = NULL); 141 OpenAttrCookie* attr = NULL);
|
/haiku/src/tests/kits/interface/picture/ |
H A D | SVGViewView.cpp | 249 const char *attr = GetStringAttribute(attributes, name); 251 if (!attr) 256 if (attr[0] == '#') { 257 if (strlen(attr) == 4) { 258 sscanf(attr, "#%1X%1X%1X", &red, &green, &blue); 264 sscanf(attr, "#%2X%2X%2X", &red, &green, &blue); 276 if (sscanf(attr, "rgb(%d, %d, %d)", &red, &green, &blue) == 3) { 289 if (sscanf(attr, "rgb(%f%%, %f%%, %f%%)", &redf, &greenf, &bluef) == 3) { 300 if (strcasecmp(attr, "url")) { 301 const char *grad = strchr(attr, '#'); 476 const char *attr = GetStringAttribute(attributes, name); local [all...] |
/haiku/src/system/libroot/posix/pthread/ |
H A D | pthread_mutex.cpp | 33 const pthread_mutexattr* attr = _attr != NULL local 39 mutex->flags = attr->type | (attr->process_shared ? MUTEX_FLAG_SHARED : 0);
|
/haiku/src/build/libbe/storage/ |
H A D | Node.cpp | 237 BNode::WriteAttr(const char* attr, type_code type, off_t offset, argument 243 if (attr == NULL || buffer == NULL) 246 ssize_t result = fs_write_attr(fFd, attr, type, offset, buffer, length); 253 BNode::ReadAttr(const char* attr, type_code type, off_t offset, argument 259 if (attr == NULL || buffer == NULL) 262 ssize_t result = fs_read_attr(fFd, attr, type, offset, buffer, length);
|
/haiku/src/add-ons/kernel/file_systems/iso9660/ |
H A D | kernel_interface.cpp | 175 volume->rootDirRec.attr.stat[FS_DATA_FORMAT].st_mode, 0); 320 free(node.attr.slName); 388 *_type = newNode->attr.stat[FS_DATA_FORMAT].st_mode 410 free(node->attr.slName); 491 st->st_nlink = node->attr.stat[FS_DATA_FORMAT].st_nlink; 492 st->st_uid = node->attr.stat[FS_DATA_FORMAT].st_uid; 493 st->st_gid = node->attr.stat[FS_DATA_FORMAT].st_gid; 495 st->st_mode = node->attr.stat[FS_DATA_FORMAT].st_mode; 563 if (!S_ISLNK(node->attr.stat[FS_DATA_FORMAT].st_mode)) 566 size_t length = strlen(node->attr [all...] |
H A D | iso9660.cpp | 334 node->attr.pxVer = *(uint8*)(buffer + bytePos++); 337 node->attr.stat[LSB_DATA].st_mode 340 node->attr.stat[MSB_DATA].st_mode 345 node->attr.stat[LSB_DATA].st_nlink 348 node->attr.stat[MSB_DATA].st_nlink 353 node->attr.stat[LSB_DATA].st_uid 356 node->attr.stat[MSB_DATA].st_uid 361 node->attr.stat[LSB_DATA].st_gid 364 node->attr.stat[MSB_DATA].st_gid 386 node->attr [all...] |
/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/ |
H A D | runlist.h | 66 const ATTR_RECORD *attr, runlist_element *old_rl);
|
H A D | mft.h | 65 MFT_RECORD **mrec, ATTR_RECORD **attr);
|
H A D | attrib.c | 419 ntfs_log_enter("Entering for inode %lld, attr 0x%x.\n", 451 a = ctx->attr; 537 ntfs_log_perror("Compressed inode %lld attr 0x%x has " 546 ntfs_log_perror("Compressed inode %lld attr 0x%lx has " 616 ntfs_log_trace("Entering for inode 0x%llx, attr 0x%x, vcn 0x%llx.\n", 633 rl = ntfs_mapping_pairs_decompress(na->ni->vol, ctx->attr, 688 a = ctx->attr; 759 ntfs_log_enter("Entering for inode %llu, attr 0x%x.\n", 785 a = ctx->attr; 886 ntfs_log_trace("Entering for inode 0x%llx, attr [all...] |
H A D | index.h | 157 extern INDEX_ROOT *ntfs_index_root_get(ntfs_inode *ni, ATTR_RECORD *attr);
|
H A D | runlist.c | 759 * @attr: attribute record whose mapping pairs array to decompress 760 * @old_rl: optional runlist in which to insert @attr's runlist 762 * Decompress the attribute @attr's mapping pairs array into a runlist. On 784 const ATTR_RECORD *attr, runlist_element *old_rl) 797 ntfs_log_trace("Entering for attr 0x%x.\n", 798 (unsigned)le32_to_cpu(attr->type)); 799 /* Make sure attr exists and is non-resident. */ 800 if (!attr || !attr->non_resident || 801 sle64_to_cpu(attr 783 ntfs_mapping_pairs_decompress_i(const ntfs_volume *vol, const ATTR_RECORD *attr, runlist_element *old_rl) argument 1024 ntfs_mapping_pairs_decompress(const ntfs_volume *vol, const ATTR_RECORD *attr, runlist_element *old_rl) argument [all...] |
/haiku/src/kits/tracker/ |
H A D | ViewState.h | 377 BViewState::SetPrimarySort(uint32 attr) argument 379 fPrimarySortAttr = attr; 384 BViewState::SetSecondarySort(uint32 attr) argument 386 fSecondarySortAttr = attr;
|
/haiku/src/add-ons/kernel/file_systems/ramfs/ |
H A D | Query.cpp | 248 Attribute* attr = NULL; local 249 status_t error = node->FindAttribute(attribute, &attr); 253 *_type = attr->GetType(); 254 error = attr->ReadAt(0, buffer, *_size, _size);
|
/haiku/src/libs/compat/openbsd_wlan/sys/ |
H A D | tree.h | 382 #define RB_PROTOTYPE_INTERNAL(name, type, field, cmp, attr) \ 383 attr void name##_RB_INSERT_COLOR(struct name *, struct type *); \ 384 attr void name##_RB_REMOVE_COLOR(struct name *, struct type *, struct type *);\ 385 attr struct type *name##_RB_REMOVE(struct name *, struct type *); \ 386 attr struct type *name##_RB_INSERT(struct name *, struct type *); \ 387 attr struct type *name##_RB_FIND(struct name *, struct type *); \ 388 attr struct type *name##_RB_NFIND(struct name *, struct type *); \ 389 attr struct type *name##_RB_NEXT(struct type *); \ 390 attr struct type *name##_RB_PREV(struct type *); \ 391 attr struc [all...] |
/haiku/src/kits/storage/mime/ |
H A D | Database.cpp | 454 std::string attr; 456 attr = (which == B_MINI_ICON 460 attr = which == B_MINI_ICON ? kMiniIconAttr : kLargeIconAttr; 471 err = node.WriteAttr(attr.c_str(), attrType, 0, data, attrSize); 517 std::string attr; local 519 attr = kIconAttrPrefix + BPrivate::Storage::to_lower(fileType); 521 attr = kIconAttr; 532 err = node.WriteAttr(attr.c_str(), attrType, 0, data, dataSize); 635 // Write the attr 1114 const char *attr local [all...] |
/haiku/src/kits/storage/ |
H A D | Node.cpp | 247 BNode::WriteAttr(const char* attr, type_code type, off_t offset, argument 253 if (attr == NULL || buffer == NULL) 256 ssize_t result = fs_write_attr(fFd, attr, type, offset, buffer, length); 263 BNode::ReadAttr(const char* attr, type_code type, off_t offset, argument 269 if (attr == NULL || buffer == NULL) 272 ssize_t result = fs_read_attr(fFd, attr, type, offset, buffer, length);
|
/haiku/src/apps/terminal/ |
H A D | TermView.cpp | 1038 TermView::_DrawLinePart(float x1, float y1, Attributes attr, argument 1042 attr.state = highlight->Highlighter()->AdjustTextAttributes(attr.state); 1044 inView->SetFont(attr.IsBold() && !fEmulateBold && fAllowBold 1056 if (attr.IsForeSet()) 1057 rgb_fore = attr.ForegroundColor(fTextBuffer->Palette()); 1058 if (attr.IsBackSet()) 1059 rgb_back = attr.BackgroundColor(fTextBuffer->Palette()); 1060 if (attr.IsUnderSet()) 1061 rgb_under = attr 1172 Attributes attr; local 1395 Attributes attr; local [all...] |
H A D | TerminalLine.h | 226 inline void Clear(Attributes attr, size_t count = 0) argument 229 attributes = attr; 232 cells[i].attributes = attr;
|
/haiku/src/add-ons/kernel/file_systems/websearchfs/ |
H A D | websearchfs.h | 108 struct attr_entry *attr; member in struct:fs_file_cookie
|
/haiku/src/add-ons/kernel/file_systems/userlandfs/server/fuse/ |
H A D | FUSELowLevel.cpp | 93 *st = request.fReplyEntry.attr; 114 fuse_ll_setattr(const fuse_lowlevel_ops* ops, fuse_ino_t ino, const struct stat *attr, argument 121 //request.fReplyAttr = attr; 122 ops->setattr(&request, ino, const_cast<struct stat*>(attr), to_set, NULL); 435 fuse_reply_attr(fuse_req_t req, const struct stat *attr, double attr_timeout) argument 437 *req->fReplyAttr = *attr;
|