Home
last modified time | relevance | path

Searched refs:battr (Results 1 – 25 of 171) sorted by relevance

1234567

/dports/multimedia/v4l_compat/linux-5.13-rc2/fs/sysfs/
H A Dfile.c97 if (!battr->read) in sysfs_kf_bin_read()
100 return battr->read(of->file, kobj, battr, buf, pos, count); in sysfs_kf_bin_read()
158 if (!battr->write) in sysfs_kf_bin_write()
161 return battr->write(of->file, kobj, battr, buf, pos, count); in sysfs_kf_bin_write()
170 return battr->mmap(of->file, kobj, battr, vma); in sysfs_kf_bin_mmap()
177 if (battr->mapping) in sysfs_kf_bin_open()
298 if (battr->mmap) in sysfs_add_file_mode_ns()
300 else if (battr->read && battr->write) in sysfs_add_file_mode_ns()
302 else if (battr->read) in sysfs_add_file_mode_ns()
304 else if (battr->write) in sysfs_add_file_mode_ns()
[all …]
/dports/multimedia/libv4l/linux-5.13-rc2/fs/sysfs/
H A Dfile.c97 if (!battr->read) in sysfs_kf_bin_read()
100 return battr->read(of->file, kobj, battr, buf, pos, count); in sysfs_kf_bin_read()
158 if (!battr->write) in sysfs_kf_bin_write()
161 return battr->write(of->file, kobj, battr, buf, pos, count); in sysfs_kf_bin_write()
170 return battr->mmap(of->file, kobj, battr, vma); in sysfs_kf_bin_mmap()
177 if (battr->mapping) in sysfs_kf_bin_open()
298 if (battr->mmap) in sysfs_add_file_mode_ns()
300 else if (battr->read && battr->write) in sysfs_add_file_mode_ns()
302 else if (battr->read) in sysfs_add_file_mode_ns()
304 else if (battr->write) in sysfs_add_file_mode_ns()
[all …]
/dports/multimedia/v4l-utils/linux-5.13-rc2/fs/sysfs/
H A Dfile.c97 if (!battr->read) in sysfs_kf_bin_read()
100 return battr->read(of->file, kobj, battr, buf, pos, count); in sysfs_kf_bin_read()
158 if (!battr->write) in sysfs_kf_bin_write()
161 return battr->write(of->file, kobj, battr, buf, pos, count); in sysfs_kf_bin_write()
170 return battr->mmap(of->file, kobj, battr, vma); in sysfs_kf_bin_mmap()
177 if (battr->mapping) in sysfs_kf_bin_open()
298 if (battr->mmap) in sysfs_add_file_mode_ns()
300 else if (battr->read && battr->write) in sysfs_add_file_mode_ns()
302 else if (battr->read) in sysfs_add_file_mode_ns()
304 else if (battr->write) in sysfs_add_file_mode_ns()
[all …]
/dports/mail/grepmail/grepmail-5.3033/inc/
H A Dbase.pm122 my $battr = get_attr($base);
127 $dattr->[0] = @$battr;
147 if( $battr->[$v] & PRIVATE ) {
151 $dattr->[$v] = INHERITED | $battr->[$v];
156 foreach my $idx (1..$#{$battr}) {
158 $dattr->[$idx] = $battr->[$idx] & INHERITED;
/dports/audio/libao/libao-1.2.0/src/plugins/pulse/
H A Dao_pulse.c189 struct pa_buffer_attr battr; in ao_plugin_open() local
259 battr.prebuf = battr.minreq = battr.fragsize = -1; in ao_plugin_open()
261 battr.tlength = (int)(internal->buffer_time * format->rate) / 1000000 * in ao_plugin_open()
263 battr.minreq = battr.tlength/4; in ao_plugin_open()
264 battr.maxlength = battr.tlength+battr.minreq; in ao_plugin_open()
268 (device->input_map ? &map : NULL), &battr, NULL); in ao_plugin_open()
/dports/devel/plan9port/plan9port-1f098efb7370a0b28306d10681e21883fb1c1507/src/cmd/pic/
H A Dboxgen.c9 int i, at, battr, with; in boxgen() local
17 at = battr = with = 0; in boxgen()
42 battr |= INVIS; in boxgen()
45 battr |= NOEDGEBIT; in boxgen()
49 battr |= ap->a_type==DOT ? DOTBIT : DASHBIT; in boxgen()
56 battr |= FILLBIT; in boxgen()
100 p->o_attr = battr; in boxgen()
H A Dcircgen.c9 int i, at, t, with, battr; in circgen() local
17 battr = at = 0; in circgen()
56 battr |= INVIS; in circgen()
59 battr |= NOEDGEBIT; in circgen()
63 battr |= ap->a_type==DOT ? DOTBIT : DASHBIT; in circgen()
70 battr |= FILLBIT; in circgen()
110 p->o_attr = battr; in circgen()
/dports/devel/plan9port/plan9port-1f098efb7370a0b28306d10681e21883fb1c1507/src/cmd/svgpic/
H A Dboxgen.c9 int i, at, battr, with; in boxgen() local
17 at = battr = with = 0; in boxgen()
42 battr |= INVIS; in boxgen()
45 battr |= NOEDGEBIT; in boxgen()
49 battr |= ap->a_type==DOT ? DOTBIT : DASHBIT; in boxgen()
56 battr |= FILLBIT; in boxgen()
100 p->o_attr = battr; in boxgen()
H A Dcircgen.c9 int i, at, t, with, battr; in circgen() local
17 battr = at = 0; in circgen()
56 battr |= INVIS; in circgen()
59 battr |= NOEDGEBIT; in circgen()
63 battr |= ap->a_type==DOT ? DOTBIT : DASHBIT; in circgen()
70 battr |= FILLBIT; in circgen()
110 p->o_attr = battr; in circgen()
/dports/textproc/heirloom-doctools/heirloom-doctools-160308/pic/
H A Dboxgen.c21 int i, at, battr, with; in boxgen() local
29 at = battr = with = 0; in boxgen()
54 battr |= INVIS; in boxgen()
57 battr |= NOEDGEBIT; in boxgen()
61 battr |= ap->a_type==DOT ? DOTBIT : DASHBIT; in boxgen()
68 battr |= FILLBIT; in boxgen()
112 p->o_attr = battr; in boxgen()
H A Dcircgen.c21 int i, at, t, with, battr; in circgen() local
27 battr = at = 0; in circgen()
66 battr |= INVIS; in circgen()
69 battr |= NOEDGEBIT; in circgen()
73 battr |= ap->a_type==DOT ? DOTBIT : DASHBIT; in circgen()
80 battr |= FILLBIT; in circgen()
120 p->o_attr = battr; in circgen()
/dports/devel/p5-libxml-enno/libxml-enno-1.02/t/
H A Ddom_attr.t52 my $battr = $bart->getAttributes;
53 assert_ok ($battr->getLength == 3);
62 my $hair = $battr->getNamedItem ("hair");
71 $hair2 = $battr->getNamedItem ("hair");
76 $battr->setNamedItem ($doc->createAttribute ("hair", "pointy"));
79 $hair2 = $battr->getNamedItem ("hair");
90 assert_ok ($battr->getLength == 3);
111 $hair2 = $battr->getNamedItem ("hair");
H A Ddom_jp_attr.t104 my $battr = $bart->getAttributes;
105 assert_ok ($battr->getLength == 3);
114 my $hair = $battr->getNamedItem ("髪");
123 $hair2 = $battr->getNamedItem ("髪");
128 $battr->setNamedItem ($doc->createAttribute ("髪", "つんつん"));
131 $hair2 = $battr->getNamedItem ("髪");
142 assert_ok ($battr->getLength == 3);
163 $hair2 = $battr->getNamedItem ("髪");
/dports/textproc/p5-XML-DOM/XML-DOM-1.46/t/
H A Ddom_attr.t52 my $battr = $bart->getAttributes;
53 assert_ok ($battr->getLength == 3);
62 my $hair = $battr->getNamedItem ("hair");
71 $hair2 = $battr->getNamedItem ("hair");
76 $battr->setNamedItem ($doc->createAttribute ("hair", "pointy"));
79 $hair2 = $battr->getNamedItem ("hair");
90 assert_ok ($battr->getLength == 3);
114 $hair2 = $battr->getNamedItem ("hair");
H A Ddom_jp_attr.t105 my $battr = $bart->getAttributes;
106 assert_ok ($battr->getLength == 3);
115 my $hair = $battr->getNamedItem ("髪");
124 $hair2 = $battr->getNamedItem ("髪");
129 $battr->setNamedItem ($doc->createAttribute ("髪", "つんつん"));
132 $hair2 = $battr->getNamedItem ("髪");
143 assert_ok ($battr->getLength == 3);
164 $hair2 = $battr->getNamedItem ("髪");
/dports/lang/perl5.34/perl-5.34.0/dist/base/lib/
H A Dbase.pm201 my $battr = get_attr($base);
206 $dattr->[0] = @$battr;
227 if( $battr->[$v] & PRIVATE ) {
231 $dattr->[$v] = INHERITED | $battr->[$v];
236 foreach my $idx (1..$#{$battr}) {
238 $dattr->[$idx] = $battr->[$idx] & INHERITED;
/dports/lang/perl5.32/perl-5.32.1/dist/base/lib/
H A Dbase.pm201 my $battr = get_attr($base);
206 $dattr->[0] = @$battr;
227 if( $battr->[$v] & PRIVATE ) {
231 $dattr->[$v] = INHERITED | $battr->[$v];
236 foreach my $idx (1..$#{$battr}) {
238 $dattr->[$idx] = $battr->[$idx] & INHERITED;
/dports/lang/perl5.30/perl-5.30.3/dist/base/lib/
H A Dbase.pm201 my $battr = get_attr($base);
206 $dattr->[0] = @$battr;
227 if( $battr->[$v] & PRIVATE ) {
231 $dattr->[$v] = INHERITED | $battr->[$v];
236 foreach my $idx (1..$#{$battr}) {
238 $dattr->[$idx] = $battr->[$idx] & INHERITED;
/dports/lang/perl5-devel/perl5-5.35.4-102-ge43d289c7c/dist/base/lib/
H A Dbase.pm201 my $battr = get_attr($base);
206 $dattr->[0] = @$battr;
227 if( $battr->[$v] & PRIVATE ) {
231 $dattr->[$v] = INHERITED | $battr->[$v];
236 foreach my $idx (1..$#{$battr}) {
238 $dattr->[$idx] = $battr->[$idx] & INHERITED;
/dports/devel/plan9port/plan9port-1f098efb7370a0b28306d10681e21883fb1c1507/src/cmd/tpic/
H A Dboxgen.c10 int i, at, battr, with; in boxgen() local
18 at = battr = with = 0; in boxgen()
43 battr |= INVIS; in boxgen()
47 battr |= ap->a_type==DOT ? DOTBIT : DASHBIT; in boxgen()
54 battr |= FILLBIT; in boxgen()
98 p->o_attr = battr; in boxgen()
H A Dcircgen.c10 int i, at, t, with, battr; in circgen() local
16 battr = at = 0; in circgen()
58 battr |= INVIS; in circgen()
62 battr |= ap->a_type==DOT ? DOTBIT : DASHBIT; in circgen()
69 battr |= FILLBIT; in circgen()
109 p->o_attr = battr; in circgen()
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/misc/
H A Dsram.c31 part = container_of(attr, struct sram_partition, battr); in sram_read()
46 part = container_of(attr, struct sram_partition, battr); in sram_write()
78 sysfs_bin_attr_init(&part->battr); in sram_add_export()
82 if (!part->battr.attr.name) in sram_add_export()
85 part->battr.attr.mode = S_IRUSR | S_IWUSR; in sram_add_export()
86 part->battr.read = sram_read; in sram_add_export()
87 part->battr.write = sram_write; in sram_add_export()
88 part->battr.size = block->size; in sram_add_export()
90 return device_create_bin_file(sram->dev, &part->battr); in sram_add_export()
138 if (part->battr.size) in sram_free_partitions()
[all …]
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/misc/
H A Dsram.c31 part = container_of(attr, struct sram_partition, battr); in sram_read()
46 part = container_of(attr, struct sram_partition, battr); in sram_write()
78 sysfs_bin_attr_init(&part->battr); in sram_add_export()
82 if (!part->battr.attr.name) in sram_add_export()
85 part->battr.attr.mode = S_IRUSR | S_IWUSR; in sram_add_export()
86 part->battr.read = sram_read; in sram_add_export()
87 part->battr.write = sram_write; in sram_add_export()
88 part->battr.size = block->size; in sram_add_export()
90 return device_create_bin_file(sram->dev, &part->battr); in sram_add_export()
138 if (part->battr.size) in sram_free_partitions()
[all …]
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/misc/
H A Dsram.c31 part = container_of(attr, struct sram_partition, battr); in sram_read()
46 part = container_of(attr, struct sram_partition, battr); in sram_write()
78 sysfs_bin_attr_init(&part->battr); in sram_add_export()
82 if (!part->battr.attr.name) in sram_add_export()
85 part->battr.attr.mode = S_IRUSR | S_IWUSR; in sram_add_export()
86 part->battr.read = sram_read; in sram_add_export()
87 part->battr.write = sram_write; in sram_add_export()
88 part->battr.size = block->size; in sram_add_export()
90 return device_create_bin_file(sram->dev, &part->battr); in sram_add_export()
138 if (part->battr.size) in sram_free_partitions()
[all …]
/dports/net/openmpi3/openmpi-3.1.6/opal/mca/hwloc/hwloc1117/hwloc/src/
H A Dpci-common.c501 struct hwloc_bridge_attr_s *battr; in hwloc_pci_prepare_bridge() local
510 battr = &obj->attr->bridge; in hwloc_pci_prepare_bridge()
522 battr->upstream_type = HWLOC_OBJ_BRIDGE_PCI; in hwloc_pci_prepare_bridge()
523 battr->downstream_type = HWLOC_OBJ_BRIDGE_PCI; in hwloc_pci_prepare_bridge()
524 battr->downstream.pci.domain = pattr->domain; in hwloc_pci_prepare_bridge()
525 battr->downstream.pci.secondary_bus = config[HWLOC_PCI_SECONDARY_BUS]; in hwloc_pci_prepare_bridge()
526 battr->downstream.pci.subordinate_bus = config[HWLOC_PCI_SUBORDINATE_BUS]; in hwloc_pci_prepare_bridge()
528 if (battr->downstream.pci.secondary_bus <= pattr->bus in hwloc_pci_prepare_bridge()
529 || battr->downstream.pci.subordinate_bus <= pattr->bus in hwloc_pci_prepare_bridge()
530 || battr->downstream.pci.secondary_bus > battr->downstream.pci.subordinate_bus) { in hwloc_pci_prepare_bridge()
[all …]

1234567