Lines Matching refs:size_t
41 char * __php_stpncpy(char *dst, const char *src, size_t len) in __php_stpncpy()
43 size_t n = strlen(src); in __php_stpncpy()
50 void * __php_mempcpy(void * dst, const void * src, size_t len) in __php_mempcpy()
106 static void sha256_process_block (const void *buffer, size_t len, struct sha256_ctx *ctx) { in sha256_process_block()
108 size_t nwords = len / sizeof (uint32_t); in sha256_process_block()
227 size_t pad; in sha256_finish_ctx()
256 static void sha256_process_bytes(const void *buffer, size_t len, struct sha256_ctx *ctx) { in sha256_process_bytes()
260 size_t left_over = ctx->buflen; in sha256_process_bytes()
261 size_t add = 128 - left_over > len ? len : 128 - left_over; in sha256_process_bytes()
300 size_t left_over = ctx->buflen; in sha256_process_bytes()
353 size_t salt_len; in php_sha256_crypt_r()
354 size_t key_len; in php_sha256_crypt_r()
355 size_t cnt; in php_sha256_crypt_r()
362 size_t rounds = ROUNDS_DEFAULT; in php_sha256_crypt_r()
468 for (cnt = 0; cnt < (size_t) (16 + alt_result[0]); ++cnt) { in php_sha256_crypt_r()
531 cp = __php_stpncpy(cp, salt, MIN ((size_t) MAX (0, buflen), salt_len)); in php_sha256_crypt_r()