Searched refs:attr (Results 1 - 25 of 149) sorted by relevance

123456

/haiku/src/libs/posix_error_mapper/
H A Dpthread_attr.cpp12 WRAPPER_FUNCTION(int, pthread_attr_destroy, (pthread_attr_t *attr),
13 return B_TO_POSITIVE_ERROR(sReal_pthread_attr_destroy(attr));
17 WRAPPER_FUNCTION(int, pthread_attr_init, (pthread_attr_t *attr),
18 return B_TO_POSITIVE_ERROR(sReal_pthread_attr_init(attr));
23 (const pthread_attr_t *attr, int *detachstate),
24 return B_TO_POSITIVE_ERROR(sReal_pthread_attr_getdetachstate(attr,
30 (pthread_attr_t *attr, int detachstate),
31 return B_TO_POSITIVE_ERROR(sReal_pthread_attr_setdetachstate(attr,
37 (const pthread_attr_t *attr, size_t *stacksize),
38 return B_TO_POSITIVE_ERROR(sReal_pthread_attr_getstacksize(attr,
[all...]
H A Dpthread_rwlockattr.cpp12 (pthread_rwlockattr_t *attr),
13 return B_TO_POSITIVE_ERROR(sReal_pthread_rwlockattr_init(attr));
18 (pthread_rwlockattr_t *attr),
19 return B_TO_POSITIVE_ERROR(sReal_pthread_rwlockattr_destroy(attr));
24 (const pthread_rwlockattr_t *attr, int *shared),
25 return B_TO_POSITIVE_ERROR(sReal_pthread_rwlockattr_getpshared(attr,
31 (pthread_rwlockattr_t *attr, int shared),
32 return B_TO_POSITIVE_ERROR(sReal_pthread_rwlockattr_setpshared(attr,
/haiku/src/system/libroot/posix/pthread/
H A Dpthread_condattr.c16 pthread_condattr *attr; local
21 attr = (pthread_condattr *)malloc(sizeof(pthread_condattr));
22 if (attr == NULL)
25 attr->process_shared = false;
26 attr->clock_id = CLOCK_REALTIME;
28 *_condAttr = attr;
36 pthread_condattr *attr; local
38 if (_condAttr == NULL || (attr = *_condAttr) == NULL)
42 free(attr);
51 pthread_condattr *attr; local
64 pthread_condattr *attr; local
79 pthread_condattr *attr; local
92 pthread_condattr *attr; local
[all...]
H A Dpthread_mutexattr.c16 pthread_mutexattr *attr; local
21 attr = (pthread_mutexattr *)malloc(sizeof(pthread_mutexattr));
22 if (attr == NULL)
25 attr->type = PTHREAD_MUTEX_DEFAULT;
26 attr->process_shared = false;
28 *_mutexAttr = attr;
36 pthread_mutexattr *attr; local
38 if (_mutexAttr == NULL || (attr = *_mutexAttr) == NULL)
42 free(attr);
51 pthread_mutexattr *attr; local
64 pthread_mutexattr *attr; local
80 pthread_mutexattr *attr; local
97 pthread_mutexattr *attr; local
114 pthread_mutexattr *attr; local
132 pthread_mutexattr *attr; local
146 pthread_mutexattr *attr; local
163 pthread_mutexattr *attr; local
[all...]
H A Dpthread_attr.c28 pthread_attr *attr; local
33 attr = (pthread_attr *)malloc(sizeof(pthread_attr));
34 if (attr == NULL)
37 attr->detach_state = PTHREAD_CREATE_JOINABLE;
38 attr->sched_priority = B_NORMAL_PRIORITY;
39 attr->stack_size = USER_STACK_SIZE;
40 attr->guard_size = USER_STACK_GUARD_SIZE;
41 attr->stack_address = NULL;
43 *_attr = attr;
51 pthread_attr *attr; local
66 pthread_attr *attr; local
80 pthread_attr *attr; local
97 pthread_attr *attr; local
111 pthread_attr *attr; local
128 pthread_attr_getscope(const pthread_attr_t *attr, int *contentionScope) argument
139 pthread_attr_setscope(pthread_attr_t *attr, int contentionScope) argument
152 pthread_attr_setschedparam(pthread_attr_t *attr, const struct sched_param *param) argument
165 pthread_attr_getschedparam(const pthread_attr_t *attr, struct sched_param *param) argument
180 pthread_attr *attr; local
194 pthread_attr *attr; local
209 pthread_attr *attr; local
227 pthread_attr *attr; local
247 pthread_attr *attr; local
[all...]
H A Dpthread_barrier.cpp31 const pthread_barrierattr* attr = _attr != NULL local
34 if (barrier == NULL || attr == NULL || count < 1)
37 barrier->flags = attr->process_shared ? BARRIER_FLAG_SHARED : 0;
110 pthread_barrierattr* attr = (pthread_barrierattr*)malloc( local
113 if (attr == NULL)
116 *attr = pthread_barrierattr_default;
117 *_attr = attr;
126 pthread_barrierattr* attr = _attr != NULL ? *_attr : NULL; local
128 if (attr == NULL)
131 free(attr);
140 pthread_barrierattr* attr; local
155 pthread_barrierattr* attr; local
[all...]
/haiku/src/tests/system/kernel/device_manager/
H A Dlistdev.c22 dump_attribute(struct dev_attr *attr, int32 level) argument
24 if (attr == NULL)
28 printf("\"%s\" : ", attr->name);
29 switch (attr->type) {
31 printf("string : \"%s\"", attr->value.string);
34 printf("uint8 : %u (%#x)", attr->value.ui8, attr->value.ui8);
37 printf("uint16 : %u (%#x)", attr->value.ui16, attr->value.ui16);
40 printf("uint32 : %lu (%#lx)", attr
57 struct dev_attr attr; local
[all...]
H A Dconfig.c33 device_attr_handle attr; member in struct:_driver_cookie
48 cookie->attr = NULL;
76 const device_attr *attr = NULL; local
88 if (cook->attr) {
89 gDeviceManager->release_attr(cook->child, cook->attr);
90 cook->attr = NULL;
104 if (cook->attr) {
105 gDeviceManager->release_attr(cook->child, cook->attr);
106 cook->attr = NULL;
113 if (cook->attr) {
[all...]
H A Ddm_wrapper.c34 params.attr = NULL;
44 params.attr = NULL;
54 params.attr = NULL;
64 params.attr = NULL;
69 status_t dm_retrieve_attr(struct dev_attr *attr) argument
74 params.attr = attr;
H A Ddm_wrapper.h11 status_t dm_retrieve_attr(struct dev_attr *attr);
/haiku/src/bin/listdev/
H A Dlistdev.c78 dump_attribute(struct device_attr_info *attr, int32 level) argument
80 if (attr == NULL)
84 printf("\"%s\" : ", attr->name);
85 switch (attr->type) {
87 printf("string : \"%s\"", attr->value.string);
90 printf("uint8 : %" B_PRIu8 " (%#" B_PRIx8 ")", attr->value.ui8,
91 attr->value.ui8);
94 printf("uint16 : %" B_PRIu16 " (%#" B_PRIx16 ")", attr->value.ui16,
95 attr->value.ui16);
98 printf("uint32 : %" B_PRIu32 " (%#" B_PRIx32 ")", attr
116 struct device_attr_info attr; local
153 struct device_attr_info attr; local
[all...]
/haiku/docs/interface_guidelines/docbook-css/
H A Dopera.css18 -o-link: attr(url);
32 -o-replace: attr(fileref)
/haiku/src/apps/icon-o-matic/import_export/svg/
H A DSVGParser.h50 const char** attr);
54 void parse_svg(const char** attr);
55 void parse_attr(const char** attr);
56 void parse_path(const char** attr);
57 void parse_poly(const char** attr, bool close_flag);
58 void parse_circle(const char** attr);
59 void parse_ellipse(const char** attr);
60 void parse_rect(const char** attr);
61 void parse_line(const char** attr);
65 void parse_gradient(const char** attr, boo
[all...]
H A DDocumentBuilder.h99 path_attributes(const path_attributes& attr) : argument
100 index (attr.index),
101 fill_color (attr.fill_color),
102 stroke_color (attr.stroke_color),
103 opacity (attr.opacity),
104 fill_flag (attr.fill_flag),
105 stroke_flag (attr.stroke_flag),
106 even_odd_flag (attr.even_odd_flag),
107 line_join (attr.line_join),
108 line_cap (attr
118 path_attributes(const path_attributes& attr, unsigned idx) argument
[all...]
H A DSVGParser.cpp365 Parser::start_element(void* data, const char* el, const char** attr)
372 self.parse_svg(attr);
383 self.parse_attr(attr);
392 self.parse_path(attr);
399 self.parse_circle(attr);
404 self.parse_ellipse(attr);
409 self.parse_rect(attr);
414 self.parse_line(attr);
419 self.parse_poly(attr, false);
424 self.parse_poly(attr, tru
[all...]
/haiku/headers/posix/
H A Dspawn.h60 extern int posix_spawnattr_destroy(posix_spawnattr_t *attr);
61 extern int posix_spawnattr_init(posix_spawnattr_t *attr);
62 extern int posix_spawnattr_getflags(const posix_spawnattr_t *attr,
64 extern int posix_spawnattr_setflags(posix_spawnattr_t *attr, short flags);
65 extern int posix_spawnattr_getpgroup(const posix_spawnattr_t *attr,
67 extern int posix_spawnattr_setpgroup(posix_spawnattr_t *attr, pid_t pgroup);
68 extern int posix_spawnattr_getsigdefault(const posix_spawnattr_t *attr,
70 extern int posix_spawnattr_setsigdefault(posix_spawnattr_t *attr,
72 extern int posix_spawnattr_getsigmask(const posix_spawnattr_t *attr,
74 extern int posix_spawnattr_setsigmask(posix_spawnattr_t *attr,
[all...]
H A Dpthread.h91 const pthread_mutexattr_t *attr);
121 const pthread_barrierattr_t *attr, unsigned count);
126 extern int pthread_barrierattr_destroy(pthread_barrierattr_t *attr);
127 extern int pthread_barrierattr_getpshared(const pthread_barrierattr_t *attr,
129 extern int pthread_barrierattr_init(pthread_barrierattr_t *attr);
130 extern int pthread_barrierattr_setpshared(pthread_barrierattr_t *attr,
136 const pthread_condattr_t *attr);
157 const pthread_rwlockattr_t *attr);
170 extern int pthread_rwlockattr_init(pthread_rwlockattr_t *attr);
171 extern int pthread_rwlockattr_destroy(pthread_rwlockattr_t *attr);
[all...]
/haiku/src/tests/add-ons/print/pcl6/
H A Denum.sh27 attr=$(echo "$line" | cut -d' ' -f 2)
28 const=$(echo "$attr" | cut -b 4-)
34 echo -n $'\t' \{"$attr", \""$const"\"\}
H A Ddisasm.cpp169 void Disasm::DeleteAttr(struct ATTRIBUTE* attr) { argument
170 if (attr) {
171 switch (attr->Type) {
172 case HP_UByteArray: delete attr->val.ubyte_array;
174 case HP_UInt16Array: delete attr->val.uint16_array;
176 case HP_UInt32Array: delete attr->val.uint32_array;
178 case HP_SInt16Array: delete attr->val.sint16_array;
180 case HP_SInt32Array: delete attr->val.sint32_array;
182 case HP_Real32Array: delete attr->val.real32_array;
185 delete attr;
324 struct ATTRIBUTE* attr = ReadData(type); local
349 ReadArray(uint8 type, uint32 length, struct ATTRIBUTE* attr) argument
378 PrintAttr(struct ATTRIBUTE* attr) argument
535 struct ATTRIBUTE* attr = ReadData(byte); local
1181 struct ATTRIBUTE* attr = ReadData(type); local
[all...]
/haiku/headers/compatibility/gnu/
H A Dpthread.h20 extern int pthread_getattr_np(pthread_t thread, pthread_attr_t* attr);
/haiku/src/tests/system/libroot/posix/
H A Dpthread_attr_stack_test.cpp24 pthread_attr_t attr; local
25 ret = pthread_attr_init(&attr);
29 ret = pthread_attr_getstack(&attr, &stackAddress, &stackSize);
36 ret = pthread_attr_setstack(&attr, stackAddress, stackSize);
38 ret = pthread_attr_getstack(&attr, &stackAddress, &stackSize);
43 ret = pthread_create(&thread, &attr, threadFunction, NULL);
48 ret = pthread_attr_destroy(&attr);
/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/
H A Dattrlist.c98 * @attr: attribute record to add to attribute list
107 int ntfs_attrlist_entry_add(ntfs_inode *ni, ATTR_RECORD *attr) argument
116 ntfs_log_trace("Entering for inode 0x%llx, attr 0x%x.\n",
118 (unsigned) le32_to_cpu(attr->type));
120 if (!ni || !attr) {
139 attr->name_length + 7) & ~7;
150 if (!ntfs_attr_lookup(attr->type, (attr->name_length) ? (ntfschar*)
151 ((u8*)attr + le16_to_cpu(attr
[all...]
/haiku/src/add-ons/print/transports/ipp/
H A DIppContent.h176 friend istream& operator >> (istream &is, IppAttribute &attr) argument
178 return attr.input(is);
180 friend ostream& operator << (ostream &os, const IppAttribute &attr) argument
182 return attr.output(os);
197 friend istream& operator >> (istream &is, IppNamedAttribute &attr) argument
199 return attr.input(is);
201 friend ostream& operator << (ostream &os, const IppNamedAttribute &attr) argument
203 return attr.output(os);
217 friend istream& operator >> (istream &is, IppNoValueAttribute &attr) argument
219 return attr
221 operator <<(ostream &os, const IppNoValueAttribute &attr) argument
236 operator >>(istream &is, IppBooleanAttribute &attr) argument
240 operator <<(ostream &os, const IppBooleanAttribute &attr) argument
257 operator >>(istream &is, IppIntegerAttribute &attr) argument
261 operator <<(ostream &os, const IppIntegerAttribute &attr) argument
289 operator >>(istream &is, IppDatetimeAttribute &attr) argument
293 operator <<(ostream &os, const IppDatetimeAttribute &attr) argument
310 operator >>(istream &is, IppStringAttribute &attr) argument
314 operator <<(ostream &os, const IppStringAttribute &attr) argument
330 operator >>(istream &is, IppDoubleStringAttribute &attr) argument
334 operator <<(ostream &os, const IppDoubleStringAttribute &attr) argument
353 operator >>(istream &is, IppResolutionAttribute &attr) argument
357 operator <<(ostream &os, const IppResolutionAttribute &attr) argument
376 operator >>(istream &is, IppRangeOfIntegerAttribute &attr) argument
380 operator <<(ostream &os, const IppRangeOfIntegerAttribute &attr) argument
[all...]
/haiku/src/system/libroot/posix/
H A Dspawn.cpp251 posix_spawnattr_t attr = (posix_spawnattr_t)malloc( local
254 if (attr == NULL)
257 memset(attr, 0, sizeof(*attr));
258 *_attr = attr;
267 struct _posix_spawnattr* attr = _attr != NULL ? *_attr : NULL; local
269 if (attr == NULL)
272 free(attr);
281 struct _posix_spawnattr *attr; local
283 if (_attr == NULL || (attr
295 struct _posix_spawnattr *attr; local
314 struct _posix_spawnattr *attr; local
328 struct _posix_spawnattr *attr; local
342 struct _posix_spawnattr *attr; local
357 struct _posix_spawnattr *attr; local
371 struct _posix_spawnattr *attr; local
385 struct _posix_spawnattr *attr; local
402 struct _posix_spawnattr *attr = *_attr; local
[all...]
/haiku/src/system/kernel/debug/
H A Dblue_screen.cpp51 uint8 attr; member in struct:screen_info
104 sModule->fill_glyph(0, 0, sScreen.columns, 1, ' ', sScreen.attr);
164 1, ' ', sScreen.attr);
172 sModule->fill_glyph(0, 0, sScreen.columns, 2, ' ', sScreen.attr);
180 1, ' ', sScreen.attr);
198 sScreen.attr);
202 sScreen.attr);
206 - sScreen.x, 1, ' ', sScreen.attr);
219 sModule->put_glyph(sScreen.x, sScreen.y, ' ', sScreen.attr);
231 sModule->put_glyph(sScreen.x - 1, sScreen.y, c, sScreen.attr);
[all...]

Completed in 536 milliseconds

123456