/haiku/src/bin/ |
H A D | listres.cpp | 17 get_type(type_code type) argument 21 switch (type) { 62 value[i] = uint8(type >> shift); 72 sprintf(buffer, "0x%08" B_PRIx32, type); 119 type_code type; local 122 while (resources.GetResourceInfo(index++, &type, &id, &name, &size)) { 124 get_type(type), id, size, name);
|
/haiku/src/system/libroot/posix/glibc/stdlib/ |
H A D | random_r.c | 74 the array is the type of R.N.G. being used (small integer); the remainder 155 type is the trivial no-state-information type, just remember the seed. 167 int type; 176 type = buf->rand_type; 177 if ((unsigned int) type >= MAX_TYPES) 185 if (type == TYPE_0) 228 from srandom, we set state[-1] to be the type multiplexed with the current 241 int type; 250 type 166 int type; local 239 int type; variable 302 int type; local [all...] |
/haiku/src/system/kernel/arch/x86/ |
H A D | arch_vm.cpp | 67 uint32 type; member in struct:__anon1884::memory_type_range 97 static mutex sMemoryTypeLock = MUTEX_INITIALIZER("memory type ranges"); 123 B_PRIx64 ", type: %u\n", i, info.base, info.size, 124 info.type); 131 add_used_mtrr(uint64 base, uint64 size, uint32 type) argument 139 mtrr.type = type; 146 add_mtrrs_for_range(uint64 base, uint64 size, uint32 type) argument 150 if (!add_used_mtrr(base, interval, type)) 157 if (!add_used_mtrr(base + size - interval, interval, type)) 181 optimize_memory_ranges(MemoryTypeRangeList& ranges, uint32 type, bool removeRanges) argument 450 uint32 type = kMemoryTypes[i]; local 475 uint32 type = kMemoryTypes[i]; local 538 add_memory_type_range(area_id areaID, uint64 base, uint64 size, uint32 type) argument 760 arch_vm_set_memory_type(struct VMArea *area, phys_addr_t physicalBase, uint32 type) argument [all...] |
/haiku/headers/os/storage/ |
H A D | AppFileInfo.h | 57 virtual status_t GetType(char* type) const; 58 virtual status_t SetType(const char* type); 76 bool IsSupportedType(const char* type) const; 77 bool Supports(BMimeType* type) const; 94 status_t GetIconForType(const char* type, BBitmap* icon, 96 status_t GetIconForType(const char* type, uint8** data, 98 status_t SetIconForType(const char* type, 101 status_t SetIconForType(const char* type, 103 status_t SetIconForType(const char* type, 106 status_t SetIconForType(const char* type, [all...] |
/haiku/src/kits/debugger/model/ |
H A D | StackFrameValueInfos.cpp | 41 Type* type; member in struct:StackFrameValueInfos::InfoEntry 48 type(NULL), 63 void SetInfo(Type* type, ValueLocation* location) argument 65 if (type != NULL) 66 type->AcquireReference(); 70 if (this->type != NULL) 71 this->type->ReleaseReference(); 75 this->type = type; 142 entry->type 164 SetInfo(ObjectID* variable, TypeComponentPath* path, Type* type, ValueLocation* location) argument [all...] |
/haiku/src/libs/compat/freebsd_network/compat/sys/ |
H A D | mutex.h | 52 if (mutex->type == MTX_DEF) { 55 } else if (mutex->type == MTX_RECURSE) { 57 } else if (mutex->type == MTX_SPIN) { 66 if (mutex->type == MTX_DEF) { 71 } else if (mutex->type == MTX_RECURSE) { 75 } else if (mutex->type == MTX_SPIN) { 85 if (mutex->type == MTX_DEF) { 88 } else if (mutex->type == MTX_RECURSE) { 90 } else if (mutex->type == MTX_SPIN) { 107 if (mutex->type [all...] |
/haiku/src/libs/compat/freebsd_network/ |
H A D | fbsd_kern_mbuf.c | 42 m_getm2(struct mbuf *m, int len, int how, short type, int flags) argument 58 mb = m_getjcl(how, type, (flags & M_PKTHDR), 61 mb = m_getcl(how, type, (flags & M_PKTHDR)); 63 mb = m_gethdr(how, type); 65 mb = m_get(how, type); 108 * args A pointer to an argument structure (of any type) to be passed 111 * type The type that the external storage buffer should be 120 int flags, int type) 123 KASSERT(type ! 118 m_extadd(struct mbuf *mb, caddr_t buf, u_int size, void (*freef)(struct mbuf *, void *, void *), void *arg1, void *arg2, int flags, int type) argument [all...] |
/haiku/headers/private/debugger/types/ |
H A D | ValueLocation.h | 38 value_piece_location_type type; member in struct:ValuePieceLocation 47 type(VALUE_PIECE_LOCATION_INVALID), 76 if (type == VALUE_PIECE_LOCATION_IMPLICIT) { 79 type = VALUE_PIECE_LOCATION_INVALID; 92 return type != VALUE_PIECE_LOCATION_INVALID; 97 type = VALUE_PIECE_LOCATION_UNKNOWN; 102 type = VALUE_PIECE_LOCATION_MEMORY; 109 type = VALUE_PIECE_LOCATION_REGISTER; 135 type = VALUE_PIECE_LOCATION_IMPLICIT;
|
/haiku/src/kits/debugger/source_language/c_family/ |
H A D | CLanguageTokenizer.cpp | 31 type(TOKEN_NONE), 41 type(other.type), 48 Token::Token(const char* string, int32 length, int32 position, int32 type) argument 51 type(type), 62 type = other.type; 95 if (fCurrentToken.type == TOKEN_END_OF_LINE) 198 int32 type local 266 int32 type = TOKEN_NONE; local [all...] |
/haiku/src/bin/network/ifconfig/ |
H A D | MediaTypes.cpp | 23 int type; member in struct:media_type 129 media_parse_subtype(const char* string, int media, int* type) argument 131 for (size_t i = 0; kMediaTypes[i].type >= 0; i++) { 133 if (kMediaTypes[i].type && 134 kMediaTypes[i].type != media) 139 *type = kMediaTypes[i].subtypes[j].subtype; 151 for (size_t i = 0; kMediaTypes[i].type >= 0; i++) { 157 if (kMediaTypes[i].type 158 && kMediaTypes[i].type != IFM_TYPE(media))
|
/haiku/src/apps/cortex/ValControl/ |
H A D | ValCtrlLayoutEntry.h | 80 type(t), 88 type(t), 98 type = clone.type; 120 entry_type type; member in class:ValCtrlLayoutEntry
|
/haiku/headers/private/storage/mime/ |
H A D | AssociatedTypes.h | 39 status_t SetFileExtensions(const char *type, const BMessage *extensions); 40 status_t DeleteFileExtensions(const char *type); 44 status_t AddAssociatedType(const char *extension, const char *type); 45 status_t RemoveAssociatedType(const char *extension, const char *type); 49 status_t ProcessType(const char *type); 52 std::map<std::string, std::set<std::string> > fFileExtensions; // mime type => set of associated file extensions
|
/haiku/src/system/libroot/stubbed/ |
H A D | generate_stubs.py | 17 (address, type, symbol) = line.split() 20 if type not in 'BCDGRSTuVvWw': 28 if type in 'BD': 32 if type not in 'VW': 39 if type not in 'VW':
|
/haiku/src/apps/debugger/user_interface/gui/value/ |
H A D | TableCellEnumerationEditor.cpp | 33 EnumerationType* type = initialValue->GetType(); 34 for (int32 i = 0; i < type->CountValues(); i++) { 35 EnumeratorValue* value = type->ValueAt(i); 58 EnumerationType* type = initialValue->GetType(); local 63 EnumerationValue* value = new(std::nothrow) EnumerationValue(type,
|
/haiku/headers/private/debugger/value/value_formatters/ |
H A D | IntegerValueFormatter.h | 36 type_code type) const; 39 const BString& input, type_code type, 44 type_code type, 48 type_code type, 52 type_code type,
|
/haiku/headers/private/kernel/arch/x86/64/ |
H A D | descriptors.h | 34 uint32 type : 4; member in struct:segment_descriptor 73 set_segment_descriptor(segment_descriptor* desc, uint8 type, uint8 dpl) argument 85 desc->type = type; 90 desc->long_mode = (type & DT_CODE_EXECUTE_ONLY) ? 1 : 0;
|
/haiku/src/kits/debugger/value/ |
H A D | TypeHandlerRoster.cpp | 31 Type* type = (Type*)state; local 32 return a->SupportsType(type) > b->SupportsType(type) ? 1 : -1; 50 virtual float SupportsType(Type* type) const 52 return dynamic_cast<TypeClass*>(type) != NULL ? 0.5f : 0; 56 Type* type, ValueNode*& _node) 58 TypeClass* supportedType = dynamic_cast<TypeClass*>(type); 83 fLock("type handler roster") 179 TypeHandlerRoster::CountTypeHandlers(Type* type) argument 185 if (handler->SupportsType(type) > 55 CreateValueNode(ValueNodeChild* nodeChild, Type* type, ValueNode*& _node) argument 194 FindBestTypeHandler(ValueNodeChild* nodeChild, Type* type, TypeHandler*& _handler) argument 221 FindTypeHandlers(ValueNodeChild* nodeChild, Type* type, TypeHandlerList*& _handlers) argument 255 CreateValueNode(ValueNodeChild* nodeChild, Type* type, TypeHandler* handler, ValueNode*& _node) argument [all...] |
/haiku/src/apps/haikudepot/build/scripts/ |
H A D | hdsjsonschemacommon.py | 56 type = propmetadata['type'] 58 if type == JSON_TYPE_STRING: 60 if type == JSON_TYPE_BOOLEAN: 62 if type == JSON_TYPE_INTEGER: 64 if type == JSON_TYPE_NUMBER: 66 if type == JSON_TYPE_OBJECT: 68 if type == JSON_TYPE_ARRAY: 71 raise Exception('unknown json-schema type [' + type [all...] |
/haiku/src/kits/storage/mime/ |
H A D | SupportingApps.cpp | 59 given type in the pre-allocated \c BMessage pointed to by \c apps. 64 SupportingApps::GetSupportingApps(const char *type, BMessage *apps) argument 66 if (type == NULL || apps == NULL) 79 BString typeString(type); 82 BMimeType mime(type); 181 // each type. 183 BString type; local 184 for (int32 i = 0; types->FindString(kTypesField, i, &type) == B_OK; i++) { 185 type.ToLower(); 186 newTypes.insert(type 240 AddSupportingApp(const char *type, const char *app) argument 260 RemoveSupportingApp(const char *type, const char *app) argument 311 BString type; local [all...] |
/haiku/src/servers/registrar/ |
H A D | MIMEManager.cpp | 144 const char *type; local 145 err = message->FindString("type", &type); 148 ? fDatabase.Install(type) : fDatabase.Delete(type); 183 const char *type; local 184 err = message->FindString("type", &type); 186 err = fDatabase.GetSupportingApps(type, &reply); 229 err = reply.AddString("mime type", st 351 const char *type; local 486 const char *type; local [all...] |
/haiku/src/add-ons/kernel/drivers/timer/ |
H A D | arch_acpi.h | 71 uint8 type; member in struct:acpi_apic 76 uint8 type; /* 0 = processor local APIC */ member in struct:acpi_local_apic 84 uint8 type; /* 1 = I/O APIC */ member in struct:acpi_io_apic 93 uint8 type; /* 2 = Interrupt source override */ member in struct:acpi_int_source_override 104 uint8 type; /* 3 = NMI */ member in struct:acpi_nmi_source 113 uint8 type; /* 4 = local APIC NMI */ member in struct:acpi_local_apic_nmi 125 uint8 type; /* 5 = local APIC address override */ member in struct:acpi_local_apic_address_override 133 uint8 type; /* 6 = I/0 SAPIC (should be used if it member in struct:acpi_io_sapic 146 uint8 type; /* 7 = processor local SAPIC */ member in struct:acpi_local_sapic 163 uint8 type; /* member in struct:acpi_platform_interrupt_source 181 uint8 type; /* 9 = processor local x2APIC */ member in struct:acpi_local_x2_apic 191 uint8 type; /* 0xA = local x2APIC NMI */ member in struct:acpi_local_x2_apic_nmi [all...] |
/haiku/src/preferences/filetypes/ |
H A D | ExtensionWindow.h | 22 ExtensionWindow(FileTypesWindow* target, BMimeType& type, 36 extern status_t merge_extensions(BMimeType& type, const BList& newExtensions, 38 extern status_t replace_extension(BMimeType& type, const char* newExtension,
|
/haiku/src/servers/net/ |
H A D | PPPServer.cpp | 67 int32 type, code; 68 message->FindInt32("type", &type); 71 if (type == PPP_MANAGER_REPORT && code == PPP_REPORT_INTERFACE_CREATED)
|
/haiku/src/kits/tracker/ |
H A D | Bitmaps.h | 62 const void* LoadResource(type_code type, int32 id, 64 const void* LoadResource(type_code type, const char* name, 81 status_t GetBitmapResource(type_code type, int32 id, BBitmap** out) const; 83 // arbitrary bitmaps. the resource with the given type and
|
/haiku/src/apps/debugger/user_interface/gui/settings/ |
H A D | DebuggerUiSettingsFactory.cpp | 57 int32 type; local 58 status_t error = archive.FindInt32("type", &type); 62 switch (type) {
|