Searched refs:parent (Results 51 - 75 of 666) sorted by relevance

1234567891011>>

/haiku/src/apps/devices/
H A DDeviceUSB.h17 DeviceUSB(Device* parent);
/haiku/src/add-ons/kernel/file_systems/userlandfs/server/fuse/
H A DFUSELowLevel.h20 int fuse_ll_lookup(const fuse_lowlevel_ops* ops, fuse_ino_t parent, const char *name,
26 int fuse_ll_mkdir(const fuse_lowlevel_ops* ops, fuse_ino_t parent, const char *name,
28 int fuse_ll_unlink(const fuse_lowlevel_ops* ops, fuse_ino_t parent, const char *name);
29 int fuse_ll_rmdir(const fuse_lowlevel_ops* ops, fuse_ino_t parent, const char *name);
30 int fuse_ll_symlink(const fuse_lowlevel_ops* ops, const char* link, fuse_ino_t parent,
32 int fuse_ll_rename(const fuse_lowlevel_ops* ops, fuse_ino_t parent, const char *name,
54 int fuse_ll_create(const fuse_lowlevel_ops* ops, fuse_ino_t parent, const char *name,
H A DFUSEEntry.h39 FUSENode* parent; member in struct:UserlandFS::FUSEEntry
56 static FUSEEntry* Create(FUSENode* parent, const char* name, FUSENode* node) argument
68 entry->parent = parent;
102 return entry != NULL ? entry->parent : NULL;
115 { return HashKey(FUSEEntryRef(value->parent->id, value->name)); }
117 { return value->parent->id == key.parentID
/haiku/src/add-ons/kernel/file_systems/packagefs/volume/
H A DPackageSettings.h22 Entry(Entry* parent, const String& name) argument
24 fParent(parent),
64 EntryKey(Entry* parent, const char* name) argument
66 fParent(parent),
68 fHash((addr_t)parent / 8 ^ hash_hash_string(name))
72 EntryKey(Entry* parent, const String& name) argument
74 fParent(parent),
76 fHash((addr_t)parent / 8 ^ name.Hash())
115 Entry* FindEntry(Entry* parent, const String& name)
117 Entry* FindEntry(Entry* parent, cons
[all...]
/haiku/src/system/boot/loader/file_systems/packagefs/
H A DPackageSettingsItem.cpp112 Entry* parent = NULL; local
127 Entry* entry = FindEntry(parent, name, nameLength);
129 entry = new(std::nothrow) Entry(parent);
138 parent = entry;
141 if (parent == NULL)
144 _entry = parent;
150 PackageSettingsItem::FindEntry(Entry* parent, const char* name) const argument
152 return fEntries.Lookup(EntryKey(parent, name));
157 PackageSettingsItem::FindEntry(Entry* parent, const char* name, argument
160 return fEntries.Lookup(EntryKey(parent, nam
[all...]
/haiku/src/tests/system/kernel/device_manager/playground/
H A Ddriver.cpp20 supports_device(device_node* parent) argument
24 if (gDeviceManager->get_attr_string(parent, B_DRIVER_BUS, &bus, false)
34 gDeviceManager->get_driver(parent, (driver_module_info**)&module, &data);
50 register_device(device_node* parent) argument
52 return gDeviceManager->register_node(parent, DRIVER_MODULE_NAME, NULL,
H A Dgeneric_video_driver.cpp21 supports_device(device_node* parent) argument
25 gDeviceManager->get_driver(parent, (driver_module_info**)&module, &data);
31 if (gDeviceManager->get_attr_uint16(parent, B_DEVICE_TYPE, &type, false)
43 register_device(device_node* parent) argument
45 return gDeviceManager->register_node(parent, DRIVER_MODULE_NAME, NULL,
/haiku/src/add-ons/kernel/file_systems/nfs4/
H A DInodeIdMap.cpp14 InodeIdMap::AddName(FileInfo& fileInfo, InodeNames* parent, argument
21 return iterator.CurrentValuePointer()->fNames->AddName(parent,
32 status_t result = fileInfo.fNames->AddName(parent, name);
43 InodeIdMap::RemoveName(ino_t id, InodeNames* parent, const char* name) argument
54 return fileInfo->fNames->RemoveName(parent, name);
H A DInodeIdMap.h26 InodeNames* parent,
29 InodeNames* parent,
/haiku/src/add-ons/kernel/bus_managers/virtio/
H A Dvirtio_balloon.cpp60 virtio_balloon_supports_device(device_node *parent) argument
65 // make sure parent is really the Virtio bus manager
66 if (gDeviceManager->get_attr_string(parent, B_DEVICE_BUS, &bus, false))
73 if (gDeviceManager->get_attr_uint16(parent, VIRTIO_DEVICE_TYPE_ITEM,
84 virtio_balloon_register_device(device_node *parent) argument
92 return gDeviceManager->register_node(parent, VIRTIO_BALLOON_DRIVER_MODULE_NAME,
/haiku/src/libs/compat/freebsd_network/compat/net/
H A Dvnet.h122 #define SYSCTL_VNET_PCPUSTAT(parent, nbr, name, type, array, desc) \
135 SYSCTL_VNET_PROC(parent, nbr, name, CTLTYPE_OPAQUE | CTLFLAG_RW, NULL, \
298 #define SYSCTL_VNET_INT(parent, nbr, name, access, ptr, val, descr) \
299 SYSCTL_OID(parent, nbr, name, \
302 #define SYSCTL_VNET_PROC(parent, nbr, name, access, ptr, arg, handler, \
305 SYSCTL_OID(parent, nbr, name, CTLFLAG_VNET|(access), ptr, arg, \
307 #define SYSCTL_VNET_OPAQUE(parent, nbr, name, access, ptr, len, fmt, \
309 SYSCTL_OID(parent, nbr, name, \
312 #define SYSCTL_VNET_STRING(parent, nbr, name, access, arg, len, descr) \
313 SYSCTL_OID(parent, nb
[all...]
/haiku/src/kits/storage/disk_device/
H A DPartition.cpp359 // The path is constructed on the fly using our parent
363 // get the parent's path
371 // Our parent is a device, so we replace `raw' by our index.
378 // Our parent is a normal partition, no device: Append our index.
800 BPartition* parent = Parent(); local
801 if (parent == NULL)
804 if (!parent->_SupportsChildOperation(this,
820 BPartition* parent = Parent(); local
821 if (parent == NULL || fDelegate == NULL)
824 status_t error = parent
846 BPartition* parent = Parent(); local
888 BPartition* parent = Parent(); local
919 BPartition* parent = Parent(); local
944 BPartition* parent = Parent(); local
965 BPartition* parent = Parent(); local
977 BPartition* parent = Parent(); local
988 BPartition* parent = Parent(); local
1028 BPartition* parent = Parent(); local
1040 BPartition* parent = Parent(); local
1051 BPartition* parent = Parent(); local
1062 BPartition* parent = Parent(); local
1085 BPartition* parent = Parent(); local
1097 BPartition* parent = Parent(); local
1129 BPartition* parent = Parent(); local
1158 BPartition* parent = Parent(); local
1277 _SetTo(BDiskDevice* device, BPartition* parent, user_partition_data* data) argument
[all...]
/haiku/src/apps/cortex/ValControl/
H A DValControlSegment.cpp74 // get parent
76 ValControlSegment::parent() const function in class:ValControlSegment
143 // if(parent()->backBuffer())
146 // adopt parent's view color
147 SetViewColor(parent()->ViewColor());
158 float fY = parent()->baselineOffset() + 1;
166 if(parent()->IsEnabled() && parent()->IsFocus())
201 if (!parent()->IsEnabled())
204 parent()
[all...]
/haiku/src/apps/haikudepot/server/
H A DStandardMetaDataJsonEventListener.cpp21 SmdStackedEventListener* parent);
51 SmdStackedEventListener* parent);
65 SmdStackedEventListener* parent);
80 SmdStackedEventListener* parent)
83 fParent = parent;
141 SmdStackedEventListener* parent)
143 SmdStackedEventListener(mainListener, parent)
201 SmdStackedEventListener* parent)
203 SmdStackedEventListener(mainListener, parent)
78 SmdStackedEventListener( StandardMetaDataJsonEventListener* mainListener, SmdStackedEventListener* parent) argument
139 SmdStackedArrayEventListener( StandardMetaDataJsonEventListener* mainListener, SmdStackedEventListener* parent) argument
198 SmdStackedObjectMessageEventListener( BStringList* jsonPathObjectNames, StandardMetaDataJsonEventListener* mainListener, SmdStackedEventListener* parent) argument
/haiku/src/add-ons/kernel/drivers/power/acpi_button/
H A Dacpi_button.cpp87 device_node *parent; local
95 parent = sDeviceManager->get_parent_node(node);
96 sDeviceManager->get_driver(parent, (driver_module_info **)&device->acpi,
100 if (sDeviceManager->get_attr_string(parent, ACPI_DEVICE_HID_ITEM, &hid,
102 sDeviceManager->put_node(parent);
106 sDeviceManager->put_node(parent);
254 acpi_button_support(device_node *parent) argument
260 // make sure parent is really the ACPI bus manager
261 if (sDeviceManager->get_attr_string(parent, B_DEVICE_BUS, &bus, false))
268 if (sDeviceManager->get_attr_uint32(parent, ACPI_DEVICE_TYPE_ITE
318 device_node *parent = sDeviceManager->get_parent_node(node); local
[all...]
/haiku/src/libs/compat/openbsd_wlan/sys/
H A Dtree.h52 * - each red node (except for the root) has a black parent,
311 struct type *rbe_parent; /* parent element */ \
322 #define RB_SET(elm, parent, field) do { \
323 RB_PARENT(elm, field) = parent; \
405 struct type *parent, *gparent, *tmp; \
406 while ((parent = RB_PARENT(elm, field)) && \
407 RB_COLOR(parent, field) == RB_RED) { \
408 gparent = RB_PARENT(parent, field); \
409 if (parent == RB_LEFT(gparent, field)) { \
413 RB_SET_BLACKRED(parent, gparen
[all...]
/haiku/src/apps/drivesetup/
H A DPartitionList.h51 BView* parent);
52 virtual float GetPreferredWidth(BField* field, BView* parent) const;
56 static void InitTextMargin(BView* parent);
103 PartitionListRow* parent = NULL);
105 PartitionListRow* AddSpace(partition_id parent,
111 int32 _InsertIndexForOffset(PartitionListRow* parent,
H A DCreateParametersPanel.h23 BPartition* parent, off_t offset,
40 void _CreateCreateControls(BPartition* parent,
/haiku/src/add-ons/kernel/busses/random/ccp/
H A Dccp_acpi.cpp109 register_device(device_node* parent) argument
118 return gDeviceManager->register_node(parent,
124 supports_device(device_node* parent) argument
128 // make sure parent is a CCP ACPI device node
129 if (gDeviceManager->get_attr_string(parent, B_DEVICE_BUS, &bus, false)
139 if (gDeviceManager->get_attr_uint32(parent, ACPI_DEVICE_TYPE_ITEM,
147 if (gDeviceManager->get_attr_string(parent, ACPI_DEVICE_HID_ITEM, &name,
H A Dccp_pci.cpp88 register_device(device_node* parent) argument
97 return gDeviceManager->register_node(parent,
103 supports_device(device_node* parent) argument
108 // make sure parent is a CCP PCI device node
109 if (gDeviceManager->get_attr_string(parent, B_DEVICE_BUS, &bus, false)
110 < B_OK || gDeviceManager->get_attr_uint16(parent, B_DEVICE_VENDOR_ID,
112 || gDeviceManager->get_attr_uint16(parent, B_DEVICE_ID, &deviceID,
/haiku/src/libs/iconv/
H A Dloop_wchar.h51 struct conv_struct parent; member in struct:wchar_conv_struct
83 size_t res = unicode_loop_convert(&plocals->l_wcd->parent,
151 if (wcd->parent.discard_ilseq) {
155 else if (wcd->parent.fallbacks.wc_to_mb_fallback != NULL) {
169 wcd->parent.fallbacks.wc_to_mb_fallback(*fallback_inptr,
172 wcd->parent.fallbacks.data);
203 size_t res = unicode_loop_convert(&wcd->parent,
242 return unicode_loop_reset(&wcd->parent,NULL,NULL);
255 size_t res = unicode_loop_convert(&wcd->parent,
264 res = unicode_loop_reset(&wcd->parent,
[all...]
/haiku/src/apps/diskusage/
H A DScanner.cpp194 FileInfo *parent = startInfo->parent; local
195 vector<FileInfo *>::iterator i = parent->children.begin();
196 FileInfo* newInfo = _GetFileInfo(&startDir, parent);
204 while (i != parent->children.end() && *i != startInfo)
207 int idx = i - parent->children.begin();
208 parent->children[idx] = newInfo;
210 // Fixup count and size fields in parent directory.
213 while (parent != NULL) {
214 parent
229 _GetFileInfo(BDirectory* dir, FileInfo* parent) argument
[all...]
/haiku/src/add-ons/kernel/bus_managers/usb/
H A DInterface.cpp12 Interface::Interface(Object *parent, uint8 interfaceIndex) argument
13 : Object(parent),
/haiku/src/apps/debuganalyzer/gui/
H A DSubWindowManager.cpp15 SubWindowManager::SubWindowManager(BLooper* parent) argument
17 fParent(parent),
/haiku/src/tests/servers/launch/
H A DUtilityTest.cpp48 UtilityTest::AddTests(BTestSuite& parent) argument
55 parent.addTest("UtilityTest", &suite);

Completed in 120 milliseconds

1234567891011>>