x 54 lib/compression/mszip.c uint32_t x[ZIPBMAX+1]; /* bit offsets, then code stack */ x 59 lib/compression/mszip.c #define CAB(x) (decomp_state->x) x 60 lib/compression/mszip.c #define ZIP(x) (decomp_state->methods.zip.x) x 192 lib/compression/mszip.c ZIP(x)[1] = j = 0; x 193 lib/compression/mszip.c p = ZIP(c) + 1; xp = ZIP(x) + 2; x 203 lib/compression/mszip.c ZIP(v)[ZIP(x)[j]++] = i; x 208 lib/compression/mszip.c ZIP(x)[0] = i = 0; /* first Huffman code is zero */ x 260 lib/compression/mszip.c ZIP(x)[h] = i; /* save pattern for backing up */ x 295 lib/compression/mszip.c while ((i & ((1 << w) - 1)) != ZIP(x)[h]) x 47 lib/crypto/md4.c static uint32_t lshift(uint32_t x, int s) x 49 lib/crypto/md4.c x &= 0xFFFFFFFF; x 50 lib/crypto/md4.c return ((x<<s)&0xFFFFFFFF) | (x>>(32-s)); x 119 lib/crypto/md4.c static void copy4(uint8_t *out, uint32_t x) x 121 lib/crypto/md4.c out[0] = x&0xFF; x 122 lib/crypto/md4.c out[1] = (x>>8)&0xFF; x 123 lib/crypto/md4.c out[2] = (x>>16)&0xFF; x 124 lib/crypto/md4.c out[3] = (x>>24)&0xFF; x 153 lib/crypto/md5.c #define F1(x, y, z) (z ^ (x & (y ^ z))) x 154 lib/crypto/md5.c #define F2(x, y, z) F1(z, x, y) x 155 lib/crypto/md5.c #define F3(x, y, z) (x ^ y ^ z) x 156 lib/crypto/md5.c #define F4(x, y, z) (y ^ (x | ~z)) x 159 lib/crypto/md5.c #define MD5STEP(f, w, x, y, z, data, s) \ x 160 lib/crypto/md5.c ( w += f(x, y, z) + data, w = w<<s | w>>(32-s), w += x ) x 44 lib/crypto/sha256.c #define Ch(x,y,z) (((x) & (y)) ^ ((~(x)) & (z))) x 45 lib/crypto/sha256.c #define Maj(x,y,z) (((x) & (y)) ^ ((x) & (z)) ^ ((y) & (z))) x 47 lib/crypto/sha256.c #define ROTR(x,n) (((x)>>(n)) | ((x) << (32 - (n)))) x 49 lib/crypto/sha256.c #define Sigma0(x) (ROTR(x,2) ^ ROTR(x,13) ^ ROTR(x,22)) x 50 lib/crypto/sha256.c #define Sigma1(x) (ROTR(x,6) ^ ROTR(x,11) ^ ROTR(x,25)) x 51 lib/crypto/sha256.c #define sigma0(x) (ROTR(x,7) ^ ROTR(x,18) ^ ((x)>>3)) x 52 lib/crypto/sha256.c #define sigma1(x) (ROTR(x,17) ^ ROTR(x,19) ^ ((x)>>10)) x 164 lib/crypto/sha256.c cshift (uint32_t x, unsigned int n) x 166 lib/crypto/sha256.c x = CRAYFIX(x); x 167 lib/crypto/sha256.c return CRAYFIX((x << n) | (x >> (32 - n))); x 135 lib/popt/poptparse.c char * x; x 206 lib/popt/poptparse.c x = p + linelen; x 207 lib/popt/poptparse.c while (isspace(*--x)) x 208 lib/popt/poptparse.c *x = 0; /* null out last char if space (including fgets() NL) */ x 211 lib/popt/poptparse.c t = x - p; x 471 lib/replace/crypt.c long32 x; x 473 lib/replace/crypt.c x = (k[0] ^ k[1]) & (long32)saltbits; x 474 lib/replace/crypt.c *k++ ^= x; x 475 lib/replace/crypt.c *k++ ^= x; x 483 lib/replace/crypt.c long64 x; x 485 lib/replace/crypt.c x = ((*k >> 32) ^ *k) & (long64)saltbits; x 486 lib/replace/crypt.c *k++ ^= (x << 32) | x; x 590 lib/replace/crypt.c { ufc_long v1, v2, x; x 593 lib/replace/crypt.c x = (l1 ^ l2) & current_saltbits; l1 ^= x; l2 ^= x; x 594 lib/replace/crypt.c x = (r1 ^ r2) & current_saltbits; r1 ^= x; r2 ^= x; x 618 lib/replace/replace.h #define __STRING(x) #x x 622 lib/replace/replace.h #define __STRINGSTRING(x) __STRING(x) x 636 lib/replace/replace.h #define ZERO_STRUCT(x) memset((char *)&(x), 0, sizeof(x)) x 641 lib/replace/replace.h #define ZERO_STRUCTP(x) do { if ((x) != NULL) memset((char *)(x), 0, sizeof(*(x))); } while(0) x 646 lib/replace/replace.h #define ZERO_STRUCTPN(x) memset((char *)(x), 0, sizeof(*(x))) x 650 lib/replace/replace.h #define ZERO_ARRAY(x) memset((char *)(x), 0, sizeof(x)) x 920 lib/replace/snprintf.c double x = x0; x 924 lib/replace/snprintf.c l = (long)x; x 925 lib/replace/snprintf.c if (l <= (x+1) && l >= (x-1)) break; x 926 lib/replace/snprintf.c x *= 0.1; x 946 lib/replace/snprintf.c return x - (*iptr); x 1365 lib/replace/snprintf.c int x, y; x 1378 lib/replace/snprintf.c for (x = 0; fp_fmt[x] ; x++) { x 1381 lib/replace/snprintf.c l1 = snprintf(buf1, sizeof(buf1), fp_fmt[x], fp_nums[y]); x 1382 lib/replace/snprintf.c l2 = sprintf (buf2, fp_fmt[x], fp_nums[y]); x 1386 lib/replace/snprintf.c fp_fmt[x], l1, buf1, l2, buf2); x 1393 lib/replace/snprintf.c for (x = 0; int_fmt[x] ; x++) { x 1396 lib/replace/snprintf.c l1 = snprintf(buf1, sizeof(buf1), int_fmt[x], int_nums[y]); x 1397 lib/replace/snprintf.c l2 = sprintf (buf2, int_fmt[x], int_nums[y]); x 1401 lib/replace/snprintf.c int_fmt[x], l1, buf1, l2, buf2); x 1408 lib/replace/snprintf.c for (x = 0; str_fmt[x] ; x++) { x 1411 lib/replace/snprintf.c l1 = snprintf(buf1, sizeof(buf1), str_fmt[x], str_vals[y]); x 1412 lib/replace/snprintf.c l2 = sprintf (buf2, str_fmt[x], str_vals[y]); x 1416 lib/replace/snprintf.c str_fmt[x], l1, buf1, l2, buf2); x 1424 lib/replace/snprintf.c for (x = 0; ll_fmt[x] ; x++) { x 1427 lib/replace/snprintf.c l1 = snprintf(buf1, sizeof(buf1), ll_fmt[x], ll_nums[y]); x 1428 lib/replace/snprintf.c l2 = sprintf (buf2, ll_fmt[x], ll_nums[y]); x 1432 lib/replace/snprintf.c ll_fmt[x], l1, buf1, l2, buf2); x 1476 lib/replace/snprintf.c for (x = 0; ss_fmt[x] ; x++) { x 1479 lib/replace/snprintf.c l1 = snprintf(buf1, sizeof(buf1), ss_fmt[x], ss_nums[y]); x 1480 lib/replace/snprintf.c l2 = sprintf (buf2, ss_fmt[x], ss_nums[y]); x 1484 lib/replace/snprintf.c ss_fmt[x], l1, buf1, l2, buf2); x 1516 lib/replace/snprintf.c for (x=0; x<100; x++) { x 1517 lib/replace/snprintf.c double p = pow(10, x); x 1522 lib/replace/snprintf.c printf("we seem to support %d digits\n", x-1); x 12 lib/replace/test/strptime.c #define __STRING(x) #x x 160 lib/replace/test/testsuite.c char *x; x 162 lib/replace/test/testsuite.c x = strdup("bla"); x 163 lib/replace/test/testsuite.c if (strcmp("bla", x) != 0) { x 165 lib/replace/test/testsuite.c x); x 168 lib/replace/test/testsuite.c free(x); x 255 lib/replace/test/testsuite.c char *x; x 257 lib/replace/test/testsuite.c x = strndup("bla", 0); x 258 lib/replace/test/testsuite.c if (strcmp(x, "") != 0) { x 262 lib/replace/test/testsuite.c free(x); x 263 lib/replace/test/testsuite.c x = strndup("bla", 2); x 264 lib/replace/test/testsuite.c if (strcmp(x, "bl") != 0) { x 268 lib/replace/test/testsuite.c free(x); x 269 lib/replace/test/testsuite.c x = strndup("bla", 10); x 270 lib/replace/test/testsuite.c if (strcmp(x, "bla") != 0) { x 274 lib/replace/test/testsuite.c free(x); x 321 lib/replace/test/testsuite.c char *x; x 323 lib/replace/test/testsuite.c if (asprintf(&x, "%d", 9) != 1) { x 327 lib/replace/test/testsuite.c if (strcmp(x, "9") != 0) { x 331 lib/replace/test/testsuite.c if (asprintf(&x, "dat%s", "a") != 4) { x 335 lib/replace/test/testsuite.c if (strcmp(x, "data") != 0) { x 86 lib/talloc/talloc.c #define likely(x) __builtin_expect(!!(x), 1) x 89 lib/talloc/talloc.c #define unlikely(x) __builtin_expect(!!(x), 0) x 93 lib/talloc/talloc.c #define likely(x) (x) x 96 lib/talloc/talloc.c #define unlikely(x) (x) x 703 lib/talloc/testsuite.c int *x; x 713 lib/talloc/testsuite.c t1->x = talloc(t1, int); x 714 lib/talloc/testsuite.c *t1->x = 42; x 717 lib/talloc/testsuite.c t2->x = talloc_move(t2, &t1->x); x 718 lib/talloc/testsuite.c torture_assert("move", t1->p == NULL && t1->x == NULL && x 719 lib/talloc/testsuite.c strcmp(t2->p, "foo") == 0 && *t2->x == 42, x 54 lib/tdb/common/tdb_private.h #define TDB_ALIGN(x,a) (((x) + (a)-1) & ~((a)-1)) x 55 lib/tdb/common/tdb_private.h #define TDB_BYTEREV(x) (((((x)&0xff)<<24)|((x)&0xFF00)<<8)|(((x)>>8)&0xFF00)|((x)>>24)) x 69 lib/tdb/common/tdb_private.h #define TDB_LOG(x) tdb->log.log_fn x x 78 lib/tdb/common/tdb_private.h #define SAFE_FREE(x) do { if ((x) != NULL) {free(x); (x)=NULL;} } while(0) x 84 lib/tdb/common/tdb_private.h #define CONVERT(x) (DOCONV() ? tdb_convert(&x, sizeof(x)) : &x) x 39 lib/util/asn1.h #define ASN1_APPLICATION(x) ((x)+0x60) x 40 lib/util/asn1.h #define ASN1_APPLICATION_SIMPLE(x) ((x)+0x40) x 41 lib/util/asn1.h #define ASN1_SEQUENCE(x) ((x)+0x30) x 42 lib/util/asn1.h #define ASN1_CONTEXT(x) ((x)+0xa0) x 43 lib/util/asn1.h #define ASN1_CONTEXT_SIMPLE(x) ((x)+0x80) x 205 lib/util/byteorder.h #define SREV(x) ((((x)&0xFF)<<8) | (((x)>>8)&0xFF)) x 206 lib/util/byteorder.h #define IREV(x) ((SREV(x)<<16) | (SREV((x)>>16))) x 31 lib/util/memory.h #define SAFE_FREE(x) do { if ((x) != NULL) {free(discard_const_p(void *, (x))); (x)=NULL;} } while(0) x 54 lib/util/memory.h #define ZERO_STRUCT(x) memset((char *)&(x), 0, sizeof(x)) x 61 lib/util/memory.h #define ZERO_STRUCTP(x) do { if ((x) != NULL) memset((char *)(x), 0, sizeof(*(x))); } while(0) x 68 lib/util/memory.h #define ZERO_STRUCTPN(x) memset((char *)(x), 0, sizeof(*(x))) x 74 lib/util/memory.h #define ZERO_ARRAY(x) memset((char *)(x), 0, sizeof(x)) x 216 lib/util/time.c uint32_t x = make_dos_date(unixdate, zone_offset); x 217 lib/util/time.c SIVAL(buf,offset,x); x 226 lib/util/time.c uint32_t x; x 227 lib/util/time.c x = make_dos_date(unixdate, zone_offset); x 228 lib/util/time.c x = ((x&0xFFFF)<<16) | ((x&0xFFFF0000)>>16); x 229 lib/util/time.c SIVAL(buf,offset,x); x 293 lib/util/time.c uint32_t x,x2; x 295 lib/util/time.c x = IVAL(date_ptr,0); x 296 lib/util/time.c x2 = ((x&0xFFFF)<<16) | ((x&0xFFFF0000)>>16); x 297 lib/util/time.c SIVAL(&x,0,x2); x 299 lib/util/time.c return pull_dos_date((const uint8_t *)&x, zone_offset); x 67 lib/util/util.h #define strlen(x) valgrind_strlen(x) x 115 lib/zlib/contrib/iostream2/zstream.h inline int read(izstream& zs, T* x, Items items) { x 116 lib/zlib/contrib/iostream2/zstream.h return ::gzread(zs.fp(), x, items*sizeof(T)); x 123 lib/zlib/contrib/iostream2/zstream.h inline izstream& operator>(izstream& zs, T& x) { x 124 lib/zlib/contrib/iostream2/zstream.h ::gzread(zs.fp(), &x, sizeof(T)); x 138 lib/zlib/contrib/iostream2/zstream.h inline izstream& operator>(izstream& zs, char* x) { x 140 lib/zlib/contrib/iostream2/zstream.h ::gzread(zs.fp(), x, len.value()); x 141 lib/zlib/contrib/iostream2/zstream.h x[len.value()] = '\0'; x 147 lib/zlib/contrib/iostream2/zstream.h char* x = new char[len.value()+1]; x 148 lib/zlib/contrib/iostream2/zstream.h ::gzread(zs.fp(), x, len.value()); x 149 lib/zlib/contrib/iostream2/zstream.h x[len.value()] = '\0'; x 150 lib/zlib/contrib/iostream2/zstream.h return x; x 264 lib/zlib/contrib/iostream2/zstream.h inline int write(ozstream& zs, const T* x, Items items) { x 265 lib/zlib/contrib/iostream2/zstream.h return ::gzwrite(zs.fp(), (voidp) x, items*sizeof(T)); x 272 lib/zlib/contrib/iostream2/zstream.h inline ozstream& operator<(ozstream& zs, const T& x) { x 273 lib/zlib/contrib/iostream2/zstream.h ::gzwrite(zs.fp(), (voidp) &x, sizeof(T)); x 277 lib/zlib/contrib/iostream2/zstream.h inline zstringlen::zstringlen(ozstream& zs, const char* x) { x 278 lib/zlib/contrib/iostream2/zstream.h val.byte = 255; val.word = ::strlen(x); x 286 lib/zlib/contrib/iostream2/zstream.h inline ozstream& operator<(ozstream& zs, const char* x) { x 287 lib/zlib/contrib/iostream2/zstream.h zstringlen len(zs, x); x 288 lib/zlib/contrib/iostream2/zstream.h ::gzwrite(zs.fp(), (voidp) x, len.value()); x 293 lib/zlib/contrib/iostream2/zstream.h inline ozstream& operator<(ozstream& zs, char* const& x) { x 294 lib/zlib/contrib/iostream2/zstream.h return zs < (const char*) x; x 302 lib/zlib/contrib/iostream2/zstream.h inline ostream& operator<<(ozstream& zs, const T& x) { x 304 lib/zlib/contrib/iostream2/zstream.h return zs.os() << x; x 14 lib/zlib/contrib/iostream2/zstream_test.cpp char *x = read_string(in), *y = new char[256], z[256]; x 17 lib/zlib/contrib/iostream2/zstream_test.cpp cout << x << endl << y << endl << z << endl; x 20 lib/zlib/contrib/iostream2/zstream_test.cpp out << setw(50) << setfill('#') << setprecision(20) << x << endl << y << endl << z << endl; x 21 lib/zlib/contrib/iostream2/zstream_test.cpp out << z << endl << y << endl << x << endl; x 24 lib/zlib/contrib/iostream2/zstream_test.cpp delete[] x; delete[] y; x 206 lib/zlib/contrib/minizip/unzip.c uLong x ; x 211 lib/zlib/contrib/minizip/unzip.c x = (uLong)i; x 215 lib/zlib/contrib/minizip/unzip.c x += ((uLong)i)<<8; x 218 lib/zlib/contrib/minizip/unzip.c *pX = x; x 234 lib/zlib/contrib/minizip/unzip.c uLong x ; x 239 lib/zlib/contrib/minizip/unzip.c x = (uLong)i; x 243 lib/zlib/contrib/minizip/unzip.c x += ((uLong)i)<<8; x 247 lib/zlib/contrib/minizip/unzip.c x += ((uLong)i)<<16; x 251 lib/zlib/contrib/minizip/unzip.c x += ((uLong)i)<<24; x 254 lib/zlib/contrib/minizip/unzip.c *pX = x; x 265 lib/zlib/contrib/minizip/zip.c voidpf filestream, uLong x, int nbByte)); x 266 lib/zlib/contrib/minizip/zip.c local int ziplocal_putValue (pzlib_filefunc_def, filestream, x, nbByte) x 269 lib/zlib/contrib/minizip/zip.c uLong x; x 276 lib/zlib/contrib/minizip/zip.c buf[n] = (unsigned char)(x & 0xff); x 277 lib/zlib/contrib/minizip/zip.c x >>= 8; x 279 lib/zlib/contrib/minizip/zip.c if (x != 0) x 293 lib/zlib/contrib/minizip/zip.c local void ziplocal_putValue_inmemory OF((void* dest, uLong x, int nbByte)); x 294 lib/zlib/contrib/minizip/zip.c local void ziplocal_putValue_inmemory (dest, x, nbByte) x 296 lib/zlib/contrib/minizip/zip.c uLong x; x 302 lib/zlib/contrib/minizip/zip.c buf[n] = (unsigned char)(x & 0xff); x 303 lib/zlib/contrib/minizip/zip.c x >>= 8; x 306 lib/zlib/contrib/minizip/zip.c if (x != 0) x 375 lib/zlib/contrib/minizip/zip.c uLong x ; x 380 lib/zlib/contrib/minizip/zip.c x = (uLong)i; x 384 lib/zlib/contrib/minizip/zip.c x += ((uLong)i)<<8; x 387 lib/zlib/contrib/minizip/zip.c *pX = x; x 403 lib/zlib/contrib/minizip/zip.c uLong x ; x 408 lib/zlib/contrib/minizip/zip.c x = (uLong)i; x 412 lib/zlib/contrib/minizip/zip.c x += ((uLong)i)<<8; x 416 lib/zlib/contrib/minizip/zip.c x += ((uLong)i)<<16; x 420 lib/zlib/contrib/minizip/zip.c x += ((uLong)i)<<24; x 423 lib/zlib/contrib/minizip/zip.c *pX = x; x 79 lib/zlib/gzio.c local void putLong OF((FILE *file, uLong x)); x 918 lib/zlib/gzio.c local void putLong (file, x) x 920 lib/zlib/gzio.c uLong x; x 924 lib/zlib/gzio.c fputc((int)(x & 0xff), file); x 925 lib/zlib/gzio.c x >>= 8; x 936 lib/zlib/gzio.c uLong x = (uLong)get_byte(s); x 939 lib/zlib/gzio.c x += ((uLong)get_byte(s))<<8; x 940 lib/zlib/gzio.c x += ((uLong)get_byte(s))<<16; x 943 lib/zlib/gzio.c x += ((uLong)c)<<24; x 944 lib/zlib/gzio.c return x; x 246 lib/zlib/zutil.h # define Trace(x) {if (z_verbose>=0) fprintf x ;} x 247 lib/zlib/zutil.h # define Tracev(x) {if (z_verbose>0) fprintf x ;} x 248 lib/zlib/zutil.h # define Tracevv(x) {if (z_verbose>1) fprintf x ;} x 249 lib/zlib/zutil.h # define Tracec(c,x) {if (z_verbose>0 && (c)) fprintf x ;} x 250 lib/zlib/zutil.h # define Tracecv(c,x) {if (z_verbose>1 && (c)) fprintf x ;} x 253 lib/zlib/zutil.h # define Trace(x) x 254 lib/zlib/zutil.h # define Tracev(x) x 255 lib/zlib/zutil.h # define Tracevv(x) x 256 lib/zlib/zutil.h # define Tracec(c,x) x 257 lib/zlib/zutil.h # define Tracecv(c,x) x 26 libcli/netlogon.c #define DEBUG(x, y) x 28 libcli/netlogon.c #define DEBUGLVL(x) false x 34 libcli/util/ntstatus.h #define NT_STATUS(x) ((NTSTATUS) { x }) x 35 libcli/util/ntstatus.h #define NT_STATUS_V(x) ((x).v) x 38 libcli/util/ntstatus.h #define NT_STATUS(x) (x) x 39 libcli/util/ntstatus.h #define NT_STATUS_V(x) (x) x 638 libcli/util/ntstatus.h #define NT_STATUS_IS_OK(x) (NT_STATUS_V(x) == 0) x 639 libcli/util/ntstatus.h #define NT_STATUS_IS_ERR(x) ((NT_STATUS_V(x) & 0xc0000000) == 0xc0000000) x 643 libcli/util/ntstatus.h #define NT_STATUS_EQUAL(x,y) (NT_STATUS_IS_DOS(x)||NT_STATUS_IS_DOS(y)?ntstatus_dos_equal(x,y):NT_STATUS_V(x) == NT_STATUS_V(y)) x 645 libcli/util/ntstatus.h #define NT_STATUS_EQUAL(x,y) (NT_STATUS_V(x) == NT_STATUS_V(y)) x 648 libcli/util/ntstatus.h #define NT_STATUS_HAVE_NO_MEMORY(x) do { \ x 649 libcli/util/ntstatus.h if (!(x)) {\ x 654 libcli/util/ntstatus.h #define NT_STATUS_IS_OK_RETURN(x) do { \ x 655 libcli/util/ntstatus.h if (NT_STATUS_IS_OK(x)) {\ x 656 libcli/util/ntstatus.h return x;\ x 660 libcli/util/ntstatus.h #define NT_STATUS_NOT_OK_RETURN(x) do { \ x 661 libcli/util/ntstatus.h if (!NT_STATUS_IS_OK(x)) {\ x 662 libcli/util/ntstatus.h return x;\ x 666 libcli/util/ntstatus.h #define NT_STATUS_IS_ERR_RETURN(x) do { \ x 667 libcli/util/ntstatus.h if (NT_STATUS_IS_ERR(x)) {\ x 668 libcli/util/ntstatus.h return x;\ x 672 libcli/util/ntstatus.h #define NT_STATUS_NOT_ERR_RETURN(x) do { \ x 673 libcli/util/ntstatus.h if (!NT_STATUS_IS_ERR(x)) {\ x 674 libcli/util/ntstatus.h return x;\ x 34 libcli/util/werror.h #define W_ERROR(x) ((WERROR) { x }) x 35 libcli/util/werror.h #define W_ERROR_V(x) ((x).v) x 38 libcli/util/werror.h #define W_ERROR(x) (x) x 39 libcli/util/werror.h #define W_ERROR_V(x) (x) x 42 libcli/util/werror.h #define W_ERROR_IS_OK(x) (W_ERROR_V(x) == 0) x 43 libcli/util/werror.h #define W_ERROR_EQUAL(x,y) (W_ERROR_V(x) == W_ERROR_V(y)) x 45 libcli/util/werror.h #define W_ERROR_HAVE_NO_MEMORY(x) do { \ x 46 libcli/util/werror.h if (!(x)) {\ x 51 libcli/util/werror.h #define W_ERROR_IS_OK_RETURN(x) do { \ x 52 libcli/util/werror.h if (W_ERROR_IS_OK(x)) {\ x 53 libcli/util/werror.h return x;\ x 57 libcli/util/werror.h #define W_ERROR_NOT_OK_RETURN(x) do { \ x 58 libcli/util/werror.h if (!W_ERROR_IS_OK(x)) {\ x 59 libcli/util/werror.h return x;\ x 63 libcli/util/werror.h #define W_ERROR_NOT_OK_GOTO_DONE(x) do { \ x 64 libcli/util/werror.h if (!W_ERROR_IS_OK(x)) {\ x 69 libcli/util/werror.h #define W_ERROR_NOT_OK_GOTO(x, y) do {\ x 70 libcli/util/werror.h if (!W_ERROR_IS_OK(x)) {\ x 88 librpc/gen_ndr/echo.h uint32_t x; x 584 librpc/gen_ndr/ndr_echo.c NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->x)); x 586 librpc/gen_ndr/ndr_echo.c NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->x)); x 587 librpc/gen_ndr/ndr_echo.c for (cntr_surrounding_0 = 0; cntr_surrounding_0 < r->x; cntr_surrounding_0++) { x 603 librpc/gen_ndr/ndr_echo.c NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->x)); x 607 librpc/gen_ndr/ndr_echo.c for (cntr_surrounding_0 = 0; cntr_surrounding_0 < r->x; cntr_surrounding_0++) { x 612 librpc/gen_ndr/ndr_echo.c NDR_CHECK(ndr_check_array_size(ndr, (void*)&r->surrounding, r->x)); x 625 librpc/gen_ndr/ndr_echo.c ndr_print_uint32(ndr, "x", r->x); x 626 librpc/gen_ndr/ndr_echo.c ndr->print(ndr, "%s: ARRAY(%d)", "surrounding", (int)r->x); x 628 librpc/gen_ndr/ndr_echo.c for (cntr_surrounding_0=0;cntr_surrounding_0<r->x;cntr_surrounding_0++) { x 189 librpc/ndr/libndr.h #define NDR_ERR_CODE_IS_SUCCESS(x) (x == NDR_ERR_SUCCESS) x 191 librpc/ndr/libndr.h #define NDR_ERR_HAVE_NO_MEMORY(x) do { \ x 192 librpc/ndr/libndr.h if (NULL == (x)) { \ x 27 nsswitch/libwbclient/wbc_err_internal.h #define BAIL_ON_WBC_ERROR(x) \ x 29 nsswitch/libwbclient/wbc_err_internal.h if (!WBC_ERROR_IS_OK(x)) { \ x 34 nsswitch/libwbclient/wbc_err_internal.h #define BAIL_ON_PTR_ERROR(x, status) \ x 36 nsswitch/libwbclient/wbc_err_internal.h if ((x) == NULL) { \ x 75 nsswitch/libwbclient/wbc_sid.c uint32_t x; x 96 nsswitch/libwbclient/wbc_sid.c x = (uint32_t)strtol(p, &q, 10); x 97 nsswitch/libwbclient/wbc_sid.c if (x==0 || !q || *q!='-') { x 101 nsswitch/libwbclient/wbc_sid.c sid->sid_rev_num = (uint8_t)x; x 107 nsswitch/libwbclient/wbc_sid.c x = (uint32_t)strtol(p, &q, 10); x 112 nsswitch/libwbclient/wbc_sid.c sid->id_auth[5] = (x & 0x000000ff); x 113 nsswitch/libwbclient/wbc_sid.c sid->id_auth[4] = (x & 0x0000ff00) >> 8; x 114 nsswitch/libwbclient/wbc_sid.c sid->id_auth[3] = (x & 0x00ff0000) >> 16; x 115 nsswitch/libwbclient/wbc_sid.c sid->id_auth[2] = (x & 0xff000000) >> 24; x 124 nsswitch/libwbclient/wbc_sid.c x=(uint32_t)strtoul(p, &q, 10); x 131 nsswitch/libwbclient/wbc_sid.c sid->sub_auths[sid->num_auths++] = x; x 53 nsswitch/libwbclient/wbclient.h #define WBC_ERROR_IS_OK(x) ((x) == WBC_ERR_SUCCESS) x 79 nsswitch/pam_winbind.h #define _pam_overwrite(x) \ x 82 nsswitch/pam_winbind.h if ((__xx__=(x))) \ x 131 nsswitch/pam_winbind.h #define on(x, y) (x & y) x 132 nsswitch/pam_winbind.h #define off(x, y) (!(x & y)) x 148 nsswitch/pam_winbind.h #define PAM_WB_REMARK_DIRECT(c,x)\ x 151 nsswitch/pam_winbind.h error_string = _get_ntstatus_error_string(x);\ x 155 nsswitch/pam_winbind.h _make_remark(c, PAM_ERROR_MSG, x);\ x 161 nsswitch/pam_winbind.h #define PAM_WB_CACHED_LOGON(x) (x & WBC_AUTH_USER_INFO_CACHED_ACCOUNT) x 162 nsswitch/pam_winbind.h #define PAM_WB_KRB5_CLOCK_SKEW(x) (x & LOGON_KRB5_FAIL_CLOCK_SKEW) x 163 nsswitch/pam_winbind.h #define PAM_WB_GRACE_LOGON(x) ((WBC_AUTH_USER_INFO_CACHED_ACCOUNT|WBC_AUTH_USER_INFO_GRACE_LOGON) == ( x & (WBC_AUTH_USER_INFO_CACHED_ACCOUNT|WBC_AUTH_USER_INFO_GRACE_LOGON))) x 1010 nsswitch/winbind_nss_aix.c #define DECL_METHOD(x) \ x 1011 nsswitch/winbind_nss_aix.c int method_ ## x(void) \ x 1013 nsswitch/winbind_nss_aix.c logit("UNIMPLEMENTED METHOD '%s'\n", #x); \ x 15 nsswitch/winbind_struct_protocol.h #define SAFE_FREE(x) do { if(x) {free(x); x=NULL;} } while(0) x 77 source3/client/mount.cifs.c #define SAFE_FREE(x) do { if ((x) != NULL) {free(x); x=NULL;} } while(0) x 157 source3/include/ads.h #define ADS_ERROR_HAVE_NO_MEMORY(x) do { \ x 158 source3/include/ads.h if (!(x)) {\ x 37 source3/include/adt_tree.h int (*compare)(void* x, void *y); x 175 source3/include/debug.h #define likely(x) __builtin_expect(!!(x), 1) x 178 source3/include/debug.h #define unlikely(x) __builtin_expect(!!(x), 0) x 182 source3/include/debug.h #define likely(x) (x) x 185 source3/include/debug.h #define unlikely(x) (x) x 38 source3/include/eventlog.h #define ELOG_TDB_CTX(x) ((x)->tdb) x 48 source3/include/gpo.h #define GPO_VERSION_USER(x) (x >> 16) x 49 source3/include/gpo.h #define GPO_VERSION_MACHINE(x) (x & 0xffff) x 23 source3/include/intl.h #define N_(x) (x) x 600 source3/include/nameserv.h #define NEXT_SUBNET_EXCLUDING_UNICAST(x) ((x)->next) x 601 source3/include/nameserv.h #define NEXT_SUBNET_INCLUDING_UNICAST(x) (get_next_subnet_maybe_unicast((x))) x 87 source3/include/passdb.h #define IS_SAM_SET(x, flag) (pdb_get_init_flags(x, flag) == PDB_SET) x 88 source3/include/passdb.h #define IS_SAM_CHANGED(x, flag) (pdb_get_init_flags(x, flag) == PDB_CHANGED) x 89 source3/include/passdb.h #define IS_SAM_DEFAULT(x, flag) (pdb_get_init_flags(x, flag) == PDB_DEFAULT) x 55 source3/include/regfio.h #define HBIN_STORE_REF(x, y) { x->hbin = y; y->ref_count++ }; x 56 source3/include/regfio.h #define HBIN_REMOVE_REF(x, y) { x->hbin = NULL; y->ref_count-- /* if the count == 0; we can clean up */ }; x 139 source3/include/samba_linux_quota.h #define qb2kb(x) ((x) << (QUOTABLOCK_BITS-10)) x 140 source3/include/samba_linux_quota.h #define kb2qb(x) ((x) >> (QUOTABLOCK_BITS-10)) x 141 source3/include/samba_linux_quota.h #define toqb(x) (((x) + QUOTABLOCK_SIZE - 1) >> QUOTABLOCK_BITS) x 116 source3/include/smb.h #define GET_OPENX_MODE(x) ((x) & OPENX_MODE_MASK) x 117 source3/include/smb.h #define SET_OPENX_MODE(x) ((x) & OPENX_MODE_MASK) x 118 source3/include/smb.h #define GET_DENY_MODE(x) (((x)>>DENY_MODE_SHIFT) & DENY_MODE_MASK) x 119 source3/include/smb.h #define SET_DENY_MODE(x) (((x) & DENY_MODE_MASK) <<DENY_MODE_SHIFT) x 123 source3/include/smb.h #define GET_FILE_SYNC_OPENMODE(x) (((x) & FILE_SYNC_OPENMODE) ? True : False) x 133 source3/include/smb.h #define GET_FILE_OPENX_DISPOSITION(x) ((x) & FILE_OPEN_MASK) x 134 source3/include/smb.h #define SET_FILE_OPENX_DISPOSITION(x) ((x) & FILE_OPEN_MASK) x 126 source3/include/smb_macros.h #define SMB_ROUNDUP(x,r) ( ((x)%(r)) ? ( (((x)+(r))/(r))*(r) ) : (x)) x 817 source3/include/smbprofile.h #define INC_PROFILE_COUNT(x) profile_p->x++ x 818 source3/include/smbprofile.h #define DEC_PROFILE_COUNT(x) profile_p->x-- x 819 source3/include/smbprofile.h #define ADD_PROFILE_COUNT(x,y) profile_p->x += (y) x 851 source3/include/smbprofile.h #define DO_PROFILE_INC(x) \ x 853 source3/include/smbprofile.h INC_PROFILE_COUNT(x); \ x 856 source3/include/smbprofile.h #define DO_PROFILE_DEC(x) \ x 858 source3/include/smbprofile.h DEC_PROFILE_COUNT(x); \ x 861 source3/include/smbprofile.h #define DO_PROFILE_DEC_INC(x,y) \ x 863 source3/include/smbprofile.h DEC_PROFILE_COUNT(x); \ x 867 source3/include/smbprofile.h #define DO_PROFILE_ADD(x,n) \ x 869 source3/include/smbprofile.h ADD_PROFILE_COUNT(x,n); \ x 872 source3/include/smbprofile.h #define START_PROFILE(x) \ x 873 source3/include/smbprofile.h uint64_t __profstamp_##x = 0; \ x 875 source3/include/smbprofile.h __profstamp_##x = do_profile_times ? profile_timestamp() : 0;\ x 876 source3/include/smbprofile.h INC_PROFILE_COUNT(x##_count); \ x 879 source3/include/smbprofile.h #define START_PROFILE_BYTES(x,n) \ x 880 source3/include/smbprofile.h uint64_t __profstamp_##x = 0; \ x 882 source3/include/smbprofile.h __profstamp_##x = do_profile_times ? profile_timestamp() : 0;\ x 883 source3/include/smbprofile.h INC_PROFILE_COUNT(x##_count); \ x 884 source3/include/smbprofile.h ADD_PROFILE_COUNT(x##_bytes, n); \ x 887 source3/include/smbprofile.h #define END_PROFILE(x) \ x 889 source3/include/smbprofile.h ADD_PROFILE_COUNT(x##_time, \ x 890 source3/include/smbprofile.h profile_timestamp() - __profstamp_##x); \ x 896 source3/include/smbprofile.h #define DO_PROFILE_INC(x) x 897 source3/include/smbprofile.h #define DO_PROFILE_DEC(x) x 898 source3/include/smbprofile.h #define DO_PROFILE_DEC_INC(x,y) x 899 source3/include/smbprofile.h #define DO_PROFILE_ADD(x,n) x 900 source3/include/smbprofile.h #define START_PROFILE(x) x 901 source3/include/smbprofile.h #define START_PROFILE_BYTES(x,n) x 902 source3/include/smbprofile.h #define END_PROFILE(x) x 771 source3/include/vfs.h #define SMB_VFS_OP(x) ((void *) x) x 39 source3/lib/ldb/common/ldb_dn.c #define LDB_DN_NULL_FAILED(x) if (!(x)) goto failed x 120 source3/lib/ldb/common/ldb_dn.c unsigned x; x 143 source3/lib/ldb/common/ldb_dn.c if (sscanf(p + 1, "%02x", &x) == 1) { x 144 source3/lib/ldb/common/ldb_dn.c *p = (unsigned char)x; x 206 source3/lib/ldb/common/qsort.c #define min(x, y) ((x) < (y) ? (x) : (y)) x 228 source3/lib/ldb/tools/ad2oLschema.c #define IF_NULL_FAIL_RET(x) do { \ x 229 source3/lib/ldb/tools/ad2oLschema.c if (!x) { \ x 41 source3/lib/netapi/examples/netdomjoin-gui/netdomjoin-gui.c #define SAFE_FREE(x) do { if ((x) != NULL) {free(x); x=NULL;} } while(0) x 53 source3/lib/netapi/tests/common.h #define NETAPI_STATUS(x,y,fn) \ x 55 source3/lib/netapi/tests/common.h __LINE__, fn, libnetapi_get_error_string(x,y), y); x 57 source3/lib/netapi/tests/common.h #define NETAPI_STATUS_MSG(x,y,fn,z) \ x 59 source3/lib/netapi/tests/common.h __LINE__, fn, libnetapi_get_error_string(x,y), y, z); x 61 source3/lib/netapi/tests/common.h #define ZERO_STRUCT(x) memset((char *)&(x), 0, sizeof(x)) x 53 source3/lib/sysquotas_4A.c #define QCMD(x,y) x x 57 source3/lib/sysquotas_4A.c #define QCMD(x,y) x x 59 source3/lib/sysquotas_xfs.c #define QCMD(x,y) x x 254 source3/lib/time.c uint32_t x = make_dos_date(unixdate, zone_offset); x 255 source3/lib/time.c SIVAL(buf,offset,x); x 265 source3/lib/time.c uint32_t x = make_dos_date(unixdate, zone_offset); x 266 source3/lib/time.c x = ((x&0xFFFF)<<16) | ((x&0xFFFF0000)>>16); x 267 source3/lib/time.c SIVAL(buf,offset,x); x 626 source3/lib/time.c uint32_t x,x2; x 628 source3/lib/time.c x = IVAL(date_ptr,0); x 629 source3/lib/time.c x2 = ((x&0xFFFF)<<16) | ((x&0xFFFF0000)>>16); x 630 source3/lib/time.c SIVAL(&x,0,x2); x 632 source3/lib/time.c return(make_unix_date((const void *)&x, zone_offset)); x 40 source3/lib/util_sec.c #define DEBUG(x, y) printf y x 41 source3/lib/util_sec.c #define smb_panic(x) exit(1) x 40 source3/libaddns/dnserr.h #define ERROR_DNS(x) ((DNS_ERROR) { x }) x 41 source3/libaddns/dnserr.h #define ERROR_DNS_V(x) ((x).v) x 44 source3/libaddns/dnserr.h #define ERROR_DNS(x) (x) x 45 source3/libaddns/dnserr.h #define ERROR_DNS_V(x) (x) x 48 source3/libaddns/dnserr.h #define ERR_DNS_IS_OK(x) (ERROR_DNS_V(x) == 0) x 49 source3/libaddns/dnserr.h #define ERR_DNS_EQUAL(x,y) (ERROR_DNS_V(x) == ERROR_DNS_V(y)) x 7 source3/librpc/gen_ndr/libnetapi.h #define LIBNETAPI_LOCAL_SERVER(x) (!x || is_myname_or_ipaddr(x)) x 314 source3/libsmb/dsgetdcname.c #define RETURN_ON_FALSE(x) if (!(x)) return false; x 77 source3/libsmb/nmblib.c unsigned char x = res->rdata[i+j]; x 78 source3/libsmb/nmblib.c if (x < 32 || x > 127) x 79 source3/libsmb/nmblib.c x = '.'; x 83 source3/libsmb/nmblib.c DEBUGADD(4, ("%c", x)); x 185 source3/modules/getdate.c # define __attribute__(x) x 195 source3/modules/getdate.c #define HOUR(x) ((x) * 60) x 76 source3/modules/getdate.y # define __attribute__(x) x 86 source3/modules/getdate.y #define HOUR(x) ((x) * 60) x 472 source3/modules/onefs_acl.c enum ifs_ace_rights r,w,x; x 476 source3/modules/onefs_acl.c x = isdir ? UNIX_DIRECTORY_ACCESS_X : UNIX_ACCESS_X; x 489 source3/modules/onefs_acl.c ((mode & S_IXUSR) ? x : 0 ); x 500 source3/modules/onefs_acl.c ((mode & S_IXGRP) ? x : 0 ); x 507 source3/modules/onefs_acl.c ((mode & S_IXOTH) ? x : 0 ); x 417 source3/modules/vfs_afsacl.c static bool same_principal(struct afs_ace *x, struct afs_ace *y) x 419 source3/modules/vfs_afsacl.c return ( (x->positive == y->positive) && x 420 source3/modules/vfs_afsacl.c (sid_compare(&x->sid, &y->sid) == 0) ); x 100 source3/nmbd/nmbd_packets.c unsigned char x; x 104 source3/nmbd/nmbd_packets.c x = outbuf[i+j]; x 105 source3/nmbd/nmbd_packets.c if (x < 32 || x > 127) x 106 source3/nmbd/nmbd_packets.c x = '.'; x 108 source3/nmbd/nmbd_packets.c DEBUGADD( 4, ( "%c", x ) ); x 52 source3/pam_smbpass/general.h #define on(x,ctrl) (smb_args[x].flag & ctrl) x 55 source3/pam_smbpass/general.h #define off(x,ctrl) (!on(x,ctrl)) x 58 source3/pam_smbpass/general.h #define set(x,ctrl) (ctrl = ((ctrl)&smb_args[x].mask)|smb_args[x].flag) x 59 source3/pam_smbpass/general.h #define unset(x,ctrl) (ctrl &= ~(smb_args[x].flag)) x 39 source3/pam_smbpass/support.c #define _pam_overwrite(x) \ x 42 source3/pam_smbpass/support.c if ((__xx__=(x))) \ x 258 source3/pam_smbpass/support.c void _cleanup( pam_handle_t * pamh, void *x, int error_status ) x 260 source3/pam_smbpass/support.c x = _pam_delete( (char *) x ); x 269 source3/pam_smbpass/support.c char * smbpXstrDup( pam_handle_t *pamh, const char *x ) x 273 source3/pam_smbpass/support.c if (x != NULL) { x 276 source3/pam_smbpass/support.c for (i = 0; x[i]; ++i); /* length of string */ x 282 source3/pam_smbpass/support.c newstr[i] = x[i]; x 285 source3/pam_smbpass/support.c x = NULL; x 406 source3/registry/regfio.c uint32 checksum, x; x 411 source3/registry/regfio.c checksum = x = 0; x 414 source3/registry/regfio.c x = IVAL(buffer, i ); x 415 source3/registry/regfio.c checksum ^= x; x 57 source3/smbd/mangle_hash2.c #define M_DEBUG(level, x) DEBUG(level, x) x 59 source3/smbd/mangle_hash2.c #define M_DEBUG(level, x) x 1447 source3/torture/denytest.c char x = 1; x 1449 source3/torture/denytest.c if (cli_read(cli1, fnum2, (char *)&x, 0, 1) == 1) { x 1452 source3/torture/denytest.c if (cli_write(cli1, fnum2, 0, (char *)&x, 0, 1) == 1) { x 1531 source3/torture/denytest.c char x = 1; x 1533 source3/torture/denytest.c if (cli_read(cli2, fnum2, (char *)&x, 0, 1) == 1) { x 1536 source3/torture/denytest.c if (cli_write(cli2, fnum2, 0, (char *)&x, 0, 1) == 1) { x 28 source3/utils/rpccheck.c int x=0; x 56 source3/utils/smbfilter.c unsigned x; x 64 source3/utils/smbfilter.c x = CVAL(buf, smb_vwv1); x 65 source3/utils/smbfilter.c x = (x | SECURITY_SET) & ~SECURITY_MASK; x 66 source3/utils/smbfilter.c SCVAL(buf, smb_vwv1, x); x 69 source3/utils/smbfilter.c x = IVAL(buf,smb_vwv9+1); x 70 source3/utils/smbfilter.c x = (x | CAPABILITY_SET) & ~CAPABILITY_MASK; x 71 source3/utils/smbfilter.c SIVAL(buf, smb_vwv9+1, x); x 82 source3/utils/smbfilter.c unsigned x; x 112 source3/utils/smbfilter.c x = IVAL(buf,smb_vwv11); x 113 source3/utils/smbfilter.c d_printf("SMBsesssetupX cap=0x%08x\n", x); x 117 source3/utils/smbfilter.c x = (x | CLI_CAPABILITY_SET) & ~CLI_CAPABILITY_MASK; x 118 source3/utils/smbfilter.c SIVAL(buf, smb_vwv11, x); x 54 source3/web/neg_lang.c static int qsort_cmp_list(const void *x, const void *y) { x 55 source3/web/neg_lang.c struct pri_list *a = (struct pri_list *)x; x 23 source3/web/statuspage.c #define _(x) lang_msg_rotate(talloc_tos(),x) x 54 source3/web/swat.c #define _(x) lang_msg_rotate(talloc_tos(),x) x 46 source3/winbindd/idmap_adex/gc_util.c char *x, *y; x 59 source3/winbindd/idmap_adex/gc_util.c x = talloc_strdup(frame, a); x 61 source3/winbindd/idmap_adex/gc_util.c if (!x || !y) { x 66 source3/winbindd/idmap_adex/gc_util.c strupper_m(x); x 71 source3/winbindd/idmap_adex/gc_util.c if (strcmp(x, y) == 0) { x 78 source3/winbindd/idmap_adex/gc_util.c s = strstr_m(x, y); x 84 source3/winbindd/idmap_adex/gc_util.c s = strstr_m(y, x); x 85 source3/winbindd/idmap_adex/gc_util.c if (s && (strlen(s) == strlen(x))) { x 49 source3/winbindd/idmap_adex/idmap_adex.h #define BAIL_ON_NTSTATUS_ERROR(x) \ x 51 source3/winbindd/idmap_adex/idmap_adex.h if (!NT_STATUS_IS_OK(x)) { \ x 52 source3/winbindd/idmap_adex/idmap_adex.h DEBUG(10,("Failed! (%s)\n", nt_errstr(x))); \ x 58 source3/winbindd/idmap_adex/idmap_adex.h #define WARN_ON_NTSTATUS_ERROR(x) \ x 60 source3/winbindd/idmap_adex/idmap_adex.h if (!NT_STATUS_IS_OK(x)) { \ x 61 source3/winbindd/idmap_adex/idmap_adex.h DEBUG(10,("Failure ignored! (%s)\n", nt_errstr(x))); \ x 66 source3/winbindd/idmap_adex/idmap_adex.h #define BAIL_ON_ADS_ERROR(x) \ x 68 source3/winbindd/idmap_adex/idmap_adex.h if (!ADS_ERR_OK(x)) { \ x 74 source3/winbindd/idmap_adex/idmap_adex.h #define BAIL_ON_PTR_ERROR(p, x) \ x 78 source3/winbindd/idmap_adex/idmap_adex.h x = NT_STATUS_NO_MEMORY; \ x 83 source3/winbindd/idmap_adex/idmap_adex.h #define PRINT_NTSTATUS_ERROR(x, hdr, level) \ x 85 source3/winbindd/idmap_adex/idmap_adex.h if (!NT_STATUS_IS_OK(x)) { \ x 86 source3/winbindd/idmap_adex/idmap_adex.h DEBUG(level,("LWI ("hdr"): %s\n", nt_errstr(x))); \ x 733 source3/winbindd/idmap_adex/provider_unified.c uint32_t *x) x 746 source3/winbindd/idmap_adex/provider_unified.c if (!ads_pull_uint32(ads, msg, attrib, x)) { x 770 source3/winbindd/idmap_adex/provider_unified.c *x = num; x 24 source3/winbindd/idmap_hash/idmap_hash.h #define BAIL_ON_NTSTATUS_ERROR(x) \ x 26 source3/winbindd/idmap_hash/idmap_hash.h if (!NT_STATUS_IS_OK(x)) { \ x 27 source3/winbindd/idmap_hash/idmap_hash.h DEBUG(10,("Failed! (%s)\n", nt_errstr(x))); \ x 33 source3/winbindd/idmap_hash/idmap_hash.h #define BAIL_ON_PTR_NT_ERROR(p, x) \ x 37 source3/winbindd/idmap_hash/idmap_hash.h x = NT_STATUS_NO_MEMORY; \ x 40 source3/winbindd/idmap_hash/idmap_hash.h x = NT_STATUS_OK; \ x 44 source3/winbindd/idmap_hash/idmap_hash.h #define PRINT_NTSTATUS_ERROR(x, hdr, level) \ x 46 source3/winbindd/idmap_hash/idmap_hash.h if (!NT_STATUS_IS_OK(x)) { \ x 47 source3/winbindd/idmap_hash/idmap_hash.h DEBUG(level,("Likewise Open ("hdr"): %s\n", nt_errstr(x))); \ x 407 source3/winbindd/winbindd.h #define IS_DOMAIN_OFFLINE(x) ( lp_winbind_offline_logon() && \ x 409 source3/winbindd/winbindd.h || !(x)->online ) ) x 410 source3/winbindd/winbindd.h #define IS_DOMAIN_ONLINE(x) (!IS_DOMAIN_OFFLINE(x)) x 47 source3/winbindd/winbindd_cred_cache.c #define KRB5_EVENT_REFRESH_TIME(x) ((x) - (((x) - time(NULL))/2)) x 108 source4/client/smbmount.c static void usr1_handler(int x) x 1779 source4/dsdb/common/util.c #define CHECK_RET(x) do { if (x != 0) return NT_STATUS_NO_MEMORY; } while(0) x 25 source4/dsdb/schema/schema_description.c #define IF_NULL_FAIL_RET(x) do { \ x 26 source4/dsdb/schema/schema_description.c if (!x) { \ x 42 source4/heimdal/kdc/kerberos4.c swap32(uint32_t x) x 44 source4/heimdal/kdc/kerberos4.c return ((x << 24) & 0xff000000) | x 45 source4/heimdal/kdc/kerberos4.c ((x << 8) & 0xff0000) | x 46 source4/heimdal/kdc/kerberos4.c ((x >> 8) & 0xff00) | x 47 source4/heimdal/kdc/kerberos4.c ((x >> 24) & 0xff); x 93 source4/heimdal/kuser/kuser_locl.h #define N_(x,y) gettext(x) x 94 source4/heimdal/kuser/kuser_locl.h #define NP_(x,y) (x) x 97 source4/heimdal/kuser/kuser_locl.h #define N_(x,y) (x) x 98 source4/heimdal/kuser/kuser_locl.h #define NP_(x,y) (x) x 1871 source4/heimdal/lib/com_err/lex.c char x[128]; x 1875 source4/heimdal/lib/com_err/lex.c while(i < sizeof(x) - 1 && (c = input()) != EOF){ x 1877 source4/heimdal/lib/com_err/lex.c x[i++] = c; x 1892 source4/heimdal/lib/com_err/lex.c x[i++] = c; x 1894 source4/heimdal/lib/com_err/lex.c x[i] = '\0'; x 1895 source4/heimdal/lib/com_err/lex.c yylval.string = strdup(x); x 141 source4/heimdal/lib/com_err/parse.c #define alloca(x) malloc(x) x 1691 source4/heimdal/lib/com_err/parse.c const char *x = "ABCDEFGHIJKLMNOPQRSTUVWXYZ" x 1698 source4/heimdal/lib/com_err/parse.c char *q = strchr(x, *p); x 1703 source4/heimdal/lib/com_err/parse.c num = (num << 6) + (q - x) + 1; x 48 source4/heimdal/lib/com_err/parse.y #define alloca(x) malloc(x) x 149 source4/heimdal/lib/com_err/parse.y const char *x = "ABCDEFGHIJKLMNOPQRSTUVWXYZ" x 156 source4/heimdal/lib/com_err/parse.y char *q = strchr(x, *p); x 161 source4/heimdal/lib/com_err/parse.y num = (num << 6) + (q - x) + 1; x 340 source4/heimdal/lib/gssapi/gssapi/gssapi.h #define GSS_CALLING_ERROR(x) \ x 341 source4/heimdal/lib/gssapi/gssapi/gssapi.h (x & (GSS_C_CALLING_ERROR_MASK << GSS_C_CALLING_ERROR_OFFSET)) x 342 source4/heimdal/lib/gssapi/gssapi/gssapi.h #define GSS_ROUTINE_ERROR(x) \ x 343 source4/heimdal/lib/gssapi/gssapi/gssapi.h (x & (GSS_C_ROUTINE_ERROR_MASK << GSS_C_ROUTINE_ERROR_OFFSET)) x 344 source4/heimdal/lib/gssapi/gssapi/gssapi.h #define GSS_SUPPLEMENTARY_INFO(x) \ x 345 source4/heimdal/lib/gssapi/gssapi/gssapi.h (x & (GSS_C_SUPPLEMENTARY_MASK << GSS_C_SUPPLEMENTARY_OFFSET)) x 346 source4/heimdal/lib/gssapi/gssapi/gssapi.h #define GSS_ERROR(x) \ x 347 source4/heimdal/lib/gssapi/gssapi/gssapi.h (x & ((GSS_C_CALLING_ERROR_MASK << GSS_C_CALLING_ERROR_OFFSET) | \ x 46 source4/heimdal/lib/gssapi/gssapi/gssapi_krb5.h #define __attribute__(x) x 60 source4/heimdal/lib/hcrypto/camellia-ntt.c # define SWAP(x) (_lrotl(x, 8) & 0x00ff00ff | _lrotr(x, 8) & 0xff00ff00) x 84 source4/heimdal/lib/hcrypto/camellia-ntt.c #define CAMELLIA_RR8(x) (((x) >> 8) + ((x) << 24)) x 86 source4/heimdal/lib/hcrypto/camellia-ntt.c #define CAMELLIA_RL1(x) (((x) << 1) + ((x) >> 31)) x 88 source4/heimdal/lib/hcrypto/camellia-ntt.c #define CAMELLIA_RL8(x) (((x) << 8) + ((x) >> 24)) x 447 source4/heimdal/lib/hcrypto/camellia-ntt.c #define subl(x) subL[(x)] x 448 source4/heimdal/lib/hcrypto/camellia-ntt.c #define subr(x) subR[(x)] x 107 source4/heimdal/lib/hcrypto/des.c #define ROTATE_LEFT28(x,one) \ x 109 source4/heimdal/lib/hcrypto/des.c x = ( ((x)<<(1)) & 0xffffffe) | ((x) >> 27); \ x 111 source4/heimdal/lib/hcrypto/des.c x = ( ((x)<<(2)) & 0xffffffc) | ((x) >> 26); \ x 88 source4/heimdal/lib/hcrypto/des.h #define __attribute__(x) x 189 source4/heimdal/lib/hcrypto/evp.h #define __attribute__(x) x 65 source4/heimdal/lib/hcrypto/hash.h cshift (uint32_t x, unsigned int n) x 67 source4/heimdal/lib/hcrypto/hash.h x = CRAYFIX(x); x 68 source4/heimdal/lib/hcrypto/hash.h return CRAYFIX((x << n) | (x >> (32 - n))); x 281 source4/heimdal/lib/hcrypto/imath/imath.c static int s_reduce(mp_int x, mp_int m, mp_int mu, mp_int q1, mp_int q2); x 585 source4/heimdal/lib/hcrypto/imath/imath.c mp_int x, y; x 596 source4/heimdal/lib/hcrypto/imath/imath.c x = b; y = a; x 599 source4/heimdal/lib/hcrypto/imath/imath.c x = a; y = b; x 602 source4/heimdal/lib/hcrypto/imath/imath.c if(!s_pad(c, MP_USED(x))) x 606 source4/heimdal/lib/hcrypto/imath/imath.c s_usub(MP_DIGITS(x), MP_DIGITS(y), MP_DIGITS(c), MP_USED(x), MP_USED(y)); x 607 source4/heimdal/lib/hcrypto/imath/imath.c MP_USED(c) = MP_USED(x); x 611 source4/heimdal/lib/hcrypto/imath/imath.c MP_SIGN(c) = MP_SIGN(x); x 668 source4/heimdal/lib/hcrypto/imath/imath.c mp_int x, y; x 676 source4/heimdal/lib/hcrypto/imath/imath.c x = a; y = b; osign = MP_ZPOS; x 679 source4/heimdal/lib/hcrypto/imath/imath.c x = b; y = a; osign = MP_NEG; x 685 source4/heimdal/lib/hcrypto/imath/imath.c s_usub(MP_DIGITS(x), MP_DIGITS(y), MP_DIGITS(c), MP_USED(x), MP_USED(y)); x 686 source4/heimdal/lib/hcrypto/imath/imath.c MP_USED(c) = MP_USED(x); x 1454 source4/heimdal/lib/hcrypto/imath/imath.c mp_int x, mp_int y) x 1461 source4/heimdal/lib/hcrypto/imath/imath.c (x != NULL || y != NULL)); x 1469 source4/heimdal/lib/hcrypto/imath/imath.c mp_int_zero(x); (void) mp_int_set_value(y, 1); return MP_OK; x 1473 source4/heimdal/lib/hcrypto/imath/imath.c (void) mp_int_set_value(x, 1); mp_int_zero(y); return MP_OK; x 1542 source4/heimdal/lib/hcrypto/imath/imath.c if(x && (res = mp_int_copy(TEMP(2), x)) != MP_OK) goto CLEANUP; x 2962 source4/heimdal/lib/hcrypto/imath/imath.c static int s_reduce(mp_int x, mp_int m, mp_int mu, mp_int q1, mp_int q2) x 2969 source4/heimdal/lib/hcrypto/imath/imath.c if(mp_int_copy(x, q1) != MP_OK) x 2978 source4/heimdal/lib/hcrypto/imath/imath.c s_qmod(x, umb_p1); x 2986 source4/heimdal/lib/hcrypto/imath/imath.c (void) mp_int_sub(x, q1, x); /* can't fail */ x 2990 source4/heimdal/lib/hcrypto/imath/imath.c if((CMPZ(x) < 0) && !s_qsub(x, umb_p1)) x 2995 source4/heimdal/lib/hcrypto/imath/imath.c if(mp_int_compare(x, m) >= 0) { x 2996 source4/heimdal/lib/hcrypto/imath/imath.c (void) mp_int_sub(x, m, x); x 2997 source4/heimdal/lib/hcrypto/imath/imath.c if(mp_int_compare(x, m) >= 0) x 2998 source4/heimdal/lib/hcrypto/imath/imath.c (void) mp_int_sub(x, m, x); x 174 source4/heimdal/lib/hcrypto/imath/imath.h mp_int x, mp_int y); /* c = ax + by */ x 73 source4/heimdal/lib/hcrypto/md2.c unsigned char x[48], L; x 82 source4/heimdal/lib/hcrypto/md2.c x[i] = m->state[i]; x 83 source4/heimdal/lib/hcrypto/md2.c x[i + 16] = p[i]; x 84 source4/heimdal/lib/hcrypto/md2.c x[i + 32] = x[i] ^ p[i]; x 90 source4/heimdal/lib/hcrypto/md2.c t = x[j] ^= subst[t]; x 94 source4/heimdal/lib/hcrypto/md2.c memcpy(m->state, x, 16); x 95 source4/heimdal/lib/hcrypto/md2.c memset(x, 0, sizeof(x)); x 60 source4/heimdal/lib/hcrypto/md4.c #define F(x,y,z) CRAYFIX((x & y) | (~x & z)) x 61 source4/heimdal/lib/hcrypto/md4.c #define G(x,y,z) ((x & y) | (x & z) | (y & z)) x 62 source4/heimdal/lib/hcrypto/md4.c #define H(x,y,z) (x ^ y ^ z) x 60 source4/heimdal/lib/hcrypto/md5.c #define F(x,y,z) CRAYFIX((x & y) | (~x & z)) x 61 source4/heimdal/lib/hcrypto/md5.c #define G(x,y,z) CRAYFIX((x & z) | (y & ~z)) x 62 source4/heimdal/lib/hcrypto/md5.c #define H(x,y,z) (x ^ y ^ z) x 63 source4/heimdal/lib/hcrypto/md5.c #define I(x,y,z) CRAYFIX(y ^ (x | ~z)) x 44 source4/heimdal/lib/hcrypto/rc4.c #define SWAP(k,x,y) \ x 46 source4/heimdal/lib/hcrypto/rc4.c _t = k->state[x]; \ x 47 source4/heimdal/lib/hcrypto/rc4.c k->state[x] = k->state[y]; \ x 62 source4/heimdal/lib/hcrypto/rc4.c key->x = key->y = 0; x 69 source4/heimdal/lib/hcrypto/rc4.c unsigned x, y; x 71 source4/heimdal/lib/hcrypto/rc4.c x = key->x; x 74 source4/heimdal/lib/hcrypto/rc4.c x = (x + 1) % 256; x 75 source4/heimdal/lib/hcrypto/rc4.c y = (y + key->state[x]) % 256; x 76 source4/heimdal/lib/hcrypto/rc4.c SWAP(key, x, y); x 77 source4/heimdal/lib/hcrypto/rc4.c t = (key->state[x] + key->state[y]) % 256; x 80 source4/heimdal/lib/hcrypto/rc4.c key->x = x; x 41 source4/heimdal/lib/hcrypto/rc4.h unsigned int x, y; x 730 source4/heimdal/lib/hcrypto/rijndael-alg-fst.c #define SWAP(x) (_lrotl(x, 8) & 0x00ff00ff | _lrotr(x, 8) & 0xff00ff00) x 63 source4/heimdal/lib/hcrypto/sha.c #define F0(x,y,z) CRAYFIX((x & y) | (~x & z)) x 64 source4/heimdal/lib/hcrypto/sha.c #define F1(x,y,z) (x ^ y ^ z) x 65 source4/heimdal/lib/hcrypto/sha.c #define F2(x,y,z) ((x & y) | (x & z) | (y & z)) x 66 source4/heimdal/lib/hcrypto/sha.c #define F3(x,y,z) F1(x,y,z) x 210 source4/heimdal/lib/hcrypto/sha.c #define ROL(x,n) ((x)<<(n))|((x)>>(32-(n))) x 43 source4/heimdal/lib/hcrypto/sha256.c #define Ch(x,y,z) (((x) & (y)) ^ ((~(x)) & (z))) x 44 source4/heimdal/lib/hcrypto/sha256.c #define Maj(x,y,z) (((x) & (y)) ^ ((x) & (z)) ^ ((y) & (z))) x 46 source4/heimdal/lib/hcrypto/sha256.c #define ROTR(x,n) (((x)>>(n)) | ((x) << (32 - (n)))) x 48 source4/heimdal/lib/hcrypto/sha256.c #define Sigma0(x) (ROTR(x,2) ^ ROTR(x,13) ^ ROTR(x,22)) x 49 source4/heimdal/lib/hcrypto/sha256.c #define Sigma1(x) (ROTR(x,6) ^ ROTR(x,11) ^ ROTR(x,25)) x 50 source4/heimdal/lib/hcrypto/sha256.c #define sigma0(x) (ROTR(x,7) ^ ROTR(x,18) ^ ((x)>>3)) x 51 source4/heimdal/lib/hcrypto/sha256.c #define sigma1(x) (ROTR(x,17) ^ ROTR(x,19) ^ ((x)>>10)) x 152 source4/heimdal/lib/hcrypto/sha256.c #define ROL(x,n) ((x)<<(n))|((x)>>(32-(n))) x 1065 source4/heimdal/lib/hx509/ks_p11.c #define MECHFLAG(x) { "unknown-flag-" #x, x } x 1849 source4/heimdal/lib/hx509/sel-lex.c char x[1024]; x 1855 source4/heimdal/lib/hx509/sel-lex.c x[i++] = '\\'; x 1856 source4/heimdal/lib/hx509/sel-lex.c x[i++] = c; x 1871 source4/heimdal/lib/hx509/sel-lex.c x[i++] = c; x 1873 source4/heimdal/lib/hx509/sel-lex.c x[i] = '\0'; x 1874 source4/heimdal/lib/hx509/sel-lex.c return strdup(x); x 249 source4/heimdal/lib/krb5/addr_families.c #define IN6_ADDR_V6_TO_V4(x) (&IN6_EXTRACT_V4ADDR(x)) x 251 source4/heimdal/lib/krb5/addr_families.c #define IN6_ADDR_V6_TO_V4(x) ((const struct in_addr *)&(x)->s6_addr[12]) x 37 source4/heimdal/lib/krb5/codec.c #define __attribute__(x) x 525 source4/heimdal/lib/krb5/crypto.c unsigned char *x = key->keyvalue.data; x 530 source4/heimdal/lib/krb5/crypto.c memset(x, 0, sizeof(x)); x 536 source4/heimdal/lib/krb5/crypto.c x[8 * i + j] = b; x 543 source4/heimdal/lib/krb5/crypto.c x[8 * i + 7] = foo; x 37 source4/heimdal/lib/krb5/init_creds.c #define __attribute__(x) x 123 source4/heimdal/lib/krb5/krb5_locl.h #define N_(x,y) dgettext(HEIMDAL_TEXTDOMAIN, x) x 125 source4/heimdal/lib/krb5/krb5_locl.h #define N_(x,y) (x) x 90 source4/heimdal/lib/krb5/n-fold.c int x = a[i] + b[i] + carry; x 91 source4/heimdal/lib/krb5/n-fold.c carry = x > 0xff; x 92 source4/heimdal/lib/krb5/n-fold.c a[i] = x & 0xff; x 95 source4/heimdal/lib/krb5/n-fold.c int x = a[i] + carry; x 96 source4/heimdal/lib/krb5/n-fold.c carry = x > 0xff; x 97 source4/heimdal/lib/krb5/n-fold.c a[i] = x & 0xff; x 506 source4/heimdal/lib/krb5/transited.c krb5_data x; x 509 source4/heimdal/lib/krb5/transited.c x.data = argv[1]; x 510 source4/heimdal/lib/krb5/transited.c x.length = strlen(x.data); x 511 source4/heimdal/lib/krb5/transited.c if(domain_expand(x, &r, &num, argv[2], argv[3])) x 498 source4/heimdal/lib/roken/resolve.c #define rk_res_free(x) res_ndestroy(x) x 500 source4/heimdal/lib/roken/resolve.c #define rk_res_free(x) res_nclose(x) x 258 source4/heimdal/lib/roken/roken-common.h #define __attribute__(x) x 47 source4/heimdal/lib/roken/rtbl.h #define __attribute__(x) x 21 source4/heimdal_build/config.h #define SIGRETURN(x) return x 23 source4/heimdal_build/config.h #define SIGRETURN(x) return (RETSIGTYPE)(x) x 39 source4/lib/ldb/common/ldb_dn.c #define LDB_DN_NULL_FAILED(x) if (!(x)) goto failed x 41 source4/lib/ldb/common/ldb_dn.c #define LDB_FREE(x) do { talloc_free(x); x = NULL; } while(0) x 237 source4/lib/ldb/common/ldb_dn.c unsigned x; x 589 source4/lib/ldb/common/ldb_dn.c if (sscanf(p, "%02x", &x) != 1) { x 597 source4/lib/ldb/common/ldb_dn.c *d++ = (unsigned char)x; x 205 source4/lib/ldb/common/qsort.c #define min(x, y) ((x) < (y) ? (x) : (y)) x 88 source4/lib/registry/regf.c uint32_t checksum = 0, x; x 92 source4/lib/registry/regf.c x = IVAL(buffer, i); x 93 source4/lib/registry/regf.c checksum ^= x; x 70 source4/lib/registry/tests/generic.c uint8_t x[] = { 0x1, 0x2, 0x3, 0x4 }; x 71 source4/lib/registry/tests/generic.c DATA_BLOB db = { x, 4 }; x 139 source4/lib/wmi/wmi_wrap.c # define SWIG_QUOTE_STRING(x) #x x 140 source4/lib/wmi/wmi_wrap.c # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x) x 2724 source4/lib/wmi/wmi_wrap.c double x = *d; x 2725 source4/lib/wmi/wmi_wrap.c if ((min <= x && x <= max)) { x 2726 source4/lib/wmi/wmi_wrap.c double fx = floor(x); x 2727 source4/lib/wmi/wmi_wrap.c double cx = ceil(x); x 2728 source4/lib/wmi/wmi_wrap.c double rd = ((x - fx) < 0.5) ? fx : cx; /* simple rint */ x 2733 source4/lib/wmi/wmi_wrap.c if (rd < x) { x 2734 source4/lib/wmi/wmi_wrap.c diff = x - rd; x 2735 source4/lib/wmi/wmi_wrap.c } else if (rd > x) { x 2736 source4/lib/wmi/wmi_wrap.c diff = rd - x; x 2740 source4/lib/wmi/wmi_wrap.c summ = rd + x; x 55 source4/ntvfs/posix/pvfs_shortname.c #define M_DEBUG(level, x) DEBUG(level, x) x 57 source4/ntvfs/posix/pvfs_shortname.c #define M_DEBUG(level, x) x 136 source4/rpc_server/echo/rpc_echo.c r->out.data->x = 2 * r->in.data->x; x 137 source4/rpc_server/echo/rpc_echo.c r->out.data->surrounding = talloc_zero_array(mem_ctx, uint16_t, r->out.data->x); x 1454 source4/torture/basic/denytest.c uint8_t x = 1; x 1456 source4/torture/basic/denytest.c if (smbcli_read(cli1->tree, fnum2, &x, 0, 1) == 1) { x 1459 source4/torture/basic/denytest.c if (smbcli_write(cli1->tree, fnum2, 0, &x, 0, 1) == 1) { x 1541 source4/torture/basic/denytest.c uint8_t x = 1; x 1543 source4/torture/basic/denytest.c if (smbcli_read(cli2->tree, fnum2, &x, 0, 1) == 1) { x 1546 source4/torture/basic/denytest.c if (smbcli_write(cli2->tree, fnum2, 0, &x, 0, 1) == 1) { x 33 source4/torture/basic/properties.c #define BIT_NAME(x) { #x, x } x 332 source4/torture/nbt/winsreplication.c struct wrepl_wins_owner a, b, c, x; x 578 source4/torture/nbt/winsreplication.c ctx->x.address = TEST_OWNER_X_ADDRESS; x 579 source4/torture/nbt/winsreplication.c ctx->x.max_version = 0; x 580 source4/torture/nbt/winsreplication.c ctx->x.min_version = 0; x 581 source4/torture/nbt/winsreplication.c ctx->x.type = 1; x 602 source4/torture/nbt/winsreplication.c ctx->x.max_version = pull_table.out.partners[i].max_version; x 603 source4/torture/nbt/winsreplication.c ctx->x.min_version = pull_table.out.partners[i].min_version; x 4149 source4/torture/nbt/winsreplication.c .owner = &ctx->x, x 4386 source4/torture/nbt/winsreplication.c .owner = &ctx->x, x 4442 source4/torture/nbt/winsreplication.c .owner = &ctx->x, x 4498 source4/torture/nbt/winsreplication.c .owner = &ctx->x, x 4602 source4/torture/nbt/winsreplication.c .owner = &ctx->x, x 4612 source4/torture/nbt/winsreplication.c .owner = &ctx->x, x 37 source4/torture/rpc/dfs.c #define IS_DFS_VERSION_UNSUPPORTED_CALL_W2K3(x,y)\ x 38 source4/torture/rpc/dfs.c if (x == DFS_MANAGER_VERSION_W2K3) {\ x 334 source4/torture/rpc/echo.c r.in.data->x = 20; x 335 source4/torture/rpc/echo.c r.in.data->surrounding = talloc_zero_array(tctx, uint16_t, r.in.data->x); x 342 source4/torture/rpc/echo.c torture_assert(tctx, r.out.data->x == 2 * r.in.data->x, x 35 source4/torture/smb2/find.c #define LEVEL(x) #x, x x 37 source4/torture/smb2/getinfo.c #define LEVEL(x) #x, x