Searched refs:p_size (Results 1 - 7 of 7) sorted by relevance
/third_party/ltp/testcases/kernel/mem/hugetlb/hugemmap/ |
H A D | hugemmap24.c | 84 long p_size, q_size; in run_test() local 94 p_size = hpage_size; in run_test() 95 p = SAFE_MMAP((void *)(slice_boundary + hpage_size), p_size, in run_test() 99 ret = do_readback(p, p_size, "huge above"); in run_test() 125 SAFE_MUNMAP(p, p_size); in run_test() 132 p_size = page_size; in run_test() 133 p = SAFE_MMAP((void *)(slice_boundary + hpage_size), p_size, in run_test() 137 ret = do_readback(p, p_size, "normal above"); in run_test() 169 SAFE_MUNMAP(p, p_size); in run_test()
|
/third_party/mbedtls/tests/src/ |
H A D | test_memory.c | 25 static void align_for_asan(const unsigned char **p_ptr, size_t *p_size) in align_for_asan() argument 28 uintptr_t end = start + (uintptr_t) *p_size; in align_for_asan() 37 *p_size = end - start; in align_for_asan()
|
/third_party/node/deps/openssl/openssl/crypto/dh/ |
H A D | dh_key.c | 418 int p_size; in ossl_dh_key2buf() local 423 || (p_size = BN_num_bytes(p)) == 0 in ossl_dh_key2buf() 430 if (size >= (size_t)p_size) in ossl_dh_key2buf() 433 pbuf = OPENSSL_malloc(p_size); in ossl_dh_key2buf() 444 if (BN_bn2binpad(pubkey, pbuf, p_size) < 0) { in ossl_dh_key2buf() 452 return p_size; in ossl_dh_key2buf()
|
/third_party/openssl/crypto/dh/ |
H A D | dh_key.c | 419 int p_size; in ossl_dh_key2buf() local 424 || (p_size = BN_num_bytes(p)) == 0 in ossl_dh_key2buf() 431 if (size >= (size_t)p_size) in ossl_dh_key2buf() 434 pbuf = OPENSSL_malloc(p_size); in ossl_dh_key2buf() 445 if (BN_bn2binpad(pubkey, pbuf, p_size) < 0) { in ossl_dh_key2buf() 453 return p_size; in ossl_dh_key2buf()
|
/third_party/backends/backend/ |
H A D | test-picture.c | 111 double p_size = (10.0 * SANE_UNFIX (test_device->val[opt_resolution].w) in init_picture_buffer() local 119 lines = (SANE_Word) (2 * p_size + 0.5); in init_picture_buffer() 156 if ((((SANE_Word) (xfull / p_size)) % 2) in init_picture_buffer() 158 (SANE_Word) (p_size + 0.5)))) in init_picture_buffer() 178 if (((SANE_Word) (xfull / p_size) % 2) in init_picture_buffer() 179 ^ (line_count > (SANE_Word) (p_size + 0.5))) in init_picture_buffer() 195 if ((((SANE_Int) (x / increment / p_size)) % 2) in init_picture_buffer() 196 ^ (line_count > (SANE_Int) (p_size + 0.5))) in init_picture_buffer()
|
/third_party/alsa-lib/test/ |
H A D | latency.c | 229 snd_pcm_uframes_t p_size, c_size, p_psize, c_psize; in setparams() local 282 snd_pcm_hw_params_get_buffer_size(p_params, &p_size); in setparams() 283 playback_buffer_size = p_size; in setparams() 284 if (p_psize * 2 < p_size) { in setparams()
|
/third_party/FreeBSD/sbin/newfs_msdos/ |
H A D | mkfs_define.h | 164 uint32_t p_size; /* number of sectors in partition */ member
|
Completed in 5 milliseconds