/external/icu4c/test/cintltst/ |
cgendtst.c | 23 #define LENGTHOF(array) (int32_t)(sizeof(array) / sizeof((array)[0]))
|
/external/iptables/extensions/ |
libxt_TCPMSS.c | 32 __TCPMSS_help(sizeof(struct iphdr)); 37 __TCPMSS_help(sizeof(struct ip6_hdr)); 42 .min = 0, .max = UINT16_MAX - sizeof(struct iphdr), 50 .min = 0, .max = UINT16_MAX - sizeof(struct ip6_hdr), 98 .size = XT_ALIGN(sizeof(struct xt_tcpmss_info)), 99 .userspacesize = XT_ALIGN(sizeof(struct xt_tcpmss_info)), 112 .size = XT_ALIGN(sizeof(struct xt_tcpmss_info)), 113 .userspacesize = XT_ALIGN(sizeof(struct xt_tcpmss_info)),
|
/external/libgsm/man/ |
gsm.3 | 81 while (cc = read(0, (char *)buf, sizeof buf)) { 82 if (cc != sizeof buf) error... 84 if (write(soundfd, sample, sizeof sample) != sizeof sample) 93 while (cc = read(soundfd, sample, sizeof sample)) { 94 if (cc != sizeof sample) error... 96 if (write(1, (char *)buf, sizeof buf) != sizeof sample)
|
/external/libgsm/src/ |
gsm_create.c | 38 r = (gsm)malloc(sizeof(struct gsm_state)); 41 memset((char *)r, 0, sizeof(*r));
|
/external/libvorbis/test/ |
util.h | 18 #define ARRAY_LEN(x) (sizeof(x)/sizeof(x[0]))
|
/external/libvpx/libvpx/vp8/common/x86/ |
idct_blk_mmx.c | 39 vpx_memset(q, 0, 2 * sizeof(q[0])); 48 vpx_memset(q + 16, 0, 2 * sizeof(q[0])); 57 vpx_memset(q + 32, 0, 2 * sizeof(q[0])); 66 vpx_memset(q + 48, 0, 2 * sizeof(q[0])); 88 vpx_memset(q, 0, 2 * sizeof(q[0])); 97 vpx_memset(q + 16, 0, 2 * sizeof(q[0])); 112 vpx_memset(q, 0, 2 * sizeof(q[0])); 121 vpx_memset(q + 16, 0, 2 * sizeof(q[0]));
|
/external/linux-tools-perf/util/include/linux/ |
bitops.h | 21 #define BITS_TO_LONGS(nr) DIV_ROUND_UP(nr, BITS_PER_BYTE * sizeof(long)) 41 return sizeof(w) == 4 ? hweight32(w) : hweight64(w);
|
/external/llvm/test/CodeGen/ARM/ |
2012-03-13-DAGCombineBug.ll | 5 ; (i16 load $addr+c*sizeof(i16)). It should have issued an extload instead. i.e. 6 ; (i32 extload $addr+c*sizeof(i16)
|
/external/mesa3d/src/gallium/drivers/nouveau/ |
nouveau_statebuf.h | 16 #define sb_init(var) {var, var + sizeof(var) / sizeof((var)[0])}
|
/external/openssh/openbsd-compat/ |
bsd-arc4random.c | 55 RC4(&rc4, sizeof(r), (unsigned char *)&r, (unsigned char *)&r); 57 rc4_ready -= sizeof(r); 68 memset(&rc4, 0, sizeof(rc4)); 69 if (RAND_bytes(rand_buf, sizeof(rand_buf)) <= 0) 72 RC4_set_key(&rc4, sizeof(rand_buf), rand_buf); 78 for(i = 0; i <= 256; i += sizeof(rand_buf)) 79 RC4(&rc4, sizeof(rand_buf), rand_buf, rand_buf); 81 memset(rand_buf, 0, sizeof(rand_buf));
|
/external/openssl/crypto/ |
s390xcap.c | 21 OPENSSL_s390xcap_P[0] = 1UL<<(8*sizeof(unsigned long)-1); 23 memset(&ill_act,0,sizeof(ill_act));
|
/external/skia/include/core/ |
SkReader32.h | 58 fCurr += sizeof(value); 66 if (4 == sizeof(void*)) { 69 memcpy(&ptr, fCurr, sizeof(void*)); 71 fCurr += sizeof(void*); 78 fCurr += sizeof(value); 92 SkASSERT(SkAlign4(sizeof(T)) == sizeof(T)); 93 return *(const T*)this->skip(sizeof(T));
|
/external/skia/src/utils/ |
SkThreadUtils_pthread_linux.cpp | 36 if (0 != pthread_getaffinity_np(pthread_self(), sizeof(cpu_set_t), &parentCpuset)) { 44 sizeof(cpu_set_t),
|
/external/skia/tests/ |
DiscardableMemoryTest.cpp | 15 const size_t len = sizeof(testString); 23 memcpy(ptr, testString, sizeof(testString));
|
/external/speex/libspeex/ |
stack_alloc.h | 93 #define PUSH(stack, size, type) (VALGRIND_MAKE_NOACCESS(stack, 1000),ALIGN((stack),sizeof(type)),VALGRIND_MAKE_WRITABLE(stack, ((size)*sizeof(type))),(stack)+=((size)*sizeof(type)),(type*)((stack)-((size)*sizeof(type)))) 99 #define PUSH(stack, size, type) (ALIGN((stack),sizeof(type)),(stack)+=((size)*sizeof(type)),(type*)((stack)-((size)*sizeof(type)))) 108 #define ALLOC(var, size, type) var = alloca(sizeof(type)*(size))
|
/external/stlport/test/unit/ |
bsearch_test.cpp | 41 const unsigned count = sizeof(labels) / sizeof(labels[0]);
|
/external/tcpdump/ |
print-dhcp6.c | 203 static char genstr[sizeof("opt_65535") + 1]; /* XXX thread unsafe */ 284 snprintf(genstr, sizeof(genstr), "opt_%d", type); 292 static char genstr[sizeof("code255") + 1]; /* XXX thread unsafe */ 313 snprintf(genstr, sizeof(genstr), "code%d", code); 337 if (ep < cp + sizeof(*dh6o)) 341 if (ep < cp + sizeof(*dh6o) + optlen) 400 if (optlen < sizeof(ia_addr) - 4) { 404 memcpy(&ia_addr, (u_char *)dh6o, sizeof(ia_addr)); 414 if (optlen > sizeof(ia_addr) - 4) { 417 sizeof(ia_addr) [all...] |
print-lane.c | 100 if (caplen < sizeof(struct lane_controlhdr)) { 116 if (caplen < sizeof(struct lecdatahdr_8023)) { 127 length -= sizeof(struct lecdatahdr_8023); 128 caplen -= sizeof(struct lecdatahdr_8023); 130 p += sizeof(struct lecdatahdr_8023); 143 lane_hdr_print((u_char *)ep, length + sizeof(*ep)); 155 lane_hdr_print((u_char *)ep, length + sizeof(*ep)); 166 return (sizeof(struct lecdatahdr_8023));
|
/external/valgrind/main/VEX/test/ |
fpspeed.c | 11 double* a1 = malloc(1000 * sizeof(double)); 12 double* a2 = malloc(1000 * sizeof(double));
|
/external/valgrind/main/drd/tests/ |
unit_vc.c | 68 DRD_(vc_init)(&vc1, vc1elem, sizeof(vc1elem)/sizeof(vc1elem[0])); 69 DRD_(vc_init)(&vc2, vc2elem, sizeof(vc2elem)/sizeof(vc2elem[0])); 71 DRD_(vc_init)(&vc4, vc4elem, sizeof(vc4elem)/sizeof(vc4elem[0])); 72 DRD_(vc_init)(&vc5, vc5elem, sizeof(vc5elem)/sizeof(vc5elem[0]));
|
/external/valgrind/main/memcheck/tests/linux/ |
sigqueue.c | 14 const size_t sz = sizeof(*si); 17 fprintf(stderr, "sizeof(*si) = %zu\n", sz);
|
/external/valgrind/main/memcheck/tests/ |
memalign_test.c | 12 assert(sizeof(long) == sizeof(void*));
|
mempool.c | 19 char padding[16 - 2*sizeof(char*)]; 29 char padding[24 - 3*sizeof(char*)]; 37 p = (pool *)mmap(0, sizeof(pool), PROT_READ|PROT_WRITE|PROT_EXEC, 43 p = (pool *)malloc(sizeof(pool)); 58 l = (level_list *)mmap(0, sizeof(level_list), 62 l = (level_list *)malloc(sizeof(level_list)); 78 munmap(l, sizeof(level_list)); 92 munmap(p, sizeof(pool));
|
origin4-many.c | 32 int* p_ui1 = malloc(sizeof(int)); 33 int* p_ui2 = malloc(sizeof(int)); 34 int* p_ui3 = malloc(sizeof(int)); 35 int* p_ui4 = malloc(sizeof(int)); 36 int* p_ui5 = malloc(sizeof(int)); 37 int* p_ui6 = malloc(sizeof(int)); 38 int* p_ui7 = malloc(sizeof(int)); 39 int* p_ui8 = malloc(sizeof(int));
|
/external/valgrind/main/none/tests/darwin/ |
apple-main-arg.c | 14 char *pargv = calloc((PATH_MAX+1), sizeof(char)), 15 *pappl = calloc((PATH_MAX+1), sizeof(char));
|