Home
last modified time | relevance | path

Searched refs:mask (Results 1 – 25 of 175) sorted by relevance

1234567

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/stringlib/
Dfastsearch.h31 #define STRINGLIB_BLOOM_ADD(mask, ch) \ argument
32 ((mask |= (1UL << ((ch) & (STRINGLIB_BLOOM_WIDTH -1)))))
33 #define STRINGLIB_BLOOM(mask, ch) \ argument
34 ((mask & (1UL << ((ch) & (STRINGLIB_BLOOM_WIDTH -1)))))
41 unsigned long mask; in fastsearch() local
77 mask = 0; in fastsearch()
85 STRINGLIB_BLOOM_ADD(mask, p[i]); in fastsearch()
90 STRINGLIB_BLOOM_ADD(mask, p[mlast]); in fastsearch()
110 if (!STRINGLIB_BLOOM(mask, s[i+m])) in fastsearch()
116 if (!STRINGLIB_BLOOM(mask, s[i+m])) in fastsearch()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/stringlib/
Dfastsearch.h31 #define STRINGLIB_BLOOM_ADD(mask, ch) \ argument
32 ((mask |= (1UL << ((ch) & (STRINGLIB_BLOOM_WIDTH -1)))))
33 #define STRINGLIB_BLOOM(mask, ch) \ argument
34 ((mask & (1UL << ((ch) & (STRINGLIB_BLOOM_WIDTH -1)))))
41 unsigned long mask; in fastsearch() local
77 mask = 0; in fastsearch()
85 STRINGLIB_BLOOM_ADD(mask, p[i]); in fastsearch()
90 STRINGLIB_BLOOM_ADD(mask, p[mlast]); in fastsearch()
110 if (!STRINGLIB_BLOOM(mask, s[i+m])) in fastsearch()
116 if (!STRINGLIB_BLOOM(mask, s[i+m])) in fastsearch()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Lua/src/
Dldblib.c277 int mask = 0; in makemask() local
278 if (strchr(smask, 'c')) mask |= LUA_MASKCALL; in makemask()
279 if (strchr(smask, 'r')) mask |= LUA_MASKRET; in makemask()
280 if (strchr(smask, 'l')) mask |= LUA_MASKLINE; in makemask()
281 if (count > 0) mask |= LUA_MASKCOUNT; in makemask()
282 return mask; in makemask()
286 static char *unmakemask (int mask, char *smask) { in unmakemask() argument
288 if (mask & LUA_MASKCALL) smask[i++] = 'c'; in unmakemask()
289 if (mask & LUA_MASKRET) smask[i++] = 'r'; in unmakemask()
290 if (mask & LUA_MASKLINE) smask[i++] = 'l'; in unmakemask()
[all …]
/device/google/contexthub/firmware/os/cpu/cortexm4/
DatomicBitset.c46 uint32_t idx = num / 32, mask = 1UL << (num & 31), status, tmp; in atomicBitsetClearBit() local
57 :"=r"(tmp), "=r"(status), "=r"(wordPtr), "=r"(mask) in atomicBitsetClearBit()
58 :"2"(wordPtr), "3"(mask) in atomicBitsetClearBit()
66 uint32_t idx = num / 32, mask = 1UL << (num & 31), status, tmp; in atomicBitsetSetBit() local
77 :"=r"(tmp), "=r"(status), "=r"(wordPtr), "=r"(mask) in atomicBitsetSetBit()
78 :"2"(wordPtr), "3"(mask) in atomicBitsetSetBit()
/device/linaro/bootloader/edk2/StdLib/LibC/Softfloat/
Dfpsetmask.c51 fpsetmask(fp_except mask) in __weak_alias()
54 return set_float_exception_mask(mask); in __weak_alias()
57 float_exception_mask = mask; in __weak_alias()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Parser/
Dbitset.c32 BYTE mask = BIT2MASK(ibit); in addbit() local
34 if (ss[ibyte] & mask) in addbit()
36 ss[ibyte] |= mask; in addbit()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Parser/
Dbitset.c32 BYTE mask = BIT2MASK(ibit); in addbit() local
34 if (ss[ibyte] & mask) in addbit()
36 ss[ibyte] |= mask; in addbit()
/device/linaro/bootloader/edk2/StdLib/Include/sys/
D_ctype.h25 extern int __isCClass( int _c, unsigned int mask); ///< Internal character classification funct…
51 #define __isCClass( _c, mask) (((_c) < 0 || (_c) > 127) ? 0 : (_cClass[(_c)] & (mask))) argument
/device/linaro/bootloader/edk2/QuarkSocPkg/QuarkNorthCluster/MemoryInit/Pei/
Dlprint.c46 void dpf( uint32_t mask, char_t* bla, ...) in dpf() argument
67 void dpf( uint32_t mask, char_t* bla, ...) in dpf() argument
71 if( 0 == (mask & DPF_MASK)) return; in dpf()
325 uint32_t mask, in dpf() argument
336 if (0 == (mask & DPF_MASK)) in dpf()
Dplatform.c163 uint32_t mask) in WrMask32() argument
165 Wr32(unit, addr, ((Rd32(unit, addr) & ~mask) | (data & mask))); in WrMask32()
/device/linaro/bootloader/edk2/StdLib/Include/net/
Dradix.h118 __P((void *v, void *mask,
121 __P((void *v, void *mask,
124 __P((void *v, void *mask, struct radix_node_head *head));
126 __P((void *v, void *mask, struct radix_node_head *head));
130 __P((void *v, void *mask, struct radix_node_head *head));
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/zlib/
Dinftrees.c52 unsigned mask; /* mask for low root bits */ local
209 mask = used - 1; /* mask for comparing low */
260 if (len > root && (huff & mask) != low) {
284 low = huff & mask;
303 if (drop != 0 && (huff & mask) != low) {
/device/linaro/bootloader/edk2/StdLib/Include/Arm/machine/
Dcpufunc.h484 #define disable_interrupts(mask) \ argument
485 (__set_cpsr_c((mask) & (I32_bit | F32_bit), \
486 (mask) & (I32_bit | F32_bit)))
488 #define enable_interrupts(mask) \ argument
489 (__set_cpsr_c((mask) & (I32_bit | F32_bit), 0))
494 #define disable_interrupts(mask) \ argument
495 (set_r15((mask) & (R15_IRQ_DISABLE | R15_FIQ_DISABLE), \
496 (mask) & (R15_IRQ_DISABLE | R15_FIQ_DISABLE)))
498 #define enable_interrupts(mask) \ argument
499 (set_r15((mask) & (R15_IRQ_DISABLE | R15_FIQ_DISABLE), 0))
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/
Dsetobject.c43 (so)->mask = PySet_MINSIZE - 1; \
81 register size_t mask = so->mask; in set_lookkey() local
87 i = hash & mask; in set_lookkey()
120 entry = &table[i & mask]; in set_lookkey()
163 register size_t mask = so->mask; in set_lookkey_string() local
175 i = hash & mask; in set_lookkey_string()
191 entry = &table[i & mask]; in set_lookkey_string()
252 register size_t mask = (size_t)so->mask; in set_insert_clean() local
256 i = hash & mask; in set_insert_clean()
260 entry = &table[i & mask]; in set_insert_clean()
[all …]
Ddictobject.c325 register size_t mask = (size_t)mp->ma_mask; in lookdict() local
331 i = (size_t)hash & mask; in lookdict()
366 ep = &ep0[i & mask]; in lookdict()
413 register size_t mask = (size_t)mp->ma_mask; in lookdict_string() local
428 i = hash & mask; in lookdict_string()
444 ep = &ep0[i & mask]; in lookdict_string()
485 Py_ssize_t mask, i; in _PyDict_MaybeUntrack() local
493 mask = mp->ma_mask; in _PyDict_MaybeUntrack()
494 for (i = 0; i <= mask; i++) { in _PyDict_MaybeUntrack()
573 register size_t mask = (size_t)mp->ma_mask; in insertdict_clean() local
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/
Dsetobject.c43 (so)->mask = PySet_MINSIZE - 1; \
81 register size_t mask = so->mask; in set_lookkey() local
87 i = hash & mask; in set_lookkey()
120 entry = &table[i & mask]; in set_lookkey()
163 register size_t mask = so->mask; in set_lookkey_string() local
175 i = hash & mask; in set_lookkey_string()
191 entry = &table[i & mask]; in set_lookkey_string()
253 register size_t mask = (size_t)so->mask; in set_insert_clean() local
257 i = hash & mask; in set_insert_clean()
261 entry = &table[i & mask]; in set_insert_clean()
[all …]
Ddictobject.c325 register size_t mask = (size_t)mp->ma_mask; in lookdict() local
331 i = (size_t)hash & mask; in lookdict()
366 ep = &ep0[i & mask]; in lookdict()
413 register size_t mask = (size_t)mp->ma_mask; in lookdict_string() local
428 i = hash & mask; in lookdict_string()
444 ep = &ep0[i & mask]; in lookdict_string()
485 Py_ssize_t mask, i; in _PyDict_MaybeUntrack() local
493 mask = mp->ma_mask; in _PyDict_MaybeUntrack()
494 for (i = 0; i <= mask; i++) { in _PyDict_MaybeUntrack()
562 register size_t mask = (size_t)mp->ma_mask; in insertdict_clean() local
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Library/PeiDebugPrintHobLib/
DPeiDebugPrintHobLib.uni4 // HOB that contains the debug mask.
19 …anguage en-US "Reads Debug Mask variable and if it exists makes a HOB that contains the debug mask"
21 …ry class that reads Debug Mask variable and if it exists makes a HOB that contains the debug mask."
/device/asus/fugu/libaudio/
Dalsa_utils.h120 static uint32_t srMaskToSR(uint32_t mask);
121 static uint32_t bpsMaskToBPS(uint32_t mask);
122 static const char* saMaskToString(uint32_t mask);
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/zlib/
Dinftrees.c52 unsigned mask; /* mask for low root bits */ local
208 mask = used - 1; /* mask for comparing low */
260 if (len > root && (huff & mask) != low) {
285 low = huff & mask;
/device/google/dragon/recovery/updater/
Dvboot_interface.c347 int mask; member
424 uint8_t mask = param->mask << param->shift; in vbnv_readwrite() local
460 uint8_t flag_value = (*value & param->mask) << param->shift; in vbnv_readwrite()
465 dummy[off] = (dummy[off] & ~mask) | (flag_value & mask); in vbnv_readwrite()
495 *value = (block[off] & mask) >> param->shift; in vbnv_readwrite()
/device/generic/goldfish/sensors/
Dsensors_qemu.c221 uint32_t mask = SUPPORTED_SENSORS & d->pendingSensors; in sensor_device_pick_pending_event_locked() local
222 if (mask) { in sensor_device_pick_pending_event_locked()
223 uint32_t i = 31 - __builtin_clz(mask); in sensor_device_pick_pending_event_locked()
566 uint32_t mask = (1U << handle); in sensor_device_activate() local
567 uint32_t sensors = enabled ? mask : 0; in sensor_device_activate()
572 uint32_t new_sensors = (active & ~mask) | (sensors & mask); in sensor_device_activate()
850 int mask, nn, count; in sensors__get_sensors_list() local
872 mask = atoi(buffer); in sensors__get_sensors_list()
875 if (((1 << nn) & mask) == 0) in sensors__get_sensors_list()
879 D("%s: returned %d sensors (mask=%d)", __FUNCTION__, count, mask); in sensors__get_sensors_list()
/device/linaro/bootloader/edk2/StdLib/LibC/Ctype/
DCClass.c33 unsigned int mask in __isCClass() argument
36 return ((_c < 0 || _c > 127) ? 0 : (_cClass[_c] & mask)); in __isCClass()
/device/google/contexthub/firmware/os/cpu/x86/
DatomicBitset.c47 uint32_t idx = num / 32, mask = 1UL << (num & 31); in atomicBitsetClearBit() local
57 new = old &~ mask; in atomicBitsetClearBit()
/device/linaro/bootloader/edk2/SecurityPkg/Library/HashLibTpm2/
DHashLibTpm2.uni5 // mask some hash calculation.
21 … uses TPM2 device to calculate hash. Platform can use PcdTpm2HashMask to mask some hash calculati…

1234567