/haiku/src/preferences/filetypes/ |
H A D | MimeTypeListView.h | 16 MimeTypeItem(BMimeType& type, bool showIcon = false, bool flat = false); 17 MimeTypeItem(const char* type, bool showIcon = false, bool flat = false); 40 void _SetTo(BMimeType& type); 60 void SelectNewType(const char* type); 61 bool SelectType(const char* type); 64 MimeTypeItem* FindItem(const char* type); 81 void _AddNewType(const char* type); 89 extern bool mimetype_is_application_signature(BMimeType& type);
|
/haiku/src/system/kernel/device_manager/ |
H A D | io_resources.cpp | 48 type = 0; 60 type = resource.type; 63 if (type != B_ISA_DMA_CHANNEL) 70 switch (type) { 105 if (type == 0) 108 switch (type) { 127 switch (resource.type) {
|
/haiku/headers/os/package/hpkg/v1/ |
H A D | PackageEntryAttribute.h | 28 void SetType(uint32 type) { fType = type; } argument
|
/haiku/headers/private/storage/mime/ |
H A D | MimeSniffer.h | 31 BMimeType* type) = 0; 34 BMimeType* type) = 0;
|
/haiku/src/kits/debugger/value/values/ |
H A D | EnumerationValue.cpp | 12 EnumerationValue::EnumerationValue(EnumerationType* type, const BVariant& value) argument 15 fType(type)
|
/haiku/headers/private/system/arch/riscv64/ |
H A D | asm_defs.h | 14 #define STATIC_FUNCTION(name) .type name, %function; name 15 #define FUNCTION(name) .global name; .type name, %function; name
|
/haiku/headers/private/system/arch/sparc/ |
H A D | asm_defs.h | 14 #define STATIC_FUNCTION(name) .type name, %function; name 15 #define FUNCTION(name) .global name; .type name, %function; name
|
/haiku/headers/private/system/arch/ppc/ |
H A D | asm_defs.h | 11 #define STATIC_FUNCTION(name) .type name, @function; name 12 #define FUNCTION(name) .global name; .type name, @function; name
|
/haiku/src/kits/mail/ |
H A D | NodeMessage.cpp | 26 type_code type; local 31 m.GetInfo(B_ANY_TYPE, i, &name, &type) == 0; 33 m.FindData (name,type,0,&data,&bytes); 34 n.WriteAttr(name,type,0, data, bytes); 57 info.size=n.ReadAttr(name,info.type,0,buf,info.size); 59 m.AddData(name,info.type,buf,info.size);
|
/haiku/src/tests/system/kernel/unit/ |
H A D | TestSuite.h | 52 #define ADD_STANDARD_TEST(suite, type, method) \ 54 type* object = new(std::nothrow) type; \ 58 StandardTest<type>* test = new(std::nothrow) StandardTest<type>( \ 59 #method, object, &type::method); \
|
/haiku/src/kits/debugger/value/value_formatters/ |
H A D | FloatValueFormatter.cpp | 66 type_code type) const 69 return _PerformValidation(input, type, value, false) == B_OK; 75 type_code type, Value*& _output) const 77 return _PerformValidation(input, type, _output, true); 82 FloatValueFormatter::_PerformValidation(const BString& input, type_code type, argument 92 switch (type) { 74 GetValueFromFormattedInput(const BString& input, type_code type, Value*& _output) const argument
|
/haiku/headers/private/system/ |
H A D | elf_private.h | 22 # define _ELF_TYPE(type) Elf64_##type 24 # define _ELF_TYPE(type) Elf32_##type 26 #define DEFINE_ELF_TYPE(type, name) \ 27 typedef _ELF_TYPE(type) name
|
/haiku/src/kits/debugger/value/type_handlers/ |
H A D | CStringTypeHandler.cpp | 30 CStringTypeHandler::SupportsType(Type* type) const 32 AddressType* addressType = dynamic_cast<AddressType*>(type); 33 ArrayType* arrayType = dynamic_cast<ArrayType*>(type); 71 CStringTypeHandler::CreateValueNode(ValueNodeChild* nodeChild, Type* type, argument 74 if (SupportsType(type) == 0.0f) 78 type);
|
/haiku/src/build/libbe/storage/ |
H A D | MimeType.cpp | 47 MIME type. 48 The supplied string must specify a valid MIME type or supertype. 68 /*! \brief Initializes this object to the supplied MIME type. 69 The supplied string must specify a valid MIME type or supertype. 143 /*! \brief Returns whether the object represents a valid MIME type. 176 //! Returns whether or not this type is currently installed in the MIME database 177 /*! To add the MIME type to the database, call \c Install(). 178 To remove the MIME type from the database, call \c Delete(). 181 - \c true: The MIME type is currently installed in the database 182 - \c false: The MIME type i 356 GuessMimeType(const entry_ref *ref, BMimeType *type) argument 393 GuessMimeType(const void *_buffer, int32 length, BMimeType *type) argument 410 GuessMimeType(const char *filename, BMimeType *type) argument [all...] |
/haiku/src/add-ons/disk_systems/gpt/ |
H A D | GPTPartitionHandle.h | 30 const char* type); 31 virtual status_t SetType(BMutablePartition* child, const char* type); 35 int32* cookie, BString* type); 40 B_PARAMETER_EDITOR_TYPE type, 43 off_t* size, const char* type, 46 const char* type, const char* name,
|
/haiku/src/add-ons/kernel/network/ppp/shared/libkernelppp/ |
H A D | KPPPReportManager.cpp | 80 /*! \brief Requests report messages of a given \a type. 82 \param type The type of report. 87 KPPPReportManager::EnableReports(ppp_report_type type, thread_id thread, argument 90 if (thread < 0 || type == PPP_ALL_REPORTS) 96 request->type = type; 106 KPPPReportManager::DisableReports(ppp_report_type type, thread_id thread) argument 121 if (request->type == type || typ 135 DoesReport(ppp_report_type type, thread_id thread) argument 168 Report(ppp_report_type type, int32 code, void *data, int32 length) argument [all...] |
/haiku/src/add-ons/kernel/file_systems/ramfs/ |
H A D | IndexDirectory.cpp | 73 IndexDirectory::CreateIndex(const char *name, uint32 type, argument 81 switch (type) { 84 name, type, sizeof(int32)); 88 name, type, sizeof(uint32)); 92 name, type, sizeof(int64)); 96 name, type, sizeof(uint64)); 100 name, type, sizeof(float)); 104 name, type, sizeof(double)); 108 name, type, 0); 134 IndexDirectory::DeleteIndex(const char *name, uint32 type) argument 172 FindIndex(const char *name, uint32 type) argument 192 FindAttributeIndex(const char *name, uint32 type) argument [all...] |
/haiku/src/system/libroot/posix/musl/misc/ |
H A D | nftw.c | 28 int type; local 36 type = FTW_SLN; 38 else type = FTW_NS; 40 if (flags & FTW_DEPTH) type = FTW_DP; 41 else type = FTW_D; 43 if (flags & FTW_PHYS) type = FTW_SL; 44 else type = FTW_SLN; 46 type = FTW_F; 68 if (type == FTW_D || type [all...] |
/haiku/src/apps/drivesetup/ |
H A D | ChangeParametersPanel.cpp | 35 MSG_PARTITION_TYPE = 'type', 56 ChangeParametersPanel::Go(BString& name, BString& type, BString& parameters) argument 59 return Go(name, type, parameters, storage); 69 const char* type; local 70 if (message->FindString("type", &type) == B_OK) 71 fEditor->ParameterChanged("type", BVariant(type)); 92 ChangeParametersPanel::Go(BString& name, BString& type, BString& parameters, argument 104 // get type 128 const char* type = NULL; local 181 const char* type; local [all...] |
/haiku/src/tools/gensyscalls/ |
H A D | gensyscallinfos.cpp | 19 // for the alignment type macros (only for the type names) 60 Type(const char* type) : type(type) {} argument 61 Type(const string& type) : type(type) {} argument 63 string type; member in struct:Type 68 NamedType(const char* type, cons argument 70 NamedType(const string& type, const string& name) argument 91 AddParameter(const NamedType& type) argument 106 SetReturnType(const Type& type) argument 506 vector<string> type; local 539 _ParseFunctionPointerParameter(Tokenizer& tokenizer, Syscall& syscall, vector<string>& type) argument [all...] |
/haiku/src/kits/storage/mime/ |
H A D | SnifferRules.cpp | 47 \brief A parsed sniffer rule and its corresponding mime type and rule string 100 return left.type > right.type; 141 /*! \brief Guesses a MIME type for the supplied entry_ref. 148 \param type Pointer to a pre-allocated BString which is set to the 149 resulting MIME type. 152 - \c Mime::kMimeGuessFailure: no match found (\a type is left unmodified) 156 SnifferRules::GuessMimeType(const entry_ref *ref, BString *type) argument 158 status_t err = ref && type ? B_OK : B_BAD_VALUE; 190 err = GuessMimeType(&file, buffer, bytes, type); 213 GuessMimeType(const void *buffer, int32 length, BString *type) argument 233 SetSnifferRule(const char *type, const char *rule) argument 284 DeleteSnifferRule(const char *type) argument 438 GuessMimeType(BFile* file, const void *buffer, int32 length, BString *type) argument 545 ProcessType(const char *type, ssize_t *bytesNeeded) argument [all...] |
/haiku/src/servers/media/ |
H A D | MediaFilesManager.cpp | 36 const char* type; member in struct:__anon1852 56 _SetItem(kInitialItems[i].type, kInitialItems[i].item); 82 const BString& type = iterator->first; local 86 status = items.AddString("type", type.String()); 107 status = settings.AddMessage("type items", &items); 131 const BString& type = iterator->first; local 141 printf(" type \"%s\", item \"%s\", path \"%s\", gain %g\n", 142 type.String(), item.String(), 175 const BString& type local 184 GetItemsArea(const char* type, int32& count) argument 226 GetRefFor(const char* type, const char* item, entry_ref** _ref) argument 242 GetAudioGainFor(const char* type, const char* item, float* _gain) argument 258 SetRefFor(const char* type, const char* item, const entry_ref& ref) argument 275 SetAudioGainFor(const char* type, const char* item, float gain) argument 292 InvalidateItem(const char* type, const char* item) argument 310 RemoveItem(const char *type, const char *item) argument 342 const char* type; local 372 _GetItem(const char* type, const char* item, item_info*& info) argument 478 const char* type; local [all...] |
/haiku/src/libs/udis86/ |
H A D | syn-intel.c | 61 switch(op->type) { 148 u->operand[0].type != UD_OP_MEM && 149 u->operand[1].type != UD_OP_MEM ) { 167 if (u->operand[0].type != UD_NONE) { 170 if (u->operand[0].type == UD_OP_MEM) { 171 if (u->operand[1].type == UD_OP_IMM || 172 u->operand[1].type == UD_OP_CONST || 173 u->operand[1].type == UD_NONE || 176 } else if (u->operand[1].type == UD_OP_REG && 195 if (u->operand[1].type ! [all...] |
/haiku/src/kits/tracker/ |
H A D | AttributeStream.cpp | 57 fInfo.type = B_RAW_TYPE; 79 AttributeInfo::AttributeInfo(const char* name, uint32 type, off_t size) argument 83 fInfo.type = type; 98 return fInfo.type; 126 AttributeInfo::SetTo(const char* name, uint32 type, off_t size) argument 129 fInfo.type = type; 179 AttributeStreamNode::Contains(const char* name, uint32 type) argument 184 return fReadFrom->Contains(name, type); 189 Read(const char* name, const char* foreignName, uint32 type, off_t size, void* buffer, void (*swapFunc)(void*)) argument 200 Write(const char* name, const char* foreignName, uint32 type, off_t size, const void* buffer) argument 312 Contains(const char* name, uint32 type) argument 328 Read(const char* name, const char* foreignName, uint32 type, off_t size, void* buffer, void (*swapFunc)(void*)) argument 351 Write(const char* name, const char* foreignName, uint32 type, off_t size, const void* buffer) argument 470 Contains(const char* name, uint32 type) argument 479 Read(const char* name, const char* DEBUG_ONLY(foreignName), uint32 type, off_t bufferSize, void* buffer, void (*DEBUG_ONLY(swapFunc))(void*)) argument 513 Write(const char* name, const char*, uint32 type, off_t size, const void* buffer) argument 540 BufferingGet(const char* name, uint32 type, off_t size) argument [all...] |
H A D | AttributeStream.h | 79 AttributeInfo(const char* name, uint32 type, off_t size); 83 void SetTo(const char* name, uint32 type, off_t size); 117 uint32 type, off_t size, void* buffer, void (*swapFunc)(void*) = 0); 120 uint32 type, off_t size, const void* buffer); 163 virtual off_t Contains(const char* name, uint32 type); 164 virtual off_t Read(const char* name, const char* foreignName, uint32 type, 166 virtual off_t Write(const char* name, const char* foreignName, uint32 type, 198 virtual off_t Contains(const char* name, uint32 type); 200 uint32 type, off_t size, void* buffer, void (*swapFunc)(void*) = 0); 202 uint32 type, off_ 214 AttrNode(const char* name, uint32 type, off_t size, char* data) argument [all...] |