Home
last modified time | relevance | path

Searched refs:type (Results 1 – 25 of 2789) sorted by relevance

12345678910>>...112

/haiku/docs/develop/kits/print/
H A DMessagesFromPageSetup.txt2 entry printer, type='LONG', c=1, size= 4, data[0]: 0x8003b390 (-2147241072, ೐')
3 entry page_format, type='LONG', c=1, size= 4, data[0]: 0x0 (0, '')
4 entry orientation, type='LONG', c=1, size= 4, data[0]: 0x0 (0, '')
5 entry scale, type='FLOT', c=1, size= 4, data[0]: 100.0000
6 entry xres, type='LONG', c=1, size= 4, data[0]: 0x12c (300, '')
7 entry yres, type='LONG', c=1, size= 4, data[0]: 0x12c (300, '')
8 entry paper_rect, type='RECT', c=1, size=16, data[0]: BRect(l:0.0, t:0.0, r:612.0, b:792.0)
9 … entry printable_rect, type='RECT', c=1, size=16, data[0]: BRect(l:18.0, t:18.0, r:594.0, b:774.0)
10 entry current_printer, type='CSTR', c=1, size=27, data[0]: "HPLaserJetPCL3Driver_BeInc"
13 entry printer, type='LONG', c=1, size= 4, data[0]: 0x800131a8 (-2147405400, ী౨')
[all …]
/haiku/headers/private/storage/mime/
H A DDatabase.h63 status_t Install(const char *type);
64 status_t Delete(const char *type);
67 status_t SetAppHint(const char *type, const entry_ref *ref);
68 status_t SetAttrInfo(const char *type, const BMessage *info);
69 status_t SetShortDescription(const char *type, const char *description);
70 status_t SetLongDescription(const char *type, const char *description);
71 status_t SetFileExtensions(const char *type, const BMessage *extensions);
72 status_t SetIcon(const char* type, const BBitmap* icon,
74 status_t SetIcon(const char *type, const void *data, size_t dataSize,
76 status_t SetIcon(const char *type, const void *data, size_t dataSize);
[all …]
H A DDatabaseLocation.h35 BString WritablePathForType(const char* type) const in WritablePathForType() argument
36 { return _TypeToFilename(type, 0); } in WritablePathForType()
40 status_t OpenType(const char* type, BNode& _node) const;
41 status_t OpenWritableType(const char* type,
47 ssize_t ReadAttribute(const char* type,
50 status_t ReadMessageAttribute(const char* type,
53 status_t ReadStringAttribute(const char* type,
57 status_t WriteAttribute(const char* type,
61 status_t WriteMessageAttribute(const char* type,
66 status_t DeleteAttribute(const char* type,
[all …]
/haiku/src/bin/rc/
H A Dparser.y128 %type <i> integer
129 %type <f> float
130 %type <id> id
131 %type <d> archive array arrayfields data expr message msgfield
132 %type <d> type typefield type_or_define
133 %type <l> msgfields typefields typedeffields
134 %type <F> typedeffield
135 %type <T> datatype typecast
201 $$.type = $1;
208 $$.type = $1;
[all …]
/haiku/src/kits/debugger/source_language/c_family/
H A DCLanguageTokenizer.cpp31 type(TOKEN_NONE), in Token()
41 type(other.type), in Token()
48 Token::Token(const char* string, int32 length, int32 position, int32 type) in Token() argument
51 type(type), in Token()
62 type = other.type; in operator =()
95 if (fCurrentToken.type == TOKEN_END_OF_LINE) in NextToken()
198 int32 type = TOKEN_NONE; in NextToken() local
201 type = TOKEN_END_OF_LINE; in NextToken()
205 type = TOKEN_OPENING_PAREN; in NextToken()
208 type = TOKEN_CLOSING_PAREN; in NextToken()
[all …]
/haiku/src/kits/storage/mime/
H A DDatabase.cpp116 Database::Install(const char *type) in Install() argument
118 if (type == NULL) in Install()
122 status_t err = entry.SetTo(fLocation->WritablePathForType(type)); in Install()
129 err = fLocation->OpenWritableType(type, node, true, &didCreate); in Install()
131 fInstalledTypes.AddType(type); in Install()
132 _SendInstallNotification(type); in Install()
147 Database::Delete(const char *type) in Delete() argument
149 if (type == NULL) in Delete()
154 status_t status = entry.SetTo(fLocation->WritablePathForType(type)); in Delete()
163 size_t length = strlen(type); in Delete()
[all …]
H A DDatabaseLocation.cpp63 DatabaseLocation::OpenType(const char* type, BNode& _node) const in OpenType() argument
65 if (type == NULL) in OpenType()
69 return _OpenType(type, _node, index); in OpenType()
87 DatabaseLocation::OpenWritableType(const char* type, BNode& _node, bool create, in OpenWritableType() argument
95 status_t result = _OpenType(type, _node, index); in OpenWritableType()
108 result = _CopyTypeNode(nodeToClone, type, _node); in OpenWritableType()
122 result = _CreateTypeNode(type, _node); in OpenWritableType()
127 size_t toWrite = strlen(type) + 1; in OpenWritableType()
128 ssize_t bytesWritten = _node.WriteAttr(kTypeAttr, B_STRING_TYPE, 0, type, in OpenWritableType()
162 DatabaseLocation::ReadAttribute(const char* type, const char* attribute, in ReadAttribute() argument
[all …]
/haiku/src/libs/libtelnet/
H A Dencrypt.c79 int EncryptType(char *type, char *mode);
145 findencryption(int type) in findencryption() argument
149 if (!(I_SUPPORT_ENCRYPT & remote_supports_decrypt & (unsigned)typemask(type))) in findencryption()
151 while (ep->type && ep->type != type) in findencryption()
153 return(ep->type ? ep : 0); in findencryption()
157 finddecryption(int type) in finddecryption() argument
161 if (!(I_SUPPORT_DECRYPT & remote_supports_encrypt & (unsigned)typemask(type))) in finddecryption()
163 while (ep->type && ep->type != type) in finddecryption()
165 return(ep->type ? ep : 0); in finddecryption()
199 while (ep->type) { in encrypt_init()
[all …]
H A Dauth.c106 int auth_onoff(char *type, int on);
187 findauthenticator(int type, int way) in findauthenticator() argument
191 while (ap->type && (ap->type != type || ap->way != way)) in findauthenticator()
193 return(ap->type ? ap : 0); in findauthenticator()
207 while (ap->type) { in auth_init()
209 i_support |= typemask(ap->type); in auth_init()
213 ap->type, ap->way); in auth_init()
217 Name, ap->type, ap->way); in auth_init()
235 getauthmask(char *type, int *maskp) in getauthmask() argument
239 if (AUTHTYPE_NAME(0) && !strcasecmp(type, AUTHTYPE_NAME(0))) { in getauthmask()
[all …]
/haiku/src/kits/debugger/debug_info/
H A DGlobalTypeLookup.cpp20 Type* type; member
24 TypeEntry(Type* type) in TypeEntry()
26 type(type) in TypeEntry()
28 type->AcquireReference(); in TypeEntry()
33 type->ReleaseReference(); in ~TypeEntry()
49 return HashKey(value->type->Name()); in Hash()
54 return key == value->type->Name(); in Compare()
75 return HashKey(value->type->ID()); in Hash()
80 return key == value->type->ID(); in Compare()
159 && typeEntry->type->Kind() != constraints.TypeKind()) in GetType()
[all …]
/haiku/src/bin/rc/tests/
H A Dtype.rdef2 type #'smpl' simple { int8 x };
8 // for the int8 built-in type, we can also use it for our own types.
9 type #'BYTE' mybyte { int8 x };
16 type #'RAWT' myraw { array x };
26 type #'what' type1 { int32 a, int32 b, bool d, int16 e }; // size 11
33 type #'RECT' myrect { float left, float top, float bottom, float right };
62 //resource(829) myrect { (float) top = 1, 2, 3, 4 }; // unknown type top
65 type #'RAWT' NoConflict { int32 a };
69 type #'same' typ1 { int8 x };
70 type #'same' typ2 { int32 x };
[all …]
/haiku/src/system/kernel/arch/x86/
H A Darch_vm.cpp67 uint32 type; member
124 info.type); in set_mtrrs()
131 add_used_mtrr(uint64 base, uint64 size, uint32 type) in add_used_mtrr() argument
133 switch (type) { in add_used_mtrr()
135 type = IA32_MTR_UNCACHED; in add_used_mtrr()
138 type = IA32_MTR_WRITE_COMBINING; in add_used_mtrr()
141 type = IA32_MTR_WRITE_THROUGH; in add_used_mtrr()
144 type = IA32_MTR_WRITE_PROTECTED; in add_used_mtrr()
147 type = IA32_MTR_WRITE_BACK; in add_used_mtrr()
159 mtrr.type = type; in add_used_mtrr()
[all …]
/haiku/src/libs/compat/freebsd_wlan/net80211/
H A Dieee80211_ratectl.c56 ieee80211_ratectl_register(int type, const struct ieee80211_ratectl *ratectl) in ieee80211_ratectl_register() argument
58 if (type >= IEEE80211_RATECTL_MAX) in ieee80211_ratectl_register()
60 ratectls[type] = ratectl; in ieee80211_ratectl_register()
64 ieee80211_ratectl_unregister(int type) in ieee80211_ratectl_unregister() argument
66 if (type >= IEEE80211_RATECTL_MAX) in ieee80211_ratectl_unregister()
68 ratectls[type] = NULL; in ieee80211_ratectl_unregister()
123 ieee80211_ratectl_set(struct ieee80211vap *vap, int type) in ieee80211_ratectl_set() argument
125 if (type >= IEEE80211_RATECTL_MAX) in ieee80211_ratectl_set()
127 if (ratectls[type] == NULL) { in ieee80211_ratectl_set()
128 ieee80211_load_module(ratectl_modnames[type]); in ieee80211_ratectl_set()
[all …]
/haiku/headers/build/gcc-2.95.3/
H A Dva-spur.h39 #define va_arg(pvar,type) \ argument
41 (*({ type *__va_result; \
43 __va_result = ( (type *) ((pvar).__stack + (pvar).__pnt - 20)); \
44 (pvar).__pnt += (sizeof(type) + 7) & ~7; \
46 else if ((pvar).__pnt + sizeof(type) > 20) { \
47 __va_result = (type *) (pvar).__stack; \
48 (pvar).__pnt = 20 + ( (sizeof(type) + 7) & ~7); \
50 else if (sizeof(type) == 8) { \
54 __va_result = (type *) &__u; \
58 __va_result = (type *) ((pvar).__regs + (pvar).__pnt); \
[all …]
/haiku/src/bin/addattr/
H A DaddAttr.cpp29 writeAttrValue(int fd, const char* name, type_code type, Type value) in writeAttrValue() argument
31 ssize_t bytes = fs_write_attr(fd, name, type, 0, &value, sizeof(Type)); in writeAttrValue()
46 writeAttr(int fd, type_code type, const char* name, const char* value, size_t length) in writeAttr() argument
54 switch (type) { in writeAttr()
76 switch (type) { in writeAttr()
78 return writeAttrValue<int8>(fd, name, type, (int8)int64value); in writeAttr()
80 return writeAttrValue<int16>(fd, name, type, (int16)int64value); in writeAttr()
82 return writeAttrValue<int32>(fd, name, type, (int32)int64value); in writeAttr()
84 return writeAttrValue<int64>(fd, name, type, int64value); in writeAttr()
87 return writeAttrValue<uint8>(fd, name, type, (uint8)uint64value); in writeAttr()
[all …]
/haiku/src/libs/libsolv/solv/
H A Dchksum.c23 Id type; member
34 solv_chksum_create(Id type) in solv_chksum_create() argument
38 h->type = type; in solv_chksum_create()
39 switch(type) in solv_chksum_create()
58 solv_chksum_len(Id type) in solv_chksum_len() argument
60 switch (type) in solv_chksum_len()
74 solv_chksum_create_from_bin(Id type, const unsigned char *buf) in solv_chksum_create_from_bin() argument
77 int l = solv_chksum_len(type); in solv_chksum_create_from_bin()
81 h->type = type; in solv_chksum_create_from_bin()
93 switch(h->type) in solv_chksum_add()
[all …]
/haiku/src/tools/gensyscalls/
H A Dgensyscallinfos.cpp60 Type(const char* type) : type(type) {} in Type()
61 Type(const string& type) : type(type) {} in Type()
63 string type; member
68 NamedType(const char* type, const char* name) in NamedType()
69 : Type(type), name(name) {} in NamedType()
70 NamedType(const string& type, const string& name) in NamedType()
71 : Type(type), name(name) {} in NamedType()
91 void AddParameter(const NamedType& type) in AddParameter() argument
93 fParameters.push_back(type); in AddParameter()
106 void SetReturnType(const Type& type) in SetReturnType() argument
[all …]
/haiku/src/preferences/filetypes/
H A DMimeTypeListView.cpp24 mimetype_is_application_signature(BMimeType& type) in mimetype_is_application_signature() argument
31 return type.GetPreferredApp(preferredApp) == B_OK in mimetype_is_application_signature()
32 && !strcasecmp(type.Type(), preferredApp); in mimetype_is_application_signature()
39 MimeTypeItem::MimeTypeItem(BMimeType& type, bool showIcon, bool flat) in MimeTypeItem() argument
40 : BStringItem(type.Type(), !flat && !type.IsSupertypeOnly() ? 1 : 0, false), in MimeTypeItem()
41 fType(type.Type()), in MimeTypeItem()
45 _SetTo(type); in MimeTypeItem()
49 MimeTypeItem::MimeTypeItem(const char* type, bool showIcon, bool flat) in MimeTypeItem() argument
50 : BStringItem(type, !flat && strchr(type, '/') != NULL ? 1 : 0, false), in MimeTypeItem()
51 fType(type), in MimeTypeItem()
[all …]
/haiku/src/build/libbe/storage/
H A DMimeType.cpp236 BMimeType::operator==(const BMimeType &type) const in operator ==()
241 if (InitCheck() == B_OK && type.InitCheck() == B_OK) { in operator ==()
244 err = toLower(type.Type(), lower2); in operator ==()
248 } else if (InitCheck() == B_NO_INIT && type.InitCheck() == B_NO_INIT) { in operator ==()
264 BMimeType::operator==(const char *type) const in operator ==()
267 if (type) in operator ==()
268 mime.SetTo(type); in operator ==()
280 BMimeType::Contains(const BMimeType *type) const in Contains()
282 if (!type) in Contains()
284 if (*this == *type) in Contains()
[all …]
/haiku/src/system/libroot/os/arch/ppc/
H A Dsyscalls.inc7 .type name,@function; \
13 .type name,@function; \
19 .type name,@function; \
25 .type name,@function; \
31 .type name,@function; \
37 .type name,@function; \
43 .type name,@function; \
49 .type name,@function; \
55 .type name,@function; \
61 .type name,@function; \
[all …]
/haiku/src/kits/tracker/
H A DAttributeStream.cpp57 fInfo.type = B_RAW_TYPE; in AttributeInfo()
79 AttributeInfo::AttributeInfo(const char* name, uint32 type, off_t size) in AttributeInfo() argument
83 fInfo.type = type; in AttributeInfo()
98 return fInfo.type; in Type()
126 AttributeInfo::SetTo(const char* name, uint32 type, off_t size) in SetTo() argument
129 fInfo.type = type; in SetTo()
179 AttributeStreamNode::Contains(const char* name, uint32 type) in Contains() argument
184 return fReadFrom->Contains(name, type); in Contains()
190 uint32 type, off_t size, void* buffer, void (*swapFunc)(void*)) in Read() argument
195 return fReadFrom->Read(name, foreignName, type, size, buffer, swapFunc); in Read()
[all …]
/haiku/headers/libs/zydis/Zycore/
H A DComparison.h84 #define ZYAN_DECLARE_EQUALITY_COMPARISON(name, type) \ argument
85 ZyanBool name(const type* left, const type* right) \
101 #define ZYAN_DECLARE_EQUALITY_COMPARISON_FOR_FIELD(name, type, field_name) \ argument
102 ZyanBool name(const type* left, const type* right) \
120 #define ZYAN_DECLARE_COMPARISON(name, type) \ argument
121 ZyanI32 name(const type* left, const type* right) \
145 #define ZYAN_DECLARE_COMPARISON_FOR_FIELD(name, type, field_name) \ argument
146 ZyanI32 name(const type* left, const type* right) \
/haiku/src/add-ons/translators/icns/
H A DICNSLoader.h27 #define IS_SPUPPORTED_TYPE(type) ((type) == ICNS_1024x1024_32BIT_ARGB_DATA || \ argument
28 (type) == ICNS_512x512_32BIT_ARGB_DATA || \
29 (type) == ICNS_256x256_32BIT_ARGB_DATA || \
30 (type) == ICNS_128X128_32BIT_DATA || \
31 (type) == ICNS_48x48_32BIT_DATA || \
32 (type) == ICNS_32x32_32BIT_DATA || \
33 (type) == ICNS_16x16_32BIT_DATA)
56 icns_type_t type);
/haiku/src/tests/kits/app/broster/
H A DBRosterCases154 case 1: uninstalled type mimeType =>
156 case 2: installed type mimeType, no preferred app =>
158 case 3: installed type mimeType, preferred app, app type not installed,
161 case 4: installed type mimeType, preferred app, app type not installed,
164 executable. Should install the app type and set the app hint on it.
165 case 5: installed type mimeType, preferred app, app type installed,
168 executable. Should set the app hint on the app type.
169 case 6: installed type mimeType, preferred app, app type installed,
172 executable. Should set the app hint on the app type.
173 case 7: installed type mimeType, preferred app, app type installed,
[all …]
/haiku/src/servers/media/
H A DMediaFilesManager.cpp36 const char* type; in MediaFilesManager() member
56 _SetItem(kInitialItems[i].type, kInitialItems[i].item); in MediaFilesManager()
82 const BString& type = iterator->first; in SaveState() local
86 status = items.AddString("type", type.String()); in SaveState()
131 const BString& type = iterator->first; in Dump() local
142 type.String(), item.String(), in Dump()
175 const BString& type = iterator->first; in GetTypesArea() local
176 strncpy(start, type.String(), B_MEDIA_NAME_LENGTH); in GetTypesArea()
184 MediaFilesManager::GetItemsArea(const char* type, int32& count) in GetItemsArea() argument
187 if (type == NULL) in GetItemsArea()
[all …]

12345678910>>...112