Searched refs:parent (Results 101 - 125 of 666) sorted by relevance

1234567891011>>

/haiku/src/add-ons/kernel/drivers/audio/virtio/
H A Dvirtio_sound.cpp42 SupportsDevice(device_node* parent) argument
47 if (sDeviceManager->get_attr_string(parent, B_DEVICE_BUS, &bus, false) != B_OK
48 || sDeviceManager->get_attr_uint16(parent, VIRTIO_DEVICE_TYPE_ITEM,
/haiku/src/kits/storage/disk_device/
H A DDiskDeviceJobGenerator.cpp209 } else if (BPartition* parent = partition->Parent()) {
211 status_t error = _GenerateDeleteChildJob(parent, partition);
371 DiskDeviceJobGenerator::_GenerateRemainingJobs(BPartition* parent, argument
381 if (!parent)
384 status_t error = _GenerateCreateChildJob(parent, partition);
393 if (!parent)
396 status_t error = _GenerateSetNameJob(parent, partition);
404 if (!parent)
407 status_t error = _GenerateSetTypeJob(parent, partition);
417 if (!parent)
616 _GenerateCreateChildJob(BPartition* parent, BPartition* partition) argument
647 _GenerateDeleteChildJob(BPartition* parent, BPartition* partition) argument
668 BPartition* parent = partition->Parent(); local
691 BPartition* parent = partition->Parent(); local
729 _GenerateSetNameJob(BPartition* parent, BPartition* partition) argument
758 _GenerateSetTypeJob(BPartition* parent, BPartition* partition) argument
787 _GenerateSetParametersJob(BPartition* parent, BPartition* partition) argument
[all...]
/haiku/src/apps/drivesetup/
H A DPartitionList.cpp99 PartitionColumn::DrawField(BField* field, BRect rect, BView* parent) argument
132 parent->TruncateString(&truncatedString, fTruncateMode, width + 2);
139 parent->SetDrawingMode(B_OP_ALPHA);
140 parent->DrawBitmap(bitmap, BPoint(x, y));
141 parent->SetDrawingMode(B_OP_OVER);
145 DrawString(bitmapField->ClippedString(), parent, r);
154 parent->TruncateString(&truncatedString, fTruncateMode, width + 2);
159 DrawString(stringField->ClippedString(), parent, rect);
165 PartitionColumn::GetPreferredWidth(BField *_field, BView* parent) const
171 float parentWidth = Inherited::GetPreferredWidth(_field, parent);
200 InitTextMargin(BView* parent) argument
484 FindRow(partition_id id, PartitionListRow* parent) argument
517 PartitionListRow* parent = NULL; local
546 PartitionListRow* parent = FindRow(parentID); local
579 _InsertIndexForOffset(PartitionListRow* parent, off_t offset) const argument
[all...]
/haiku/src/add-ons/kernel/network/stack/
H A Dnet_socket.cpp59 BWeakReference<net_socket_private> parent; member in struct:net_socket_private
119 if (parent != NULL)
120 panic("socket still has a parent!");
148 ASSERT(!is_in_socket_list && parent != NULL);
150 parent = NULL;
332 BReference<net_socket_private> parent = socket->parent.GetReference(); local
335 socket->first_protocol, socket->first_info, parent.Get(),
336 parent.IsSet() ? socket->is_connected ? " (c)" : " (p)" : "");
353 BReference<net_socket_private> parent local
630 net_socket_private* parent = (net_socket_private*)_parent; local
673 net_socket_private* parent = (net_socket_private*)_parent; local
697 net_socket_private* parent = (net_socket_private*)_parent; local
760 BReference<net_socket_private> parent = socket->parent.GetReference(); local
788 BReference<net_socket_private> parent = socket->parent.GetReference(); local
988 BReference<net_socket_private> parent = socket->parent.GetReference(); local
[all...]
/haiku/src/add-ons/kernel/busses/random/ccp/
H A Dccp.cpp55 register_device(device_node* parent) argument
63 return gDeviceManager->register_node(parent,
75 device_node* parent = gDeviceManager->get_parent_node(node); local
76 gDeviceManager->get_driver(parent, &driver, (void**)&bus);
77 gDeviceManager->put_node(parent);
/haiku/src/add-ons/kernel/file_systems/nfs4/
H A DFileInfo.cpp16 InodeName::InodeName(InodeNames* parent, const char* name) argument
18 fParent(parent),
49 InodeNames::AddName(InodeNames* parent, const char* name) argument
55 if (current->fParent == parent && !strcmp(current->fName, name))
60 InodeName* newName = new InodeName(parent, name);
69 InodeNames::RemoveName(InodeNames* parent, const char* name) argument
76 if (current->fParent == parent && !strcmp(current->fName, name)) {
/haiku/src/bin/unzip/
H A Dunshrink.c30 nodes: the parent-to-be can be cleared before its new child is added,
31 but the child is added anyway (as an orphan, as though the parent still
32 existed). When the tree fills up to the point where the parent node is
86 #define FLAG_BITS parent /* upper bits of parent[] used as flag bits */
87 #define CODE_MASK (HSIZE - 1) /* 0x1fff (lower bits are parent's index) */
91 #define parent G.area.shrink.Parent macro
139 parent[code] = BOGUSCODE;
142 parent[code] = FREE_CODE;
197 if (parent[curcod
[all...]
/haiku/src/add-ons/kernel/file_systems/packagefs/volume/
H A DPackageSettings.cpp85 Entry* parent = NULL; local
101 Entry* entry = FindEntry(parent, name);
103 entry = new(std::nothrow) Entry(parent, name);
110 parent = entry;
113 if (parent == NULL)
116 _entry = parent;
122 PackageSettingsItem::FindEntry(Entry* parent, const String& name) const argument
124 return fEntries.Lookup(EntryKey(parent, name));
129 PackageSettingsItem::FindEntry(Entry* parent, const char* name) const argument
131 return fEntries.Lookup(EntryKey(parent, nam
[all...]
/haiku/src/add-ons/kernel/drivers/input/i2c_elan/
H A DDriver.cpp203 // the parent device is removed already and none of its handlers are
227 i2c_elan_support(device_node *parent) argument
231 // make sure parent is really the I2C bus manager
233 if (sDeviceManager->get_attr_string(parent, B_DEVICE_BUS, &bus, false))
238 TRACE("i2c_elan_support found an i2c device %p\n", parent);
242 if (sDeviceManager->get_attr_uint64(parent, ACPI_DEVICE_HANDLE_ITEM,
249 if (sDeviceManager->get_attr_string(parent, ACPI_DEVICE_HID_ITEM, &name,
255 if (sDeviceManager->get_attr_string(parent, ACPI_DEVICE_CID_ITEM, &name,
291 device_node *parent; local
295 parent
[all...]
/haiku/src/add-ons/kernel/busses/mmc/
H A Dsdhci_acpi.cpp72 device_node* parent = gDeviceManager->get_parent_node(node); local
73 device_node* acpiParent = gDeviceManager->get_parent_node(parent);
77 gDeviceManager->put_node(parent);
141 device_node* parent = gDeviceManager->get_parent_node(context->fNode); local
145 gDeviceManager->get_driver(parent, (driver_module_info**)&acpi,
182 supports_device_acpi(device_node* parent) argument
188 if (gDeviceManager->get_attr_uint32(parent, ACPI_DEVICE_TYPE_ITEM, &type, false)
193 if (gDeviceManager->get_attr_string(parent, ACPI_DEVICE_HID_ITEM, &hid, false)) {
198 if (gDeviceManager->get_attr_string(parent, ACPI_DEVICE_UID_ITEM, &uid, false)) {
220 gDeviceManager->get_driver(parent, (driver_module_inf
[all...]
/haiku/src/add-ons/kernel/file_cache/
H A Dlog.cpp39 vnode_id parent; member in struct:cache_log
46 team_id parent; member in struct:cache_log::__anon3::__anon4
97 log_node_opened(void *vnode, int32 fdType, mount_id device, vnode_id parent, argument
114 log->parent = parent;
119 log->type, device, parent, node, log->file_name));
124 sCacheModule->node_opened(vnode, fdType, device, parent, node, name, size);
139 log->parent = -1;
169 // cut off path from parent team name
177 log->launch.parent
[all...]
/haiku/src/add-ons/kernel/busses/ata/it8211/
H A Dit8211.c148 probe_controller(device_node *parent) argument
150 return sATAAdapter->probe_controller(parent,
163 supports_device(device_node *parent) argument
169 if (sDeviceManager->get_attr_string(parent, B_DEVICE_BUS, &bus, false) != B_OK
170 || sDeviceManager->get_attr_uint16(parent, B_DEVICE_VENDOR_ID, &vendorID, false) != B_OK
171 || sDeviceManager->get_attr_uint16(parent, B_DEVICE_ID, &deviceID, false) != B_OK) {
/haiku/src/tests/system/kernel/slab/
H A DSlab.h72 ObjectLink *(*getLink)(void *parent, void *object), void *parent);
163 BaseCacheStrategy(BaseCache *parent) argument
164 : fParent(parent) {}
180 ObjectLink *(*getLink)(void *parent, void *object), void *parent)
183 - tailSpace, getLink, parent);
207 MergedLinkCacheStrategy(BaseCache *parent) argument
208 : BaseCacheStrategy<Backend>(parent) {}
329 HashTableDefinition(BaseHashCacheStrategy *_parent) : parent(_paren
179 _ConstructSlab(Slab *slab, void *pages, size_t tailSpace, ObjectLink *(*getLink)(void *parent, void *object), void *parent) argument
345 BaseHashCacheStrategy *parent; member in struct:BaseHashCacheStrategy::HashTableDefinition
353 BaseHashCacheStrategy(BaseCache *parent) argument
388 HashCacheStrategy(BaseCache *parent) argument
437 _PrepareSlab(BaseCache *parent, Slab *slab, void *pages, size_t byteCount, uint32_t flags) argument
458 _ClearSlab(BaseCache *parent, void *pages, size_t byteCount) argument
464 _ClearSlabRange(BaseCache *parent, uint8_t *data, uint8_t *end) argument
[all...]
/haiku/src/add-ons/kernel/busses/ata/generic_ide_pci/
H A Dgeneric_ide_pci.cpp153 probe_controller(device_node *parent) argument
155 return sATAAdapter->probe_controller(parent,
169 supports_device(device_node *parent) argument
174 // make sure parent is an PCI IDE mass storage host adapter device node
175 if (sDeviceManager->get_attr_string(parent, B_DEVICE_BUS, &bus, false) != B_OK
176 || sDeviceManager->get_attr_uint16(parent, B_DEVICE_TYPE, &baseClass, false) != B_OK
177 || sDeviceManager->get_attr_uint16(parent, B_DEVICE_SUB_TYPE, &subClass, false) != B_OK)
/haiku/src/kits/tracker/
H A DTracker.h102 const node_ref* parent);
103 // closes parent, waits for child to open first
106 const node_ref* parent);
107 // waits till child shows up in parent and selects it
109 void SelectPoseAtLocationSoon(node_ref parent, BPoint location);
174 const node_ref* parent);
178 const node_ref* parent);
179 void SelectPoseAtLocationInParent(node_ref parent, BPoint location);
/haiku/src/kits/debugger/value/value_nodes/
H A DCompoundValueNode.cpp26 Child(CompoundValueNode* parent, const BString& name) argument
28 fParent(parent),
54 BaseTypeChild(CompoundValueNode* parent, BaseType* baseType) argument
56 Child(parent, baseType->GetType()->Name()),
75 // The parent's location refers to the location of the complete
104 MemberChild(CompoundValueNode* parent, DataMember* member) argument
106 Child(parent, member->Name()),
125 // The parent's location refers to the location of the complete
/haiku/src/libs/compat/freebsd_network/
H A Ddevice.c175 return dev->parent;
361 device_add_child_driver(device_t parent, const char* name, driver_t* _driver, argument
375 parent->driver->name);
380 device_printf(parent, "couldn't find symbol %s\n", symbol);
393 child->parent = parent;
395 if (parent != NULL) {
396 list_add_item(&parent->children, child);
397 child->root = parent->root;
409 device_add_child(device_t parent, cons argument
418 device_delete_child(device_t parent, device_t child) argument
[all...]
/haiku/src/apps/deskbar/
H A DDeskbarUtils.cpp82 // if the ref is a file get the parent and convert it to a ref
84 BEntry parent; local
85 entry.GetParent(&parent);
86 parent.GetRef(&ref);
/haiku/src/add-ons/tracker/opentargetfolder/
H A Dopentargetfolder.cpp73 entry_ref parent; local
74 if (parentEntry.GetRef(&parent) != B_OK) {
85 trackerMessage.AddRef("refs", &parent);
/haiku/src/apps/debugger/user_interface/gui/teams_window/
H A DTeamsListView.h54 BView* parent);
55 virtual float GetPreferredWidth(BField* field, BView* parent) const;
59 static void InitTextMargin(BView* parent);
/haiku/src/tests/kits/interface/layout/widget_layout_test/tests/
H A DSliderTest.cpp173 // BSlider sets its background color to that of its parent in
407 // We need to get the parent of the actually selected button, since
412 View* parent = (selectedButton ? selectedButton->Parent() : NULL); local
414 parent);
425 // We need to get the parent of the actually selected button, since
430 View* parent = (selectedButton ? selectedButton->Parent() : NULL); local
432 parent);
443 // We need to get the parent of the actually selected button, since
448 View* parent = (selectedButton ? selectedButton->Parent() : NULL); local
450 = dynamic_cast<HashMarkLocationRadioButton*>(parent);
466 View* parent = (selectedButton ? selectedButton->Parent() : NULL); local
483 View* parent = (selectedButton ? selectedButton->Parent() : NULL); local
500 View* parent = (selectedButton ? selectedButton->Parent() : NULL); local
[all...]
/haiku/src/libs/libfdt/
H A Dfdt_addresses.c57 int fdt_appendprop_addrrange(void *fdt, int parent, int nodeoffset, argument
63 ret = fdt_address_cells(fdt, parent);
68 ret = fdt_size_cells(fdt, parent);
/haiku/src/add-ons/kernel/busses/scsi/ahci/
H A Dahci.c167 register_sim(device_node *parent) argument
191 status_t status = gDeviceManager->register_node(parent,
205 ahci_supports_device(device_node *parent) argument
215 if (gDeviceManager->get_attr_string(parent, B_DEVICE_BUS, &bus, false)
222 if (gDeviceManager->get_attr_uint16(parent, B_DEVICE_TYPE, &baseClass,
224 || gDeviceManager->get_attr_uint16(parent, B_DEVICE_SUB_TYPE, &subClass,
226 || gDeviceManager->get_attr_uint16(parent, B_DEVICE_INTERFACE,
228 || gDeviceManager->get_attr_uint16(parent, B_DEVICE_VENDOR_ID,
230 || gDeviceManager->get_attr_uint16(parent, B_DEVICE_ID, &deviceID,
249 gDeviceManager->get_driver(parent, (driver_module_inf
263 ahci_register_device(device_node *parent) argument
[all...]
/haiku/headers/private/kernel/
H A Dusergroup.h27 void inherit_parent_user_and_group(Team* team, Team* parent);
/haiku/src/add-ons/input_server/devices/wacom/
H A DPointingDevice.h15 PointingDevice(MasterServerDevice* parent,

Completed in 115 milliseconds

1234567891011>>