Home
last modified time | relevance | path

Searched refs:attr (Results 1 – 25 of 172) sorted by relevance

1234567

/haiku/src/data/mime_db/
H A Daudio.super17 "attr:name" = "Audio:Artist",
18 "attr:name" = "Media:Title",
19 "attr:name" = "Audio:Album",
20 "attr:name" = "Audio:Track",
21 "attr:name" = "Media:Year",
22 "attr:name" = "Media:Comment",
23 "attr:name" = "Media:Genre",
24 "attr:name" = "Media:Rating",
25 "attr:name" = "Media:Length",
26 "attr:name" = "Audio:Bitrate",
[all …]
H A Dvideo.super17 "attr:name" = "Media:Title",
18 "attr:name" = "Media:Year",
19 "attr:name" = "Media:Comment",
20 "attr:name" = "Media:Genre",
21 "attr:name" = "Media:Rating",
22 "attr:name" = "Media:Length",
23 "attr:name" = "Video:Bitrate",
24 "attr:public_name" = "Title",
25 "attr:public_name" = "Year",
26 "attr:public_name" = "Comment",
[all …]
H A Dimage.super13 "attr:name" = "Media:Width",
14 "attr:name" = "Media:Height",
15 "attr:name" = "Media:Year",
16 "attr:name" = "Media:Comment",
17 "attr:name" = "Media:Rating",
18 "attr:public_name" = "Width",
19 "attr:public_name" = "Height",
20 "attr:public_name" = "Year",
21 "attr:public_name" = "Comment",
22 "attr:public_name" = "Rating",
[all …]
/haiku/src/data/mime_db/text/
H A Dx-partial-email23 "attr:name" = "MAIL:name",
24 "attr:name" = "MAIL:subject",
25 "attr:name" = "MAIL:to",
26 "attr:name" = "MAIL:cc",
27 "attr:name" = "MAIL:from",
28 "attr:name" = "MAIL:reply",
29 "attr:name" = "MAIL:status",
30 "attr:name" = "MAIL:priority",
31 "attr:name" = "MAIL:when",
32 "attr:name" = "MAIL:account",
[all …]
H A Dx-email27 "attr:name" = "MAIL:name",
28 "attr:name" = "MAIL:subject",
29 "attr:name" = "MAIL:to",
30 "attr:name" = "MAIL:cc",
31 "attr:name" = "MAIL:from",
32 "attr:name" = "MAIL:reply",
33 "attr:name" = "MAIL:status",
34 "attr:name" = "MAIL:priority",
35 "attr:name" = "MAIL:when",
36 "attr:name" = "MAIL:account",
[all …]
/haiku/src/data/mime_db/application/
H A Dpdf41 "attr:name" = "META:subject",
42 "attr:name" = "META:title",
43 "attr:name" = "META:creator",
44 "attr:name" = "META:author",
45 "attr:name" = "META:keyw",
46 "attr:name" = "PDF:producer",
47 "attr:name" = "PDF:created",
48 "attr:name" = "PDF:modified",
49 "attr:name" = "META:pages",
50 "attr:name" = "PDF:version",
[all …]
H A Dx-vnd.be-bookmark33 "attr:name" = "META:url",
34 "attr:name" = "META:keyw",
35 "attr:name" = "META:title",
36 "attr:public_name" = "URL",
37 "attr:public_name" = "Keywords",
38 "attr:public_name" = "Title",
39 "attr:type" = 'CSTR',
40 "attr:type" = 'CSTR',
41 "attr:type" = 'CSTR',
42 "attr:viewable" = true,
[all …]
/haiku/src/system/libroot/posix/pthread/
H A Dpthread_attr.c28 pthread_attr *attr; in pthread_attr_init() local
33 attr = (pthread_attr *)malloc(sizeof(pthread_attr)); in pthread_attr_init()
34 if (attr == NULL) in pthread_attr_init()
37 attr->detach_state = PTHREAD_CREATE_JOINABLE; in pthread_attr_init()
38 attr->sched_priority = B_NORMAL_PRIORITY; in pthread_attr_init()
39 attr->stack_size = USER_STACK_SIZE; in pthread_attr_init()
40 attr->guard_size = USER_STACK_GUARD_SIZE; in pthread_attr_init()
41 attr->stack_address = NULL; in pthread_attr_init()
43 *_attr = attr; in pthread_attr_init()
51 pthread_attr *attr; in pthread_attr_destroy() local
[all …]
H A Dpthread_mutexattr.c16 pthread_mutexattr *attr; in pthread_mutexattr_init() local
21 attr = (pthread_mutexattr *)malloc(sizeof(pthread_mutexattr)); in pthread_mutexattr_init()
22 if (attr == NULL) in pthread_mutexattr_init()
25 attr->type = PTHREAD_MUTEX_DEFAULT; in pthread_mutexattr_init()
26 attr->process_shared = false; in pthread_mutexattr_init()
28 *_mutexAttr = attr; in pthread_mutexattr_init()
36 pthread_mutexattr *attr; in pthread_mutexattr_destroy() local
38 if (_mutexAttr == NULL || (attr = *_mutexAttr) == NULL) in pthread_mutexattr_destroy()
42 free(attr); in pthread_mutexattr_destroy()
51 pthread_mutexattr *attr; in pthread_mutexattr_gettype() local
[all …]
H A Dpthread_condattr.c16 pthread_condattr *attr; in pthread_condattr_init() local
21 attr = (pthread_condattr *)malloc(sizeof(pthread_condattr)); in pthread_condattr_init()
22 if (attr == NULL) in pthread_condattr_init()
25 attr->process_shared = false; in pthread_condattr_init()
26 attr->clock_id = CLOCK_REALTIME; in pthread_condattr_init()
28 *_condAttr = attr; in pthread_condattr_init()
36 pthread_condattr *attr; in pthread_condattr_destroy() local
38 if (_condAttr == NULL || (attr = *_condAttr) == NULL) in pthread_condattr_destroy()
42 free(attr); in pthread_condattr_destroy()
51 pthread_condattr *attr; in pthread_condattr_getpshared() local
[all …]
H A Dpthread_barrier.cpp32 const pthread_barrierattr* attr = _attr != NULL in pthread_barrier_init() local
35 if (barrier == NULL || attr == NULL || count < 1) in pthread_barrier_init()
38 barrier->flags = attr->process_shared ? BARRIER_FLAG_SHARED : 0; in pthread_barrier_init()
146 pthread_barrierattr* attr = (pthread_barrierattr*)malloc( in pthread_barrierattr_init() local
149 if (attr == NULL) in pthread_barrierattr_init()
152 *attr = pthread_barrierattr_default; in pthread_barrierattr_init()
153 *_attr = attr; in pthread_barrierattr_init()
162 pthread_barrierattr* attr = _attr != NULL ? *_attr : NULL; in pthread_barrierattr_destroy() local
164 if (attr == NULL) in pthread_barrierattr_destroy()
167 free(attr); in pthread_barrierattr_destroy()
[all …]
/haiku/src/bin/listdev/
H A Dlistdev.cpp83 dump_attribute(struct device_attr_info *attr, int32 level) in dump_attribute() argument
85 if (attr == NULL) in dump_attribute()
89 printf("\"%s\" : ", attr->name); in dump_attribute()
90 switch (attr->type) { in dump_attribute()
92 printf("string : \"%s\"", attr->value.string); in dump_attribute()
95 printf("uint8 : %" B_PRIu8 " (%#" B_PRIx8 ")", attr->value.ui8, in dump_attribute()
96 attr->value.ui8); in dump_attribute()
99 printf("uint16 : %" B_PRIu16 " (%#" B_PRIx16 ")", attr->value.ui16, in dump_attribute()
100 attr->value.ui16); in dump_attribute()
103 printf("uint32 : %" B_PRIu32 " (%#" B_PRIx32 ")", attr->value.ui32, in dump_attribute()
[all …]
/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/tests/system/kernel/device_manager/
H A Dconfig.c33 device_attr_handle attr; member
48 cookie->attr = NULL; in config_open()
76 const device_attr *attr = NULL; in config_ioctl() local
88 if (cook->attr) { in config_ioctl()
89 gDeviceManager->release_attr(cook->child, cook->attr); in config_ioctl()
90 cook->attr = NULL; in config_ioctl()
104 if (cook->attr) { in config_ioctl()
105 gDeviceManager->release_attr(cook->child, cook->attr); in config_ioctl()
106 cook->attr = NULL; in config_ioctl()
113 if (cook->attr) { in config_ioctl()
[all …]
H A Dlistdev.c22 dump_attribute(struct dev_attr *attr, int32 level) in dump_attribute() argument
24 if (attr == NULL) in dump_attribute()
28 printf("\"%s\" : ", attr->name); in dump_attribute()
29 switch (attr->type) { in dump_attribute()
31 printf("string : \"%s\"", attr->value.string); in dump_attribute()
34 printf("uint8 : %u (%#x)", attr->value.ui8, attr->value.ui8); in dump_attribute()
37 printf("uint16 : %u (%#x)", attr->value.ui16, attr->value.ui16); in dump_attribute()
40 printf("uint32 : %lu (%#lx)", attr->value.ui32, attr->value.ui32); in dump_attribute()
43 printf("uint64 : %Lu (%#Lx)", attr->value.ui64, attr->value.ui64); in dump_attribute()
57 struct dev_attr attr; in dump_device() local
[all …]
/haiku/src/tests/add-ons/print/pcl6/
H A Ddisasm.cpp169 void Disasm::DeleteAttr(struct ATTRIBUTE* attr) { in DeleteAttr() argument
170 if (attr) { in DeleteAttr()
171 switch (attr->Type) { in DeleteAttr()
172 case HP_UByteArray: delete attr->val.ubyte_array; in DeleteAttr()
174 case HP_UInt16Array: delete attr->val.uint16_array; in DeleteAttr()
176 case HP_UInt32Array: delete attr->val.uint32_array; in DeleteAttr()
178 case HP_SInt16Array: delete attr->val.sint16_array; in DeleteAttr()
180 case HP_SInt32Array: delete attr->val.sint32_array; in DeleteAttr()
182 case HP_Real32Array: delete attr->val.real32_array; in DeleteAttr()
185 delete attr; in DeleteAttr()
[all …]
/haiku/headers/posix/
H A Dpthread.h93 const pthread_mutexattr_t *attr);
125 const pthread_barrierattr_t *attr, unsigned count);
130 extern int pthread_barrierattr_destroy(pthread_barrierattr_t *attr);
131 extern int pthread_barrierattr_getpshared(const pthread_barrierattr_t *attr,
133 extern int pthread_barrierattr_init(pthread_barrierattr_t *attr);
134 extern int pthread_barrierattr_setpshared(pthread_barrierattr_t *attr,
140 const pthread_condattr_t *attr);
163 const pthread_rwlockattr_t *attr);
180 extern int pthread_rwlockattr_init(pthread_rwlockattr_t *attr);
181 extern int pthread_rwlockattr_destroy(pthread_rwlockattr_t *attr);
[all …]
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,
/haiku/src/add-ons/print/transports/ipp/
H A DIppContent.h176 friend istream& operator >> (istream &is, IppAttribute &attr)
178 return attr.input(is);
180 friend ostream& operator << (ostream &os, const IppAttribute &attr)
182 return attr.output(os);
197 friend istream& operator >> (istream &is, IppNamedAttribute &attr)
199 return attr.input(is);
201 friend ostream& operator << (ostream &os, const IppNamedAttribute &attr)
203 return attr.output(os);
217 friend istream& operator >> (istream &is, IppNoValueAttribute &attr)
219 return attr.input(is);
[all …]
/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/
H A Dattrlist.c107 int ntfs_attrlist_entry_add(ntfs_inode *ni, ATTR_RECORD *attr) in ntfs_attrlist_entry_add() argument
118 (unsigned) le32_to_cpu(attr->type)); in ntfs_attrlist_entry_add()
120 if (!ni || !attr) { in ntfs_attrlist_entry_add()
139 attr->name_length + 7) & ~7; in ntfs_attrlist_entry_add()
150 if (!ntfs_attr_lookup(attr->type, (attr->name_length) ? (ntfschar*) in ntfs_attrlist_entry_add()
151 ((u8*)attr + le16_to_cpu(attr->name_offset)) : in ntfs_attrlist_entry_add()
152 AT_UNNAMED, attr->name_length, CASE_SENSITIVE, in ntfs_attrlist_entry_add()
153 (attr->non_resident) ? sle64_to_cpu(attr->lowest_vcn) : in ntfs_attrlist_entry_add()
154 0, (attr->non_resident) ? NULL : ((u8*)attr + in ntfs_attrlist_entry_add()
155 le16_to_cpu(attr->value_offset)), (attr->non_resident) ? in ntfs_attrlist_entry_add()
[all …]
/haiku/src/add-ons/kernel/drivers/common/
H A Dconsole.cpp57 uint8 attr; member
111 console->attr = 0x0f; in reset_console()
136 console->attr); in scrup()
158 console->attr); in scrdown()
210 console->module->put_glyph(console->x, console->y, ' ', console->attr); in del()
220 console->attr); in erase_line()
224 console->attr); in erase_line()
228 console->columns - console->x, 1, ' ', console->attr); in erase_line()
241 console->module->clear(console->attr); in erase_screen()
245 ' ', console->attr); in erase_screen()
[all …]
/haiku/src/system/kernel/debug/
H A Dblue_screen.cpp50 uint8 attr; member
103 sModule->fill_glyph(0, 0, sScreen.columns, 1, ' ', sScreen.attr); in scroll_up()
163 1, ' ', sScreen.attr); in next_line()
171 sModule->fill_glyph(0, 0, sScreen.columns, 2, ' ', sScreen.attr); in next_line()
179 1, ' ', sScreen.attr); in next_line()
197 sScreen.attr); in erase_line()
201 sScreen.attr); in erase_line()
205 - sScreen.x, 1, ' ', sScreen.attr); in erase_line()
218 sModule->put_glyph(sScreen.x, sScreen.y, ' ', sScreen.attr); in back_space()
230 sModule->put_glyph(sScreen.x - 1, sScreen.y, c, sScreen.attr); in put_character()
[all …]
/haiku/src/system/libroot/posix/
H A Dspawn.cpp252 posix_spawnattr_t attr = (posix_spawnattr_t)malloc( in posix_spawnattr_init() local
255 if (attr == NULL) in posix_spawnattr_init()
258 memset(attr, 0, sizeof(*attr)); in posix_spawnattr_init()
259 *_attr = attr; in posix_spawnattr_init()
268 struct _posix_spawnattr* attr = _attr != NULL ? *_attr : NULL; in posix_spawnattr_destroy() local
270 if (attr == NULL) in posix_spawnattr_destroy()
273 free(attr); in posix_spawnattr_destroy()
282 struct _posix_spawnattr *attr; in posix_spawnattr_getflags() local
284 if (_attr == NULL || (attr = *_attr) == NULL || flags == NULL) in posix_spawnattr_getflags()
287 *flags = attr->flags; in posix_spawnattr_getflags()
[all …]
/haiku/src/apps/icon-o-matic/import_export/svg/
H A Dnanosvg.h256 void (*startelCb)(void* ud, const char* el, const char** attr), in nsvg__parseElement() argument
260 const char* attr[NSVG_XML_MAX_ATTRIBS]; in nsvg__parseElement() local
315 attr[nattr++] = name; in nsvg__parseElement()
316 attr[nattr++] = value; in nsvg__parseElement()
321 attr[nattr++] = 0; in nsvg__parseElement()
322 attr[nattr++] = 0; in nsvg__parseElement()
326 (*startelCb)(ud, name, attr); in nsvg__parseElement()
332 void (*startelCb)(void* ud, const char* el, const char** attr), in nsvg__parseXML() argument
446 NSVGattrib attr[NSVG_MAX_ATTR]; member
631 nsvg__xformIdentity(p->attr[0].xform); in nsvg__createParser()
[all …]

1234567