/haiku/src/system/libroot/posix/pthread/ |
H A D | pthread_rwlock.cpp | 301 pthread_rwlockattr* attr = _attr != NULL ? *_attr : NULL; local 302 bool shared = attr != NULL && (attr->flags & RWLOCK_FLAG_SHARED) != 0; 459 pthread_rwlockattr* attr = (pthread_rwlockattr*)malloc( local 461 if (attr == NULL) 464 attr->flags = 0; 465 *_attr = attr; 474 pthread_rwlockattr* attr = *_attr; local 476 free(attr); 484 pthread_rwlockattr* attr local 495 pthread_rwlockattr* attr = *_attr; local [all...] |
H A D | pthread_cond.cpp | 34 const pthread_condattr* attr = _attr != NULL local 38 if (attr->process_shared) 41 if (attr->clock_id == CLOCK_MONOTONIC)
|
/haiku/src/apps/devices/ |
H A D | DevicesView.cpp | 237 struct device_attr_info attr; local 238 attr.cookie = 0; 239 attr.node_cookie = *node; 240 attr.value.raw.data = data; 241 attr.value.raw.length = sizeof(data); 243 while (dm_get_next_attr(&attr) == B_OK) { 245 switch (attr.type) { 247 attrString << attr.value.string; 250 attrString << attr.value.ui8; 253 attrString << attr [all...] |
/haiku/src/add-ons/kernel/file_systems/ntfs/utils/ |
H A D | utils.c | 474 return ctx->attr; 510 ntfs_log_debug("find_first_attribute: found attr of type 0x%02x.\n", le32_to_cpu(type)); 512 ntfs_log_debug("find_first_attribute: didn't find attr of type 0x%02x.\n", le32_to_cpu(type)); 536 FILE_NAME_ATTR *attr; local 565 attr = (FILE_NAME_ATTR *) ((char *) rec + le16_to_cpu(rec->value_offset)); 567 if (attr->file_name_type > name_space) { //XXX find the ... 571 name_space = attr->file_name_type; 572 parent = le64_to_cpu(attr->parent_directory); 579 if (ntfs_ucstombs(attr->file_name, attr 652 utils_attr_get_name(ntfs_volume *vol, ATTR_RECORD *attr, char *buffer, int bufsize) argument 740 ntfs_attr *attr; local 868 FILE_NAME_ATTR *attr; local [all...] |
H A D | utils.h | 48 int utils_attr_get_name(ntfs_volume *vol, ATTR_RECORD *attr, char *buffer, int bufsize); 133 static __inline__ ntfschar *ntfs_attr_get_name(ATTR_RECORD *attr) argument 135 return (ntfschar*)((u8*)attr + le16_to_cpu(attr->name_offset));
|
/haiku/src/add-ons/kernel/console/vga_text/ |
H A D | vga_text.c | 95 put_glyph(int32 x, int32 y, uint8 glyph, uint8 attr) argument 97 uint16 pair = ((uint16)attr << 8) | (uint16)glyph; 104 fill_glyph(int32 x, int32 y, int32 width, int32 height, uint8 glyph, uint8 attr) argument 106 uint16 pair = ((uint16)attr << 8) | (uint16)glyph; 131 clear(uint8 attr) argument 137 base[i] = (attr << 8) | 0x20;
|
/haiku/src/add-ons/kernel/file_systems/nfs4/ |
H A D | RequestBuilder.h | 38 AttrValue* attr, uint32 count, 51 status_t Nverify(AttrValue* attr, uint32 count); 55 AttrValue* attr = NULL, 74 AttrValue* attr, uint32 count); 77 status_t Verify(AttrValue* attr, uint32 count); 95 AttrValue* attr, uint32 count);
|
H A D | FileInfo.cpp | 182 AttrValue attr; local 183 attr.fAttribute = FATTR4_FILEID; 184 attr.fFreePointer = false; 185 attr.fData.fValue64 = fFileId; 186 req.Verify(&attr, 1);
|
H A D | Inode.cpp | 72 Attribute attr[] = { FATTR4_TYPE, FATTR4_CHANGE, FATTR4_SIZE, local 74 req.GetAttr(attr, sizeof(attr) / sizeof(Attribute)); 480 Inode::Stat(struct stat* st, OpenAttrCookie* attr) argument 484 if (attr != NULL) 485 return GetStat(st, attr); 506 Inode::GetStat(struct stat* st, OpenAttrCookie* attr) argument 512 status_t result = NFS4Inode::GetStat(&values, &count, attr); 600 AttrValue attr[6]; local 607 attr[ [all...] |
H A D | RequestBuilder.cpp | 115 RequestBuilder::Create(FileType type, const char* name, AttrValue* attr, argument 134 _EncodeAttrs(fRequest->Stream(), attr, count); 366 RequestBuilder::Nverify(AttrValue* attr, uint32 count) argument 374 _EncodeAttrs(fRequest->Stream(), attr, count); 384 OpenCreate oc, uint64 ownerId, const char* name, AttrValue* attr, 408 _EncodeAttrs(fRequest->Stream(), attr, count); 628 RequestBuilder::SetAttr(const uint32* id, uint32 stateSeq, AttrValue* attr, argument 647 _EncodeAttrs(fRequest->Stream(), attr, count); 749 RequestBuilder::Verify(AttrValue* attr, uint32 count) argument 757 _EncodeAttrs(fRequest->Stream(), attr, coun 383 Open(OpenClaim claim, uint32 seq, uint32 access, uint64 id, OpenCreate oc, uint64 ownerId, const char* name, AttrValue* attr, uint32 count, bool excl, OpenDelegation delegationType) argument 841 _EncodeAttrs(XDR::WriteStream& stream, AttrValue* attr, uint32 count) argument [all...] |
H A D | NFS4Inode.cpp | 34 Attribute attr[] = { FATTR4_CHANGE }; local 35 req.GetAttr(attr, sizeof(attr) / sizeof(Attribute)); 148 Attribute attr[] = { FATTR4_FSID, FATTR4_FILEID }; local 149 req.GetAttr(attr, sizeof(attr) / sizeof(Attribute)); 298 Attribute attr[] = { FATTR4_SIZE, FATTR4_MODE, FATTR4_NUMLINKS, local 302 req.GetAttr(attr, sizeof(attr) / sizeof(Attribute)); 390 Attribute attr[] local 488 Attribute attr[] = { FATTR4_FILEID }; local 569 AttrValue attr; local 577 AttrValue attr; local 834 Attribute attr[] = { FATTR4_FILEID }; local 892 AttrValue attr; local 980 Attribute attr[] = { FATTR4_FSID, FATTR4_FILEID }; local [all...] |
H A D | Delegation.h | 24 uint64 clientID, bool attr = false);
|
H A D | RootInode.h | 31 status_t GetLocations(AttrValue** attr);
|
/haiku/src/libs/posix_error_mapper/ |
H A D | pthread_thread.cpp | 14 (pthread_t *thread, const pthread_attr_t *attr, 16 return B_TO_POSITIVE_ERROR(sReal_pthread_create(thread, attr, start_routine,
|
/haiku/src/apps/serialconnect/libvterm/src/ |
H A D | pen.c | 96 static void setpenattr(VTermState *state, VTermAttr attr, VTermValueType type, VTermValue *val) argument 99 if(type != vterm_get_attr_type(attr)) { 100 fprintf(stderr, "Cannot set attr %d as it has type %d, not type %d\n", 101 attr, vterm_get_attr_type(attr), type); 106 (*state->callbacks->setpenattr)(attr, val, state->cbdata); 109 static void setpenattr_bool(VTermState *state, VTermAttr attr, int boolean) argument 112 setpenattr(state, attr, VTERM_VALUETYPE_BOOL, &val); 115 static void setpenattr_int(VTermState *state, VTermAttr attr, int number) argument 118 setpenattr(state, attr, VTERM_VALUETYPE_IN 121 setpenattr_col(VTermState *state, VTermAttr attr, VTermColor color) argument 127 set_pen_col_ansi(VTermState *state, VTermAttr attr, long col) argument 424 vterm_state_get_penattr(const VTermState *state, VTermAttr attr, VTermValue *val) argument [all...] |
/haiku/src/system/kernel/arch/arm64/ |
H A D | VMSAv8TranslationMap.h | 88 uint64_t ClearAttrFlags(uint64_t attr, uint32 flags); 92 uint64_t MakeBlock(phys_addr_t pa, int level, uint64_t attr); 96 VMAction action, uint64_t attr, vm_page_reservation* reservation); 97 bool WalkTable(phys_addr_t ptPa, int level, addr_t va, phys_addr_t* pa, uint64_t* attr);
|
/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/ |
H A D | inode.c | 192 lthle = ctx->attr->value_length; 199 std_info = (STANDARD_INFORMATION *)((u8 *)ctx->attr + 200 le16_to_cpu(ctx->attr->value_offset)); 231 l = ntfs_get_attribute_value_length(ctx->attr); 244 l = ntfs_get_attribute_value(vol, ctx->attr, ni->attr_list); 264 if (ctx->attr->non_resident) { 265 ni->data_size = sle64_to_cpu(ctx->attr->data_size); 266 if (ctx->attr->flags & 269 ctx->attr->compressed_size); 272 ctx->attr 1427 ntfs_inode_badclus_bad(u64 mft_no, ATTR_RECORD *attr) argument [all...] |
H A D | efs.c | 154 a = ctx->attr; 162 if (na && !(ctx->attr->flags & ATTR_IS_ENCRYPTED)) { 339 ntfs_log_error("attr lookup for AT_DATA attribute failed in efs fixup\n"); 405 ntfs_log_error("attr lookup for AT_DATA attribute failed in efs fixup\n"); 418 ctx->attr->data_size = cpu_to_sle64(newsize); 419 if (sle64_to_cpu(ctx->attr->initialized_size) > newsize) 420 ctx->attr->initialized_size = ctx->attr->data_size; 421 ctx->attr->flags |= ATTR_IS_ENCRYPTED;
|
/haiku/src/apps/terminal/ |
H A D | Shell.h | 43 status_t GetAttr(struct termios& attr) const; 44 status_t SetAttr(const struct termios& attr);
|
/haiku/src/system/kernel/debug/ |
H A D | frame_buffer_console.cpp | 102 foreground_color(uint8 attr) argument 104 return attr & 0x7; 109 background_color(uint8 attr) argument 111 return (attr >> 4) & 0x7; 143 render_glyph(int32 column, int32 row, uint8 glyph, uint8 attr) argument 153 uint8* color = get_palette_entry(foreground_color(attr)); 154 uint8* backgroundColor = get_palette_entry(background_color(attr)); 265 console_put_glyph(int32 x, int32 y, uint8 glyph, uint8 attr) argument 271 render_glyph(x, y, glyph, attr); 277 uint8 attr) 276 console_fill_glyph(int32 x, int32 y, int32 width, int32 height, uint8 glyph, uint8 attr) argument 333 console_clear(uint8 attr) argument [all...] |
/haiku/src/add-ons/print/transports/ipp/ |
H A D | IppContent.cpp | 51 istream& operator >> (istream &is, DATETIME &attr) argument 56 ostream& operator << (ostream &os, const DATETIME &attr) argument 696 IppNoValueAttribute *attr = new IppNoValueAttribute((IPP_TAG)tag); local 697 is >> *attr; local 698 attrs.push_back(attr); 706 IppIntegerAttribute *attr = new IppIntegerAttribute((IPP_TAG)tag); local 707 is >> *attr; local 708 attrs.push_back(attr); 713 IppBooleanAttribute *attr = new IppBooleanAttribute((IPP_TAG)tag); local 714 is >> *attr; local 733 IppStringAttribute *attr = new IppStringAttribute((IPP_TAG)tag); local 734 is >> *attr; local 740 IppDatetimeAttribute *attr = new IppDatetimeAttribute((IPP_TAG)tag); local 741 is >> *attr; local 747 IppResolutionAttribute *attr = new IppResolutionAttribute((IPP_TAG)tag); local 748 is >> *attr; local 754 IppRangeOfIntegerAttribute *attr = new IppRangeOfIntegerAttribute((IPP_TAG)tag); local 755 is >> *attr; local 762 IppDoubleStringAttribute *attr = new IppDoubleStringAttribute((IPP_TAG)tag); local 763 is >> *attr; local 788 IppStringAttribute *attr = new IppStringAttribute((IPP_TAG)tag); local 789 is >> *attr; local [all...] |
/haiku/src/kits/mail/ |
H A D | MailMessage.cpp | 811 BString attr; local 813 attr = To(); 814 attributed->WriteAttrString(B_MAIL_ATTR_TO, &attr); 815 attr = CC(); 816 attributed->WriteAttrString(B_MAIL_ATTR_CC, &attr); 817 attr = Subject(); 818 attributed->WriteAttrString(B_MAIL_ATTR_SUBJECT, &attr); 819 attr = ReplyTo(); 820 attributed->WriteAttrString(B_MAIL_ATTR_REPLY, &attr); 821 attr [all...] |
/haiku/src/add-ons/kernel/drivers/network/ether/usb_ecm/ |
H A D | Driver.cpp | 158 device_attr *attr = NULL; 160 while (gDeviceManager->get_next_attr(parent, &attr) == B_OK) { 161 if (attr->type != B_UINT8_TYPE) 164 if (!strcmp(attr->name, USB_DEVICE_CLASS)) 165 baseClass = attr->value.ui8; 166 if (!strcmp(attr->name, USB_DEVICE_SUBCLASS)) 167 subclass = attr->value.ui8;
|
/haiku/src/kits/tracker/ |
H A D | AttributeStream.cpp | 375 const AttributeInfo* attr; local 376 while ((attr = fReadFrom->Next()) != 0) { 378 off_t result = fNode->WriteAttr(attr->Name(), attr->Type(), 0, 379 data, (size_t)attr->Size()); 380 if (result < attr->Size()) 562 const AttributeInfo* attr = fReadFrom->Next(); local 563 if (attr == NULL) 566 return BufferingGet(attr->Name(), attr [all...] |
/haiku/src/bin/ |
H A D | watch.c | 224 int attr = 0; local 252 attr = !first_screen 258 if (attr) 261 if (attr)
|