/haiku-fatelf/src/tests/add-ons/kernel/file_systems/udf/r5/ |
H A D | Utils.cpp | 27 to_long_address(vnode_id id, uint32 length) argument 29 DEBUG_INIT_ETC(NULL, ("vnode_id: %Ld (0x%Lx), length: %ld", id, id, length)); 31 result.set_block((id >> 16) & 0xffffffff); 32 result.set_partition(id & 0xffff);
|
/haiku-fatelf/headers/os/storage/ |
H A D | Resources.h | 56 const void *LoadResource(type_code type, int32 id, size_t *outSize); 66 status_t AddResource(type_code type, int32 id, const void *data, 69 bool HasResource(type_code type, int32 id); 85 status_t RemoveResource(type_code type, int32 id); 90 status_t WriteResource(type_code type, int32 id, const void *data, 93 status_t ReadResource(type_code type, int32 id, void *data, off_t offset, 96 void *FindResource(type_code type, int32 id, size_t *lengthFound);
|
/haiku-fatelf/src/add-ons/kernel/drivers/graphics/radeon_hd/ |
H A D | device.cpp | 107 int32 id; local 114 for (id = 0; (thisName = gDeviceNames[id]) != NULL; id++) { 122 radeon_info* info = gDeviceInfo[id]; 195 if (user_strlcpy((char*)buffer, gDeviceNames[info->id], 199 strncpy((char*)buffer, gDeviceNames[info->id], B_PATH_NAME_LENGTH);
|
/haiku-fatelf/src/apps/deskbar/ |
H A D | BarView.h | 127 status_t ItemInfo(int32 id, const char** name, DeskbarShelf* shelf); 128 status_t ItemInfo(const char* name, int32* id, DeskbarShelf* shelf); 130 bool ItemExists(int32 id, DeskbarShelf shelf); 135 status_t AddItem(BMessage* archive, DeskbarShelf shelf, int32* id); 136 status_t AddItem(BEntry* entry, DeskbarShelf shelf, int32* id); 138 void RemoveItem(int32 id); 142 BRect IconFrame(int32 id) const;
|
H A D | BarWindow.cpp | 456 int32 id; local 458 if (message->FindInt32("id", &id) == B_OK) { 459 if (fBarView->ItemInfo(id, &name, &shelf) == B_OK) { 466 if (fBarView->ItemInfo(name, &id, &shelf) == B_OK) { 467 replyMsg.AddInt32("id", id); 483 int32 id; local 492 if (message->FindInt32("id", &id) 523 int32 id = 999; local 555 int32 id; local 585 int32 id; local [all...] |
/haiku-fatelf/src/apps/icon-o-matic/generic/property/view/specific_properties/ |
H A D | OptionValueView.cpp | 116 int32 id; local 117 if (message->FindInt32("id", &id) >= B_OK) { 118 fProperty->SetCurrentOptionID(id); 139 int32 id; local 140 for (int32 i = 0; fProperty->GetOption(i, &name, &id); i++) { 142 message->AddInt32("id", id); 145 if (id == fProperty->CurrentOptionID())
|
/haiku-fatelf/src/servers/midi/ |
H A D | MidiServerApp.cpp | 164 endp->id = nextId++; 165 reply.AddInt32("midi:id", endp->id); 208 int32 id; local 209 if (msg->FindInt32("midi:id", &id) == B_OK) { 210 endpoint_t* endp = FindEndpoint(id); 241 TRACE(("Endpoint %ld (%p) changed", endp->id, endp)) 245 notify.AddInt32("midi:id", endp->id); 517 int32 id; local 530 FindEndpoint(int32 id) argument [all...] |
/haiku-fatelf/src/system/kernel/vm/ |
H A D | VMArea.cpp | 74 id = atomic_add(&sNextAreaID, 1); 228 VMAreaHash::Lookup(area_id id) argument 231 VMArea* area = LookupLocked(id); 242 area_id id = B_NAME_NOT_FOUND; local 250 id = area->id; 257 return id;
|
/haiku-fatelf/src/tests/kits/media/ |
H A D | mediaFormats.cpp | 49 get_mpeg_string(int32 id) argument 51 switch (id) { 84 print_fourcc(uint32 id) argument 88 uint8 c = uint8((id >> (24 - i * 8)) & 0xff); 95 printf("%s (0x%lx)\n", string, id); 118 print_fourcc(description.u.avr.id); 133 printf("\ttype:\t%s\n", get_mpeg_string(description.u.mpeg.id));
|
/haiku-fatelf/src/tests/add-ons/print/pcl6/ |
H A D | disasm.cpp | 544 const char* Disasm::AttributeName(uint8 id) { argument 545 switch (id) { 917 void Disasm::PrintAttributeValue(uint8 id, const AttrValue* table, int size) { argument 923 printf("%s %s\n", table->name, AttributeName(id)); 928 GenericPrintAttribute(id); 931 void Disasm::GenericPrintAttribute(uint8 id) { argument 935 printf(" %s\n", AttributeName(id)); 942 uint8 id; local 943 if (!fStream->ReadUByte(id)) { 944 Error("Could not read attribute id"); [all...] |
/haiku-fatelf/src/kits/network/libbind/isc/ |
H A D | ev_timers.c | 175 evTimer *id; local 205 OKNEW(id); 206 id->func = func; 207 id->uap = uap; 208 id->due = due; 209 id->inter = inter; 211 if (heap_insert(ctx->timers, id) < 0) 216 opaqueID->opaque = id; 227 evClearTimer(evContext opaqueCtx, evTimerID id) { argument 229 evTimer *del = id 259 evConfigTimer(evContext opaqueCtx, evTimerID id, const char *param, int value ) argument 284 evResetTimer(evContext opaqueCtx, evTimerID id, evTimerFunc func, void *uap, struct timespec due, struct timespec inter ) argument 373 evClearIdleTimer(evContext opaqueCtx, evTimerID id) argument 403 evTouchIdleTimer(evContext opaqueCtx, evTimerID id) argument [all...] |
H A D | ev_connects.c | 64 evConnFunc func, void *uap, evConnID *id) 106 if (id) 107 id->opaque = new; 113 evConnFunc func, void *uap, evConnID *id) 150 if (id) 151 id->opaque = new; 156 evCancelConn(evContext opaqueCtx, evConnID id) { argument 158 evConn *this = id.opaque; 207 int evHold(evContext opaqueCtx, evConnID id) { argument 208 evConn *this = id 63 evListen(evContext opaqueCtx, int fd, int maxconn, evConnFunc func, void *uap, evConnID *id) argument 112 evConnect(evContext opaqueCtx, int fd, const void *ra, int ralen, evConnFunc func, void *uap, evConnID *id) argument 220 evUnhold(evContext opaqueCtx, evConnID id) argument 238 evTryAccept(evContext opaqueCtx, evConnID id, int *sys_errno) argument 331 evConnID id; local [all...] |
/haiku-fatelf/src/servers/media/ |
H A D | NodeManager.cpp | 104 input->destination.id, type); 179 NodeManager::UnregisterNode(media_node_id id, team_id team, argument 182 TRACE("NodeManager::UnregisterNode enter: node %ld, team %ld\n", id, team); 186 NodeMap::iterator found = fNodeMap.find(id); 189 "%ld)\n", id, team); 197 "node %ld, but it was instantiated by team %ld\n", team, id, 203 "%ld (should be 1)\n", id, team, node.ref_count); 213 "flavor_id %ld team %ld\n", id, *_addOnID, *_flavorID, team); 219 NodeManager::ReleaseNodeReference(media_node_id id, team_id team) argument 221 TRACE("NodeManager::ReleaseNodeReference enter: node %ld, team %ld\n", id, 285 ReleaseNodeAll(media_node_id id) argument 316 SetNodeCreator(media_node_id id, team_id creator) argument 342 GetCloneForID(media_node_id id, team_id team, media_node* node) argument 387 media_node_id id; local 730 media_addon_id id = fNextAddOnID++; local 1267 _AcquireNodeReference(media_node_id id, team_id team) argument [all...] |
/haiku-fatelf/src/apps/debugger/debug_info/ |
H A D | DwarfStackFrameDebugInfo.cpp | 233 DwarfFunctionParameterID* id = new(std::nothrow) DwarfFunctionParameterID( local 235 if (id == NULL) 237 BReference<DwarfFunctionParameterID> idReference(id, true); 240 return _CreateVariable(id, name, _GetDIEType(parameterEntry), 268 DwarfLocalVariableID* id = new(std::nothrow) DwarfLocalVariableID( local 270 if (id == NULL) 272 BReference<DwarfLocalVariableID> idReference(id, true); 275 return _CreateVariable(id, name, _GetDIEType(variableEntry), 294 DwarfReturnValueID* id = new(std::nothrow) DwarfReturnValueID( local 296 if (id 314 _CreateVariable(ObjectID* id, const BString& name, DIEType* typeEntry, LocationDescription* locationDescription, Variable*& _variable) argument [all...] |
/haiku-fatelf/src/servers/media_addon/ |
H A D | MediaAddonServer.cpp | 74 media_addon_id id; member in struct:AddOnInfo 81 // if != NULL, need to call gDormantNodeManager->PutAddOn(id) 412 ERROR("rescan flavors: Can't find a addon object for id %d\n", 457 TRACE("MediaAddonServer::_ScanAddOnFlavors: id %ld\n", addon->AddonID()); 535 media_addon_id id = gDormantNodeManager->RegisterAddOn(path); local 536 if (id <= 0) { 542 TRACE("MediaAddonServer::_AddOnAdded: loading addon %ld now...\n", id); 544 BMediaAddOn* addon = gDormantNodeManager->GetAddOn(id); 547 gDormantNodeManager->UnregisterAddOn(id); 551 TRACE("MediaAddonServer::_AddOnAdded: loading finished, id 790 media_addon_id id = foundFile->second; local [all...] |
/haiku-fatelf/src/tools/fs_shell/ |
H A D | block_cache.cpp | 152 int32_t id; member in struct:FSShell::cache_transaction 255 notification.transaction_id = transaction != NULL ? transaction->id : -1; 399 const int32_t* id = (const int32_t*)_id; local 401 return transaction->id - *id; 409 const int32_t* id = (const int32_t*)_id; local 412 return transaction->id % range; 414 return (uint32_t)*id % range; 430 lookup_transaction(block_cache* cache, int32_t id) argument 432 return (cache_transaction*)hash_lookup(cache->transaction_hash, &id); 995 fssh_cache_sync_transaction(void* _cache, int32_t id) argument 1036 fssh_cache_end_transaction(void* _cache, int32_t id, fssh_transaction_notification_hook hook, void* data) argument 1099 fssh_cache_abort_transaction(void* _cache, int32_t id) argument 1150 fssh_cache_detach_sub_transaction(void* _cache, int32_t id, fssh_transaction_notification_hook hook, void* data) argument 1244 fssh_cache_abort_sub_transaction(void* _cache, int32_t id) argument 1297 fssh_cache_start_sub_transaction(void* _cache, int32_t id) argument 1359 fssh_cache_add_transaction_listener(void* _cache, int32_t id, int32_t events, fssh_transaction_notification_hook hookFunction, void* data) argument 1368 fssh_cache_remove_transaction_listener(void* _cache, int32_t id, fssh_transaction_notification_hook hookFunction, void* data) argument 1377 fssh_cache_next_block_in_transaction(void* _cache, int32_t id, bool mainOnly, long* _cookie, fssh_off_t* _blockNumber, void** _data, void** _unchangedData) argument 1423 fssh_cache_blocks_in_transaction(void* _cache, int32_t id) argument 1437 fssh_cache_blocks_in_main_transaction(void* _cache, int32_t id) argument 1451 fssh_cache_blocks_in_sub_transaction(void* _cache, int32_t id) argument [all...] |
/haiku-fatelf/src/system/kernel/posix/ |
H A D | realtime_sem.cpp | 170 void SetID(sem_id id) argument 172 fID = id; 421 status_t DeleteUnnamedSem(sem_id id) argument 425 UnnamedSharedSem* sem = fUnnamedSemaphores.Lookup(id); 437 bool IsUnnamedValidSem(sem_id id) argument 441 return fUnnamedSemaphores.Lookup(id) != NULL; 701 status_t CloseSem(sem_id id, sem_t*& deleteUserSem) argument 707 TeamSemInfo* sem = fSemaphores.Lookup(id); 709 return sSemTable.DeleteUnnamedSem(id); 722 status_t AcquireSem(sem_id id, bigtime_ argument 749 ReleaseSem(sem_id id) argument 766 GetSemCount(sem_id id, int& _count) argument 795 sem_id id = fNextPrivateSemID--; local 919 int32_t id; local 950 int32_t id; local [all...] |
/haiku-fatelf/headers/private/kernel/ |
H A D | team.h | 24 status_t wait_for_team(team_id id, status_t *returnCode); 33 status_t team_get_address_space(team_id id, 40 bool team_is_valid(team_id id); 41 Team *team_get_team_struct_locked(team_id id); 69 status_t _user_wait_for_team(team_id id, status_t *_returnCode); 81 status_t _user_get_team_info(team_id id, team_info *info);
|
/haiku-fatelf/src/add-ons/kernel/file_systems/ext2/ |
H A D | Volume.h | 44 { return fFSVolume ? fFSVolume->id : -1; } 71 status_t GetInodeBlock(ino_t id, off_t& block); 72 uint32 InodeBlockIndex(ino_t id) const; 108 ino_t id); 111 Inode* parent, int32 mode, ino_t& id); 112 status_t FreeInode(Transaction& transaction, ino_t id,
|
/haiku-fatelf/src/add-ons/kernel/network/ppp/shared/libppp/ |
H A D | PPPInterface.cpp | 254 int32 id = ID(); 258 args.data = &id; 259 args.length = sizeof(id); 272 int32 id = ID(); 276 args.data = &id; 277 args.length = sizeof(id);
|
/haiku-fatelf/src/add-ons/kernel/partitioning_systems/amiga/ |
H A D | amiga_rdb.cpp | 58 get_tupel(uint32 id) argument 62 tupel[0] = 0xff & (id >> 24); 63 tupel[1] = 0xff & (id >> 16); 64 tupel[2] = 0xff & (id >> 8); 65 tupel[3] = 0xff & (id); 193 partition_data *child = create_child_partition(partition->id, index++,
|
/haiku-fatelf/src/add-ons/media/media-add-ons/usb_webcam/sensors/ |
H A D | tas5110c1b.cpp | 33 virtual status_t GetParameterValue(int32 id, bigtime_t *last_change, void *value, size_t *size); 34 virtual status_t SetParameterValue(int32 id, bigtime_t when, const void *value, size_t size); 187 TAS5110C1BSensor::GetParameterValue(int32 id, bigtime_t *last_change, void *value, size_t *size) argument 190 if (id == fFirstParameterID) { 201 TAS5110C1BSensor::SetParameterValue(int32 id, bigtime_t when, const void *value, size_t size) argument 204 if (id == fFirstParameterID) {
|
H A D | tas5130d1b.cpp | 35 virtual status_t GetParameterValue(int32 id, bigtime_t *last_change, void *value, size_t *size); 36 virtual status_t SetParameterValue(int32 id, bigtime_t when, const void *value, size_t size); 197 TAS5130D1BSensor::GetParameterValue(int32 id, bigtime_t *last_change, void *value, size_t *size) argument 200 if (id == fFirstParameterID) { 211 TAS5130D1BSensor::SetParameterValue(int32 id, bigtime_t when, const void *value, size_t size) argument 214 if (id == fFirstParameterID) {
|
/haiku-fatelf/src/add-ons/print/drivers/gutenprint/ |
H A D | GPBinding.cpp | 23 static const char* kManufacturerId = "id"; 76 const char* id = manufacturer.c_str(); local 78 AddManufacturer(manufacturers, id, name); 86 BString& id, BString& displayName) 88 if (manufacturers.FindString(kManufacturerId, index, &id) != B_OK) 98 GPBinding::AddManufacturer(BMessage& manufacturers, const char* id, argument 101 manufacturers.AddString(kManufacturerId, id); 85 ExtractManufacturer(const BMessage& manufacturers, int32 index, BString& id, BString& displayName) argument
|
/haiku-fatelf/src/bin/mkfs/ |
H A D | FsCreator.cpp | 33 void SetTo(partition_id id) argument 35 fID = id; 85 partition_id id = roster.RegisterFileDevice(fPath); local 86 if (id < B_OK) { 92 unregisterFileDevice.SetTo(id); 94 status = roster.GetPartitionWithID(id, &device, &partition);
|