Searched refs:mask (Results 101 - 125 of 447) sorted by relevance

1234567891011>>

/haiku/src/add-ons/kernel/drivers/input/hid_shared/
H A DHIDReport.cpp298 uint32 mask = 0x80000000; local
300 if (minimum & mask) {
301 minimum |= mask;
302 if (maximum & mask)
303 maximum |= mask;
307 mask >>= 8;
308 mask |= 0xff000000;
/haiku/src/kits/storage/sniffer/
H A DPattern.cpp20 Pattern::Pattern(const std::string &string, const std::string &mask) argument
24 SetTo(string, mask);
31 // Build a mask with all bits turned on of the
33 std::string mask = ""; local
35 mask += (char)0xFF;
36 SetTo(string, mask);
65 Pattern::SetTo(const std::string &string, const std::string &mask) { argument
70 fMask = mask;
72 // dumpStr(mask, "mask");
[all...]
/haiku/src/add-ons/media/media-add-ons/radeon/
H A DVideoIn.cpp370 int mask, counter; local
372 if ((mask = fCapture.WaitInterrupts(sequence, when, fBufferPeriod)) == 0)
375 *number = ((mask & (C_RADEON_CAPTURE_BUF0_INT | C_RADEON_CAPTURE_BUF1_INT)) != 0 ? 0 : 1);
378 ((mask & C_RADEON_CAPTURE_BUF0_INT) != 0 ? fBuffer0 :
379 (mask & C_RADEON_CAPTURE_BUF1_INT) != 0 ? fBuffer1 :
380 (mask & C_RADEON_CAPTURE_BUF0_EVEN_INT) != 0 ? fBuffer0 + fBufferLength :
381 (mask & C_RADEON_CAPTURE_BUF1_EVEN_INT) != 0 ? fBuffer1 + fBufferLength : 0);
421 static const unsigned short mask[] = { local
438 : "r" (convert_buffer), "r" (bits), "r" (bitsLength), "m" (mask));
/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/
H A Dacls.c767 || (poldace->mask & (GENERIC_ALL | GENERIC_READ
775 if (pnewace->mask & GENERIC_ALL) {
776 pnewace->mask &= ~GENERIC_ALL;
778 pnewace->mask |= OWNER_RIGHTS
787 pnewace->mask |= OWNER_RIGHTS
794 if (pnewace->mask & GENERIC_READ) {
796 pnewace->mask |= OWNER_RIGHTS
800 pnewace->mask |= OWNER_RIGHTS
803 pnewace->mask &= ~(GENERIC_READ
811 if (pnewace->mask
1311 ntfs_build_basic_posix( const struct POSIX_SECURITY *pxdesc __attribute__((unused)), mode_t mode, mode_t mask, BOOL isdir __attribute__((unused))) argument
1356 ntfs_build_inherited_posix( const struct POSIX_SECURITY *pxdesc, mode_t mode, mode_t mask, BOOL isdir) argument
1600 u16 mask; member in struct:BUILD_CONTEXT
[all...]
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/contrib/ath_hal/ar9300/
H A Dar9300_gpio.c411 unsigned int mask = 0; local
414 mask = ahp->ah_gpio_cause;
415 return mask;
535 * get the GPIO input pin mask
543 u_int32_t mask = (1 << (AR9382_MAX_GPIO_INPUT_PIN_NUM + 1) ) - 1; local
546 mask = (1 << AR9382_MAX_GPIO_PIN_NUM) - 1;
547 mask &= ~(1 << AR9382_GPIO_PIN_8_RESERVED);
549 return mask;
553 ar9300_gpio_set_mask(struct ath_hal *ah, u_int32_t mask, u_int32_t pol_map) argument
561 if (mask
[all...]
/haiku/src/add-ons/kernel/drivers/audio/ac97/auich/
H A Dmulti.c56 uint16 value, mask; local
64 mask = ((1 << (info->bits + 1)) - 1) << 8;
65 gain = ((value & mask) >> 8) * info->granularity;
71 mask = ((1 << (info->bits + 1)) - 1);
72 gain = (value & mask) * info->granularity;
78 mask = ((1 << (info->bits + 1)) - 1);
79 gain = (value & mask) * info->granularity;
87 mask = ((1 << 1) - 1) << 15;
90 value &= mask;
94 mask
115 uint16 value, mask; local
[all...]
/haiku/src/add-ons/kernel/drivers/audio/ac97/auvia/
H A Dmulti.c51 uint16 value, mask; local
59 mask = ((1 << (info->bits + 1)) - 1) << 8;
60 gain = ((value & mask) >> 8) * info->granularity;
66 mask = ((1 << (info->bits + 1)) - 1);
67 gain = (value & mask) * info->granularity;
73 mask = ((1 << (info->bits + 1)) - 1);
74 gain = (value & mask) * info->granularity;
82 mask = ((1 << 1) - 1) << 15;
85 value &= mask;
89 mask
109 uint16 value, mask; local
[all...]
/haiku/src/add-ons/kernel/drivers/audio/ac97/geode/
H A Dgeode_multi.cpp190 uint16 value, mask; local
198 mask = ((1 << (info->bits + 1)) - 1) << 8;
199 gain = ((value & mask) >> 8) * info->granularity;
205 mask = ((1 << (info->bits + 1)) - 1);
206 gain = (value & mask) * info->granularity;
212 mask = ((1 << (info->bits + 1)) - 1);
213 gain = (value & mask) * info->granularity;
221 mask = ((1 << 1) - 1) << 15;
224 value &= mask;
228 mask
248 uint16 value, mask; local
[all...]
/haiku/src/add-ons/disk_systems/bfs/
H A DBFSAddOn.h42 virtual uint32 SupportedOperations(uint32 mask);
/haiku/src/add-ons/disk_systems/ntfs/
H A DNTFSAddOn.h49 virtual uint32 SupportedOperations(uint32 mask);
/haiku/src/add-ons/kernel/file_systems/userlandfs/server/beos/
H A Dfs_cache_priv.h27 int mask; /* == max - 1 */ member in struct:hash_table
/haiku/src/system/libroot/posix/glibc/intl/
H A Dloadinfo.h81 const char *dirlist, size_t dirlist_len, int mask,
/haiku/src/add-ons/kernel/busses/ata/generic_ide_pci/
H A Dgeneric_ide_pci.cpp35 ata_reg_mask mask)
38 (ata_adapter_channel_info *)channel_cookie, tf, mask);
44 ata_reg_mask mask)
47 (ata_adapter_channel_info *)channel_cookie, tf, mask);
34 write_command_block_regs(void *channel_cookie, ata_task_file *tf, ata_reg_mask mask) argument
43 read_command_block_regs(void *channel_cookie, ata_task_file *tf, ata_reg_mask mask) argument
/haiku/src/add-ons/disk_systems/fat/
H A DFATAddOn.h50 virtual uint32 SupportedOperations(uint32 mask);
/haiku/src/add-ons/disk_systems/btrfs/
H A DBTRFSAddOn.h44 virtual uint32 SupportedOperations(uint32 mask);
/haiku/src/servers/app/
H A DDrawState.cpp151 uint16 mask; local
152 link.Read<uint16>(&mask);
154 if ((mask & B_FONT_FAMILY_AND_STYLE) != 0) {
160 if ((mask & B_FONT_SIZE) != 0) {
167 if ((mask & B_FONT_SHEAR) != 0) {
173 if ((mask & B_FONT_ROTATION) != 0) {
179 if ((mask & B_FONT_FALSE_BOLD_WIDTH) != 0) {
185 if ((mask & B_FONT_SPACING) != 0) {
191 if ((mask & B_FONT_ENCODING) != 0) {
197 if ((mask
554 SetAlphaMask(AlphaMask* mask) argument
[all...]
/haiku/src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/rtl8812a/
H A Dr12a_init.c69 uint8_t mask[4]; local
86 mask[nmasks] = R12A_COND_GPA;
87 mask[nmasks] |= R12A_COND_TYPE(rs->type_pa_2g);
91 mask[nmasks] = R12A_COND_APA;
92 mask[nmasks] |= R12A_COND_TYPE(rs->type_pa_5g);
96 mask[nmasks] = R12A_COND_GLNA;
97 mask[nmasks] |= R12A_COND_TYPE(rs->type_lna_2g);
101 mask[nmasks] = R12A_COND_ALNA;
102 mask[nmasks] |= R12A_COND_TYPE(rs->type_lna_5g);
108 if ((cond[i] & mask[
[all...]
/haiku/src/add-ons/kernel/drivers/graphics/radeon/
H A Dpll_access.c83 // write "val" to PLL-register "addr" keeping bits "mask"
85 uint32 val, uint32 mask )
88 tmp &= mask;
/haiku/src/apps/devices/
H A DResourceUsageWindow.cpp267 uint32 mask = 1; local
269 for (int i=0;i<16;mask<<=1,i++) {
284 if (mask & r.d.m.mask) {
299 uint32 mask = 1; local
301 for (int i=0;i<8;mask<<=1,i++) {
316 if (mask & r.d.m.mask) {
/haiku/src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/rtl8192c/
H A Dr92c_init.c60 uint8_t mask; local
72 mask = R92C_COND_RTL8188RU;
74 mask = R92C_COND_RTL8188CE;
76 mask = R92C_COND_RTL8188CU;
79 mask = R92C_COND_RTL8192CE;
81 mask = R92C_COND_RTL8192CU;
85 if ((cond[i] & mask) == mask)
/haiku/src/libs/compat/freebsd_network/
H A Dfbsd_if_media.c77 int flags, int mask);
358 ifmedia_match(ifm, target, mask)
361 int mask;
366 mask = ~mask;
369 if ((next->ifm_media & mask) == (target & mask)) {
373 "0x%x/0x%x\n", target, mask);
/haiku/src/system/libroot/posix/
H A Dsyslog.cpp22 int16 mask; member in struct:syslog_context
126 daemon, if the priority mask matches.
137 if ((context->mask & LOG_MASK(SYSLOG_PRIORITY(priority))) == 0)
248 int oldMask = sTeamContext.mask;
251 sTeamContext.mask = priorityMask;
296 int oldMask = context->mask;
299 context->mask = priorityMask;
/haiku/headers/private/net/
H A Dnet_datalink.h40 struct sockaddr* mask; member in struct:net_interface_address
56 struct sockaddr* mask; member in struct:net_route
128 const struct sockaddr* mask);
131 const struct sockaddr* mask, struct sockaddr* result);
140 const struct sockaddr* b, const struct sockaddr* mask);
145 int32 (*first_mask_bit)(const struct sockaddr* mask);
/haiku/src/add-ons/kernel/drivers/audio/cmedia/
H A Dmixer.c43 int mask; member in struct:__anon8
162 val &= the_mixers[ix].mask;
201 int mask; local
224 mask = the_mixers[selector].mutemask | the_mixers[selector].mask;
225 set_indirect(card, the_mixers[selector].port, value, mask);
/haiku/src/add-ons/media/media-add-ons/mixer/
H A DMixerInput.cpp347 uint32 mask = ChannelTypeToChannelMask(destination_type); local
353 if (fInputChannelInfo[channel].destination_mask & mask)
365 fInputChannelInfo[channel].destination_mask |= mask;
375 uint32 mask = ChannelTypeToChannelMask(destination_type); local
381 if ((fInputChannelInfo[channel].destination_mask & mask) == 0)
385 fInputChannelInfo[channel].destination_mask &= ~mask;
409 uint32 mask = ChannelTypeToChannelMask(destination_type);
411 if (fInputChannelInfo[chan].destination_mask & mask)
515 uint32 mask; local
543 mask
[all...]

Completed in 374 milliseconds

1234567891011>>