Searched refs:type (Results 451 - 475 of 2122) sorted by relevance

<<11121314151617181920>>

/haiku/src/add-ons/kernel/drivers/disk/virtual/nbd/
H A Dnbd-server.py75 assert type(handle) is type('') and len(handle) == 8
89 (self.magic, self.type, self.handle, self.offset,
92 if self.type == write_request:
107 if req.type == read_request:
110 elif req.type == write_request:
116 elif req.type == disconnect_request:
/haiku/src/tests/kits/app/bmessage/
H A DMessageRefItemTest.h29 static status_t AddData(BMessage& msg, const char* name, type_code type,
50 static status_t FindData(BMessage& msg, const char* name, type_code type,
56 status_t TRefFuncPolicy::AddData(BMessage& msg, const char* name, type_code type, argument
70 err = msg.AddData(name, type, buf, size, false);
88 type_code type, int32 index,
93 status_t err = msg.FindData(name, type, index, (const void**)&ptr, size);
97 err = Path.Unflatten(type, ptr, *size);
87 FindData(BMessage& msg, const char* name, type_code type, int32 index, const void** data, ssize_t* size) argument
/haiku/src/preferences/filetypes/
H A DExtensionWindow.cpp51 merge_extensions(BMimeType& type, const BList& newExtensionsList, argument
55 status_t status = type.GetFileExtensions(&extensions);
94 return type.SetFileExtensions(&newExtensions);
99 replace_extension(BMimeType& type, const char* newExtension, argument
105 return merge_extensions(type, list, oldExtension);
112 ExtensionWindow::ExtensionWindow(FileTypesWindow* target, BMimeType& type, argument
119 fMimeType(type.Type()),
H A DIconView.h31 const char* type = NULL);
33 const char* type = NULL);
34 void SetTo(const BMimeType& type,
37 const char* type = NULL,
40 const char* type = NULL,
42 status_t CopyTo(BMimeType& type,
103 void SetTo(const BMimeType& type);
119 status_t GetMimeType(BMimeType& type) const;
173 extern status_t icon_for_type(const BMimeType& type, uint8** _data,
175 extern status_t icon_for_type(const BMimeType& type, BBitma
[all...]
H A DIconView.cpp43 icon_for_type(const BMimeType& type, uint8** _data, size_t* _size, argument
53 if (type.GetIcon(&data, &size) == B_OK)
60 if (type.GetPreferredApp(preferred) == B_OK) {
63 if (preferredApp.GetIconForType(type.Type(), &data, &size) == B_OK)
69 // check super type for an icon
72 if (type.GetSupertype(&superType) == B_OK) {
76 // check the super type's preferred app
101 icon_for_type(const BMimeType& type, BBitmap& bitmap, icon_size size, argument
106 if (type.GetIcon(&bitmap, size) == B_OK)
113 if (type
182 SetTo(const BAppFileInfo& info, const char* type) argument
210 SetTo(const entry_ref& ref, const char* type) argument
222 SetTo(const BMimeType& type, icon_source* _source) argument
249 CopyTo(BAppFileInfo& info, const char* type, bool force) const argument
265 CopyTo(const entry_ref& ref, const char* type, bool force) const argument
282 CopyTo(BMimeType& type, bool force) const argument
667 const char* type; local
1005 SetTo(const BMimeType& type) argument
1380 char type[B_MIME_TYPE_LENGTH]; local
[all...]
/haiku/src/apps/mediaplayer/playlist/
H A DPlaylistFileReader.cpp31 PlaylistFileType type = _IdentifyType(ref); local
33 if (type == m3u)
35 else if (type == pls)
85 PlaylistFileType type = unknown; local
88 type = m3u;
90 type = pls;
91 return type;
/haiku/src/kits/media/
H A DTimeCode.cpp18 switch (code->type) {
48 switch (code->type) {
179 status_t get_timecode_description(timecode_type type, timecode_info * out_timecode) argument
183 out_timecode->type = type;
188 switch (type) {
257 timecode_type type)
260 if (SetType(type) == B_OK) {
279 timecode_type type)
282 if (SetType(type)
256 BTimeCode(bigtime_t us, timecode_type type) argument
275 BTimeCode(int hours, int minutes, int seconds, int frames, timecode_type type) argument
309 SetType(timecode_type type) argument
[all...]
/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/
H A Dattrib.h102 extern int ntfs_attr_lookup(const ATTR_TYPES type, const ntfschar *name,
107 extern int ntfs_attr_position(const ATTR_TYPES type, ntfs_attr_search_ctx *ctx);
110 const ATTR_TYPES type);
147 * @type: attribute type
178 * @type is the attribute type (see layout.h for the definition of ATTR_TYPES),
188 ATTR_TYPES type; member in struct:_ntfs_attr
295 extern ntfs_attr *ntfs_attr_open(ntfs_inode *ni, const ATTR_TYPES type,
305 extern void *ntfs_attr_readall(ntfs_inode *ni, const ATTR_TYPES type,
[all...]
H A Dattrib.c88 if (na->type == AT_DATA && na->name == AT_UNNAMED)
95 if (na->type == AT_DATA && na->name == AT_UNNAMED)
104 if (na->type == AT_DATA && na->name == AT_UNNAMED)
166 if (a->type != AT_ATTRIBUTE_LIST && a->flags) {
327 * @type: attribute type
331 * Initialize the ntfs attribute @na with @ni, @type, @name, and @name_len.
334 const ATTR_TYPES type, ntfschar *name, const u32 name_len)
338 na->type = type;
333 __ntfs_attr_init(ntfs_attr *na, ntfs_inode *ni, const ATTR_TYPES type, ntfschar *name, const u32 name_len) argument
410 ntfs_attr_open(ntfs_inode *ni, const ATTR_TYPES type, ntfschar *name, u32 name_len) argument
2825 ntfs_attr_find(const ATTR_TYPES type, const ntfschar *name, const u32 name_len, const IGNORE_CASE_BOOL ic, const u8 *val, const u32 val_len, ntfs_attr_search_ctx *ctx) argument
3063 ntfs_external_attr_find(ATTR_TYPES type, const ntfschar *name, const u32 name_len, const IGNORE_CASE_BOOL ic, const VCN lowest_vcn, const u8 *val, const u32 val_len, ntfs_attr_search_ctx *ctx) argument
3675 ntfs_attr_lookup(const ATTR_TYPES type, const ntfschar *name, const u32 name_len, const IGNORE_CASE_BOOL ic, const VCN lowest_vcn, const u8 *val, const u32 val_len, ntfs_attr_search_ctx *ctx) argument
3725 ntfs_attr_position(const ATTR_TYPES type, ntfs_attr_search_ctx *ctx) argument
3845 ntfs_attr_find_in_attrdef(const ntfs_volume *vol, const ATTR_TYPES type) argument
3887 ntfs_attr_size_bounds_check(const ntfs_volume *vol, const ATTR_TYPES type, const s64 size) argument
3955 ntfs_attr_can_be_non_resident(const ntfs_volume *vol, const ATTR_TYPES type, const ntfschar *name, int name_len) argument
4012 ntfs_attr_can_be_resident(const ntfs_volume *vol, const ATTR_TYPES type) argument
4097 ntfs_resident_attr_record_add(ntfs_inode *ni, ATTR_TYPES type, const ntfschar *name, u8 name_len, const u8 *val, u32 size, ATTR_FLAGS data_flags) argument
4229 ntfs_non_resident_attr_record_add(ntfs_inode *ni, ATTR_TYPES type, const ntfschar *name, u8 name_len, VCN lowest_vcn, int dataruns_size, ATTR_FLAGS flags) argument
4371 ATTR_TYPES type; local
4512 ntfs_attr_add(ntfs_inode *ni, ATTR_TYPES type, ntfschar *name, u8 name_len, const u8 *val, s64 size) argument
4708 ntfs_attr_set_flags(ntfs_inode *ni, ATTR_TYPES type, const ntfschar *name, u8 name_len, ATTR_FLAGS flags, ATTR_FLAGS mask) argument
6973 ntfs_attr_readall(ntfs_inode *ni, const ATTR_TYPES type, ntfschar *name, u32 name_len, s64 *data_size) argument
7142 ntfs_attr_exist(ntfs_inode *ni, const ATTR_TYPES type, const ntfschar *name, u32 name_len) argument
7162 ntfs_attr_remove(ntfs_inode *ni, const ATTR_TYPES type, ntfschar *name, u32 name_len) argument
[all...]
/haiku/headers/private/firewire/
H A Dqueue.h139 #define SLIST_HEAD(name, type) \
141 struct type *slh_first; /* first element */ \
147 #define SLIST_ENTRY(type) \
149 struct type *sle_next; /* next element */ \
190 #define SLIST_REMOVE(head, elm, type, field) do { \
195 struct type *curelm = SLIST_FIRST((head)); \
211 #define STAILQ_HEAD(name, type) \
213 struct type *stqh_first;/* first element */ \
214 struct type **stqh_last;/* addr of last next element */ \
220 #define STAILQ_ENTRY(type) \
[all...]
/haiku/headers/compatibility/bsd/sys/
H A Dqueue.h144 #define SLIST_HEAD(name, type) \
146 struct type *slh_first; /* first element */ \
152 #define SLIST_ENTRY(type) \
154 struct type *sle_next; /* next element */ \
195 #define SLIST_REMOVE(head, elm, type, field) do { \
200 struct type *curelm = SLIST_FIRST((head)); \
216 #define STAILQ_HEAD(name, type) \
218 struct type *stqh_first;/* first element */ \
219 struct type **stqh_last;/* addr of last next element */ \
225 #define STAILQ_ENTRY(type) \
[all...]
/haiku/src/add-ons/kernel/partitioning_systems/common/
H A DPartitionMap.cpp167 partition_type_string(uint8 type) argument
171 if (type == kPartitionTypes[i].type)
179 get_partition_type_string(uint8 type, char* buffer) argument
182 if (const char* typeString = partition_type_string(type))
185 sprintf(buffer, "%s0x%x", kUnrecognizedTypeString, type);
255 /*! \brief Sets the \a type via its ID.
256 \param type ID of the partition type, it is in the range [0..255].
259 PartitionType::SetType(uint8 type) argument
284 long type = strtol(typeName + kUnrecognizedTypeStringLength, NULL, 0); local
394 SetTo(off_t offset, off_t size, uint8 type, bool active, off_t tableOffset, uint32 blockSize) argument
504 SetTo(off_t offset, off_t size, uint8 type, bool active, uint32 blockSize) argument
678 SetTo(off_t offset, off_t size, uint8 type, bool active, off_t tableOffset, PrimaryPartition* primary) argument
[all...]
/haiku/src/system/kernel/vm/
H A DVMKernelAddressSpace.cpp125 while (range != NULL && range->type != Range::RANGE_AREA)
137 } while (range != NULL && range->type != Range::RANGE_AREA);
166 if (range == NULL || range->type != Range::RANGE_AREA)
179 while (range != NULL && range->type != Range::RANGE_AREA)
209 range->type = Range::RANGE_AREA;
250 if (nextRange == NULL || nextRange->type == Range::RANGE_AREA)
253 if (nextRange->type == Range::RANGE_RESERVED
280 if (nextRange != NULL && nextRange->type == Range::RANGE_FREE) {
298 || (nextRange->type == Range::RANGE_RESERVED
314 if (nextRange->type
[all...]
/haiku/src/kits/debugger/value/value_nodes/
H A DBMessageValueNode.cpp35 Type* type)
41 fType(type)
73 CompoundType* type = dynamic_cast<CompoundType*>(fParent->GetType()); local
86 error = type->ResolveDataMemberLocation(fMember,
109 Type* type)
112 fType(type),
154 // get the value type
347 type_code type; local
351 for (int32 i = 0; fMessage.GetInfo(B_ANY_TYPE, i, &name, &type,
355 _GetTypeForTypeCode(info, type, fieldTyp
34 BMessageWhatNodeChild(BMessageValueNode* parent, DataMember* member, Type* type) argument
108 BMessageValueNode(ValueNodeChild* nodeChild, Type* type) argument
394 _GetTypeForTypeCode(TeamTypeInformation* info, type_code type, Type*& _type) argument
523 _FindField(const char* name, type_code type, BMessage::field_header** result) const argument
576 _FindDataLocation(const char* name, type_code type, int32 index, ValueLocation& location) const argument
617 BMessageFieldNode( BMessageFieldNodeChild *child, BMessageValueNode* parent, const BString &name, type_code type, int32 count) argument
650 Type* type = NULL; local
706 BMessageFieldNodeChild( BMessageValueNode* parent, Type* nodeType, const BString &name, type_code type, int32 count, int32 index) argument
[all...]
H A DArrayValueNode.cpp30 ArrayType* type, int32 dimension)
33 fType(type),
205 ArrayValueNode::ArrayValueNode(ValueNodeChild* nodeChild, ArrayType* type) argument
207 AbstractArrayValueNode(nodeChild, type, 0)
221 ArrayType* type, int32 dimension)
223 AbstractArrayValueNode(nodeChild, type, dimension)
269 const BString& name, int64 elementIndex, Type* type)
272 fType(type)
340 ArrayType* type)
343 fType(type)
29 AbstractArrayValueNode(ValueNodeChild* nodeChild, ArrayType* type, int32 dimension) argument
220 InternalArrayValueNode(ValueNodeChild* nodeChild, ArrayType* type, int32 dimension) argument
268 ArrayValueNodeChild(AbstractArrayValueNode* parent, const BString& name, int64 elementIndex, Type* type) argument
338 InternalArrayValueNodeChild( AbstractArrayValueNode* parent, const BString& name, int64 elementIndex, ArrayType* type) argument
[all...]
H A DBListValueNode.cpp35 int64 elementIndex, Type* type);
54 BListValueNode* parent, int64 elementIndex, Type* type)
57 fType(type),
103 BListValueNode* parent, Type* type);
122 BVariant location, BListValueNode* parent, Type* type)
125 fType(type),
163 Type* type)
166 fType(type),
203 // get the value type
369 Type* type local
53 BListElementNodeChild( BListValueNode* parent, int64 elementIndex, Type* type) argument
121 BListItemCountNodeChild( BVariant location, BListValueNode* parent, Type* type) argument
162 BListValueNode(ValueNodeChild* nodeChild, Type* type) argument
[all...]
/haiku/src/add-ons/disk_systems/intel/
H A DPartitionMapAddOn.cpp137 // TODO: The content type could as well be set by the caller.
181 PartitionType type; local
182 if (!type.SetType(child->Type()))
186 if (type.IsExtended()) {
196 primary->SetTo(child->Offset(), child->Size(), type.Type(), active,
246 int32* cookie, BString* type)
265 type->SetTo(nextType->name);
336 PartitionMapHandle::GetParameterEditor(B_PARAMETER_EDITOR_TYPE type, argument
340 if (type == B_CREATE_PARAMETER_EDITOR
341 || type
245 GetNextSupportedType(const BMutablePartition* child, int32* cookie, BString* type) argument
358 PartitionType type; local
476 PartitionType type; local
[all...]
/haiku/src/libs/compat/freebsd_network/
H A Dbus.cpp167 bus_alloc_resource(device_t dev, int type, int *rid, unsigned long start, argument
173 if (type != SYS_RES_IRQ && type != SYS_RES_MEMORY
174 && type != SYS_RES_IOPORT)
178 "0x%" B_PRIx32 ")\n", type, *rid, start, end, count, flags);
185 if (type == SYS_RES_IRQ) {
196 } else if (type == SYS_RES_MEMORY || type == SYS_RES_IOPORT) {
200 if (type == SYS_RES_MEMORY)
212 res->r_type = type;
218 bus_release_resource(device_t dev, int type, int rid, struct resource *res) argument
[all...]
/haiku/src/bin/
H A Dcatattr.cpp34 raw data. This view is used for the type B_RAW_DATA_TYPE,
35 for custom types and for any type that is not directly
73 type_to_string(uint32 type) argument
80 value[i] = uint8(type >> shift);
91 sprintf(buffer, "0x%08" B_PRIx32, type);
98 type_name(uint32 type) argument
100 switch (type) {
131 return type_to_string(type);
165 ssize_t bytesRead = fs_read_attr(fd, attribute, info.type, 0, buffer, size);
200 bytesRead = fs_read_attr(fd, attribute, info.type, po
[all...]
/haiku/src/add-ons/accelerants/vesa/
H A Dmode.cpp92 bios_type_enum type = gInfo->shared_info->bios_type; local
93 if (type == kIntelBiosType || type == kAtomBiosType1 || type == kAtomBiosType2) {
98 if (type == kNVidiaBiosType) {
194 bios_type_enum type = gInfo->shared_info->bios_type; local
195 if (type == kIntelBiosType || type == kAtomBiosType1 || type == kAtomBiosType2) {
196 // The driver says it knows the BIOS type, an
[all...]
/haiku/src/apps/icon-o-matic/gui/
H A DStyleView.cpp67 // style type
70 message->AddInt32("type", STYLE_TYPE_COLOR);
73 message->AddInt32("type", STYLE_TYPE_GRADIENT);
79 fStyleType = new BMenuField(B_TRANSLATE("Style type"), menu);
81 // gradient type
84 message->AddInt32("type", GRADIENT_LINEAR);
87 message->AddInt32("type", GRADIENT_CIRCULAR);
90 message->AddInt32("type", GRADIENT_DIAMOND);
93 message->AddInt32("type", GRADIENT_CONIC);
96 fGradientType = new BMenuField(B_TRANSLATE("Gradient type"), men
153 int32 type; local
160 int32 type; local
361 _SetStyleType(int32 type) argument
388 _SetGradientType(int32 type) argument
[all...]
/haiku/src/libs/compat/freebsd_network/compat/net/
H A Dvnet.h88 #define VNET_PCPUSTAT_DECLARE(type, name) \
89 VNET_DECLARE(counter_u64_t, name[sizeof(type) / sizeof(uint64_t)])
91 #define VNET_PCPUSTAT_DEFINE(type, name) \
92 VNET_DEFINE(counter_u64_t, name[sizeof(type) / sizeof(uint64_t)])
101 #define VNET_PCPUSTAT_ADD(type, name, f, v) \
102 counter_u64_add(VNET(name)[offsetof(type, f) / sizeof(uint64_t)], (v))
122 #define SYSCTL_VNET_PCPUSTAT(parent, nbr, name, type, array, desc) \
126 type s; \
127 CTASSERT((sizeof(type) / sizeof(uint64_t)) == \
129 COUNTER_ARRAY_COPY(VNET(array), &s, sizeof(type) / sizeo
[all...]
/haiku/src/kits/shared/
H A DVariant.cpp57 BVariant::SetToTypedData(const void* data, type_code type) argument
61 switch (type) {
110 fType = type;
421 type_code type; local
423 status_t error = message.GetInfo(fieldName, &type, &count);
430 error = message.FindData(fieldName, type, &data, &numBytes);
435 return SetToTypedData(data, type);
440 BVariant::SizeOfType(type_code type) argument
442 switch (type) {
476 BVariant::TypeIsNumber(type_code type) argument
497 TypeIsInteger(type_code type, bool* _isSigned) argument
521 TypeIsFloat(type_code type) argument
677 _SetTo(BReferenceable* value, type_code type) argument
[all...]
/haiku/src/add-ons/kernel/drivers/input/hid_shared/
H A DHIDParser.cpp72 if (item->type == ITEM_TYPE_LONG) {
95 TRACE("got item: type: %s; size: %lu; tag: %u; data: %" B_PRIu32 "\n",
96 item->type == ITEM_TYPE_MAIN ? "main"
97 : item->type == ITEM_TYPE_GLOBAL ? "global"
98 : item->type == ITEM_TYPE_LOCAL ? "local" : "long",
101 switch (item->type) {
383 HIDParser::FindReport(uint8 type, uint8 id) argument
390 if ((report->Type() & type) != 0 && report->ID() == id)
399 HIDParser::CountReports(uint8 type) argument
407 if (report->Type() & type)
416 ReportAt(uint8 type, uint8 index) argument
439 MaxReportSize(uint8 type) argument
511 _FindOrCreateReport(uint8 type, uint8 id) argument
[all...]
/haiku/src/kits/tracker/infowindow/
H A DAttributesView.cpp76 switch(info.type) {
85 ssize_t size = node->ReadAttr(name, info.type, 0, buffer,
95 node->ReadAttr(name, info.type, 0, &value, sizeof(value));
108 node->ReadAttr(name, info.type, 0, &value, sizeof(value));
120 node->ReadAttr(name, info.type, 0, &value, sizeof(value));
132 node->ReadAttr(name, info.type, 0, &value, sizeof(value));
144 node->ReadAttr(name, info.type, 0, &value, sizeof(value));
156 node->ReadAttr(name, info.type, 0, &value, sizeof(value));
171 node->ReadAttr(name, info.type, 0, &value, sizeof(value));
183 node->ReadAttr(name, info.type,
[all...]

Completed in 151 milliseconds

<<11121314151617181920>>