php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
php_hash_murmur.h File Reference

Go to the source code of this file.

Data Structures

struct  PHP_MURMUR3A_CTX
 
struct  PHP_MURMUR3C_CTX
 
struct  PHP_MURMUR3F_CTX
 

Macros

#define PHP_MURMUR3A_SPEC   "lll"
 
#define PHP_MURMUR3C_SPEC   "lllllllll"
 
#define PHP_MURMUR3F_SPEC   "qqqql"
 

Functions

PHP_HASH_API void PHP_MURMUR3AInit (PHP_MURMUR3A_CTX *ctx, HashTable *args)
 
PHP_HASH_API void PHP_MURMUR3AUpdate (PHP_MURMUR3A_CTX *ctx, const unsigned char *in, size_t len)
 
PHP_HASH_API void PHP_MURMUR3AFinal (unsigned char digest[4], PHP_MURMUR3A_CTX *ctx)
 
PHP_HASH_API zend_result PHP_MURMUR3ACopy (const php_hash_ops *ops, const PHP_MURMUR3A_CTX *orig_context, PHP_MURMUR3A_CTX *copy_context)
 
PHP_HASH_API void PHP_MURMUR3CInit (PHP_MURMUR3C_CTX *ctx, HashTable *args)
 
PHP_HASH_API void PHP_MURMUR3CUpdate (PHP_MURMUR3C_CTX *ctx, const unsigned char *in, size_t len)
 
PHP_HASH_API void PHP_MURMUR3CFinal (unsigned char digest[16], PHP_MURMUR3C_CTX *ctx)
 
PHP_HASH_API zend_result PHP_MURMUR3CCopy (const php_hash_ops *ops, const PHP_MURMUR3C_CTX *orig_context, PHP_MURMUR3C_CTX *copy_context)
 
PHP_HASH_API void PHP_MURMUR3FInit (PHP_MURMUR3F_CTX *ctx, HashTable *args)
 
PHP_HASH_API void PHP_MURMUR3FUpdate (PHP_MURMUR3F_CTX *ctx, const unsigned char *in, size_t len)
 
PHP_HASH_API void PHP_MURMUR3FFinal (unsigned char digest[16], PHP_MURMUR3F_CTX *ctx)
 
PHP_HASH_API zend_result PHP_MURMUR3FCopy (const php_hash_ops *ops, const PHP_MURMUR3F_CTX *orig_context, PHP_MURMUR3F_CTX *copy_context)
 

Macro Definition Documentation

◆ PHP_MURMUR3A_SPEC

#define PHP_MURMUR3A_SPEC   "lll"

Definition at line 25 of file php_hash_murmur.h.

◆ PHP_MURMUR3C_SPEC

#define PHP_MURMUR3C_SPEC   "lllllllll"

Definition at line 37 of file php_hash_murmur.h.

◆ PHP_MURMUR3F_SPEC

#define PHP_MURMUR3F_SPEC   "qqqql"

Definition at line 49 of file php_hash_murmur.h.

Function Documentation

◆ PHP_MURMUR3ACopy()

PHP_HASH_API zend_result PHP_MURMUR3ACopy ( const php_hash_ops * ops,
const PHP_MURMUR3A_CTX * orig_context,
PHP_MURMUR3A_CTX * copy_context )

Definition at line 78 of file hash_murmur.c.

◆ PHP_MURMUR3AFinal()

PHP_HASH_API void PHP_MURMUR3AFinal ( unsigned char digest[4],
PHP_MURMUR3A_CTX * ctx )

Definition at line 68 of file hash_murmur.c.

◆ PHP_MURMUR3AInit()

PHP_HASH_API void PHP_MURMUR3AInit ( PHP_MURMUR3A_CTX * ctx,
HashTable * args )

Definition at line 39 of file hash_murmur.c.

◆ PHP_MURMUR3AUpdate()

PHP_HASH_API void PHP_MURMUR3AUpdate ( PHP_MURMUR3A_CTX * ctx,
const unsigned char * in,
size_t len )

Definition at line 62 of file hash_murmur.c.

◆ PHP_MURMUR3CCopy()

PHP_HASH_API zend_result PHP_MURMUR3CCopy ( const php_hash_ops * ops,
const PHP_MURMUR3C_CTX * orig_context,
PHP_MURMUR3C_CTX * copy_context )

Definition at line 157 of file hash_murmur.c.

◆ PHP_MURMUR3CFinal()

PHP_HASH_API void PHP_MURMUR3CFinal ( unsigned char digest[16],
PHP_MURMUR3C_CTX * ctx )

Definition at line 134 of file hash_murmur.c.

◆ PHP_MURMUR3CInit()

PHP_HASH_API void PHP_MURMUR3CInit ( PHP_MURMUR3C_CTX * ctx,
HashTable * args )

Definition at line 101 of file hash_murmur.c.

◆ PHP_MURMUR3CUpdate()

PHP_HASH_API void PHP_MURMUR3CUpdate ( PHP_MURMUR3C_CTX * ctx,
const unsigned char * in,
size_t len )

Definition at line 128 of file hash_murmur.c.

◆ PHP_MURMUR3FCopy()

PHP_HASH_API zend_result PHP_MURMUR3FCopy ( const php_hash_ops * ops,
const PHP_MURMUR3F_CTX * orig_context,
PHP_MURMUR3F_CTX * copy_context )

Definition at line 234 of file hash_murmur.c.

◆ PHP_MURMUR3FFinal()

PHP_HASH_API void PHP_MURMUR3FFinal ( unsigned char digest[16],
PHP_MURMUR3F_CTX * ctx )

Definition at line 211 of file hash_murmur.c.

◆ PHP_MURMUR3FInit()

PHP_HASH_API void PHP_MURMUR3FInit ( PHP_MURMUR3F_CTX * ctx,
HashTable * args )

Definition at line 180 of file hash_murmur.c.

◆ PHP_MURMUR3FUpdate()

PHP_HASH_API void PHP_MURMUR3FUpdate ( PHP_MURMUR3F_CTX * ctx,
const unsigned char * in,
size_t len )

Definition at line 205 of file hash_murmur.c.