Lines Matching refs:count
11 void sk_memset32_neon(uint32_t dst[], uint32_t value, int count) { in sk_memset32_neon() argument
15 while (count >= 16) { in sk_memset32_neon()
18 count -= 16; in sk_memset32_neon()
20 SkASSERT(count < 16); in sk_memset32_neon()
21 switch (count / 4) { in sk_memset32_neon()
22 case 3: vst1q_u32(dst, v4); dst += 4; count -= 4; in sk_memset32_neon()
23 case 2: vst1q_u32(dst, v4); dst += 4; count -= 4; in sk_memset32_neon()
24 case 1: vst1q_u32(dst, v4); dst += 4; count -= 4; in sk_memset32_neon()
26 SkASSERT(count < 4); in sk_memset32_neon()
27 if (count >= 2) { in sk_memset32_neon()
30 count -= 2; in sk_memset32_neon()
32 SkASSERT(count < 2); in sk_memset32_neon()
33 if (count > 0) { in sk_memset32_neon()
38 void sk_memset16_neon(uint16_t dst[], uint16_t value, int count) { in sk_memset16_neon() argument
42 while (count >= 32) { in sk_memset16_neon()
45 count -= 32; in sk_memset16_neon()
47 SkASSERT(count < 32); in sk_memset16_neon()
48 switch (count / 8) { in sk_memset16_neon()
49 case 3: vst1q_u16(dst, v8); dst += 8; count -= 8; in sk_memset16_neon()
50 case 2: vst1q_u16(dst, v8); dst += 8; count -= 8; in sk_memset16_neon()
51 case 1: vst1q_u16(dst, v8); dst += 8; count -= 8; in sk_memset16_neon()
53 SkASSERT(count < 8); in sk_memset16_neon()
54 if (count >= 4) { in sk_memset16_neon()
57 count -= 4; in sk_memset16_neon()
59 SkASSERT(count < 4); in sk_memset16_neon()
60 switch (count) { in sk_memset16_neon()