Searched refs:type (Results 301 - 325 of 2123) sorted by relevance

<<11121314151617181920>>

/haiku/src/libs/print/libprint/
H A DPrintUtils.cpp133 type_code type; local
135 for (int32 i = 0; from->GetInfo(B_ANY_TYPE, i, &name, &type, &count)
145 if (!overwrite && to->FindData(name, type, 0, &data, &size) == B_OK)
152 if (from->FindData(name, type, j, &data, &size) == B_OK) {
153 if (type == B_STRING_TYPE) {
155 } else if (type == B_MESSAGE_TYPE) {
160 to->AddData(name, type, data, size);
/haiku/headers/os/storage/
H A DMimeType.h90 bool operator==(const BMimeType &type) const;
91 bool operator==(const char* type) const;
93 bool Contains(const BMimeType* type) const;
127 status_t GetIconForType(const char* type, BBitmap* icon,
129 status_t GetIconForType(const char* type, uint8** _data,
131 status_t SetIconForType(const char* type, const BBitmap* icon,
133 status_t SetIconForType(const char* type, const uint8* data,
141 /* calls to ask the sniffer to identify the MIME type of a file or data in
143 static status_t GuessMimeType(const entry_ref* file, BMimeType* type);
145 BMimeType* type);
[all...]
/haiku/src/bin/
H A Dsettype.cpp22 "Sets the MIME type, signature, and/or preferred application of one or more\n"
34 " -t <type>\n"
35 " - Set the MIME type of the given files to <type>.\n"
82 check_mime_type(const char *type) argument
84 // check type
85 if (type) {
86 if (!BMimeType::IsValid(type)) {
87 fprintf(stderr, "\"%s\" is no valid MIME type.\n", type);
104 const char *type = NULL; local
[all...]
/haiku/src/libs/compat/freebsd_network/compat/sys/
H A Dbus.h28 #define __BUS_ACCESSOR(varp, var, ivarp, ivar, type) \
30 static __inline type varp ## _get_ ## var(device_t dev) \
35 static __inline void varp ## _set_ ## var(device_t dev, type t) \
43 int type; member in struct:resource_spec
67 struct resource *bus_alloc_resource(device_t dev, int type, int *rid,
69 int bus_release_resource(device_t dev, int type, int rid, struct resource *r);
79 bus_alloc_resource_any(device_t dev, int type, int *rid, uint32 flags) argument
81 return bus_alloc_resource(dev, type, rid, 0, ~0, 1, flags);
85 bus_alloc_resource_anywhere(device_t dev, int type, int *rid, argument
88 return (bus_alloc_resource(dev, type, ri
[all...]
H A Dcdefs.h168 #define __offsetof(type, field) __builtin_offsetof(type, field)
171 #define __offsetof(type, field) ((size_t)(&((type *)0)->field))
173 #define __offsetof(type, field) \
176 (static_cast<type *> (0)->field))))
179 #define __rangeof(type, start, end) \
180 (__offsetof(type, end) - __offsetof(type, start))
185 * assign pointer x to a local variable, to check that its type i
[all...]
/haiku/headers/os/media/
H A DTimeCode.h28 timecode_type type; member in struct:timecode_info
52 status_t get_timecode_description(timecode_type type,
62 timecode_type type = B_TIMECODE_DEFAULT);
66 timecode_type type = B_TIMECODE_DEFAULT);
71 status_t SetType(timecode_type type);
/haiku/src/preferences/filetypes/
H A DFileTypesWindow.h42 void SelectType(const char* type);
49 void _UpdateExtensions(BMimeType* type);
52 void _UpdatePreferredApps(BMimeType* type);
53 void _UpdateIcon(BMimeType* type);
54 void _SetType(BMimeType* type,
/haiku/src/tests/add-ons/print/ppd/model/
H A DStatementWrapper.cpp112 const char* type = GetStatement()->GetValueString(); local
113 if (type == NULL) return kUnknown;
115 if (strstr(type, "PickOne") != NULL) return kPickOne;
116 if (strstr(type, "PickMany") != NULL) return kPickMany;
117 if (strstr(type, "Boolean") != NULL) return kBoolean;
/haiku/headers/private/shared/
H A DDriverSettingsMessageAdapter.h24 const char* name, int32 index, uint32 type,
28 const char* name, uint32 type,
33 uint32 type, BString& value);
38 uint32 type; member in struct:settings_template
84 const char* name, type_code type,
/haiku/src/libs/uuid/
H A Duuid_time.c115 int type, variant; local
126 type = uuid_type(buf);
135 printf("UUID type is %d", type);
136 switch (type) {
152 if (type != 1) {
H A Dtest_uuid.c81 int type, variant; local
91 type = uuid_type(buf); variant = uuid_variant(buf);
92 printf("UUID type = %d, UUID variant = %d\n", type, variant);
107 type = uuid_type(buf);
109 printf("UUID type = %d, UUID variant = %d\n", type, variant);
114 if (type != 4) {
115 printf("Incorrect UUID type; was expecting "
116 "4 (random type)!\
[all...]
/haiku/src/libs/glut/
H A Dglut_teapot.c148 teapot(GLint grid, GLdouble scale, GLenum type) argument
189 glEvalMesh2(type, 0, grid, 0, grid);
192 glEvalMesh2(type, 0, grid, 0, grid);
196 glEvalMesh2(type, 0, grid, 0, grid);
199 glEvalMesh2(type, 0, grid, 0, grid);
/haiku/src/system/libroot/posix/glibc/math/
H A Dcomplex.h65 #define __MATHDECL(type, function, args) \
66 __MATHDECL_1(type, function, args); \
67 __MATHDECL_1(type, __CONCAT(__,function), args)
68 #define __MATHDECL_1(type, function, args) \
69 extern type __MATH_PRECNAME(function) args __THROW
/haiku/src/add-ons/kernel/drivers/network/ether/ipro1000/dev/e1000/
H A De1000_api.c143 * e1000_set_mac_type - Sets MAC type
146 * This function sets the mac type of the adapter based on the
160 mac->type = e1000_82542;
164 mac->type = e1000_82543;
170 mac->type = e1000_82544;
177 mac->type = e1000_82540;
181 mac->type = e1000_82545;
186 mac->type = e1000_82545_rev_3;
191 mac->type = e1000_82546;
199 mac->type
[all...]
/haiku/src/kits/storage/mime/
H A DMimeInfoUpdater.cpp35 const char *type, BBitmap &icon, icon_size iconSize)
37 status_t err = appFileInfoRead.GetIconForType(type, &icon, iconSize);
39 err = appFileInfoWrite.SetIconForType(type, &icon, iconSize, false);
41 err = appFileInfoWrite.SetIconForType(type, NULL, iconSize, false);
48 const char *type)
53 status_t err = appFileInfoRead.GetIconForType(type, &data, &size);
55 err = appFileInfoWrite.SetIconForType(type, data, size, false);
57 err = appFileInfoWrite.SetIconForType(type, NULL, size, false);
66 is_shared_object_mime_type(const BString &type) argument
68 return type
34 update_icon(BAppFileInfo &appFileInfoRead, BAppFileInfo &appFileInfoWrite, const char *type, BBitmap &icon, icon_size iconSize) argument
47 update_icon(BAppFileInfo &appFileInfoRead, BAppFileInfo &appFileInfoWrite, const char *type) argument
112 BString type; local
[all...]
/haiku/src/build/libbe/storage/
H A DAppFileInfo.cpp33 // type codes
156 BAppFileInfo::GetType(char* type) const
159 status_t error = type != NULL ? B_OK : B_BAD_VALUE;
166 type, B_MIME_TYPE_LENGTH, read);
169 if (error == B_OK && type[read - 1] != '\0') {
173 type[read] = '\0';
180 BAppFileInfo::SetType(const char* type) argument
187 if (type != NULL) {
189 size_t typeLen = strlen(type);
195 B_MIME_STRING_TYPE, type, typeLe
387 const char* type; local
642 GetIconForType(const char* type, BBitmap* icon, icon_size size) const argument
757 GetIconForType(const char* type, uint8** data, size_t* size) const argument
790 SetIconForType(const char* type, const BBitmap* icon, icon_size which, bool updateMimeDB) argument
879 SetIconForType(const char* type, const BBitmap* icon, icon_size which) argument
887 SetIconForType(const char* type, const uint8* data, size_t size, bool updateMimeDB) argument
931 SetIconForType(const char* type, const uint8* data, size_t size) argument
995 _ReadData(const char* name, int32 id, type_code type, void* buffer, size_t bufferSize, size_t& bytesRead, void** allocatedBuffer) const argument
1091 _WriteData(const char* name, int32 id, type_code type, const void* buffer, size_t bufferSize, bool findID) argument
1128 _RemoveData(const char* name, type_code type) argument
[all...]
/haiku/src/kits/debugger/source_language/c_family/
H A DCLanguageFamilySyntaxHighlightInfo.cpp112 syntax_highlight_type type; member in struct:CLanguageFamilySyntaxHighlightInfo::SyntaxPair
114 SyntaxPair(int32 column, syntax_highlight_type type) argument
117 type(type)
145 bool AddPair(int32 column, syntax_highlight_type type) argument
147 SyntaxPair* pair = new(std::nothrow) SyntaxPair(column, type);
220 _types[count] = pair->type;
230 syntax_highlight_type type = SYNTAX_HIGHLIGHT_NONE; local
237 status_t error = _ParseLine(i, type, info);
271 if (token.type
[all...]
/haiku/src/kits/storage/
H A DAppFileInfo.cpp33 // type codes
156 BAppFileInfo::GetType(char* type) const
159 status_t error = type != NULL ? B_OK : B_BAD_VALUE;
166 type, B_MIME_TYPE_LENGTH, read);
169 if (error == B_OK && type[read - 1] != '\0') {
173 type[read] = '\0';
180 BAppFileInfo::SetType(const char* type) argument
187 if (type != NULL) {
189 size_t typeLen = strlen(type);
195 B_MIME_STRING_TYPE, type, typeLe
387 const char* type; local
640 GetIconForType(const char* type, BBitmap* icon, icon_size size) const argument
755 GetIconForType(const char* type, uint8** data, size_t* size) const argument
788 SetIconForType(const char* type, const BBitmap* icon, icon_size which, bool updateMimeDB) argument
875 SetIconForType(const char* type, const BBitmap* icon, icon_size which) argument
883 SetIconForType(const char* type, const uint8* data, size_t size, bool updateMimeDB) argument
925 SetIconForType(const char* type, const uint8* data, size_t size) argument
1031 _ReadData(const char* name, int32 id, type_code type, void* buffer, size_t bufferSize, size_t& bytesRead, void** allocatedBuffer) const argument
1147 _WriteData(const char* name, int32 id, type_code type, const void* buffer, size_t bufferSize, bool findID) argument
1199 _RemoveData(const char* name, type_code type) argument
[all...]
/haiku/src/tests/add-ons/print/ppd/parser/
H A DParser.cpp92 Value::Type type; local
94 type = Value::kSymbolValue;
96 type = Value::kStringValue;
98 Value* value = new Value(option, type);
180 Statement::Type type; local
182 type = Statement::kDefault;
185 type = Statement::kParam;
188 type = Statement::kValue;
190 statement->SetType(type);
/haiku/src/tests/kits/storage/
H A DResourcesTest.cpp44 ResourceInfo(type_code type, int32 id, const void *data, size_t size, argument
46 : type(type),
69 type_code type; member in struct:ResourceInfo
118 remove(info->type, info->id);
126 remove(info->type, info->id);
129 void remove(type_code type, int32 id) argument
135 if (info->type == type && info->id == id) {
155 const ResourceInfo *find(type_code type, int3 argument
566 type_code type = 0; local
663 type_code type; local
836 type_code type; local
849 type_code type; local
873 type_code type = resourceInfos[0]->type; local
1013 type_code type; local
1444 type_code type = info.type; local
1510 type_code type = info.type; local
1526 type_code type = info.type; local
[all...]
/haiku/src/add-ons/kernel/network/ppp/pppoe/
H A DDiscoveryPacket.cpp52 AddTag(ntohs(tag->type), tag->data, ntohs(tag->length));
67 DiscoveryPacket::AddTag(uint16 type, const void *data, uint16 length, int32 index) argument
70 add->type = type;
114 DiscoveryPacket::TagWithType(uint16 type) const
120 if(tag && tag->type == type)
145 header->type = PPPoE_TYPE;
161 *((uint16*)(header->data + length)) = htons(tag->type);
/haiku/src/system/runtime_loader/
H A Delf_symbol_lookup.h24 int32 type; member in struct:SymbolLookupInfo
30 SymbolLookupInfo(const char* name, int32 type, uint32 hash, argument
35 type(type),
43 SymbolLookupInfo(const char* name, int32 type, argument
48 type(type),
130 void** symbol, int32* type);
133 int32* type);
/haiku/src/add-ons/kernel/drivers/bluetooth/h2/h2generic/
H A Dh2upper.cpp93 post_packet_up(bt_usb_dev* bdev, bt_packet_t type, void* buf)
97 debugf("Frame up type=%d\n", type);
99 if (type == BT_EVENT) {
118 send_packet(hci_id hid, bt_packet_t type, net_buffer* nbuf) argument
130 if (type != nbuf->protocol) // a bit strict maybe
133 switch (type) {
137 list_add_item(&bdev->nbuffersTx[type], nbuf);
138 bdev->nbuffersPendingTx[type]++;
141 ERROR("%s: Unknown packet type fo
[all...]
/haiku/src/system/libnetwork/netresolv/include/isc/
H A Dlist.h24 #define LIST(type) struct { type *head, *tail; }
28 #define LINK(type) struct { type *prev, *next; }
29 #define INIT_LINK_TYPE(elt, link, type) \
31 (elt)->link.prev = (type *)(-1); \
32 (elt)->link.next = (type *)(-1); \
67 #define UNLINK_TYPE(list, elt, link, type) \
82 INIT_LINK_TYPE(elt, link, type); \
/haiku/src/kits/interface/
H A DInput.cpp44 int32 type; local
47 reply.FindInt32("type", &type);
49 dev->_SetNameAndType(device, (input_device_type)type);
69 int32 type; local
73 reply.FindInt32("type", i++, &type);
77 dev->_SetNameAndType(name, (input_device_type)type);
189 BInputDevice::Start(input_device_type type) argument
194 command.AddInt32("type", typ
201 Stop(input_device_type type) argument
213 Control(input_device_type type, uint32 code, BMessage *message) argument
242 _SetNameAndType(const char *name, input_device_type type) argument
[all...]

Completed in 290 milliseconds

<<11121314151617181920>>