/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/functional/threads/robust_test/ |
H A D | robust1-sun.c | 70 pthread_mutexattr_t attr; local 75 rc = pthread_mutexattr_init(&attr); 81 rc = pthread_mutexattr_setrobust_np(&attr, PTHREAD_MUTEX_ROBUST_SUN_NP); 87 rc = pthread_mutex_init(&mutex, &attr);
|
H A D | robust2-mode2.c | 100 pthread_mutexattr_t attr; local 105 rc = pthread_mutexattr_init(&attr); 111 rc = pthread_mutexattr_setrobust_np(&attr, PTHREAD_MUTEX_ROBUST_NP); 117 rc = pthread_mutex_init(&mutex, &attr);
|
H A D | robust2-sun.c | 97 pthread_mutexattr_t attr; local 102 rc = pthread_mutexattr_init(&attr); 108 rc = pthread_mutexattr_setrobust_np(&attr, PTHREAD_MUTEX_ROBUST_SUN_NP); 114 rc = pthread_mutex_init(&mutex, &attr);
|
H A D | robust3-mode2.c | 104 pthread_mutexattr_t attr; local 109 rc = pthread_mutexattr_init(&attr); 115 rc = pthread_mutexattr_setrobust_np(&attr, PTHREAD_MUTEX_ROBUST_NP); 121 rc = pthread_mutex_init(&mutex, &attr);
|
/haiku-fatelf/src/add-ons/kernel/file_systems/ntfs/utils/ |
H A D | utils.c | 467 return ctx->attr; 503 ntfs_log_debug("find_first_attribute: found attr of type 0x%02x.\n", type); 505 ntfs_log_debug("find_first_attribute: didn't find attr of type 0x%02x.\n", type); 529 FILE_NAME_ATTR *attr; local 558 attr = (FILE_NAME_ATTR *) ((char *) rec + le16_to_cpu(rec->value_offset)); 560 if (attr->file_name_type > name_space) { //XXX find the ... 564 name_space = attr->file_name_type; 565 parent = le64_to_cpu(attr->parent_directory); 572 if (ntfs_ucstombs(attr->file_name, attr 639 utils_attr_get_name(ntfs_volume *vol, ATTR_RECORD *attr, char *buffer, int bufsize) argument 726 ntfs_attr *attr; local 852 FILE_NAME_ATTR *attr; local [all...] |
/haiku-fatelf/src/bin/gdb/gdb/ |
H A D | dwarf2read.c | 560 #define DW_STRING(attr) ((attr)->u.str) 561 #define DW_UNSND(attr) ((attr)->u.unsnd) 562 #define DW_BLOCK(attr) ((attr)->u.blk) 563 #define DW_SND(attr) ((attr)->u.snd) 564 #define DW_ADDR(attr) ((attr) 2193 struct attribute attr; local 2488 struct attribute *attr; local 2553 struct attribute *attr; local 2727 struct attribute *attr; local 2864 struct attribute *attr; local 3025 struct attribute *attr; local 3245 struct attribute *attr; local 3503 struct attribute *attr; local 3712 struct attribute *attr; local 3913 struct attribute *attr; local 4024 struct attribute *attr; local 4098 struct attribute *attr; local 4183 struct attribute *attr; local 4221 struct attribute *attr; local 4446 struct attribute *attr; local 4506 struct attribute *attr; local 4564 struct attribute *attr; local 4634 struct attribute *attr; local 4659 struct attribute *attr; local 4744 struct attribute *attr; local 5321 struct attribute attr; local 5608 read_attribute_value(struct attribute *attr, unsigned form, bfd *abfd, char *info_ptr, struct dwarf2_cu *cu) argument 5730 read_attribute(struct attribute *attr, struct attr_abbrev *abbrev, bfd *abfd, char *info_ptr, struct dwarf2_cu *cu) argument 6140 struct attribute *attr = dwarf2_attr (die, name, cu); local 6666 var_decode_location(struct attribute *attr, struct symbol *sym, struct dwarf2_cu *cu) argument 6733 struct attribute *attr = NULL; local 6993 dwarf2_const_value(struct attribute *attr, struct symbol *sym, struct dwarf2_cu *cu) argument 7074 dwarf2_const_value_data(struct attribute *attr, struct symbol *sym, int bits) argument 7469 struct attribute *attr; local 7485 struct attribute *attr; local 7499 struct attribute *attr; local 7643 dwarf_attr_name(unsigned attr) argument 8408 dwarf2_get_ref_die_offset(struct attribute *attr, struct dwarf2_cu *cu) argument 8434 dwarf2_get_attr_constant_value(struct attribute *attr, int default_value) argument 8453 follow_die_ref(struct die_info *src_die, struct attribute *attr, struct dwarf2_cu *cu) argument 9152 attr_form_is_block(struct attribute *attr) argument 9162 dwarf2_symbol_mark_computed(struct attribute *attr, struct symbol *sym, struct dwarf2_cu *cu) argument [all...] |
/haiku-fatelf/src/tests/add-ons/print/pcl6/ |
H A D | disasm.h | 90 void PushArg(struct ATTRIBUTE* attr) { fArgs.AddItem(attr); } argument 93 void DeleteAttr(struct ATTRIBUTE* attr); 94 void PrintAttr(struct ATTRIBUTE* attr); 101 bool ReadArray(uint8 type, uint32 length, struct ATTRIBUTE* attr);
|
/haiku-fatelf/src/system/kernel/device_manager/ |
H A D | device_manager.cpp | 53 device_attr_private(const device_attr& attr); 57 status_t CopyFrom(const device_attr& attr); 228 device_attr_private* attr = iterator.Next(); local 230 if (type != B_ANY_TYPE && attr->type != type) 233 if (!strcmp(attr->name, name)) 234 return attr; 253 dump_attribute(device_attr* attr, int32 level) argument 255 if (attr == NULL) 259 kprintf("\"%s\" : ", attr->name); 260 switch (attr 519 device_attr* attr = iterator.Next(); local 530 device_attr* attr = iterator.Next(); local 884 device_attr_private* attr = *(device_attr_private**)_attr; local 950 device_attr_private(const device_attr& attr) argument 970 CopyFrom(const device_attr& attr) argument 1202 device_attr_private* attr local 1473 device_attr_private* attr = iterator.Next(); local 2096 device_attr_private* attr = NULL; local [all...] |
/haiku-fatelf/src/system/libroot/posix/pthread/ |
H A D | pthread_rwlock.cpp | 289 pthread_rwlockattr* attr = _attr != NULL ? *_attr : NULL; local 290 bool shared = attr != NULL && (attr->flags & RWLOCK_FLAG_SHARED) != 0; 404 pthread_rwlockattr* attr = (pthread_rwlockattr*)malloc( local 406 if (attr == NULL) 409 attr->flags = 0; 410 *_attr = attr; 419 pthread_rwlockattr* attr = *_attr; local 421 free(attr); 429 pthread_rwlockattr* attr local 440 pthread_rwlockattr* attr = *_attr; local [all...] |
H A D | pthread.cpp | 105 const pthread_attr* attr = NULL; local 107 attr = &pthread_attr_default; 109 attr = *pthreadAttributes; 110 if (attr == NULL) 116 attributes->priority = attr->sched_priority; 120 attributes->stack_size = attr->stack_size; 121 attributes->guard_size = attr->guard_size; 125 if (thread != NULL && attr->detach_state == PTHREAD_CREATE_DETACHED) 136 pthread_create(pthread_t* _thread, const pthread_attr_t* attr, argument 147 status_t error = __pthread_init_creation_attributes(attr, threa [all...] |
/haiku-fatelf/src/tools/docbook/libxml2/ |
H A D | valid.c | 494 xmlGenericError(xmlGenericErrorContext, "?attr? "); 1822 * @attr: the attribute decl 1829 xmlScanAttributeDeclCallback(xmlAttributePtr attr, xmlAttributePtr *list, argument 1831 attr->nexth = *list; 1832 *list = attr; 1906 xmlFreeAttribute(xmlAttributePtr attr) { argument 1909 if (attr == NULL) return; 1910 if (attr->doc != NULL) 1911 dict = attr->doc->dict; 1914 xmlUnlinkNode((xmlNodePtr) attr); 2190 xmlCopyAttribute(xmlAttributePtr attr) argument 2239 xmlDumpAttributeDecl(xmlBufferPtr buf, xmlAttributePtr attr) argument 2320 xmlDumpAttributeDeclScan(xmlAttributePtr attr, xmlBufferPtr buf) argument 2607 xmlAddID(xmlValidCtxtPtr ctxt, xmlDocPtr doc, const xmlChar *value, xmlAttrPtr attr) argument 2705 xmlIsID(xmlDocPtr doc, xmlNodePtr elem, xmlAttrPtr attr) argument 2765 xmlRemoveID(xmlDocPtr doc, xmlAttrPtr attr) argument 2928 xmlAddRef(xmlValidCtxtPtr ctxt, xmlDocPtr doc, const xmlChar *value, xmlAttrPtr attr) argument 3030 xmlIsRef(xmlDocPtr doc, xmlNodePtr elem, xmlAttrPtr attr) argument 3070 xmlRemoveRef(xmlDocPtr doc, xmlAttrPtr attr) argument 3997 xmlValidateAttributeIdCallback(xmlAttributePtr attr, int *count, const xmlChar* name ATTRIBUTE_UNUSED) argument 4021 xmlValidateAttributeDecl(xmlValidCtxtPtr ctxt, xmlDocPtr doc, xmlAttributePtr attr) argument 4253 xmlValidateOneAttribute(xmlValidCtxtPtr ctxt, xmlDocPtr doc, xmlNodePtr elem, xmlAttrPtr attr, const xmlChar *value) argument 5848 xmlAttributePtr attr; local 6274 xmlAttrPtr attr; local 6339 xmlAttrPtr attr; local [all...] |
/haiku-fatelf/src/apps/devices/ |
H A D | DevicesView.cpp | 248 struct device_attr_info attr; local 249 attr.cookie = 0; 250 attr.node_cookie = *node; 251 attr.value.raw.data = data; 252 attr.value.raw.length = sizeof(data); 254 while (dm_get_next_attr(&attr) == B_OK) { 256 switch (attr.type) { 258 attrString << attr.value.string; 261 attrString << attr.value.ui8; 264 attrString << attr [all...] |
/haiku-fatelf/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-fatelf/src/documentation/docbook-xsl/extensions/saxon643/com/nwalsh/saxon/ |
H A D | UnwrapLinksEmitter.java | 152 AttributeCollection attr = (AttributeCollection)elem.getAttributes(); 155 for (int acount = 0; acount < attr.getLength(); acount++) { 156 String localName = attr.getLocalName(acount); 157 String type = attr.getType(acount); 158 String value = attr.getValue(acount); 159 String uri = attr.getURI(acount);
|
/haiku-fatelf/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-fatelf/src/libs/print/libgutenprint/ |
H A D | config.h | 49 #define __attribute__(attr)
|
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/mq_send/ |
H A D | 3-1.c | 15 * 3/13/03 - Added fix from Gregoire Pichon for specifying an attr 51 struct mq_attr attr; local 57 attr.mq_msgsize = BUFFER; 58 attr.mq_maxmsg = MAXMSG; 59 queue = mq_open(qname, O_CREAT |O_RDWR, S_IRUSR | S_IWUSR, &attr);
|
H A D | 3-2.c | 17 * 3/13/03 - Added fix from Gregoire Pichon for specifying an attr 53 struct mq_attr attr; local 59 attr.mq_msgsize = BUFFER; 60 attr.mq_maxmsg = MAXMSG; 61 queue = mq_open(qname, O_CREAT |O_RDWR, S_IRUSR | S_IWUSR, &attr);
|
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/mq_timedsend/ |
H A D | 12-1.c | 70 struct mq_attr attr; local 82 attr.mq_maxmsg = MAXMSG; 83 attr.mq_msgsize = BUFFER; 84 gqueue = mq_open(gqname, O_CREAT |O_RDWR, S_IRUSR | S_IWUSR, &attr);
|
H A D | 16-1.c | 62 struct mq_attr attr; local 67 attr.mq_maxmsg = MAXMSG; 68 attr.mq_msgsize = BUFFER; 69 gqueue = mq_open(gqname, O_CREAT |O_RDWR, S_IRUSR | S_IWUSR, &attr);
|
H A D | 5-3.c | 59 struct mq_attr attr; local 64 attr.mq_maxmsg = MAXMSG; 65 attr.mq_msgsize = BUFFER; 66 gqueue = mq_open(gqname, O_CREAT |O_RDWR, S_IRUSR | S_IWUSR, &attr);
|
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/pthread_attr_init/ |
H A D | 3-1.c | 11 * already initialized 'attr' attributes object. 26 void *a_thread_func(void *attr) argument
|
/haiku-fatelf/src/libs/ncurses/ncurses/trace/ |
H A D | lib_traceatr.c | 174 _nc_altcharset_name(attr_t attr, chtype ch) argument 178 if ((attr & A_ALTCHARSET) && (acs_chars != 0)) { 282 attr_t attr; local 287 attr = AttrOfD(ch); 288 if ((found = _nc_altcharset_name(attr, CharOfD(ch))) != 0) { 290 attr &= ~A_ALTCHARSET; 293 attr &= ~A_CHARTEXT; 321 if (attr != A_NORMAL) { 323 (void) _nc_trace_bufcat(bufnum, _traceattr2(bufnum + 20, attr));
|
/haiku-fatelf/src/add-ons/kernel/file_systems/ntfs/libntfs/ |
H A D | inode.c | 194 std_info = (STANDARD_INFORMATION *)((u8 *)ctx->attr + 195 le16_to_cpu(ctx->attr->value_offset)); 203 lthle = ctx->attr->length; 227 l = ntfs_get_attribute_value_length(ctx->attr); 240 l = ntfs_get_attribute_value(vol, ctx->attr, ni->attr_list); 260 if (ctx->attr->non_resident) { 261 ni->data_size = sle64_to_cpu(ctx->attr->data_size); 262 if (ctx->attr->flags & 265 ctx->attr->compressed_size); 268 ctx->attr 1417 ntfs_inode_badclus_bad(u64 mft_no, ATTR_RECORD *attr) argument [all...] |
/haiku-fatelf/src/bin/gdb/bfd/ |
H A D | dwarf2.c | 538 read_attribute_value (struct attribute *attr, argument 548 attr->form = (enum dwarf_form) form; 555 attr->u.val = read_address (unit, info_ptr); 565 attr->u.blk = blk; 574 attr->u.blk = blk; 577 attr->u.val = read_2_bytes (abfd, info_ptr); 581 attr->u.val = read_4_bytes (abfd, info_ptr); 585 attr->u.val = read_8_bytes (abfd, info_ptr); 589 attr->u.str = read_string (abfd, info_ptr, &bytes_read); 593 attr 666 read_attribute(struct attribute *attr, struct attr_abbrev *abbrev, struct comp_unit *unit, char *info_ptr) argument 1337 struct attribute attr; local 1445 struct attribute attr; local [all...] |