/prebuilts/sdk/renderscript/clang-include/ |
avx512pfintrin.h | 34 #define _mm512_mask_prefetch_i32gather_pd(index, mask, addr, scale, hint) __extension__ ({\ 35 __builtin_ia32_gatherpfdpd((__mmask8)(mask), (__v8si)(__m256i)(index), \ 44 #define _mm512_mask_prefetch_i32gather_ps(index, mask, addr, scale, hint) ({\ 45 __builtin_ia32_gatherpfdps((__mmask16)(mask), \ 54 #define _mm512_mask_prefetch_i64gather_pd(index, mask, addr, scale, hint) __extension__ ({\ 55 __builtin_ia32_gatherpfqpd((__mmask8)(mask), (__v8di)(__m512i)(index), \ 64 #define _mm512_mask_prefetch_i64gather_ps(index, mask, addr, scale, hint) ({\ 65 __builtin_ia32_gatherpfqps((__mmask8)(mask), (__v8di)(__m512i)(index), \ 77 #define _mm512_mask_prefetch_i32scatter_pd(addr, mask, index, scale, hint) __extension__ ({\ 78 __builtin_ia32_scatterpfdpd((__mmask8)(mask), (__v8si)(__m256i)(index), [all...] |
/system/media/alsa_utils/include/ |
alsa_logging.h | 22 void log_pcm_mask(const char* mask_name, struct pcm_mask* mask);
|
/external/fio/os/ |
os-freebsd.h | 37 #define fio_cpu_clear(mask, cpu) (void) CPU_CLR((cpu), (mask)) 38 #define fio_cpu_set(mask, cpu) (void) CPU_SET((cpu), (mask)) 39 #define fio_cpu_isset(mask, cpu) CPU_ISSET((cpu), (mask)) 40 #define fio_cpu_count(mask) CPU_COUNT((mask)) 42 static inline int fio_cpuset_init(os_cpu_mask_t *mask) 44 CPU_ZERO(mask); [all...] |
os-solaris.h | 103 #define fio_cpu_clear(mask, cpu) pset_assign(PS_NONE, (cpu), NULL) 104 #define fio_cpu_set(mask, cpu) pset_assign(*(mask), (cpu), NULL) 106 static inline int fio_cpu_isset(os_cpu_mask_t *mask, int cpu) 115 if (pset_info(*mask, NULL, &num_cpus, cpus) < 0) { 132 static inline int fio_cpu_count(os_cpu_mask_t *mask) 136 if (pset_info(*mask, NULL, &num_cpus, NULL) < 0) 142 static inline int fio_cpuset_init(os_cpu_mask_t *mask) 144 if (pset_create(mask) < 0) 150 static inline int fio_cpuset_exit(os_cpu_mask_t *mask) [all...] |
/external/ltp/testcases/kernel/syscalls/sched_setaffinity/ |
sched_setaffinity01.c | 25 * 2) EINVAL, if the mask doesn't contain at least one 50 static cpu_set_t *mask, *emask; variable 62 cpu_set_t **mask; member in struct:test_case_t 67 {&free_pid, &mask_size, &mask, ESRCH}, 68 {&privileged_pid, &mask_size, &mask, EPERM}, 75 if (mask != NULL) { 76 CPU_FREE(mask); 77 mask = NULL; 100 /* Current mask */ 101 mask = CPU_ALLOC(ncpus) [all...] |
/external/mesa3d/src/glx/ |
clientattrib.c | 70 __indirect_glPushClientAttrib(GLuint mask) 85 sp->mask = mask; 87 if (mask & GL_CLIENT_PIXEL_STORE_BIT) { 91 if (mask & GL_CLIENT_VERTEX_ARRAY_BIT) { 107 GLuint mask; local 113 mask = sp->mask; 116 if (mask & GL_CLIENT_PIXEL_STORE_BIT) { 120 if (mask & GL_CLIENT_VERTEX_ARRAY_BIT) [all...] |
/external/skia/src/core/ |
SkBlitBWMaskTemplate.h | 18 SK_BLITBWMASK_NAME name of function(const SkBitmap& bitmap, const SkMask& mask, const SkIRect& clip, SK_BLITBWMASK_ARGS) 49 U8CPU mask = *bits++; local 50 SK_BLITBWMASK_BLIT8(mask, dst); 65 rite_mask &= 0xFF; // only want low-8 bits of mask 68 // check for empty right mask, so we don't read off the end (or go slower than we need to) 87 U8CPU mask = *bits & left_mask; local 88 SK_BLITBWMASK_BLIT8(mask, device); 99 U8CPU mask; local 101 mask = *b++ & left_mask; 102 SK_BLITBWMASK_BLIT8(mask, dst) [all...] |
/external/skqp/src/core/ |
SkBlitBWMaskTemplate.h | 18 SK_BLITBWMASK_NAME name of function(const SkBitmap& bitmap, const SkMask& mask, const SkIRect& clip, SK_BLITBWMASK_ARGS) 49 U8CPU mask = *bits++; local 50 SK_BLITBWMASK_BLIT8(mask, dst); 65 rite_mask &= 0xFF; // only want low-8 bits of mask 68 // check for empty right mask, so we don't read off the end (or go slower than we need to) 87 U8CPU mask = *bits & left_mask; local 88 SK_BLITBWMASK_BLIT8(mask, device); 99 U8CPU mask; local 101 mask = *b++ & left_mask; 102 SK_BLITBWMASK_BLIT8(mask, dst) [all...] |
/device/linaro/bootloader/arm-trusted-firmware/plat/socionext/uniphier/ |
uniphier_soc_info.c | 13 static unsigned int uniphier_get_revision_field(unsigned int mask, 18 return (revision >> shift) & mask;
|
/external/clang/test/CodeGen/ |
builtinshufflevector2.c | 7 void clang_shufflevector_v_v( float4* A, float4 x, uint4 mask ) { 8 // CHECK: [[MASK:%.*]] = and <4 x i32> {{%.*}}, <i32 3, i32 3, i32 3, i32 3> 9 // CHECK: [[I:%.*]] = extractelement <4 x i32> [[MASK]], i{{[0-9]+}} 0 17 // CHECK: [[I:%.*]] = extractelement <4 x i32> [[MASK]], i{{[0-9]+}} 1 20 // CHECK: [[I:%.*]] = extractelement <4 x i32> [[MASK]], i{{[0-9]+}} 2 23 // CHECK: [[I:%.*]] = extractelement <4 x i32> [[MASK]], i{{[0-9]+}} 3 27 *A = __builtin_shufflevector( x, mask );
|
/external/tensorflow/tensorflow/core/lib/random/ |
simple_philox.cc | 34 const uint32 mask = shift == 32 ? ~static_cast<uint32>(0) : (1 << shift) - 1; local 35 return Rand32() & mask;
|
/hardware/qcom/gps/msm8909/core/ |
LocAdapterProxyBase.h | 42 inline LocAdapterProxyBase(const LOC_API_ADAPTER_EVENT_MASK_T mask, 44 mLocAdapterBase(new LocAdapterBase(mask, context, this)) {
|
/external/mesa3d/src/mesa/main/ |
clear.c | 134 * \param mask bit-mask indicating the buffers to be cleared. 143 _mesa_Clear( GLbitfield mask ) 151 _mesa_debug(ctx, "glClear 0x%x\n", mask); 153 if (mask & ~(GL_COLOR_BUFFER_BIT | 158 _mesa_error( ctx, GL_INVALID_VALUE, "glClear(0x%x)", mask); 165 if ((mask & GL_ACCUM_BUFFER_BIT) != 0 188 if (!ctx->Depth.Mask) 189 mask &= ~GL_DEPTH_BUFFER_BIT; 197 if (mask & GL_COLOR_BUFFER_BIT) 242 GLbitfield mask = 0x0; local 365 const GLbitfield mask = make_color_buffer_mask(ctx, drawbuffer); local 436 const GLbitfield mask = make_color_buffer_mask(ctx, drawbuffer); local 534 const GLbitfield mask = make_color_buffer_mask(ctx, drawbuffer); local 595 GLbitfield mask = 0; local [all...] |
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
motion_comp.cpp | 460 ULong mask; local 470 mask = 254; 471 mask |= (mask << 8); 472 mask |= (mask << 16); /* 0xFEFEFEFE */ 485 word1 &= mask; 486 word3 &= (~mask); /* 0x1010101, check last bit */ 487 word12 &= mask; 497 word2 &= mask; 785 ULong mask; local 1129 ULong mask; local 1800 UChar mask = 0xFF; local 1868 UChar mask = 0xFF; local [all...] |
/external/linux-kselftest/tools/testing/selftests/powerpc/ |
utils.c | 84 cpu_set_t mask; local 87 CPU_ZERO(&mask); 89 if (sched_getaffinity(0, sizeof(mask), &mask)) { 96 if (CPU_ISSET(cpu, &mask)) 101 if (CPU_ISSET(cpu, &mask)) 104 printf("No cpus in affinity mask?!\n");
|
/packages/apps/SecureElement/src/com/android/se/security/ |
ApduFilter.java | 50 public ApduFilter(byte[] apdu, byte[] mask) { 54 if (mask.length != 4) { 55 throw new IllegalArgumentException("mask length must be 4 bytes"); 58 mMask = mask; 93 /** Sets the Mask */ 94 public void setMask(byte[] mask) { 95 if (mask.length != 4) { 96 throw new IllegalArgumentException("mask length must be 4 bytes"); 98 mMask = mask; 110 + ", mask= [all...] |
/prebuilts/go/darwin-x86/src/runtime/cgo/ |
gcc_sigaction.c | 22 uint64_t mask; member in struct:__anon66638 50 for (i = 0; i < 8 * sizeof(goact->mask); i++) { 51 if (goact->mask & ((uint64_t)(1)<<i)) { 71 oldgoact->mask = 0; 72 for (i = 0; i < 8 * sizeof(oldgoact->mask); i++) { 74 oldgoact->mask |= (uint64_t)(1)<<i;
|
/prebuilts/go/darwin-x86/src/runtime/ |
export_unix_test.go | 9 func sigismember(mask *sigset, i int) bool { 10 clear := *mask 12 return clear != *mask
|
/prebuilts/go/linux-x86/src/runtime/cgo/ |
gcc_sigaction.c | 22 uint64_t mask; member in struct:__anon66648 50 for (i = 0; i < 8 * sizeof(goact->mask); i++) { 51 if (goact->mask & ((uint64_t)(1)<<i)) { 71 oldgoact->mask = 0; 72 for (i = 0; i < 8 * sizeof(oldgoact->mask); i++) { 74 oldgoact->mask |= (uint64_t)(1)<<i;
|
/prebuilts/go/linux-x86/src/runtime/ |
export_unix_test.go | 9 func sigismember(mask *sigset, i int) bool { 10 clear := *mask 12 return clear != *mask
|
/external/ltp/testcases/realtime/stress/pi-tests/ |
testpi-3.c | 103 cpu_set_t mask; local 104 CPU_ZERO(&mask); 105 CPU_SET(0, &mask); 107 rc = sched_setaffinity(0, sizeof(mask), &mask); 113 rc = sched_getaffinity(0, sizeof(mask), &mask); 116 (long)mask.__bits[0]); 152 cpu_set_t mask; local 153 CPU_ZERO(&mask); 208 cpu_set_t mask; local 326 cpu_set_t mask; local [all...] |
/external/ltp/testcases/kernel/syscalls/inotify/ |
inotify04.c | 68 unsigned int mask; member in struct:event_t 164 event_set[tst_count].mask = IN_DELETE_SELF; 167 event_set[tst_count].mask = IN_IGNORED; 180 event_set[tst_count].mask = IN_ATTRIB; 185 event_set[tst_count].mask = IN_DELETE_SELF; 188 event_set[tst_count].mask = IN_IGNORED; 210 && event_set[TST_TOTAL - 1].mask == event->mask) 225 "wd=%d mask=%x cookie=%u len=%u " 226 "name=\"%.*s\"", event->wd, event->mask, [all...] |
/frameworks/base/core/java/com/android/internal/util/ |
BitUtils.java | 37 public static boolean maskedEquals(long a, long b, long mask) { 38 return (a & mask) == (b & mask); 41 public static boolean maskedEquals(byte a, byte b, byte mask) { 42 return (a & mask) == (b & mask); 45 public static boolean maskedEquals(byte[] a, byte[] b, @Nullable byte[] mask) { 48 if (mask == null) return Arrays.equals(a, b); 49 Preconditions.checkArgument(a.length == mask.length, "Mask must be of same size as inputs") [all...] |
/toolchain/binutils/binutils-2.27/bfd/ |
mep-relocs.pl | 103 my ($mask) = @_; 108 for ($ci=0; $ci<length($mask); $ci++) { 109 $c = substr($mask, $ci, 1); 118 $mask =~ tr/-/1/c; 119 $mask =~ tr/-/0/; 120 ($rmask = $mask) =~ tr/01/10/; 121 $mask = unpack("H*", pack("B*", $mask)); 123 return ($bits, $left, $right, $mask, $rmask); 128 $mask = $pattern[$i] [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/config/ |
ProviderConfigurationPermission.java | 70 int mask = 0; local 78 mask |= THREAD_LOCAL_EC_IMPLICITLY_CA; 82 mask |= EC_IMPLICITLY_CA; 86 mask |= THREAD_LOCAL_DH_DEFAULT_PARAMS; 90 mask |= DH_DEFAULT_PARAMS; 94 mask |= ACCEPTABLE_EC_CURVES; 98 mask |= ADDITIONAL_EC_PARAMETERS; 102 mask |= ALL; 106 if (mask == 0) 108 throw new IllegalArgumentException("unknown permissions passed to mask"); [all...] |