Home
last modified time | relevance | path

Searched refs:integralof (Results 1 – 9 of 9) sorted by relevance

/illumos-gate/usr/src/contrib/ast/src/lib/libast/aso/
H A Dasohdr.h38 #ifndef integralof
39 #define integralof(x) (((char*)(x))-((char*)0)) macro
69 #define HASH(p,z) ((integralof(p)*FNV_MULT)%(z))
H A Daso.c624 s = (int)(integralof(p) & (sizeof(u.i) - 1));
625 a = (U16_8_t*)((char*)0 + (integralof(p) & ~(sizeof(u.i) - 1)));
651 s = (int)(integralof(p) & (sizeof(u.i) - 1));
652 a = (U32_8_t*)((char*)0 + (integralof(p) & ~(sizeof(u.i) - 1)));
678 s = (int)(integralof(p) & (sizeof(u.i) - 1));
679 a = (U64_8_t*)((char*)0 + (integralof(p) & ~(sizeof(u.i) - 1)));
723 s = (int)(integralof(p) & (sizeof(u.i) - 1)) / 2;
724 a = (U32_16_t*)((char*)0 + (integralof(p) & ~(sizeof(u.i) - 1)));
750 s = (int)(integralof(p) & (sizeof(u.i) - 1)) / 2;
751 a = (U64_16_t*)((char*)0 + (integralof(p) & ~(sizeof(u.i) - 1)));
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libast/hash/
H A Dhashlook.c91 n = (unsigned int)integralof(name); in hashlook()
301 else if ((n = (int)integralof(value)) < m) n = m; in hashlook()
359 …if (value && tab->root->local->alloc) value = (*tab->root->local->alloc)((unsigned int)integralof(… in hashlook()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/path/
H A Dpathtemp.c300 …32_t)tmp.pid * ((uint32_t)time(NiL) ^ (((uint32_t)integralof(&attempt)) >> 3) ^ (((uint32_t)integr… in pathtemp()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/astsa/
H A Dast.h90 #define integralof(x) (((char*)(x))-((char*)0)) macro
/illumos-gate/usr/src/contrib/ast/src/lib/libcmd/
H A Dvmstate.c78 *pn = integralof(state->vm); in key()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/include/
H A Dast.h203 #define integralof(x) (((char*)(x))-((char*)0)) macro
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/
H A Dio.c2246 int newfd = integralof(data); in sftrack()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/
H A DRELEASE480 06-08-30 include/ast.h: add { integralof(x) pointerof(x) }