PATH:
usr
/
lib64
/
perl5
/
CORE
#ifndef PERL_SEEN_HV_MACRO_H /* compile once */ #define PERL_SEEN_HV_MACRO_H #if IVSIZE == 8 #define CAN64BITHASH #endif #ifdef CAN64BITHASH #ifndef U64TYPE /* This probably isn't going to work, but failing with a compiler error due to lack of uint64_t is no worse than failing right now with an #error. */ #define U64 uint64_t #endif #endif /*----------------------------------------------------------------------------- * Endianess and util macros * * The following 3 macros are defined in this section. The other macros defined * are only needed to help derive these 3. * * U8TO16_LE(x) Read a little endian unsigned 32-bit int * U8TO32_LE(x) Read a little endian unsigned 32-bit int * U8TO28_LE(x) Read a little endian unsigned 32-bit int * ROTL32(x,r) Rotate x left by r bits * ROTL64(x,r) Rotate x left by r bits * ROTR32(x,r) Rotate x right by r bits * ROTR64(x,r) Rotate x right by r bits */ #ifndef U8TO16_LE #define _shifted_octet(type,ptr,idx,shift) (((type)(((U8*)(ptr))[(idx)]))<<(shift)) #ifdef USE_UNALIGNED_PTR_DEREF #define U8TO16_LE(ptr) (*((const U16*)(ptr))) #define U8TO32_LE(ptr) (*((const U32*)(ptr))) #define U8TO64_LE(ptr) (*((const U64*)(ptr))) #else #define U8TO16_LE(ptr) (_shifted_octet(U16,(ptr),0, 0)|\ _shifted_octet(U16,(ptr),1, 8)) #define U8TO32_LE(ptr) (_shifted_octet(U32,(ptr),0, 0)|\ _shifted_octet(U32,(ptr),1, 8)|\ _shifted_octet(U32,(ptr),2,16)|\ _shifted_octet(U32,(ptr),3,24)) #define U8TO64_LE(ptr) (_shifted_octet(U64,(ptr),0, 0)|\ _shifted_octet(U64,(ptr),1, 8)|\ _shifted_octet(U64,(ptr),2,16)|\ _shifted_octet(U64,(ptr),3,24)|\ _shifted_octet(U64,(ptr),4,32)|\ _shifted_octet(U64,(ptr),5,40)|\ _shifted_octet(U64,(ptr),6,48)|\ _shifted_octet(U64,(ptr),7,56)) #endif #endif /* Find best way to ROTL32/ROTL64 */ #if defined(_MSC_VER) #include <stdlib.h> /* Microsoft put _rotl declaration in here */ #define ROTL32(x,r) _rotl(x,r) #define ROTR32(x,r) _rotr(x,r) #define ROTL64(x,r) _rotl64(x,r) #define ROTR64(x,r) _rotr64(x,r) #else /* gcc recognises this code and generates a rotate instruction for CPUs with one */ #define ROTL32(x,r) (((U32)(x) << (r)) | ((U32)(x) >> (32 - (r)))) #define ROTR32(x,r) (((U32)(x) << (32 - (r))) | ((U32)(x) >> (r))) #define ROTL64(x,r) ( ( (U64)(x) << (r) ) | ( (U64)(x) >> ( 64 - (r) ) ) ) #define ROTR64(x,r) ( ( (U64)(x) << ( 64 - (r) ) ) | ( (U64)(x) >> (r) ) ) #endif #ifdef UV_IS_QUAD #define ROTL_UV(x,r) ROTL64(x,r) #define ROTR_UV(x,r) ROTL64(x,r) #else #define ROTL_UV(x,r) ROTL32(x,r) #define ROTR_UV(x,r) ROTR32(x,r) #endif #if IVSIZE == 8 #define CAN64BITHASH #endif #endif
[-] stadtx_hash.h
[edit]
[-] l1_char_class_tab.h
[edit]
[-] XSUB.h
[edit]
[-] iperlsys.h
[edit]
[-] keywords.h
[edit]
[-] dosish.h
[edit]
[-] sv.h
[edit]
[-] thread.h
[edit]
[-] zaphod32_hash.h
[edit]
[-] intrpvar.h
[edit]
[-] unixish.h
[edit]
[-] mydtrace.h
[edit]
[-] perlio.h
[edit]
[-] pp.h
[edit]
[-] bitcount.h
[edit]
[-] reentr.h
[edit]
[-] pad.h
[edit]
[-] op.h
[edit]
[-] config.h
[edit]
[-] parser.h
[edit]
[-] mg_data.h
[edit]
[-] regnodes.h
[edit]
[-] form.h
[edit]
[-] perlvars.h
[edit]
[-] regcomp.h
[edit]
[-] warnings.h
[edit]
[-] nostdio.h
[edit]
[-] hv.h
[edit]
[-] sbox32_hash.h
[edit]
[-] util.h
[edit]
[-] mg_vtable.h
[edit]
[-] uni_keywords.h
[edit]
[-] perlapi.h
[edit]
[-] uudmap.h
[edit]
[-] op_reg_common.h
[edit]
[-] metaconfig.h
[edit]
[-] hv_macro.h
[edit]
[-] overload.h
[edit]
[-] unicode_constants.h
[edit]
[-] opnames.h
[edit]
[-] proto.h
[edit]
[-] perl_langinfo.h
[edit]
[-] perlsdio.h
[edit]
[-] time64_config.h
[edit]
[-] perly.h
[edit]
[-] cop.h
[edit]
[-] charclass_invlists.h
[edit]
[-] patchlevel.h
[edit]
[-] perliol.h
[edit]
[-] INTERN.h
[edit]
[-] regcharclass.h
[edit]
[-] libperl.so
[edit]
[-] cv.h
[edit]
[-] embedvar.h
[edit]
[-] hv_func.h
[edit]
[+]
..
[-] handy.h
[edit]
[-] gv.h
[edit]
[-] scope.h
[edit]
[-] invlist_inline.h
[edit]
[-] malloc_ctl.h
[edit]
[-] uconfig.h
[edit]
[-] inline.h
[edit]
[-] mg.h
[edit]
[-] utfebcdic.h
[edit]
[-] EXTERN.h
[edit]
[-] time64.h
[edit]
[-] fakesdio.h
[edit]
[-] av.h
[edit]
[-] vutil.h
[edit]
[-] git_version.h
[edit]
[-] perl_inc_macro.h
[edit]
[-] opcode.h
[edit]
[-] perldtrace.h
[edit]
[-] perl.h
[edit]
[-] regexp.h
[edit]
[-] feature.h
[edit]
[-] embed.h
[edit]
[-] utf8.h
[edit]
[-] pp_proto.h
[edit]
[-] mg_raw.h
[edit]
[-] ebcdic_tables.h
[edit]