Searched refs:attr (Results 76 - 100 of 365) sorted by relevance

1234567891011>>

/haiku-fatelf/src/libs/ncurses/test/
H A Dtestaddch.c22 chtype back, set, attr; local
39 attr = (i & 4) ? COLOR_PAIR(4) : 0;
44 attr_addstr("Test string with spaces -> <-\n", attr);
50 attr = (i & 4) ? COLOR_PAIR(4) : 0;
55 attr_addstr("Test string with spaces -> <-\n", attr);
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/mq_open/
H A D7-1.c15 * 3/13/03 - Added fix from Gregoire Pichon for specifying an attr
37 struct mq_attr attr; local
42 attr.mq_msgsize = BUFFER;
43 attr.mq_maxmsg = BUFFER;
44 rdwrqueue = mq_open(qname, O_CREAT |O_RDWR, S_IRUSR | S_IWUSR, &attr);
63 roqueue = mq_open(qname, O_RDONLY, S_IRUSR | S_IWUSR, &attr);
H A D12-1.c10 * Test that if O_CREAT is set and attr == NULL, implementation defined
14 * with attr == NULL.
35 struct mq_attr attr; local
46 if (mq_getattr(queue, &attr) != 0) {
H A D2-1.c18 * 3/13/03 - Added fix from Gregoire Pichon for specifying an attr
56 struct mq_attr attr; local
75 attr.mq_msgsize = BUFFER;
76 attr.mq_maxmsg = BUFFER;
78 S_IRUSR | S_IWUSR, &attr);
101 struct mq_attr attr; local
103 attr.mq_msgsize = BUFFER;
104 attr.mq_maxmsg = BUFFER;
106 S_IRUSR | S_IWUSR, &attr);
H A D7-2.c15 * 3/13/03 - Added fix from Gregoire Pichon for specifying an attr
53 struct mq_attr attr; local
72 attr.mq_msgsize = BUFFER;
73 attr.mq_maxmsg = BUFFER;
75 S_IRUSR | S_IWUSR, &attr);
107 struct mq_attr attr; local
110 attr.mq_msgsize = BUFFER;
111 attr.mq_maxmsg = BUFFER;
113 S_IRUSR | S_IWUSR, &attr);
H A D8-2.c15 * 3/13/03 - Added fix from Gregoire Pichon for specifying an attr
52 struct mq_attr attr; local
72 attr.mq_msgsize = BUFFER;
73 attr.mq_maxmsg = BUFFER;
75 S_IRUSR | S_IWUSR, &attr);
108 struct mq_attr attr; local
112 attr.mq_msgsize = BUFFER;
113 attr.mq_maxmsg = BUFFER;
115 S_IRUSR | S_IWUSR, &attr);
H A D9-2.c15 * 3/13/03 - Added fix from Gregoire Pichon for specifying an attr
52 struct mq_attr attr; local
72 attr.mq_msgsize = BUFFER;
73 attr.mq_maxmsg = BUFFER;
75 S_IRUSR | S_IWUSR, &attr);
109 struct mq_attr attr; local
113 attr.mq_msgsize = BUFFER;
114 attr.mq_maxmsg = BUFFER;
116 S_IRUSR | S_IWUSR, &attr);
H A D19-1.c21 * 3/13/03 - Added fix from Gregoire Pichon for specifying an attr
43 struct mq_attr attr; local
49 attr.mq_msgsize = BUFFER;
50 attr.mq_maxmsg = BUFFER;
53 S_IRUSR | S_IWUSR, &attr);
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/pthread_attr_setstack/
H A D6-1.c11 * 1. Initialize pthread_attr_t object (attr)
41 pthread_attr_t attr; local
44 /* Initialize attr */
45 rc = pthread_attr_init(&attr);
52 rc = pthread_attr_getstack(&attr, &stack_addr, &stack_size);
70 rc = pthread_attr_setstack(&attr, stack_addr, stack_size);
76 rc = pthread_attr_destroy(&attr);
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/functional/mqueues/
H A Dsend_rev_1.c34 struct mq_attr mqstat, attr; local
56 mq_getattr(mq, &attr);
60 if ( -1 == mq_send(mq, s_msg_ptr[i], attr.mq_msgsize, 1)) {
72 mq_getattr(mq, &attr);
75 if (-1 == mq_receive(mq, r_msg_ptr[i], attr.mq_msgsize, NULL)) {
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/functional/threads/include/
H A Dpitest.h40 void mutex_attr_init(pthread_mutexattr_t *attr) argument
44 rc = pthread_mutexattr_init(attr);
51 rc = pthread_mutexattr_setprotocol(attr, PROTOCOL);
60 int mutex_init(pthread_mutex_t *mutex, pthread_mutexattr_t *attr) argument
64 rc = pthread_mutex_init(mutex, attr);
/haiku-fatelf/src/bin/
H A Dreindex.cpp157 const char *attr = (const char *)gAttrList.ItemAt(index); local
158 if (!strcmp(attr, name))
195 Attribute *attr; local
207 attr = new(std::nothrow) Attribute(attrName);
208 if (attr == NULL) {
213 status = attr->ReadFromFile(node);
217 delete attr;
222 attrName, attr->Length());
224 if (!list.AddItem(attr)) {
235 fs_create_index(ref.device, attrName, attr
[all...]
/haiku-fatelf/headers/private/kernel/
H A Dconsole.h23 void (*put_glyph)(int32 x, int32 y, uint8 glyph, uint8 attr);
24 void (*fill_glyph)(int32 x, int32 y, int32 width, int32 height, uint8 glyph, uint8 attr);
26 void (*clear)(uint8 attr);
/haiku-fatelf/src/add-ons/kernel/file_systems/ntfs/libntfs/
H A Dxattrs.h64 enum SYSTEMXATTRS attr,
68 enum SYSTEMXATTRS attr,
72 enum SYSTEMXATTRS attr,
H A Dattrlist.h31 extern int ntfs_attrlist_entry_add(ntfs_inode *ni, ATTR_RECORD *attr);
/haiku-fatelf/src/libs/print/libgutenprint/src/xml/
H A Dextract-strings.c42 const char *attr = stp_mxmlElementGetAttr(n, "translate"); local
43 if (attr)
45 const char *str = stp_mxmlElementGetAttr(n, attr);
/haiku-fatelf/headers/private/storage/mime/
H A Ddatabase_support.h83 ssize_t read_mime_attr(const char *type, const char *attr, void *data,
85 status_t read_mime_attr_message(const char *type, const char *attr, BMessage *msg);
86 status_t read_mime_attr_string(const char *type, const char *attr, BString *str);
87 status_t write_mime_attr(const char *type, const char *attr, const void *data,
89 status_t write_mime_attr_message(const char *type, const char *attr,
92 status_t delete_attribute(const char *type, const char *attr);
/haiku-fatelf/src/add-ons/accelerants/radeon_hd/atombios/
H A Datom.cpp163 atom_get_src_int(atom_exec_context *ctx, uint8 attr, int *ptr, argument
168 arg = attr & 7;
169 align = (attr >> 3) & 7;
299 atom_skip_src_int(atom_exec_context *ctx, uint8 attr, int *ptr) argument
301 uint32 align = (attr >> 3) & 7, arg = attr & 7;
337 atom_get_src(atom_exec_context *ctx, uint8 attr, int *ptr) argument
339 return atom_get_src_int(ctx, attr, ptr, NULL, 1);
372 atom_get_dst(atom_exec_context *ctx, int arg, uint8 attr, argument
376 arg|atom_dst_to_src[(attr>>
381 atom_skip_dst(atom_exec_context *ctx, int arg, uint8 attr, int *ptr) argument
389 atom_put_dst(atom_exec_context *ctx, int arg, uint8 attr, int *ptr, uint32 val, uint32 saved) argument
498 uint8 attr = U8((*ptr)++); local
515 uint8 attr = U8((*ptr)++); local
561 uint8 attr = U8((*ptr)++); local
575 uint8 attr = U8((*ptr)++); local
605 uint8 attr = U8((*ptr)++); local
686 uint8 attr = U8((*ptr)++); local
703 uint8 attr = U8((*ptr)++); local
722 uint8 attr = U8((*ptr)++); local
742 uint8 attr = U8((*ptr)++); local
804 uint8 attr = U8((*ptr)++); local
850 uint8 attr = U8((*ptr)++), shift; local
868 uint8 attr = U8((*ptr)++), shift; local
886 uint8 attr = U8((*ptr)++), shift; local
907 uint8 attr = U8((*ptr)++), shift; local
929 uint8 attr = U8((*ptr)++); local
946 uint8 attr = U8((*ptr)++); local
972 uint8 attr = U8((*ptr)++); local
986 uint8 attr = U8((*ptr)++); local
[all...]
/haiku-fatelf/src/tools/docbook/libxslt/libxslt/
H A Dattrvt.c164 * @attr: the attribute coming from the stylesheet.
171 xsltCompileAttr(xsltStylesheetPtr style, xmlAttrPtr attr) { argument
179 if ((style == NULL) || (attr == NULL) || (attr->children == NULL))
181 if ((attr->children->type != XML_TEXT_NODE) ||
182 (attr->children->next != NULL)) {
183 xsltTransformError(NULL, style, attr->parent,
184 "Attribute %s content is not a text node\n", attr->name);
188 str = attr->children->content;
194 "Found AVT %s: %s\n", attr
[all...]
/haiku-fatelf/src/bin/less/
H A Dline.c22 static char *attr = NULL; /* Extension of linebuf to hold attributes */ variable
23 public int size_linebuf = 0; /* Size of line buffer (and attr buffer) */
86 attr = (char *) ecalloc(LINEBUF_SIZE, sizeof(char));
102 char *new_attr = (char *) realloc(attr, new_size);
128 memcpy(new_attr, attr, size_linebuf * sizeof(char));
129 free(attr);
133 attr = new_attr;
201 attr[curr] = AT_NORMAL|AT_HILITE;
203 attr[curr] = AT_NORMAL;
223 attr[cur
[all...]
/haiku-fatelf/src/apps/devices/
H A Ddm_wrapper.h19 status_t dm_get_next_attr(struct device_attr_info *attr);
/haiku-fatelf/src/apps/mail/
H A DUtilities.h45 extern status_t WriteAttrString(BNode* node, const char* attr,
/haiku-fatelf/src/bin/listdev/
H A Ddm_wrapper.h18 status_t dm_get_next_attr(struct device_attr_info *attr);
/haiku-fatelf/src/libs/posix_error_mapper/
H A Dpthread_cond.cpp17 const pthread_condattr_t *attr),
18 return B_TO_POSITIVE_ERROR(sReal_pthread_cond_init(cond, attr));
/haiku-fatelf/src/tests/system/kernel/device_manager/
H A Dconfig_driver.h34 struct dev_attr *attr; member in struct:dm_ioctl_data

Completed in 344 milliseconds

1234567891011>>