b 38 lib/compression/mszip.c uint8_t b; /* number of bits in this code or subcode */ b 112 lib/compression/mszip.c b|=((uint32_t)c)<<k;k+=8;}} b 113 lib/compression/mszip.c #define ZIPDUMPBITS(n) {b>>=(n);k-=(n);} b 130 lib/compression/mszip.c uint32_t *b, uint32_t n, uint32_t s, const uint16_t *d, const uint16_t *e, b 153 lib/compression/mszip.c el = n > 256 ? b[256] : ZIPBMAX; /* set length of EOB code, if any */ b 157 lib/compression/mszip.c p = b; i = n; b 200 lib/compression/mszip.c p = b; i = 0; b 261 lib/compression/mszip.c r.b = (uint8_t)l[h-1]; /* bits to dump before this table */ b 270 lib/compression/mszip.c r.b = (uint8_t)(k - w); b 316 lib/compression/mszip.c register uint32_t b; /* bit buffer */ b 322 lib/compression/mszip.c b = ZIP(bb); /* initialize bit buffer */ b 333 lib/compression/mszip.c if((e = (t = tl + ((uint32_t)b & ml))->e) > 16) b 338 lib/compression/mszip.c ZIPDUMPBITS(t->b) b 341 lib/compression/mszip.c } while ((e = (t = t->v.t + ((uint32_t)b & Zipmask[e]))->e) > 16); b 342 lib/compression/mszip.c ZIPDUMPBITS(t->b) b 354 lib/compression/mszip.c n = t->v.n + ((uint32_t)b & Zipmask[e]); b 359 lib/compression/mszip.c if ((e = (t = td + ((uint32_t)b & md))->e) > 16) b 363 lib/compression/mszip.c ZIPDUMPBITS(t->b) b 366 lib/compression/mszip.c } while ((e = (t = t->v.t + ((uint32_t)b & Zipmask[e]))->e) > 16); b 367 lib/compression/mszip.c ZIPDUMPBITS(t->b) b 369 lib/compression/mszip.c d = w - t->v.n - ((uint32_t)b & Zipmask[e]); b 384 lib/compression/mszip.c ZIP(bb) = b; /* restore global bit buffer */ b 396 lib/compression/mszip.c register uint32_t b; /* bit buffer */ b 400 lib/compression/mszip.c b = ZIP(bb); /* initialize bit buffer */ b 410 lib/compression/mszip.c n = ((uint32_t)b & 0xffff); b 413 lib/compression/mszip.c if (n != (uint32_t)((~b) & 0xffff)) b 421 lib/compression/mszip.c CAB(outbuf)[w++] = (uint8_t)b; b 427 lib/compression/mszip.c ZIP(bb) = b; /* restore global bit buffer */ b 489 lib/compression/mszip.c register uint32_t b; /* bit buffer */ b 493 lib/compression/mszip.c b = ZIP(bb); b 499 lib/compression/mszip.c nl = 257 + ((uint32_t)b & 0x1f); /* number of literal/length codes */ b 502 lib/compression/mszip.c nd = 1 + ((uint32_t)b & 0x1f); /* number of distance codes */ b 505 lib/compression/mszip.c nb = 4 + ((uint32_t)b & 0xf); /* number of bit length codes */ b 514 lib/compression/mszip.c ll[Zipborder[j]] = (uint32_t)b & 7; b 536 lib/compression/mszip.c j = (td = tl + ((uint32_t)b & m))->b; b 544 lib/compression/mszip.c j = 3 + ((uint32_t)b & 3); b 554 lib/compression/mszip.c j = 3 + ((uint32_t)b & 7); b 565 lib/compression/mszip.c j = 11 + ((uint32_t)b & 0x7f); b 579 lib/compression/mszip.c ZIP(bb) = b; b 607 lib/compression/mszip.c register uint32_t b; /* bit buffer */ b 613 lib/compression/mszip.c b = ZIP(bb); b 618 lib/compression/mszip.c *e = (int32_t)b & 1; b 623 lib/compression/mszip.c t = (uint32_t)b & 3; b 627 lib/compression/mszip.c ZIP(bb) = b; b 26 lib/crypto/hmacmd5test.c DATA_BLOB b = data_blob(NULL, length); b 27 lib/crypto/hmacmd5test.c memset(b.data, byte, length); b 28 lib/crypto/hmacmd5test.c return b; b 53 lib/crypto/md4.c #define ROUND1(a,b,c,d,k,s) a = lshift(a + F(b,c,d) + X[k], s) b 54 lib/crypto/md4.c #define ROUND2(a,b,c,d,k,s) a = lshift(a + G(b,c,d) + X[k] + (uint32_t)0x5A827999,s) b 55 lib/crypto/md4.c #define ROUND3(a,b,c,d,k,s) a = lshift(a + H(b,c,d) + X[k] + (uint32_t)0x6ED9EBA1,s) b 134 lib/crypto/md4.c uint32_t b = n * 8; b 156 lib/crypto/md4.c copy4(buf+56, b); b 160 lib/crypto/md4.c copy4(buf+120, b); b 169 lib/crypto/md5.c register uint32_t a, b, c, d; b 172 lib/crypto/md5.c b = buf[1]; b 176 lib/crypto/md5.c MD5STEP(F1, a, b, c, d, in[0] + 0xd76aa478, 7); b 177 lib/crypto/md5.c MD5STEP(F1, d, a, b, c, in[1] + 0xe8c7b756, 12); b 178 lib/crypto/md5.c MD5STEP(F1, c, d, a, b, in[2] + 0x242070db, 17); b 179 lib/crypto/md5.c MD5STEP(F1, b, c, d, a, in[3] + 0xc1bdceee, 22); b 180 lib/crypto/md5.c MD5STEP(F1, a, b, c, d, in[4] + 0xf57c0faf, 7); b 181 lib/crypto/md5.c MD5STEP(F1, d, a, b, c, in[5] + 0x4787c62a, 12); b 182 lib/crypto/md5.c MD5STEP(F1, c, d, a, b, in[6] + 0xa8304613, 17); b 183 lib/crypto/md5.c MD5STEP(F1, b, c, d, a, in[7] + 0xfd469501, 22); b 184 lib/crypto/md5.c MD5STEP(F1, a, b, c, d, in[8] + 0x698098d8, 7); b 185 lib/crypto/md5.c MD5STEP(F1, d, a, b, c, in[9] + 0x8b44f7af, 12); b 186 lib/crypto/md5.c MD5STEP(F1, c, d, a, b, in[10] + 0xffff5bb1, 17); b 187 lib/crypto/md5.c MD5STEP(F1, b, c, d, a, in[11] + 0x895cd7be, 22); b 188 lib/crypto/md5.c MD5STEP(F1, a, b, c, d, in[12] + 0x6b901122, 7); b 189 lib/crypto/md5.c MD5STEP(F1, d, a, b, c, in[13] + 0xfd987193, 12); b 190 lib/crypto/md5.c MD5STEP(F1, c, d, a, b, in[14] + 0xa679438e, 17); b 191 lib/crypto/md5.c MD5STEP(F1, b, c, d, a, in[15] + 0x49b40821, 22); b 193 lib/crypto/md5.c MD5STEP(F2, a, b, c, d, in[1] + 0xf61e2562, 5); b 194 lib/crypto/md5.c MD5STEP(F2, d, a, b, c, in[6] + 0xc040b340, 9); b 195 lib/crypto/md5.c MD5STEP(F2, c, d, a, b, in[11] + 0x265e5a51, 14); b 196 lib/crypto/md5.c MD5STEP(F2, b, c, d, a, in[0] + 0xe9b6c7aa, 20); b 197 lib/crypto/md5.c MD5STEP(F2, a, b, c, d, in[5] + 0xd62f105d, 5); b 198 lib/crypto/md5.c MD5STEP(F2, d, a, b, c, in[10] + 0x02441453, 9); b 199 lib/crypto/md5.c MD5STEP(F2, c, d, a, b, in[15] + 0xd8a1e681, 14); b 200 lib/crypto/md5.c MD5STEP(F2, b, c, d, a, in[4] + 0xe7d3fbc8, 20); b 201 lib/crypto/md5.c MD5STEP(F2, a, b, c, d, in[9] + 0x21e1cde6, 5); b 202 lib/crypto/md5.c MD5STEP(F2, d, a, b, c, in[14] + 0xc33707d6, 9); b 203 lib/crypto/md5.c MD5STEP(F2, c, d, a, b, in[3] + 0xf4d50d87, 14); b 204 lib/crypto/md5.c MD5STEP(F2, b, c, d, a, in[8] + 0x455a14ed, 20); b 205 lib/crypto/md5.c MD5STEP(F2, a, b, c, d, in[13] + 0xa9e3e905, 5); b 206 lib/crypto/md5.c MD5STEP(F2, d, a, b, c, in[2] + 0xfcefa3f8, 9); b 207 lib/crypto/md5.c MD5STEP(F2, c, d, a, b, in[7] + 0x676f02d9, 14); b 208 lib/crypto/md5.c MD5STEP(F2, b, c, d, a, in[12] + 0x8d2a4c8a, 20); b 210 lib/crypto/md5.c MD5STEP(F3, a, b, c, d, in[5] + 0xfffa3942, 4); b 211 lib/crypto/md5.c MD5STEP(F3, d, a, b, c, in[8] + 0x8771f681, 11); b 212 lib/crypto/md5.c MD5STEP(F3, c, d, a, b, in[11] + 0x6d9d6122, 16); b 213 lib/crypto/md5.c MD5STEP(F3, b, c, d, a, in[14] + 0xfde5380c, 23); b 214 lib/crypto/md5.c MD5STEP(F3, a, b, c, d, in[1] + 0xa4beea44, 4); b 215 lib/crypto/md5.c MD5STEP(F3, d, a, b, c, in[4] + 0x4bdecfa9, 11); b 216 lib/crypto/md5.c MD5STEP(F3, c, d, a, b, in[7] + 0xf6bb4b60, 16); b 217 lib/crypto/md5.c MD5STEP(F3, b, c, d, a, in[10] + 0xbebfbc70, 23); b 218 lib/crypto/md5.c MD5STEP(F3, a, b, c, d, in[13] + 0x289b7ec6, 4); b 219 lib/crypto/md5.c MD5STEP(F3, d, a, b, c, in[0] + 0xeaa127fa, 11); b 220 lib/crypto/md5.c MD5STEP(F3, c, d, a, b, in[3] + 0xd4ef3085, 16); b 221 lib/crypto/md5.c MD5STEP(F3, b, c, d, a, in[6] + 0x04881d05, 23); b 222 lib/crypto/md5.c MD5STEP(F3, a, b, c, d, in[9] + 0xd9d4d039, 4); b 223 lib/crypto/md5.c MD5STEP(F3, d, a, b, c, in[12] + 0xe6db99e5, 11); b 224 lib/crypto/md5.c MD5STEP(F3, c, d, a, b, in[15] + 0x1fa27cf8, 16); b 225 lib/crypto/md5.c MD5STEP(F3, b, c, d, a, in[2] + 0xc4ac5665, 23); b 227 lib/crypto/md5.c MD5STEP(F4, a, b, c, d, in[0] + 0xf4292244, 6); b 228 lib/crypto/md5.c MD5STEP(F4, d, a, b, c, in[7] + 0x432aff97, 10); b 229 lib/crypto/md5.c MD5STEP(F4, c, d, a, b, in[14] + 0xab9423a7, 15); b 230 lib/crypto/md5.c MD5STEP(F4, b, c, d, a, in[5] + 0xfc93a039, 21); b 231 lib/crypto/md5.c MD5STEP(F4, a, b, c, d, in[12] + 0x655b59c3, 6); b 232 lib/crypto/md5.c MD5STEP(F4, d, a, b, c, in[3] + 0x8f0ccc92, 10); b 233 lib/crypto/md5.c MD5STEP(F4, c, d, a, b, in[10] + 0xffeff47d, 15); b 234 lib/crypto/md5.c MD5STEP(F4, b, c, d, a, in[1] + 0x85845dd1, 21); b 235 lib/crypto/md5.c MD5STEP(F4, a, b, c, d, in[8] + 0x6fa87e4f, 6); b 236 lib/crypto/md5.c MD5STEP(F4, d, a, b, c, in[15] + 0xfe2ce6e0, 10); b 237 lib/crypto/md5.c MD5STEP(F4, c, d, a, b, in[6] + 0xa3014314, 15); b 238 lib/crypto/md5.c MD5STEP(F4, b, c, d, a, in[13] + 0x4e0811a1, 21); b 239 lib/crypto/md5.c MD5STEP(F4, a, b, c, d, in[4] + 0xf7537e82, 6); b 240 lib/crypto/md5.c MD5STEP(F4, d, a, b, c, in[11] + 0xbd3af235, 10); b 241 lib/crypto/md5.c MD5STEP(F4, c, d, a, b, in[2] + 0x2ad7d2bb, 15); b 242 lib/crypto/md5.c MD5STEP(F4, b, c, d, a, in[9] + 0xeb86d391, 21); b 245 lib/crypto/md5.c buf[1] += b; b 186 lib/crypto/sha256.c unsigned int b:32; b 213 lib/crypto/sha256.c current[2*i+1] = swap_uint32_t(u[i].b); b 297 lib/replace/replace.h #define bzero(a,b) memset((a),'\0',(b)) b 583 lib/replace/replace.h #define MIN(a,b) ((a)<(b)?(a):(b)) b 587 lib/replace/replace.h #define MAX(a,b) ((a)>(b)?(a):(b)) b 27 lib/replace/test/os2_delete.c #define MIN(a,b) ((a)<(b)?(a):(b)) b 929 lib/replace/test/testsuite.c #define CMP_VAL(a,c,b) do { \ b 930 lib/replace/test/testsuite.c if (a c b) { \ b 934 lib/replace/test/testsuite.c #a, (int)a, #c, #b, (int)b); \ b 938 lib/replace/test/testsuite.c #define EQUAL_VAL(a,b) CMP_VAL(a,!=,b) b 939 lib/replace/test/testsuite.c #define GREATER_VAL(a,b) CMP_VAL(a,<=,b) b 940 lib/replace/test/testsuite.c #define LESSER_VAL(a,b) CMP_VAL(a,>=,b) b 998 lib/replace/test/testsuite.c #define EQUAL_VAL(a,b) do { \ b 999 lib/replace/test/testsuite.c if (a != b) { \ b 1003 lib/replace/test/testsuite.c #a, (int)a, #b, (int)b); \ b 243 lib/tdb/common/io.c char b = 0; b 244 lib/tdb/common/io.c ssize_t written = pwrite(tdb->fd, &b, 1, (size+addition) - 1); b 247 lib/tdb/common/io.c written = pwrite(tdb->fd, &b, 1, (size+addition) - 1); b 338 lib/util/asn1.c uint8_t b = 0; b 340 lib/util/asn1.c asn1_read_uint8(data, &b); b 341 lib/util/asn1.c if (b != ASN1_BOOLEAN) { b 345 lib/util/asn1.c asn1_read_uint8(data, &b); b 346 lib/util/asn1.c if (b != v) { b 412 lib/util/asn1.c uint8_t b; b 418 lib/util/asn1.c if (!asn1_peek_uint8(data, &b)) b 421 lib/util/asn1.c return (b == tag); b 427 lib/util/asn1.c uint8_t b; b 430 lib/util/asn1.c if (!asn1_read_uint8(data, &b)) b 433 lib/util/asn1.c if (b != tag) { b 443 lib/util/asn1.c if (!asn1_read_uint8(data, &b)) { b 447 lib/util/asn1.c if (b & 0x80) { b 448 lib/util/asn1.c int n = b & 0x7f; b 449 lib/util/asn1.c if (!asn1_read_uint8(data, &b)) b 451 lib/util/asn1.c nesting->taglen = b; b 453 lib/util/asn1.c if (!asn1_read_uint8(data, &b)) b 455 lib/util/asn1.c nesting->taglen = (nesting->taglen << 8) | b; b 459 lib/util/asn1.c nesting->taglen = b; b 517 lib/util/asn1.c uint8_t *b; b 523 lib/util/asn1.c b = blob.data; b 525 lib/util/asn1.c tmp_oid = talloc_asprintf(mem_ctx, "%u", b[0]/40); b 527 lib/util/asn1.c tmp_oid = talloc_asprintf_append_buffer(tmp_oid, ".%u", b[0]%40); b 531 lib/util/asn1.c v = (v<<7) | (b[i]&0x7f); b 532 lib/util/asn1.c if ( ! (b[i] & 0x80)) { b 685 lib/util/asn1.c uint8_t b; b 689 lib/util/asn1.c if (!asn1_read_uint8(data, &b)) return false; b 690 lib/util/asn1.c *i = (*i << 8) + b; b 713 lib/util/asn1.c uint8_t b; b 714 lib/util/asn1.c asn1_read_uint8(data, &b); b 715 lib/util/asn1.c *v = (*v << 8) + b; b 723 lib/util/asn1.c uint8_t b; b 725 lib/util/asn1.c asn1_read_uint8(data, &b); b 728 lib/util/asn1.c if (v != b) b 72 lib/util/tests/data_blob.c DATA_BLOB b = data_blob_string_const("blae"); b 73 lib/util/tests/data_blob.c torture_assert(tctx, data_blob_cmp(&a, &b) != 0, "cmp different"); b 616 lib/util/time.c static int tm_diff(struct tm *a, struct tm *b) b 619 lib/util/time.c int by = b->tm_year + (1900 - 1); b 623 lib/util/time.c int days = 365*years + intervening_leap_days + (a->tm_yday - b->tm_yday); b 624 lib/util/time.c int hours = 24*days + (a->tm_hour - b->tm_hour); b 625 lib/util/time.c int minutes = 60*hours + (a->tm_min - b->tm_min); b 626 lib/util/time.c int seconds = 60*minutes + (a->tm_sec - b->tm_sec); b 55 lib/util/util.h #define SMB_ASSERT(b) do { if (!(b)) { \ b 57 lib/util/util.h __FILE__, __LINE__, #b)); smb_panic("assert failed: " #b); }} while(0) b 60 lib/util/util.h #define SMB_ASSERT(b) do { if (!(b)) { \ b 62 lib/util/util.h __FILE__, __LINE__, #b)); }} while (0) b 30 lib/zlib/contrib/minizip/crypt.h #define CRC32(c, b) ((*(pcrc_32_tab+(((int)(c) ^ (b)) & 0xff))) ^ ((c) >> 8)) b 83 lib/zlib/deflate.c local void putShortMSB OF((deflate_state *s, uInt b)); b 515 lib/zlib/deflate.c local void putShortMSB (s, b) b 517 lib/zlib/deflate.c uInt b; b 519 lib/zlib/deflate.c put_byte(s, (Byte)(b >> 8)); b 520 lib/zlib/deflate.c put_byte(s, (Byte)(b & 0xff)); b 100 lib/zlib/examples/gzappend.c local unsigned gcd(unsigned a, unsigned b) b 104 lib/zlib/examples/gzappend.c while (a && b) b 105 lib/zlib/examples/gzappend.c if (a > b) { b 106 lib/zlib/examples/gzappend.c c = b; b 113 lib/zlib/examples/gzappend.c while (b - c >= c) b 115 lib/zlib/examples/gzappend.c b -= c; b 117 lib/zlib/examples/gzappend.c return a + b; b 543 lib/zlib/gzio.c char *b = buf; b 548 lib/zlib/gzio.c return b == buf && len > 0 ? Z_NULL : b; b 159 libcli/nbt/nbtname.c uint8_t b[2]; b 167 libcli/nbt/nbtname.c b[0] = 0xC0 | (offset>>8); b 168 libcli/nbt/nbtname.c b[1] = (offset & 0xFF); b 170 libcli/nbt/nbtname.c return ndr_push_bytes(ndr, b, 2); b 172 librpc/rpc/binding.c _PUBLIC_ char *dcerpc_binding_string(TALLOC_CTX *mem_ctx, const struct dcerpc_binding *b) b 178 librpc/rpc/binding.c if (b->transport != NCA_UNKNOWN) { b 179 librpc/rpc/binding.c t_name = derpc_transport_string_by_transport(b->transport); b 185 librpc/rpc/binding.c if (!GUID_all_zero(&b->object.uuid)) { b 187 librpc/rpc/binding.c GUID_string(mem_ctx, &b->object.uuid)); b 197 librpc/rpc/binding.c if (b->host) { b 198 librpc/rpc/binding.c s = talloc_asprintf_append_buffer(s, "%s", b->host); b 201 librpc/rpc/binding.c if (!b->endpoint && !b->options && !b->flags) { b 207 librpc/rpc/binding.c if (b->endpoint) { b 208 librpc/rpc/binding.c s = talloc_asprintf_append_buffer(s, "%s", b->endpoint); b 214 librpc/rpc/binding.c for (i=0;b->options && b->options[i];i++) { b 215 librpc/rpc/binding.c s = talloc_asprintf_append_buffer(s, ",%s", b->options[i]); b 220 librpc/rpc/binding.c if (b->flags & ncacn_options[i].flag) { b 236 librpc/rpc/binding.c struct dcerpc_binding *b; b 241 librpc/rpc/binding.c b = talloc(mem_ctx, struct dcerpc_binding); b 242 librpc/rpc/binding.c if (!b) { b 251 librpc/rpc/binding.c status = GUID_from_data_blob(&blob, &b->object.uuid); b 260 librpc/rpc/binding.c ZERO_STRUCT(b->object); b 263 librpc/rpc/binding.c b->object.if_version = 0; b 268 librpc/rpc/binding.c b->transport = NCA_UNKNOWN; b 277 librpc/rpc/binding.c b->transport = transports[i].transport; b 294 librpc/rpc/binding.c b->host = talloc_strndup(b, s, PTR_DIFF(p, s)); b 301 librpc/rpc/binding.c b->host = talloc_strdup(b, s); b 304 librpc/rpc/binding.c if (!b->host) { b 308 librpc/rpc/binding.c b->target_hostname = b->host; b 310 librpc/rpc/binding.c b->options = NULL; b 311 librpc/rpc/binding.c b->flags = 0; b 312 librpc/rpc/binding.c b->assoc_group_id = 0; b 313 librpc/rpc/binding.c b->endpoint = NULL; b 316 librpc/rpc/binding.c *b_out = b; b 322 librpc/rpc/binding.c b->options = talloc_array(b, const char *, comma_count+2); b 323 librpc/rpc/binding.c if (!b->options) { b 328 librpc/rpc/binding.c b->options[i] = talloc_strndup(b, options, PTR_DIFF(p, options)); b 329 librpc/rpc/binding.c if (!b->options[i]) { b 334 librpc/rpc/binding.c b->options[i] = options; b 335 librpc/rpc/binding.c b->options[i+1] = NULL; b 338 librpc/rpc/binding.c for (i=0;b->options[i];i++) { b 340 librpc/rpc/binding.c if (strcasecmp(ncacn_options[j].name, b->options[i]) == 0) { b 342 librpc/rpc/binding.c b->flags |= ncacn_options[j].flag; b 343 librpc/rpc/binding.c for (k=i;b->options[k];k++) { b 344 librpc/rpc/binding.c b->options[k] = b->options[k+1]; b 352 librpc/rpc/binding.c if (b->options[0]) { b 354 librpc/rpc/binding.c b->endpoint = b->options[0]; b 355 librpc/rpc/binding.c if (strlen(b->endpoint) == 0) b->endpoint = NULL; b 357 librpc/rpc/binding.c for (i=0;b->options[i];i++) { b 358 librpc/rpc/binding.c b->options[i] = b->options[i+1]; b 362 librpc/rpc/binding.c if (b->options[0] == NULL) b 363 librpc/rpc/binding.c b->options = NULL; b 365 librpc/rpc/binding.c *b_out = b; b 169 source3/client/client.c static int writefile(int f, char *b, int n) b 174 source3/client/client.c return write(f,b,n); b 179 source3/client/client.c if (*b == '\r' && (i<(n-1)) && *(b+1) == '\n') { b 180 source3/client/client.c b++;i++; b 182 source3/client/client.c if (write(f, b, 1) != 1) { b 185 source3/client/client.c b++; b 197 source3/client/client.c static int readfile(uint8_t *b, int n, XFILE *f) b 203 source3/client/client.c return x_fread(b,1,n,f); b 212 source3/client/client.c b[i++] = '\r'; b 215 source3/client/client.c b[i++] = c; b 121 source3/client/clitar.c static int dotarbuf(int f, char *b, int n); b 174 source3/client/clitar.c char *b; b 175 source3/client/clitar.c b = (char *)SMB_MALLOC(l+TBLOCK+100); b 176 source3/client/clitar.c if (!b) { b 181 source3/client/clitar.c memset(b, 0, l+TBLOCK+100); b 182 source3/client/clitar.c fixtarname(b, aname, l+2); b 183 source3/client/clitar.c i = strlen(b)+1; b 184 source3/client/clitar.c DEBUG(5, ("File name in tar file: %s, size=%d, \n", b, (int)strlen(b))); b 185 source3/client/clitar.c dotarbuf(f, b, TBLOCK*(((i-1)/TBLOCK)+1)); b 186 source3/client/clitar.c SAFE_FREE(b); b 319 source3/client/clitar.c static int dotarbuf(int f, char *b, int n) b 331 source3/client/clitar.c memcpy(tarbuf + tp, b, diff); b 334 source3/client/clitar.c b+=diff; b 338 source3/client/clitar.c fail=fail && (1 + sys_write(f, b, tbufsiz)); b 340 source3/client/clitar.c b+=tbufsiz; b 345 source3/client/clitar.c memcpy(tarbuf+tp, b, n); b 518 source3/include/libsmbclient.h smbc_setOptionDebugToStderr(SMBCCTX *c, smbc_bool b); b 538 source3/include/libsmbclient.h smbc_setOptionFullTimeNames(SMBCCTX *c, smbc_bool b); b 588 source3/include/libsmbclient.h smbc_setOptionCaseSensitive(SMBCCTX *c, smbc_bool b); b 679 source3/include/libsmbclient.h smbc_setOptionUrlEncodeReaddirEntries(SMBCCTX *c, smbc_bool b); b 709 source3/include/libsmbclient.h smbc_setOptionOneSharePerServer(SMBCCTX *c, smbc_bool b); b 717 source3/include/libsmbclient.h smbc_setOptionUseKerberos(SMBCCTX *c, smbc_bool b); b 725 source3/include/libsmbclient.h smbc_setOptionFallbackAfterKerberos(SMBCCTX *c, smbc_bool b); b 733 source3/include/libsmbclient.h smbc_setOptionNoAutoAnonymousLogin(SMBCCTX *c, smbc_bool b); b 1093 source3/include/proto.h bool b); b 1096 source3/include/proto.h bool b); b 1580 source3/include/proto.h int strcmp_w(const smb_ucs2_t *a, const smb_ucs2_t *b); b 1581 source3/include/proto.h int strncmp_w(const smb_ucs2_t *a, const smb_ucs2_t *b, size_t len); b 1582 source3/include/proto.h int strcasecmp_w(const smb_ucs2_t *a, const smb_ucs2_t *b); b 1583 source3/include/proto.h int strncasecmp_w(const smb_ucs2_t *a, const smb_ucs2_t *b, size_t len); b 1594 source3/include/proto.h int strcmp_wa(const smb_ucs2_t *a, const char *b); b 1595 source3/include/proto.h int strncmp_wa(const smb_ucs2_t *a, const char *b, size_t len); b 2250 source3/include/proto.h _PUBLIC_ void ndr_print_bool(struct ndr_print *ndr, const char *name, const bool b); b 2261 source3/include/proto.h _PUBLIC_ char *dcerpc_binding_string(TALLOC_CTX *mem_ctx, const struct dcerpc_binding *b); b 4302 source3/include/proto.h void lp_set_in_client(bool b); b 939 source3/include/smb.h uint32 *b; b 27 source3/include/smb_macros.h #define BOOLSTR(b) ((b) ? "Yes" : "No") b 62 source3/iniparser/test/iniexample.c int b ; b 77 source3/iniparser/test/iniexample.c b = iniparser_getboolean(ini, "pizza:ham", -1); b 78 source3/iniparser/test/iniexample.c printf("Ham: [%d]\n", b); b 79 source3/iniparser/test/iniexample.c b = iniparser_getboolean(ini, "pizza:mushrooms", -1); b 80 source3/iniparser/test/iniexample.c printf("Mushrooms: [%d]\n", b); b 81 source3/iniparser/test/iniexample.c b = iniparser_getboolean(ini, "pizza:capres", -1); b 82 source3/iniparser/test/iniexample.c printf("Capres: [%d]\n", b); b 83 source3/iniparser/test/iniexample.c b = iniparser_getboolean(ini, "pizza:cheese", -1); b 84 source3/iniparser/test/iniexample.c printf("Cheese: [%d]\n", b); b 37 source3/lib/bitmap.c bm->b = SMB_MALLOC_ARRAY(uint32, (n+31)/32); b 38 source3/lib/bitmap.c if (!bm->b) { b 43 source3/lib/bitmap.c memset(bm->b, 0, sizeof(uint32)*((n+31)/32)); b 57 source3/lib/bitmap.c SAFE_FREE(bm->b); b 75 source3/lib/bitmap.c bm->b = TALLOC_ARRAY(mem_ctx, uint32, (n+31)/32); b 76 source3/lib/bitmap.c if (!bm->b) { b 80 source3/lib/bitmap.c memset(bm->b, 0, sizeof(uint32)*((n+31)/32)); b 93 source3/lib/bitmap.c SMB_ASSERT(dst->b != src->b); b 94 source3/lib/bitmap.c memcpy(dst->b, src->b, sizeof(uint32)*((count+31)/32)); b 109 source3/lib/bitmap.c bm->b[i/32] |= (1<<(i%32)); b 123 source3/lib/bitmap.c bm->b[i/32] &= ~(1<<(i%32)); b 133 source3/lib/bitmap.c if (bm->b[i/32] & (1<<(i%32))) { b 151 source3/lib/bitmap.c if (~(bm->b[i/32])) { b 164 source3/lib/bitmap.c if (~(bm->b[i/32])) { b 62 source3/lib/dbwrap_rbt.c static int db_rbt_compare(TDB_DATA a, TDB_DATA b) b 66 source3/lib/dbwrap_rbt.c res = memcmp(a.dptr, b.dptr, MIN(a.dsize, b.dsize)); b 68 source3/lib/dbwrap_rbt.c if ((res < 0) || ((res == 0) && (a.dsize < b.dsize))) { b 71 source3/lib/dbwrap_rbt.c if ((res > 0) || ((res == 0) && (a.dsize > b.dsize))) { b 229 source3/lib/debug.c char *b; b 255 source3/lib/debug.c b = buf = (char *)SMB_MALLOC(dim+1); b 262 source3/lib/debug.c strncpy(b, list[i], l); b 263 source3/lib/debug.c b = b + l; b 265 source3/lib/debug.c b[-1] = '\n'; /* replace last space with newline */ b 266 source3/lib/debug.c b[0] = '\0'; /* null terminate string */ b 244 source3/lib/ldb/common/ldb_ldif.c char *b = ldb_base64_encode(ldb, buf, len); b 247 source3/lib/ldb/common/ldb_ldif.c if (!b) { b 251 source3/lib/ldb/common/ldb_ldif.c ret = fold_string(fprintf_fn, private_data, b, strlen(b), start_pos); b 253 source3/lib/ldb/common/ldb_ldif.c talloc_free(b); b 30 source3/lib/ldb/common/qsort.c #define SWAP(a, b, size) \ b 34 source3/lib/ldb/common/qsort.c register char *__a = (a), *__b = (b); \ b 84 source3/lib/ldb/include/ldb.h #define PRINTF_ATTRIBUTE(a,b) b 69 source3/lib/ldb/tools/oLschema2ldif.c int b; b 72 source3/lib/ldb/tools/oLschema2ldif.c b = 0; b 76 source3/lib/ldb/tools/oLschema2ldif.c b++; b 78 source3/lib/ldb/tools/oLschema2ldif.c while (b) { b 81 source3/lib/ldb/tools/oLschema2ldif.c if (*c == '(') b++; b 82 source3/lib/ldb/tools/oLschema2ldif.c if (*c == ')') b--; b 551 source3/lib/substitute.c char *b, *p, *s, *r, *a_string; b 572 source3/lib/substitute.c for (b = s = a_string; (p = strchr_m(s, '%')); s = a_string + (p - b)) { b 575 source3/lib/substitute.c b = a_string; b 712 source3/lib/substitute.c char *b, *p, *s; b 726 source3/lib/substitute.c for (b = s = a_string; (p = strchr_m(s, '%')); s = a_string + (p - b)) { b 728 source3/lib/substitute.c b = a_string; b 798 source3/lib/substitute.c char *b, *p, *s; b 806 source3/lib/substitute.c for (b = s = a_string; (p = strchr_m(s, '%')); s = a_string + (p - b)) { b 808 source3/lib/substitute.c b = a_string; b 358 source3/lib/util.c bool b) b 360 source3/lib/util.c auth_info->use_kerberos = b; b 369 source3/lib/util.c bool b) b 371 source3/lib/util.c auth_info->fallback_after_kerberos = b; b 268 source3/lib/util_tdb.c char *s, **b, **ps; b 326 source3/lib/util_tdb.c b = va_arg(ap, char **); b 332 source3/lib/util_tdb.c *b = NULL; b 338 source3/lib/util_tdb.c *b = (char *)SMB_MALLOC(*i); b 339 source3/lib/util_tdb.c if (! *b) b 341 source3/lib/util_tdb.c memcpy(*b, buf+4, *i); b 545 source3/lib/util_unistr.c int strcmp_w(const smb_ucs2_t *a, const smb_ucs2_t *b) b 549 source3/lib/util_unistr.c while ((*(COPY_UCS2_CHAR(&cpb,b))) && (*(COPY_UCS2_CHAR(&cpa,a)) == cpb)) { b 551 source3/lib/util_unistr.c b++; b 553 source3/lib/util_unistr.c return (*(COPY_UCS2_CHAR(&cpa,a)) - *(COPY_UCS2_CHAR(&cpb,b))); b 559 source3/lib/util_unistr.c int strncmp_w(const smb_ucs2_t *a, const smb_ucs2_t *b, size_t len) b 564 source3/lib/util_unistr.c while ((n < len) && (*(COPY_UCS2_CHAR(&cpb,b))) && (*(COPY_UCS2_CHAR(&cpa,a)) == cpb)) { b 566 source3/lib/util_unistr.c b++; b 569 source3/lib/util_unistr.c return (len - n)?(*(COPY_UCS2_CHAR(&cpa,a)) - *(COPY_UCS2_CHAR(&cpb,b))):0; b 576 source3/lib/util_unistr.c int strcasecmp_w(const smb_ucs2_t *a, const smb_ucs2_t *b) b 580 source3/lib/util_unistr.c while ((*COPY_UCS2_CHAR(&cpb,b)) && toupper_w(*(COPY_UCS2_CHAR(&cpa,a))) == toupper_w(cpb)) { b 582 source3/lib/util_unistr.c b++; b 584 source3/lib/util_unistr.c return (tolower_w(*(COPY_UCS2_CHAR(&cpa,a))) - tolower_w(*(COPY_UCS2_CHAR(&cpb,b)))); b 591 source3/lib/util_unistr.c int strncasecmp_w(const smb_ucs2_t *a, const smb_ucs2_t *b, size_t len) b 596 source3/lib/util_unistr.c while ((n < len) && *COPY_UCS2_CHAR(&cpb,b) && (toupper_w(*(COPY_UCS2_CHAR(&cpa,a))) == toupper_w(cpb))) { b 598 source3/lib/util_unistr.c b++; b 601 source3/lib/util_unistr.c return (len - n)?(tolower_w(*(COPY_UCS2_CHAR(&cpa,a))) - tolower_w(*(COPY_UCS2_CHAR(&cpb,b)))):0; b 792 source3/lib/util_unistr.c int strcmp_wa(const smb_ucs2_t *a, const char *b) b 796 source3/lib/util_unistr.c while (*b && *(COPY_UCS2_CHAR(&cp,a)) == UCS2_CHAR(*b)) { b 798 source3/lib/util_unistr.c b++; b 800 source3/lib/util_unistr.c return (*(COPY_UCS2_CHAR(&cp,a)) - UCS2_CHAR(*b)); b 803 source3/lib/util_unistr.c int strncmp_wa(const smb_ucs2_t *a, const char *b, size_t len) b 808 source3/lib/util_unistr.c while ((n < len) && *b && *(COPY_UCS2_CHAR(&cp,a)) == UCS2_CHAR(*b)) { b 810 source3/lib/util_unistr.c b++; b 813 source3/lib/util_unistr.c return (len - n)?(*(COPY_UCS2_CHAR(&cp,a)) - UCS2_CHAR(*b)):0; b 264 source3/libads/dns.c static int dnssrvcmp( struct dns_rr_srv *a, struct dns_rr_srv *b ) b 266 source3/libads/dns.c if ( a->priority == b->priority ) { b 269 source3/libads/dns.c if ( a->weight == b->weight ) b 273 source3/libads/dns.c if ( a->weight > b->weight ) b 279 source3/libads/dns.c if ( a->priority < b->priority ) b 2256 source3/libads/ldap.c BerElement *b; b 2259 source3/libads/ldap.c (LDAPMessage *)msg,&b); b 2262 source3/libads/ldap.c (LDAPMessage *)msg,b)) { b 2294 source3/libads/ldap.c ber_free(b, 0); b 65 source3/libgpo/gpext/gpext.c struct gp_extension *b; b 67 source3/libgpo/gpext/gpext.c for (b = be; b; b = b->next) { b 68 source3/libgpo/gpext/gpext.c if (strequal(b->name, name)) { b 69 source3/libgpo/gpext/gpext.c return b; b 82 source3/libgpo/gpext/gpext.c struct gp_extension *b; b 84 source3/libgpo/gpext/gpext.c for (b = be; b; b = b->next) { b 85 source3/libgpo/gpext/gpext.c if (strequal(b->name, name)) { b 86 source3/libgpo/gpext/gpext.c return b->methods; b 197 source3/librpc/ndr/util.c _PUBLIC_ void ndr_print_bool(struct ndr_print *ndr, const char *name, const bool b) b 199 source3/librpc/ndr/util.c ndr->print(ndr, "%-25s: %s", name, b?"true":"false"); b 1339 source3/libsmb/clikrb5.c flags.b.renewable = flags.b.renew = True; b 83 source3/libsmb/clirap2.c #define PUTBYTE(p,b) do {SCVAL(p,0,b); p++;} while(0) b 85 source3/libsmb/clirap2.c #define GETBYTE(p,b,endp) \ b 88 source3/libsmb/clirap2.c b = CVAL(p,0);\ b 238 source3/libsmb/libsmb_context.c bool b; b 247 source3/libsmb/libsmb_context.c option_value.b = (bool) va_arg(ap, int); b 248 source3/libsmb/libsmb_context.c smbc_setOptionDebugToStderr(context, option_value.b); b 251 source3/libsmb/libsmb_context.c option_value.b = (bool) va_arg(ap, int); b 252 source3/libsmb/libsmb_context.c smbc_setOptionFullTimeNames(context, option_value.b); b 285 source3/libsmb/libsmb_context.c option_value.b = (bool) va_arg(ap, int); b 286 source3/libsmb/libsmb_context.c smbc_setOptionUrlEncodeReaddirEntries(context, option_value.b); b 289 source3/libsmb/libsmb_context.c option_value.b = (bool) va_arg(ap, int); b 290 source3/libsmb/libsmb_context.c smbc_setOptionOneSharePerServer(context, option_value.b); b 293 source3/libsmb/libsmb_context.c option_value.b = (bool) va_arg(ap, int); b 294 source3/libsmb/libsmb_context.c smbc_setOptionUseKerberos(context, option_value.b); b 297 source3/libsmb/libsmb_context.c option_value.b = (bool) va_arg(ap, int); b 298 source3/libsmb/libsmb_context.c smbc_setOptionFallbackAfterKerberos(context, option_value.b); b 301 source3/libsmb/libsmb_context.c option_value.b = (bool) va_arg(ap, int); b 302 source3/libsmb/libsmb_context.c smbc_setOptionNoAutoAnonymousLogin(context, option_value.b); b 74 source3/libsmb/libsmb_path.c int b = i+1 < old_length ? hex2int(src[i+1]) : -1; b 77 source3/libsmb/libsmb_path.c if (a != -1 && b != -1) { b 79 source3/libsmb/libsmb_path.c character = (a * 16) + b; b 102 source3/libsmb/libsmb_path.c int b = i+1 < old_length ? hex2int(src[i+1]) : -1; b 105 source3/libsmb/libsmb_path.c if (a != -1 && b != -1) { b 107 source3/libsmb/libsmb_path.c character = (a * 16) + b; b 117 source3/libsmb/libsmb_setget.c smbc_setOptionDebugToStderr(SMBCCTX *c, smbc_bool b) b 119 source3/libsmb/libsmb_setget.c c->internal->debug_stderr = b; b 143 source3/libsmb/libsmb_setget.c smbc_setOptionFullTimeNames(SMBCCTX *c, smbc_bool b) b 145 source3/libsmb/libsmb_setget.c c->internal->full_time_names = b; b 217 source3/libsmb/libsmb_setget.c smbc_setOptionCaseSensitive(SMBCCTX *c, smbc_bool b) b 219 source3/libsmb/libsmb_setget.c c->internal->case_sensitive = b; b 319 source3/libsmb/libsmb_setget.c smbc_setOptionUrlEncodeReaddirEntries(SMBCCTX *c, smbc_bool b) b 321 source3/libsmb/libsmb_setget.c c->options.urlencode_readdir_entries = b; b 355 source3/libsmb/libsmb_setget.c smbc_setOptionOneSharePerServer(SMBCCTX *c, smbc_bool b) b 357 source3/libsmb/libsmb_setget.c c->options.one_share_per_server = b; b 369 source3/libsmb/libsmb_setget.c smbc_setOptionUseKerberos(SMBCCTX *c, smbc_bool b) b 371 source3/libsmb/libsmb_setget.c if (b) { b 387 source3/libsmb/libsmb_setget.c smbc_setOptionFallbackAfterKerberos(SMBCCTX *c, smbc_bool b) b 389 source3/libsmb/libsmb_setget.c if (b) { b 405 source3/libsmb/libsmb_setget.c smbc_setOptionNoAutoAnonymousLogin(SMBCCTX *c, smbc_bool b) b 407 source3/libsmb/libsmb_setget.c if (b) { b 48 source3/libsmb/ntlmssp_parse.c uint8 *b; b 72 source3/libsmb/ntlmssp_parse.c b = va_arg(ap, uint8 *); b 77 source3/libsmb/ntlmssp_parse.c b = va_arg(ap, uint8 *); b 137 source3/libsmb/ntlmssp_parse.c b = va_arg(ap, uint8 *); b 142 source3/libsmb/ntlmssp_parse.c if (n && b) /* don't follow null pointers... */ b 143 source3/libsmb/ntlmssp_parse.c memcpy(blob->data+data_ofs, b, n); b 151 source3/libsmb/ntlmssp_parse.c b = va_arg(ap, uint8 *); b 153 source3/libsmb/ntlmssp_parse.c memcpy(blob->data + head_ofs, b, n); b 196 source3/libsmb/ntlmssp_parse.c DATA_BLOB *b; b 306 source3/libsmb/ntlmssp_parse.c b = (DATA_BLOB *)va_arg(ap, void *); b 308 source3/libsmb/ntlmssp_parse.c *b = data_blob_null; b 326 source3/libsmb/ntlmssp_parse.c *b = data_blob(blob->data + ptr, len1); b 330 source3/libsmb/ntlmssp_parse.c b = (DATA_BLOB *)va_arg(ap, void *); b 340 source3/libsmb/ntlmssp_parse.c *b = data_blob(blob->data + head_ofs, len1); b 218 source3/libsmb/smbdes.c char b[8][6]; b 229 source3/libsmb/smbdes.c b[j][k] = erk[j*6 + k]; b 233 source3/libsmb/smbdes.c m = (b[j][0]<<1) | b[j][5]; b 235 source3/libsmb/smbdes.c n = (b[j][1]<<3) | (b[j][2]<<2) | (b[j][3]<<1) | b[j][4]; b 238 source3/libsmb/smbdes.c b[j][k] = (sbox[j][m][n] & (1<<(3-k)))?1:0; b 243 source3/libsmb/smbdes.c cb[j*4+k] = b[j][k]; b 2400 source3/modules/getdate.c tm_diff (struct tm const *a, struct tm const *b) b 2406 source3/modules/getdate.c int b4 = (b->tm_year >> 2) + (TM_YEAR_BASE >> 2) - ! (b->tm_year & 3); b 2412 source3/modules/getdate.c int years = a->tm_year - b->tm_year; b 2414 source3/modules/getdate.c + (a->tm_yday - b->tm_yday)); b 2415 source3/modules/getdate.c return (60 * (60 * (24 * days + (a->tm_hour - b->tm_hour)) b 2416 source3/modules/getdate.c + (a->tm_min - b->tm_min)) b 2417 source3/modules/getdate.c + (a->tm_sec - b->tm_sec)); b 699 source3/modules/getdate.y tm_diff (struct tm const *a, struct tm const *b) b 705 source3/modules/getdate.y int b4 = (b->tm_year >> 2) + (TM_YEAR_BASE >> 2) - ! (b->tm_year & 3); b 711 source3/modules/getdate.y int years = a->tm_year - b->tm_year; b 713 source3/modules/getdate.y + (a->tm_yday - b->tm_yday)); b 714 source3/modules/getdate.y return (60 * (60 * (24 * days + (a->tm_hour - b->tm_hour)) b 715 source3/modules/getdate.y + (a->tm_min - b->tm_min)) b 716 source3/modules/getdate.y + (a->tm_sec - b->tm_sec)); b 23 source3/modules/vfs_dirsort.c static int compare_dirent (const void *a, const void *b) { b 25 source3/modules/vfs_dirsort.c const SMB_STRUCT_DIRENT *db = (const SMB_STRUCT_DIRENT *) b; b 8992 source3/param/loadparm.c void lp_set_in_client(bool b) b 8994 source3/param/loadparm.c in_client = b; b 3010 source3/printing/nt_printing.c bool b) b 3012 source3/printing/nt_printing.c uint8 bin_bool = (b ? 1 : 0); b 223 source3/registry/reg_util.c uint16 *buf, *b; b 244 source3/registry/reg_util.c b = TALLOC_REALLOC_ARRAY( NULL, buf, uint16, buf_size+sz.uni_str_len+1 ); b 245 source3/registry/reg_util.c if ( !b ) { b 250 source3/registry/reg_util.c buf = b; b 5696 source3/torture/torture.c static bool data_blob_equal(DATA_BLOB a, DATA_BLOB b) b 5698 source3/torture/torture.c if (a.length != b.length) { b 5700 source3/torture/torture.c (int)a.length, (int)b.length); b 5703 source3/torture/torture.c if (memcmp(a.data, b.data, a.length) != 0) { b 56 source3/web/neg_lang.c struct pri_list *b = (struct pri_list *)y; b 57 source3/web/neg_lang.c if (a->pri > b->pri) return -1; b 58 source3/web/neg_lang.c if (a->pri < b->pri) return 1; b 86 source3/winbindd/idmap.c struct idmap_backend *b; b 88 source3/winbindd/idmap.c for (b = backends; b; b = b->next) { b 89 source3/winbindd/idmap.c if (strequal(b->name, name)) { b 90 source3/winbindd/idmap.c return b->methods; b 99 source3/winbindd/idmap.c struct idmap_alloc_backend *b; b 101 source3/winbindd/idmap.c for (b = alloc_backends; b; b = b->next) { b 102 source3/winbindd/idmap.c if (strequal(b->name, name)) { b 103 source3/winbindd/idmap.c return b->methods; b 42 source3/winbindd/idmap_adex/gc_util.c static bool is_subdomain(const char* a, const char *b) b 51 source3/winbindd/idmap_adex/gc_util.c if (!a && !b) b 54 source3/winbindd/idmap_adex/gc_util.c if (!a || !b) b 60 source3/winbindd/idmap_adex/gc_util.c y = talloc_strdup(frame, b); b 378 source3/winbindd/winbindd_group.c static int namecmp( const void *a, const void *b ) b 380 source3/winbindd/winbindd_group.c return StrCaseCmp( * (char * const *) a, * (char * const *) b); b 51 source4/auth/ntlmssp/ntlmssp_parse.c uint8_t *b; b 104 source4/auth/ntlmssp/ntlmssp_parse.c b = va_arg(ap, uint8_t *); b 106 source4/auth/ntlmssp/ntlmssp_parse.c pointers[i].data = b; b 111 source4/auth/ntlmssp/ntlmssp_parse.c b = va_arg(ap, uint8_t *); b 112 source4/auth/ntlmssp/ntlmssp_parse.c pointers[i].data = b; b 213 source4/auth/ntlmssp/ntlmssp_parse.c DATA_BLOB *b; b 305 source4/auth/ntlmssp/ntlmssp_parse.c b = (DATA_BLOB *)va_arg(ap, void *); b 307 source4/auth/ntlmssp/ntlmssp_parse.c *b = data_blob_talloc(mem_ctx, NULL, 0); b 321 source4/auth/ntlmssp/ntlmssp_parse.c *b = data_blob_talloc(mem_ctx, blob->data + ptr, len1); b 325 source4/auth/ntlmssp/ntlmssp_parse.c b = (DATA_BLOB *)va_arg(ap, void *); b 335 source4/auth/ntlmssp/ntlmssp_parse.c *b = data_blob_talloc(mem_ctx, blob->data + head_ofs, len1); b 118 source4/client/client.c const uint8_t *b = (const uint8_t *)_b; b 122 source4/client/client.c return write(f,b,n); b 127 source4/client/client.c if (*b == '\r' && (i<(n-1)) && *(b+1) == '\n') { b 128 source4/client/client.c b++;i++; b 130 source4/client/client.c if (write(f, b, 1) != 1) { b 133 source4/client/client.c b++; b 146 source4/client/client.c uint8_t *b = (uint8_t *)_b; b 151 source4/client/client.c return x_fread(b,1,n,f); b 160 source4/client/client.c b[i++] = '\r'; b 163 source4/client/client.c b[i++] = c; b 712 source4/heimdal/kdc/kerberos5.c const KDC_REQ_BODY *b) b 719 source4/heimdal/kdc/kerberos5.c for (i = 0; i < b->etype.len; i++) { b 720 source4/heimdal/kdc/kerberos5.c ret = krb5_enctype_to_string(context, b->etype.val[i], &str); b 725 source4/heimdal/kdc/kerberos5.c p = rk_strpoolprintf(p, "%d", b->etype.val[i]); b 726 source4/heimdal/kdc/kerberos5.c if (p && i + 1 < b->etype.len) b 759 source4/heimdal/kdc/kerberos5.c unparse_flags(KDCOptions2int(b->kdc_options), asn1_KDCOptions_units(), b 973 source4/heimdal/kdc/kerberos5.c KDC_REQ_BODY *b = &req->req_body; b 975 source4/heimdal/kdc/kerberos5.c KDCOptions f = b->kdc_options; b 999 source4/heimdal/kdc/kerberos5.c if(b->sname == NULL){ b 1005 source4/heimdal/kdc/kerberos5.c *(b->sname), b 1006 source4/heimdal/kdc/kerberos5.c b->realm); b 1016 source4/heimdal/kdc/kerberos5.c if(b->cname == NULL){ b 1021 source4/heimdal/kdc/kerberos5.c if (b->cname->name_type == KRB5_NT_ENTERPRISE_PRINCIPAL) { b 1022 source4/heimdal/kdc/kerberos5.c if (b->cname->name_string.len != 1) { b 1026 source4/heimdal/kdc/kerberos5.c from, b->cname->name_string.len); b 1030 source4/heimdal/kdc/kerberos5.c ret = krb5_parse_name(context, b->cname->name_string.val[0], b 1037 source4/heimdal/kdc/kerberos5.c *(b->cname), b 1038 source4/heimdal/kdc/kerberos5.c b->realm); b 1344 source4/heimdal/kdc/kerberos5.c b->etype.val, b->etype.len); b 1347 source4/heimdal/kdc/kerberos5.c &client->entry, b->etype.val, b->etype.len); b 1372 source4/heimdal/kdc/kerberos5.c ret = _kdc_find_etype(context, client, b->etype.val, b->etype.len, b 1414 source4/heimdal/kdc/kerberos5.c for (j = 0; j < b->etype.len && sessionetype == ETYPE_NULL; j++) { b 1417 source4/heimdal/kdc/kerberos5.c if (p[i] != b->etype.val[j]) b 1441 source4/heimdal/kdc/kerberos5.c log_as_req(context, config, cetype, setype, b); b 1465 source4/heimdal/kdc/kerberos5.c if (CNT(b, UNKNOWN) || CNT(b, PRINCIPAL) || CNT(b, SRV_INST) || CNT(b, SRV_HST) || CNT(b, SRV_XHST)) b 1466 source4/heimdal/kdc/kerberos5.c rep.ticket.sname.name_type = b->sname->name_type; b 1496 source4/heimdal/kdc/kerberos5.c if(!_kdc_check_addresses(context, config, b->addresses, from_addr)) { b 1521 source4/heimdal/kdc/kerberos5.c _kdc_fix_time(&b->till); b 1522 source4/heimdal/kdc/kerberos5.c t = *b->till; b 1534 source4/heimdal/kdc/kerberos5.c if(f.renewable_ok && et.endtime < *b->till){ b 1536 source4/heimdal/kdc/kerberos5.c if(b->rtime == NULL){ b 1537 source4/heimdal/kdc/kerberos5.c ALLOC(b->rtime); b 1538 source4/heimdal/kdc/kerberos5.c *b->rtime = 0; b 1540 source4/heimdal/kdc/kerberos5.c if(*b->rtime < *b->till) b 1541 source4/heimdal/kdc/kerberos5.c *b->rtime = *b->till; b 1543 source4/heimdal/kdc/kerberos5.c if(f.renewable && b->rtime){ b 1544 source4/heimdal/kdc/kerberos5.c t = *b->rtime; b 1563 source4/heimdal/kdc/kerberos5.c if(b->addresses){ b 1565 source4/heimdal/kdc/kerberos5.c copy_HostAddresses(b->addresses, et.caddr); b 1605 source4/heimdal/kdc/kerberos5.c ek.nonce = b->nonce; b 1669 source4/heimdal/kdc/kerberos5.c canon.names.requested_name = *b->cname; b 363 source4/heimdal/kdc/krb5tgs.c KDC_REQ_BODY *b, const EncTicketPart *tgt, EncTicketPart *et) b 365 source4/heimdal/kdc/krb5tgs.c KDCOptions f = b->kdc_options; b 401 source4/heimdal/kdc/krb5tgs.c et->caddr = b->addresses; b 421 source4/heimdal/kdc/krb5tgs.c et->caddr = b->addresses; b 440 source4/heimdal/kdc/krb5tgs.c if(b->from) b 441 source4/heimdal/kdc/krb5tgs.c *et->starttime = *b->from; b 444 source4/heimdal/kdc/krb5tgs.c }else if(b->from && *b->from > kdc_time + context->max_skew){ b 457 source4/heimdal/kdc/krb5tgs.c _kdc_fix_time(&b->rtime); b 458 source4/heimdal/kdc/krb5tgs.c *et->renew_till = *b->rtime; b 657 source4/heimdal/kdc/krb5tgs.c KDC_REQ_BODY *b, b 680 source4/heimdal/kdc/krb5tgs.c KDCOptions f = b->kdc_options; b 692 source4/heimdal/kdc/krb5tgs.c _kdc_fix_time(&b->till); b 693 source4/heimdal/kdc/krb5tgs.c et.endtime = min(tgt->endtime, *b->till); b 697 source4/heimdal/kdc/krb5tgs.c ret = check_tgs_flags(context, config, b, tgt, &et); b 760 source4/heimdal/kdc/krb5tgs.c et.renew_till == NULL && et.endtime < *b->till){ b 763 source4/heimdal/kdc/krb5tgs.c *et.renew_till = *b->till; b 850 source4/heimdal/kdc/krb5tgs.c ek.nonce = b->nonce; b 936 source4/heimdal/kdc/krb5tgs.c KDC_REQ_BODY *b, b 970 source4/heimdal/kdc/krb5tgs.c ASN1_MALLOC_ENCODE(KDC_REQ_BODY, buf, buf_size, b, &len, ret); b 1051 source4/heimdal/kdc/krb5tgs.c KDC_REQ_BODY *b, b 1151 source4/heimdal/kdc/krb5tgs.c if (b->kdc_options.validate) b 1197 source4/heimdal/kdc/krb5tgs.c ac, b, e_text, &(*ticket)->ticket.key); b 1203 source4/heimdal/kdc/krb5tgs.c if (b->enc_authorization_data) { b 1244 source4/heimdal/kdc/krb5tgs.c b->enc_authorization_data, b 1360 source4/heimdal/kdc/krb5tgs.c KDC_REQ_BODY *b, b 1400 source4/heimdal/kdc/krb5tgs.c s = b->sname; b 1401 source4/heimdal/kdc/krb5tgs.c r = b->realm; b 1403 source4/heimdal/kdc/krb5tgs.c if(b->kdc_options.enc_tkt_in_skey){ b 1409 source4/heimdal/kdc/krb5tgs.c if(b->additional_tickets == NULL || b 1410 source4/heimdal/kdc/krb5tgs.c b->additional_tickets->len == 0){ b 1416 source4/heimdal/kdc/krb5tgs.c t = &b->additional_tickets->val[0]; b 1461 source4/heimdal/kdc/krb5tgs.c unparse_flags (KDCOptions2int(b->kdc_options), b 1506 source4/heimdal/kdc/krb5tgs.c } else if(need_referral(context, config, &b->kdc_options, sp, &realms)) { b 1573 source4/heimdal/kdc/krb5tgs.c if(b->kdc_options.enc_tkt_in_skey) { b 1576 source4/heimdal/kdc/krb5tgs.c for(i = 0; i < b->etype.len; i++) b 1577 source4/heimdal/kdc/krb5tgs.c if (b->etype.val[i] == adtkt.key.keytype) b 1579 source4/heimdal/kdc/krb5tgs.c if(i == b->etype.len) { b 1585 source4/heimdal/kdc/krb5tgs.c etype = b->etype.val[i]; b 1590 source4/heimdal/kdc/krb5tgs.c ret = _kdc_find_etype(context, server, b->etype.val, b->etype.len, b 1754 source4/heimdal/kdc/krb5tgs.c b->kdc_options.forwardable = 0; b 1768 source4/heimdal/kdc/krb5tgs.c && b->additional_tickets != NULL b 1769 source4/heimdal/kdc/krb5tgs.c && b->additional_tickets->len != 0 b 1770 source4/heimdal/kdc/krb5tgs.c && b->kdc_options.enc_tkt_in_skey == 0) b 1789 source4/heimdal/kdc/krb5tgs.c t = &b->additional_tickets->val[0]; b 1877 source4/heimdal/kdc/krb5tgs.c if((b->kdc_options.validate || b->kdc_options.renew) && b 1933 source4/heimdal/kdc/krb5tgs.c b, b 1433 source4/heimdal/kdc/pkinit.c krb5_boolean b; b 1435 source4/heimdal/kdc/pkinit.c b = krb5_principal_compare(context, b 1438 source4/heimdal/kdc/pkinit.c if (b == FALSE) b 291 source4/heimdal/kuser/kinit.c flags.b.renewable = flags.b.renew = renew; b 292 source4/heimdal/kuser/kinit.c flags.b.validate = validate; b 295 source4/heimdal/kuser/kinit.c flags.b.forwardable = forwardable_flag; b 297 source4/heimdal/kuser/kinit.c flags.b.forwardable = out->flags.b.forwardable; b 300 source4/heimdal/kuser/kinit.c flags.b.proxiable = proxiable_flag; b 302 source4/heimdal/kuser/kinit.c flags.b.proxiable = out->flags.b.proxiable; b 305 source4/heimdal/kuser/kinit.c flags.b.request_anonymous = anonymous_flag; b 297 source4/heimdal/lib/asn1/lex.c void yy_delete_buffer (YY_BUFFER_STATE b ); b 298 source4/heimdal/lib/asn1/lex.c void yy_flush_buffer (YY_BUFFER_STATE b ); b 304 source4/heimdal/lib/asn1/lex.c static void yy_init_buffer (YY_BUFFER_STATE b,FILE *file ); b 1875 source4/heimdal/lib/asn1/lex.c YY_BUFFER_STATE b = YY_CURRENT_BUFFER; b 1878 source4/heimdal/lib/asn1/lex.c (int) ((yy_c_buf_p) - b->yy_ch_buf); b 1880 source4/heimdal/lib/asn1/lex.c if ( b->yy_is_our_buffer ) b 1882 source4/heimdal/lib/asn1/lex.c int new_size = b->yy_buf_size * 2; b 1885 source4/heimdal/lib/asn1/lex.c b->yy_buf_size += b->yy_buf_size / 8; b 1887 source4/heimdal/lib/asn1/lex.c b->yy_buf_size *= 2; b 1889 source4/heimdal/lib/asn1/lex.c b->yy_ch_buf = (char *) b 1891 source4/heimdal/lib/asn1/lex.c yyrealloc((void *) b->yy_ch_buf,b->yy_buf_size + 2 ); b 1895 source4/heimdal/lib/asn1/lex.c b->yy_ch_buf = 0; b 1897 source4/heimdal/lib/asn1/lex.c if ( ! b->yy_ch_buf ) b 1901 source4/heimdal/lib/asn1/lex.c (yy_c_buf_p) = &b->yy_ch_buf[yy_c_buf_p_offset]; b 2191 source4/heimdal/lib/asn1/lex.c YY_BUFFER_STATE b; b 2193 source4/heimdal/lib/asn1/lex.c b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) ); b 2194 source4/heimdal/lib/asn1/lex.c if ( ! b ) b 2197 source4/heimdal/lib/asn1/lex.c b->yy_buf_size = size; b 2202 source4/heimdal/lib/asn1/lex.c b->yy_ch_buf = (char *) yyalloc(b->yy_buf_size + 2 ); b 2203 source4/heimdal/lib/asn1/lex.c if ( ! b->yy_ch_buf ) b 2206 source4/heimdal/lib/asn1/lex.c b->yy_is_our_buffer = 1; b 2208 source4/heimdal/lib/asn1/lex.c yy_init_buffer(b,file ); b 2210 source4/heimdal/lib/asn1/lex.c return b; b 2217 source4/heimdal/lib/asn1/lex.c void yy_delete_buffer (YY_BUFFER_STATE b ) b 2220 source4/heimdal/lib/asn1/lex.c if ( ! b ) b 2223 source4/heimdal/lib/asn1/lex.c if ( b == YY_CURRENT_BUFFER ) /* Not sure if we should pop here. */ b 2226 source4/heimdal/lib/asn1/lex.c if ( b->yy_is_our_buffer ) b 2227 source4/heimdal/lib/asn1/lex.c yyfree((void *) b->yy_ch_buf ); b 2229 source4/heimdal/lib/asn1/lex.c yyfree((void *) b ); b 2240 source4/heimdal/lib/asn1/lex.c static void yy_init_buffer (YY_BUFFER_STATE b, FILE * file ) b 2245 source4/heimdal/lib/asn1/lex.c yy_flush_buffer(b ); b 2247 source4/heimdal/lib/asn1/lex.c b->yy_input_file = file; b 2248 source4/heimdal/lib/asn1/lex.c b->yy_fill_buffer = 1; b 2254 source4/heimdal/lib/asn1/lex.c if (b != YY_CURRENT_BUFFER){ b 2255 source4/heimdal/lib/asn1/lex.c b->yy_bs_lineno = 1; b 2256 source4/heimdal/lib/asn1/lex.c b->yy_bs_column = 0; b 2259 source4/heimdal/lib/asn1/lex.c b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0; b 2268 source4/heimdal/lib/asn1/lex.c void yy_flush_buffer (YY_BUFFER_STATE b ) b 2270 source4/heimdal/lib/asn1/lex.c if ( ! b ) b 2273 source4/heimdal/lib/asn1/lex.c b->yy_n_chars = 0; b 2279 source4/heimdal/lib/asn1/lex.c b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR; b 2280 source4/heimdal/lib/asn1/lex.c b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR; b 2282 source4/heimdal/lib/asn1/lex.c b->yy_buf_pos = &b->yy_ch_buf[0]; b 2284 source4/heimdal/lib/asn1/lex.c b->yy_at_bol = 1; b 2285 source4/heimdal/lib/asn1/lex.c b->yy_buffer_status = YY_BUFFER_NEW; b 2287 source4/heimdal/lib/asn1/lex.c if ( b == YY_CURRENT_BUFFER ) b 2397 source4/heimdal/lib/asn1/lex.c YY_BUFFER_STATE b; b 2405 source4/heimdal/lib/asn1/lex.c b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) ); b 2406 source4/heimdal/lib/asn1/lex.c if ( ! b ) b 2409 source4/heimdal/lib/asn1/lex.c b->yy_buf_size = size - 2; /* "- 2" to take care of EOB's */ b 2410 source4/heimdal/lib/asn1/lex.c b->yy_buf_pos = b->yy_ch_buf = base; b 2411 source4/heimdal/lib/asn1/lex.c b->yy_is_our_buffer = 0; b 2412 source4/heimdal/lib/asn1/lex.c b->yy_input_file = 0; b 2413 source4/heimdal/lib/asn1/lex.c b->yy_n_chars = b->yy_buf_size; b 2414 source4/heimdal/lib/asn1/lex.c b->yy_is_interactive = 0; b 2415 source4/heimdal/lib/asn1/lex.c b->yy_at_bol = 1; b 2416 source4/heimdal/lib/asn1/lex.c b->yy_fill_buffer = 0; b 2417 source4/heimdal/lib/asn1/lex.c b->yy_buffer_status = YY_BUFFER_NEW; b 2419 source4/heimdal/lib/asn1/lex.c yy_switch_to_buffer(b ); b 2421 source4/heimdal/lib/asn1/lex.c return b; b 2447 source4/heimdal/lib/asn1/lex.c YY_BUFFER_STATE b; b 2463 source4/heimdal/lib/asn1/lex.c b = yy_scan_buffer(buf,n ); b 2464 source4/heimdal/lib/asn1/lex.c if ( ! b ) b 2470 source4/heimdal/lib/asn1/lex.c b->yy_is_our_buffer = 1; b 2472 source4/heimdal/lib/asn1/lex.c return b; b 42 source4/heimdal/lib/asn1/symbol.c cmp(void *a, void *b) b 45 source4/heimdal/lib/asn1/symbol.c Symbol *s2 = (Symbol *) b; b 297 source4/heimdal/lib/com_err/lex.c void yy_delete_buffer (YY_BUFFER_STATE b ); b 298 source4/heimdal/lib/com_err/lex.c void yy_flush_buffer (YY_BUFFER_STATE b ); b 304 source4/heimdal/lib/com_err/lex.c static void yy_init_buffer (YY_BUFFER_STATE b,FILE *file ); b 1051 source4/heimdal/lib/com_err/lex.c YY_BUFFER_STATE b = YY_CURRENT_BUFFER; b 1054 source4/heimdal/lib/com_err/lex.c (int) ((yy_c_buf_p) - b->yy_ch_buf); b 1056 source4/heimdal/lib/com_err/lex.c if ( b->yy_is_our_buffer ) b 1058 source4/heimdal/lib/com_err/lex.c int new_size = b->yy_buf_size * 2; b 1061 source4/heimdal/lib/com_err/lex.c b->yy_buf_size += b->yy_buf_size / 8; b 1063 source4/heimdal/lib/com_err/lex.c b->yy_buf_size *= 2; b 1065 source4/heimdal/lib/com_err/lex.c b->yy_ch_buf = (char *) b 1067 source4/heimdal/lib/com_err/lex.c yyrealloc((void *) b->yy_ch_buf,b->yy_buf_size + 2 ); b 1071 source4/heimdal/lib/com_err/lex.c b->yy_ch_buf = 0; b 1073 source4/heimdal/lib/com_err/lex.c if ( ! b->yy_ch_buf ) b 1077 source4/heimdal/lib/com_err/lex.c (yy_c_buf_p) = &b->yy_ch_buf[yy_c_buf_p_offset]; b 1367 source4/heimdal/lib/com_err/lex.c YY_BUFFER_STATE b; b 1369 source4/heimdal/lib/com_err/lex.c b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) ); b 1370 source4/heimdal/lib/com_err/lex.c if ( ! b ) b 1373 source4/heimdal/lib/com_err/lex.c b->yy_buf_size = size; b 1378 source4/heimdal/lib/com_err/lex.c b->yy_ch_buf = (char *) yyalloc(b->yy_buf_size + 2 ); b 1379 source4/heimdal/lib/com_err/lex.c if ( ! b->yy_ch_buf ) b 1382 source4/heimdal/lib/com_err/lex.c b->yy_is_our_buffer = 1; b 1384 source4/heimdal/lib/com_err/lex.c yy_init_buffer(b,file ); b 1386 source4/heimdal/lib/com_err/lex.c return b; b 1393 source4/heimdal/lib/com_err/lex.c void yy_delete_buffer (YY_BUFFER_STATE b ) b 1396 source4/heimdal/lib/com_err/lex.c if ( ! b ) b 1399 source4/heimdal/lib/com_err/lex.c if ( b == YY_CURRENT_BUFFER ) /* Not sure if we should pop here. */ b 1402 source4/heimdal/lib/com_err/lex.c if ( b->yy_is_our_buffer ) b 1403 source4/heimdal/lib/com_err/lex.c yyfree((void *) b->yy_ch_buf ); b 1405 source4/heimdal/lib/com_err/lex.c yyfree((void *) b ); b 1416 source4/heimdal/lib/com_err/lex.c static void yy_init_buffer (YY_BUFFER_STATE b, FILE * file ) b 1421 source4/heimdal/lib/com_err/lex.c yy_flush_buffer(b ); b 1423 source4/heimdal/lib/com_err/lex.c b->yy_input_file = file; b 1424 source4/heimdal/lib/com_err/lex.c b->yy_fill_buffer = 1; b 1430 source4/heimdal/lib/com_err/lex.c if (b != YY_CURRENT_BUFFER){ b 1431 source4/heimdal/lib/com_err/lex.c b->yy_bs_lineno = 1; b 1432 source4/heimdal/lib/com_err/lex.c b->yy_bs_column = 0; b 1435 source4/heimdal/lib/com_err/lex.c b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0; b 1444 source4/heimdal/lib/com_err/lex.c void yy_flush_buffer (YY_BUFFER_STATE b ) b 1446 source4/heimdal/lib/com_err/lex.c if ( ! b ) b 1449 source4/heimdal/lib/com_err/lex.c b->yy_n_chars = 0; b 1455 source4/heimdal/lib/com_err/lex.c b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR; b 1456 source4/heimdal/lib/com_err/lex.c b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR; b 1458 source4/heimdal/lib/com_err/lex.c b->yy_buf_pos = &b->yy_ch_buf[0]; b 1460 source4/heimdal/lib/com_err/lex.c b->yy_at_bol = 1; b 1461 source4/heimdal/lib/com_err/lex.c b->yy_buffer_status = YY_BUFFER_NEW; b 1463 source4/heimdal/lib/com_err/lex.c if ( b == YY_CURRENT_BUFFER ) b 1573 source4/heimdal/lib/com_err/lex.c YY_BUFFER_STATE b; b 1581 source4/heimdal/lib/com_err/lex.c b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) ); b 1582 source4/heimdal/lib/com_err/lex.c if ( ! b ) b 1585 source4/heimdal/lib/com_err/lex.c b->yy_buf_size = size - 2; /* "- 2" to take care of EOB's */ b 1586 source4/heimdal/lib/com_err/lex.c b->yy_buf_pos = b->yy_ch_buf = base; b 1587 source4/heimdal/lib/com_err/lex.c b->yy_is_our_buffer = 0; b 1588 source4/heimdal/lib/com_err/lex.c b->yy_input_file = 0; b 1589 source4/heimdal/lib/com_err/lex.c b->yy_n_chars = b->yy_buf_size; b 1590 source4/heimdal/lib/com_err/lex.c b->yy_is_interactive = 0; b 1591 source4/heimdal/lib/com_err/lex.c b->yy_at_bol = 1; b 1592 source4/heimdal/lib/com_err/lex.c b->yy_fill_buffer = 0; b 1593 source4/heimdal/lib/com_err/lex.c b->yy_buffer_status = YY_BUFFER_NEW; b 1595 source4/heimdal/lib/com_err/lex.c yy_switch_to_buffer(b ); b 1597 source4/heimdal/lib/com_err/lex.c return b; b 1623 source4/heimdal/lib/com_err/lex.c YY_BUFFER_STATE b; b 1639 source4/heimdal/lib/com_err/lex.c b = yy_scan_buffer(buf,n ); b 1640 source4/heimdal/lib/com_err/lex.c if ( ! b ) b 1646 source4/heimdal/lib/com_err/lex.c b->yy_is_our_buffer = 1; b 1648 source4/heimdal/lib/com_err/lex.c return b; b 705 source4/heimdal/lib/gssapi/gssapi/gssapi.h gss_oid_equal(const gss_OID a, const gss_OID b); b 75 source4/heimdal/lib/gssapi/krb5/8003.c hash_input_chan_bindings (const gss_channel_bindings_t b, b 82 source4/heimdal/lib/gssapi/krb5/8003.c _gsskrb5_encode_om_uint32 (b->initiator_addrtype, num); b 84 source4/heimdal/lib/gssapi/krb5/8003.c _gsskrb5_encode_om_uint32 (b->initiator_address.length, num); b 86 source4/heimdal/lib/gssapi/krb5/8003.c if (b->initiator_address.length) b 88 source4/heimdal/lib/gssapi/krb5/8003.c b->initiator_address.value, b 89 source4/heimdal/lib/gssapi/krb5/8003.c b->initiator_address.length); b 90 source4/heimdal/lib/gssapi/krb5/8003.c _gsskrb5_encode_om_uint32 (b->acceptor_addrtype, num); b 92 source4/heimdal/lib/gssapi/krb5/8003.c _gsskrb5_encode_om_uint32 (b->acceptor_address.length, num); b 94 source4/heimdal/lib/gssapi/krb5/8003.c if (b->acceptor_address.length) b 96 source4/heimdal/lib/gssapi/krb5/8003.c b->acceptor_address.value, b 97 source4/heimdal/lib/gssapi/krb5/8003.c b->acceptor_address.length); b 98 source4/heimdal/lib/gssapi/krb5/8003.c _gsskrb5_encode_om_uint32 (b->application_data.length, num); b 100 source4/heimdal/lib/gssapi/krb5/8003.c if (b->application_data.length) b 102 source4/heimdal/lib/gssapi/krb5/8003.c b->application_data.value, b 103 source4/heimdal/lib/gssapi/krb5/8003.c b->application_data.length); b 513 source4/heimdal/lib/gssapi/krb5/init_sec_context.c if (!ctx->kcred->flags.b.ok_as_delegate) { b 530 source4/heimdal/lib/gssapi/krb5/init_sec_context.c && ctx->kcred->flags.b.ok_as_delegate) b 37 source4/heimdal/lib/gssapi/mech/gss_accept_sec_context.c size_t a, b; b 60 source4/heimdal/lib/gssapi/mech/gss_accept_sec_context.c b = *p & 0x7f; b 63 source4/heimdal/lib/gssapi/mech/gss_accept_sec_context.c if (len < b) b 66 source4/heimdal/lib/gssapi/mech/gss_accept_sec_context.c while (b) { b 70 source4/heimdal/lib/gssapi/mech/gss_accept_sec_context.c b--; b 224 source4/heimdal/lib/gssapi/mech/gss_krb5.c char b = (flag != 0); b 228 source4/heimdal/lib/gssapi/mech/gss_krb5.c buffer.value = &b; b 229 source4/heimdal/lib/gssapi/mech/gss_krb5.c buffer.length = sizeof(b); b 38 source4/heimdal/lib/gssapi/mech/gss_oid_equal.c gss_oid_equal(const gss_OID a, const gss_OID b) b 40 source4/heimdal/lib/gssapi/mech/gss_oid_equal.c if (a == b) b 42 source4/heimdal/lib/gssapi/mech/gss_oid_equal.c if (a == GSS_C_NO_OID || b == GSS_C_NO_OID || a->length != b->length) b 44 source4/heimdal/lib/gssapi/mech/gss_oid_equal.c return memcmp(a->elements, b->elements, a->length) == 0; b 88 source4/heimdal/lib/hcrypto/bn.c BIGNUM *b = BN_new(); b 89 source4/heimdal/lib/hcrypto/bn.c if (der_copy_heim_integer((const heim_integer *)bn, (heim_integer *)b)) { b 90 source4/heimdal/lib/hcrypto/bn.c BN_free(b); b 93 source4/heimdal/lib/hcrypto/bn.c return b; b 376 source4/heimdal/lib/hcrypto/bn.c BN_uadd(BIGNUM *res, const BIGNUM *a, const BIGNUM *b) b 379 source4/heimdal/lib/hcrypto/bn.c const heim_integer *bi = (const heim_integer *)b; b 440 source4/heimdal/lib/hcrypto/bn.c BN_GENCB_call(BN_GENCB *cb, int a, int b) b 444 source4/heimdal/lib/hcrypto/bn.c return cb->cb.cb_2(a, b, cb); b 332 source4/heimdal/lib/hcrypto/des.c load(const unsigned char *b, uint32_t v[2]) b 334 source4/heimdal/lib/hcrypto/des.c v[0] = b[0] << 24; b 335 source4/heimdal/lib/hcrypto/des.c v[0] |= b[1] << 16; b 336 source4/heimdal/lib/hcrypto/des.c v[0] |= b[2] << 8; b 337 source4/heimdal/lib/hcrypto/des.c v[0] |= b[3] << 0; b 338 source4/heimdal/lib/hcrypto/des.c v[1] = b[4] << 24; b 339 source4/heimdal/lib/hcrypto/des.c v[1] |= b[5] << 16; b 340 source4/heimdal/lib/hcrypto/des.c v[1] |= b[6] << 8; b 341 source4/heimdal/lib/hcrypto/des.c v[1] |= b[7] << 0; b 345 source4/heimdal/lib/hcrypto/des.c store(const uint32_t v[2], unsigned char *b) b 347 source4/heimdal/lib/hcrypto/des.c b[0] = (v[0] >> 24) & 0xff; b 348 source4/heimdal/lib/hcrypto/des.c b[1] = (v[0] >> 16) & 0xff; b 349 source4/heimdal/lib/hcrypto/des.c b[2] = (v[0] >> 8) & 0xff; b 350 source4/heimdal/lib/hcrypto/des.c b[3] = (v[0] >> 0) & 0xff; b 351 source4/heimdal/lib/hcrypto/des.c b[4] = (v[1] >> 24) & 0xff; b 352 source4/heimdal/lib/hcrypto/des.c b[5] = (v[1] >> 16) & 0xff; b 353 source4/heimdal/lib/hcrypto/des.c b[6] = (v[1] >> 8) & 0xff; b 354 source4/heimdal/lib/hcrypto/des.c b[7] = (v[1] >> 0) & 0xff; b 808 source4/heimdal/lib/hcrypto/des.c bitswap8(unsigned char b) b 813 source4/heimdal/lib/hcrypto/des.c r = r << 1 | (b & 1); b 814 source4/heimdal/lib/hcrypto/des.c b = b >> 1; b 204 source4/heimdal/lib/hcrypto/dh-imath.c dh_generate_params(DH *dh, int a, int b, BN_GENCB *callback) b 1527 source4/heimdal/lib/hcrypto/evp.c #define min(a,b) (((a)>(b))?(b):(a)) b 48 source4/heimdal/lib/hcrypto/hash.h #define min(a,b) (((a)>(b))?(b):(a)) b 208 source4/heimdal/lib/hcrypto/imath/imath.c static int s_ucmp(mp_int a, mp_int b); b 237 source4/heimdal/lib/hcrypto/imath/imath.c static void s_dadd(mp_int a, mp_digit b); b 240 source4/heimdal/lib/hcrypto/imath/imath.c static void s_dmul(mp_int a, mp_digit b); b 243 source4/heimdal/lib/hcrypto/imath/imath.c static void s_dbmul(mp_digit *da, mp_digit b, mp_digit *dc, b 248 source4/heimdal/lib/hcrypto/imath/imath.c static mp_digit s_ddiv(mp_int a, mp_digit b); b 274 source4/heimdal/lib/hcrypto/imath/imath.c static int s_norm(mp_int a, mp_int b); b 284 source4/heimdal/lib/hcrypto/imath/imath.c static mp_result s_embar(mp_int a, mp_int b, mp_int m, mp_int mu, mp_int c); b 288 source4/heimdal/lib/hcrypto/imath/imath.c static mp_result s_udiv(mp_int a, mp_int b); b 552 source4/heimdal/lib/hcrypto/imath/imath.c mp_result mp_int_add(mp_int a, mp_int b, mp_int c) b 556 source4/heimdal/lib/hcrypto/imath/imath.c CHECK(a != NULL && b != NULL && c != NULL); b 558 source4/heimdal/lib/hcrypto/imath/imath.c ua = MP_USED(a); ub = MP_USED(b); uc = MP_USED(c); b 561 source4/heimdal/lib/hcrypto/imath/imath.c if(MP_SIGN(a) == MP_SIGN(b)) { b 568 source4/heimdal/lib/hcrypto/imath/imath.c carry = s_uadd(MP_DIGITS(a), MP_DIGITS(b), MP_DIGITS(c), ua, ub); b 586 source4/heimdal/lib/hcrypto/imath/imath.c int cmp = s_ucmp(a, b); /* magnitude comparision, sign ignored */ b 596 source4/heimdal/lib/hcrypto/imath/imath.c x = b; y = a; b 599 source4/heimdal/lib/hcrypto/imath/imath.c x = a; y = b; b 635 source4/heimdal/lib/hcrypto/imath/imath.c mp_result mp_int_sub(mp_int a, mp_int b, mp_int c) b 639 source4/heimdal/lib/hcrypto/imath/imath.c CHECK(a != NULL && b != NULL && c != NULL); b 641 source4/heimdal/lib/hcrypto/imath/imath.c ua = MP_USED(a); ub = MP_USED(b); uc = MP_USED(c); b 644 source4/heimdal/lib/hcrypto/imath/imath.c if(MP_SIGN(a) != MP_SIGN(b)) { b 651 source4/heimdal/lib/hcrypto/imath/imath.c carry = s_uadd(MP_DIGITS(a), MP_DIGITS(b), MP_DIGITS(c), ua, ub); b 670 source4/heimdal/lib/hcrypto/imath/imath.c int cmp = s_ucmp(a, b); b 676 source4/heimdal/lib/hcrypto/imath/imath.c x = a; y = b; osign = MP_ZPOS; b 679 source4/heimdal/lib/hcrypto/imath/imath.c x = b; y = a; osign = MP_NEG; b 713 source4/heimdal/lib/hcrypto/imath/imath.c mp_result mp_int_mul(mp_int a, mp_int b, mp_int c) b 719 source4/heimdal/lib/hcrypto/imath/imath.c CHECK(a != NULL && b != NULL && c != NULL); b 722 source4/heimdal/lib/hcrypto/imath/imath.c if(mp_int_compare_zero(a) == 0 || mp_int_compare_zero(b) == 0) { b 728 source4/heimdal/lib/hcrypto/imath/imath.c osign = (MP_SIGN(a) == MP_SIGN(b)) ? MP_ZPOS : MP_NEG; b 732 source4/heimdal/lib/hcrypto/imath/imath.c ua = MP_USED(a); ub = MP_USED(b); b 736 source4/heimdal/lib/hcrypto/imath/imath.c if(c == a || c == b) { b 751 source4/heimdal/lib/hcrypto/imath/imath.c if(!s_kmul(MP_DIGITS(a), MP_DIGITS(b), out, ua, ub)) b 854 source4/heimdal/lib/hcrypto/imath/imath.c mp_result mp_int_div(mp_int a, mp_int b, mp_int q, mp_int r) b 860 source4/heimdal/lib/hcrypto/imath/imath.c mp_sign sa = MP_SIGN(a), sb = MP_SIGN(b); b 862 source4/heimdal/lib/hcrypto/imath/imath.c CHECK(a != NULL && b != NULL && q != r); b 864 source4/heimdal/lib/hcrypto/imath/imath.c if(CMPZ(b) == 0) b 866 source4/heimdal/lib/hcrypto/imath/imath.c else if((cmp = s_ucmp(a, b)) < 0) { b 900 source4/heimdal/lib/hcrypto/imath/imath.c if((lg = s_isp2(b)) < 0) { b 901 source4/heimdal/lib/hcrypto/imath/imath.c if(q && b != q) { b 913 source4/heimdal/lib/hcrypto/imath/imath.c if((res = mp_int_copy(b, r)) != MP_OK) b 920 source4/heimdal/lib/hcrypto/imath/imath.c SETUP(mp_int_init_copy(TEMP(last), b), last); b 1035 source4/heimdal/lib/hcrypto/imath/imath.c mp_result mp_int_expt(mp_int a, mp_small b, mp_int c) b 1039 source4/heimdal/lib/hcrypto/imath/imath.c unsigned int v = abs(b); b 1041 source4/heimdal/lib/hcrypto/imath/imath.c CHECK(b >= 0 && c != NULL); b 1069 source4/heimdal/lib/hcrypto/imath/imath.c mp_result mp_int_expt_value(mp_small a, mp_small b, mp_int c) b 1073 source4/heimdal/lib/hcrypto/imath/imath.c unsigned int v = abs(b); b 1075 source4/heimdal/lib/hcrypto/imath/imath.c CHECK(b >= 0 && c != NULL); b 1103 source4/heimdal/lib/hcrypto/imath/imath.c int mp_int_compare(mp_int a, mp_int b) b 1107 source4/heimdal/lib/hcrypto/imath/imath.c CHECK(a != NULL && b != NULL); b 1110 source4/heimdal/lib/hcrypto/imath/imath.c if(sa == MP_SIGN(b)) { b 1111 source4/heimdal/lib/hcrypto/imath/imath.c int cmp = s_ucmp(a, b); b 1133 source4/heimdal/lib/hcrypto/imath/imath.c int mp_int_compare_unsigned(mp_int a, mp_int b) b 1135 source4/heimdal/lib/hcrypto/imath/imath.c NRCHECK(a != NULL && b != NULL); b 1137 source4/heimdal/lib/hcrypto/imath/imath.c return s_ucmp(a, b); b 1187 source4/heimdal/lib/hcrypto/imath/imath.c mp_result mp_int_exptmod(mp_int a, mp_int b, mp_int m, mp_int c) b 1195 source4/heimdal/lib/hcrypto/imath/imath.c CHECK(a != NULL && b != NULL && c != NULL && m != NULL); b 1200 source4/heimdal/lib/hcrypto/imath/imath.c if(CMPZ(b) < 0) b 1207 source4/heimdal/lib/hcrypto/imath/imath.c if(c == b || c == m) { b 1219 source4/heimdal/lib/hcrypto/imath/imath.c if((res = s_embar(TEMP(0), b, m, TEMP(1), s)) != MP_OK) b 1249 source4/heimdal/lib/hcrypto/imath/imath.c mp_result mp_int_exptmod_bvalue(mp_small value, mp_int b, b 1257 source4/heimdal/lib/hcrypto/imath/imath.c return mp_int_exptmod(&vtmp, b, m, c); b 1264 source4/heimdal/lib/hcrypto/imath/imath.c mp_result mp_int_exptmod_known(mp_int a, mp_int b, mp_int m, mp_int mu, mp_int c) b 1272 source4/heimdal/lib/hcrypto/imath/imath.c CHECK(a && b && m && c); b 1277 source4/heimdal/lib/hcrypto/imath/imath.c if(CMPZ(b) < 0) b 1283 source4/heimdal/lib/hcrypto/imath/imath.c if(c == b || c == m) { b 1293 source4/heimdal/lib/hcrypto/imath/imath.c if((res = s_embar(TEMP(0), b, m, mu, s)) != MP_OK) b 1371 source4/heimdal/lib/hcrypto/imath/imath.c mp_result mp_int_gcd(mp_int a, mp_int b, mp_int c) b 1377 source4/heimdal/lib/hcrypto/imath/imath.c CHECK(a != NULL && b != NULL && c != NULL); b 1380 source4/heimdal/lib/hcrypto/imath/imath.c cb = CMPZ(b); b 1384 source4/heimdal/lib/hcrypto/imath/imath.c return mp_int_abs(b, c); b 1391 source4/heimdal/lib/hcrypto/imath/imath.c if((res = mp_int_init_copy(&v, b)) != MP_OK) b 1453 source4/heimdal/lib/hcrypto/imath/imath.c mp_result mp_int_egcd(mp_int a, mp_int b, mp_int c, b 1460 source4/heimdal/lib/hcrypto/imath/imath.c CHECK(a != NULL && b != NULL && c != NULL && b 1464 source4/heimdal/lib/hcrypto/imath/imath.c cb = CMPZ(b); b 1468 source4/heimdal/lib/hcrypto/imath/imath.c if((res = mp_int_abs(b, c)) != MP_OK) return res; b 1484 source4/heimdal/lib/hcrypto/imath/imath.c SETUP(mp_int_init_copy(TEMP(5), b), last); b 1568 source4/heimdal/lib/hcrypto/imath/imath.c mp_result mp_int_lcm(mp_int a, mp_int b, mp_int c) b 1573 source4/heimdal/lib/hcrypto/imath/imath.c CHECK(a != NULL && b != NULL && c != NULL); b 1583 source4/heimdal/lib/hcrypto/imath/imath.c if((res = mp_int_gcd(a, b, &lcm)) != MP_OK) b 1587 source4/heimdal/lib/hcrypto/imath/imath.c if((res = mp_int_mul(&lcm, b, &lcm)) != MP_OK) b 1631 source4/heimdal/lib/hcrypto/imath/imath.c mp_result mp_int_root(mp_int a, mp_small b, mp_int c) b 1638 source4/heimdal/lib/hcrypto/imath/imath.c CHECK(a != NULL && c != NULL && b > 0); b 1640 source4/heimdal/lib/hcrypto/imath/imath.c if(b == 1) { b 1644 source4/heimdal/lib/hcrypto/imath/imath.c if(b % 2 == 0) b 1660 source4/heimdal/lib/hcrypto/imath/imath.c if((res = mp_int_expt(TEMP(1), b, TEMP(2))) != MP_OK) b 1668 source4/heimdal/lib/hcrypto/imath/imath.c if((res = mp_int_expt(TEMP(1), b - 1, TEMP(3))) != MP_OK) b 1670 source4/heimdal/lib/hcrypto/imath/imath.c if((res = mp_int_mul_value(TEMP(3), b, TEMP(3))) != MP_OK) b 2251 source4/heimdal/lib/hcrypto/imath/imath.c static int s_ucmp(mp_int a, mp_int b) b 2253 source4/heimdal/lib/hcrypto/imath/imath.c mp_size ua = MP_USED(a), ub = MP_USED(b); b 2260 source4/heimdal/lib/hcrypto/imath/imath.c return s_cdig(MP_DIGITS(a), MP_DIGITS(b), ua); b 2449 source4/heimdal/lib/hcrypto/imath/imath.c mp_size a, b; b 2460 source4/heimdal/lib/hcrypto/imath/imath.c for(b = 0; b < size_b; ++b, ++dbt, ++dct) { b 2588 source4/heimdal/lib/hcrypto/imath/imath.c static void s_dadd(mp_int a, mp_digit b) b 2594 source4/heimdal/lib/hcrypto/imath/imath.c w = (mp_word)*da + b; b 2615 source4/heimdal/lib/hcrypto/imath/imath.c static void s_dmul(mp_int a, mp_digit b) b 2622 source4/heimdal/lib/hcrypto/imath/imath.c w = (mp_word)*da * b + w; b 2638 source4/heimdal/lib/hcrypto/imath/imath.c static void s_dbmul(mp_digit *da, mp_digit b, mp_digit *dc, mp_size size_a) b 2643 source4/heimdal/lib/hcrypto/imath/imath.c w = (mp_word)*da++ * (mp_word)b + w; b 2658 source4/heimdal/lib/hcrypto/imath/imath.c static mp_digit s_ddiv(mp_int a, mp_digit b) b 2667 source4/heimdal/lib/hcrypto/imath/imath.c if(w >= b) { b 2668 source4/heimdal/lib/hcrypto/imath/imath.c qdigit = w / b; b 2669 source4/heimdal/lib/hcrypto/imath/imath.c w = w % b; b 2924 source4/heimdal/lib/hcrypto/imath/imath.c static int s_norm(mp_int a, mp_int b) b 2926 source4/heimdal/lib/hcrypto/imath/imath.c mp_digit d = b->digits[MP_USED(b) - 1]; b 2937 source4/heimdal/lib/hcrypto/imath/imath.c (void) s_qmul(b, (mp_size) k); b 3011 source4/heimdal/lib/hcrypto/imath/imath.c static mp_result s_embar(mp_int a, mp_int b, mp_int m, mp_int mu, mp_int c) b 3018 source4/heimdal/lib/hcrypto/imath/imath.c umu = MP_USED(mu); db = MP_DIGITS(b); dbt = db + MP_USED(b) - 1; b 3091 source4/heimdal/lib/hcrypto/imath/imath.c static mp_result s_udiv(mp_int a, mp_int b) b 3101 source4/heimdal/lib/hcrypto/imath/imath.c MP_SIGN(b) = MP_ZPOS; b 3104 source4/heimdal/lib/hcrypto/imath/imath.c k = s_norm(a, b); b 3106 source4/heimdal/lib/hcrypto/imath/imath.c ua = MP_USED(a); ub = MP_USED(b); btop = b->digits[ub - 1]; b 3121 source4/heimdal/lib/hcrypto/imath/imath.c if(s_ucmp(b, &r) > 0) { b 3148 source4/heimdal/lib/hcrypto/imath/imath.c s_dbmul(MP_DIGITS(b), (mp_digit) qdigit, t.digits, ub); b 3152 source4/heimdal/lib/hcrypto/imath/imath.c (void) mp_int_sub(&t, b, &t); /* cannot fail */ b 3174 source4/heimdal/lib/hcrypto/imath/imath.c mp_int_copy(a, b); /* ok: 0 <= r < b */ b 128 source4/heimdal/lib/hcrypto/imath/imath.h mp_result mp_int_add(mp_int a, mp_int b, mp_int c); /* c = a + b */ b 130 source4/heimdal/lib/hcrypto/imath/imath.h mp_result mp_int_sub(mp_int a, mp_int b, mp_int c); /* c = a - b */ b 132 source4/heimdal/lib/hcrypto/imath/imath.h mp_result mp_int_mul(mp_int a, mp_int b, mp_int c); /* c = a * b */ b 136 source4/heimdal/lib/hcrypto/imath/imath.h mp_result mp_int_div(mp_int a, mp_int b, /* q = a / b */ b 144 source4/heimdal/lib/hcrypto/imath/imath.h mp_result mp_int_expt(mp_int a, mp_small b, mp_int c); /* c = a^b */ b 145 source4/heimdal/lib/hcrypto/imath/imath.h mp_result mp_int_expt_value(mp_small a, mp_small b, mp_int c); /* c = a^b */ b 147 source4/heimdal/lib/hcrypto/imath/imath.h int mp_int_compare(mp_int a, mp_int b); /* a <=> b */ b 148 source4/heimdal/lib/hcrypto/imath/imath.h int mp_int_compare_unsigned(mp_int a, mp_int b); /* |a| <=> |b| */ b 158 source4/heimdal/lib/hcrypto/imath/imath.h mp_result mp_int_exptmod(mp_int a, mp_int b, mp_int m, b 162 source4/heimdal/lib/hcrypto/imath/imath.h mp_result mp_int_exptmod_bvalue(mp_small value, mp_int b, b 164 source4/heimdal/lib/hcrypto/imath/imath.h mp_result mp_int_exptmod_known(mp_int a, mp_int b, b 171 source4/heimdal/lib/hcrypto/imath/imath.h mp_result mp_int_gcd(mp_int a, mp_int b, mp_int c); /* c = gcd(a, b) */ b 173 source4/heimdal/lib/hcrypto/imath/imath.h mp_result mp_int_egcd(mp_int a, mp_int b, mp_int c, /* c = gcd(a, b) */ b 176 source4/heimdal/lib/hcrypto/imath/imath.h mp_result mp_int_lcm(mp_int a, mp_int b, mp_int c); /* c = lcm(a, b) */ b 178 source4/heimdal/lib/hcrypto/imath/imath.h mp_result mp_int_root(mp_int a, mp_small b, mp_int c); /* c = floor(a^{1/b}) */ b 64 source4/heimdal/lib/hcrypto/md4.c #define DOIT(a,b,c,d,k,s,i,OP) \ b 65 source4/heimdal/lib/hcrypto/md4.c a = cshift(a + OP(b,c,d) + X[k] + i, s) b 67 source4/heimdal/lib/hcrypto/md4.c #define DO1(a,b,c,d,k,s,i) DOIT(a,b,c,d,k,s,i,F) b 68 source4/heimdal/lib/hcrypto/md4.c #define DO2(a,b,c,d,k,s,i) DOIT(a,b,c,d,k,s,i,G) b 69 source4/heimdal/lib/hcrypto/md4.c #define DO3(a,b,c,d,k,s,i) DOIT(a,b,c,d,k,s,i,H) b 174 source4/heimdal/lib/hcrypto/md4.c unsigned int b:32; b 201 source4/heimdal/lib/hcrypto/md4.c current[2*i+1] = swap_uint32_t(u[i].b); b 65 source4/heimdal/lib/hcrypto/md5.c #define DOIT(a,b,c,d,k,s,i,OP) \ b 66 source4/heimdal/lib/hcrypto/md5.c a = b + cshift(a + OP(b,c,d) + X[k] + (i), s) b 68 source4/heimdal/lib/hcrypto/md5.c #define DO1(a,b,c,d,k,s,i) DOIT(a,b,c,d,k,s,i,F) b 69 source4/heimdal/lib/hcrypto/md5.c #define DO2(a,b,c,d,k,s,i) DOIT(a,b,c,d,k,s,i,G) b 70 source4/heimdal/lib/hcrypto/md5.c #define DO3(a,b,c,d,k,s,i) DOIT(a,b,c,d,k,s,i,H) b 71 source4/heimdal/lib/hcrypto/md5.c #define DO4(a,b,c,d,k,s,i) DOIT(a,b,c,d,k,s,i,I) b 198 source4/heimdal/lib/hcrypto/md5.c unsigned int b:32; b 225 source4/heimdal/lib/hcrypto/md5.c current[2*i+1] = swap_uint32_t(u[i].b); b 88 source4/heimdal/lib/hcrypto/rsa-imath.c setup_blind(mp_int n, mp_int b, mp_int bi) b 90 source4/heimdal/lib/hcrypto/rsa-imath.c mp_int_init(b); b 92 source4/heimdal/lib/hcrypto/rsa-imath.c random_num(b, mp_int_count_bits(n)); b 93 source4/heimdal/lib/hcrypto/rsa-imath.c mp_int_mod(b, n, b); b 94 source4/heimdal/lib/hcrypto/rsa-imath.c mp_int_invmod(b, n, bi); b 98 source4/heimdal/lib/hcrypto/rsa-imath.c blind(mp_int in, mp_int b, mp_int e, mp_int n) b 103 source4/heimdal/lib/hcrypto/rsa-imath.c mp_int_exptmod(b, e, n, &t1); b 303 source4/heimdal/lib/hcrypto/rsa-imath.c mpz_t in, out, n, e, b, bi; b 339 source4/heimdal/lib/hcrypto/rsa-imath.c setup_blind(&n, &b, &bi); b 340 source4/heimdal/lib/hcrypto/rsa-imath.c blind(&in, &b, &e, &n); b 373 source4/heimdal/lib/hcrypto/rsa-imath.c mp_int_clear(&b); b 401 source4/heimdal/lib/hcrypto/rsa-imath.c mpz_t in, out, n, e, b, bi; b 430 source4/heimdal/lib/hcrypto/rsa-imath.c setup_blind(&n, &b, &bi); b 431 source4/heimdal/lib/hcrypto/rsa-imath.c blind(&in, &b, &e, &n); b 468 source4/heimdal/lib/hcrypto/rsa-imath.c mp_int_clear(&b); b 224 source4/heimdal/lib/hcrypto/sha.c unsigned int b:32; b 251 source4/heimdal/lib/hcrypto/sha.c current[2*i+1] = swap_uint32_t(u[i].b); b 166 source4/heimdal/lib/hcrypto/sha256.c unsigned int b:32; b 193 source4/heimdal/lib/hcrypto/sha256.c current[2*i+1] = swap_uint32_t(u[i].b); b 3012 source4/heimdal/lib/hx509/cert.c stat_sort(const void *a, const void *b) b 3015 source4/heimdal/lib/hx509/cert.c const struct stat_el *be = b; b 216 source4/heimdal/lib/hx509/env.c env_free(hx509_env b) b 218 source4/heimdal/lib/hx509/env.c while(b) { b 219 source4/heimdal/lib/hx509/env.c hx509_env next = b->next; b 221 source4/heimdal/lib/hx509/env.c if (b->type == env_string) b 222 source4/heimdal/lib/hx509/env.c free(b->u.string); b 223 source4/heimdal/lib/hx509/env.c else if (b->type == env_list) b 224 source4/heimdal/lib/hx509/env.c env_free(b->u.list); b 226 source4/heimdal/lib/hx509/env.c free(b->name); b 227 source4/heimdal/lib/hx509/env.c free(b); b 228 source4/heimdal/lib/hx509/env.c b = next; b 164 source4/heimdal/lib/hx509/print.c hx509_bitstring_print(const heim_bit_string *b, b 168 source4/heimdal/lib/hx509/print.c print_func(func, ctx, "\tlength: %d\n\t", b->length); b 169 source4/heimdal/lib/hx509/print.c for (i = 0; i < (b->length + 7) / 8; i++) b 171 source4/heimdal/lib/hx509/print.c ((unsigned char *)b->data)[i], b 172 source4/heimdal/lib/hx509/print.c i < (b->length - 7) / 8 b 175 source4/heimdal/lib/hx509/print.c (i <= ((b->length + 7) / 8 - 2) ? "\n\t" : "\n"):""); b 665 source4/heimdal/lib/hx509/print.c BasicConstraints b; b 672 source4/heimdal/lib/hx509/print.c &b, &size); b 681 source4/heimdal/lib/hx509/print.c "\tis %sa CA\n", b.cA && *b.cA ? "" : "NOT "); b 682 source4/heimdal/lib/hx509/print.c if (b.pathLenConstraint) b 684 source4/heimdal/lib/hx509/print.c "\tpathLenConstraint: %d\n", *b.pathLenConstraint); b 686 source4/heimdal/lib/hx509/print.c if (b.cA) { b 687 source4/heimdal/lib/hx509/print.c if (*b.cA) { b 697 source4/heimdal/lib/hx509/print.c free_BasicConstraints(&b); b 297 source4/heimdal/lib/hx509/sel-lex.c void yy_delete_buffer (YY_BUFFER_STATE b ); b 298 source4/heimdal/lib/hx509/sel-lex.c void yy_flush_buffer (YY_BUFFER_STATE b ); b 304 source4/heimdal/lib/hx509/sel-lex.c static void yy_init_buffer (YY_BUFFER_STATE b,FILE *file ); b 1037 source4/heimdal/lib/hx509/sel-lex.c YY_BUFFER_STATE b = YY_CURRENT_BUFFER; b 1040 source4/heimdal/lib/hx509/sel-lex.c (int) ((yy_c_buf_p) - b->yy_ch_buf); b 1042 source4/heimdal/lib/hx509/sel-lex.c if ( b->yy_is_our_buffer ) b 1044 source4/heimdal/lib/hx509/sel-lex.c int new_size = b->yy_buf_size * 2; b 1047 source4/heimdal/lib/hx509/sel-lex.c b->yy_buf_size += b->yy_buf_size / 8; b 1049 source4/heimdal/lib/hx509/sel-lex.c b->yy_buf_size *= 2; b 1051 source4/heimdal/lib/hx509/sel-lex.c b->yy_ch_buf = (char *) b 1053 source4/heimdal/lib/hx509/sel-lex.c yyrealloc((void *) b->yy_ch_buf,b->yy_buf_size + 2 ); b 1057 source4/heimdal/lib/hx509/sel-lex.c b->yy_ch_buf = 0; b 1059 source4/heimdal/lib/hx509/sel-lex.c if ( ! b->yy_ch_buf ) b 1063 source4/heimdal/lib/hx509/sel-lex.c (yy_c_buf_p) = &b->yy_ch_buf[yy_c_buf_p_offset]; b 1353 source4/heimdal/lib/hx509/sel-lex.c YY_BUFFER_STATE b; b 1355 source4/heimdal/lib/hx509/sel-lex.c b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) ); b 1356 source4/heimdal/lib/hx509/sel-lex.c if ( ! b ) b 1359 source4/heimdal/lib/hx509/sel-lex.c b->yy_buf_size = size; b 1364 source4/heimdal/lib/hx509/sel-lex.c b->yy_ch_buf = (char *) yyalloc(b->yy_buf_size + 2 ); b 1365 source4/heimdal/lib/hx509/sel-lex.c if ( ! b->yy_ch_buf ) b 1368 source4/heimdal/lib/hx509/sel-lex.c b->yy_is_our_buffer = 1; b 1370 source4/heimdal/lib/hx509/sel-lex.c yy_init_buffer(b,file ); b 1372 source4/heimdal/lib/hx509/sel-lex.c return b; b 1379 source4/heimdal/lib/hx509/sel-lex.c void yy_delete_buffer (YY_BUFFER_STATE b ) b 1382 source4/heimdal/lib/hx509/sel-lex.c if ( ! b ) b 1385 source4/heimdal/lib/hx509/sel-lex.c if ( b == YY_CURRENT_BUFFER ) /* Not sure if we should pop here. */ b 1388 source4/heimdal/lib/hx509/sel-lex.c if ( b->yy_is_our_buffer ) b 1389 source4/heimdal/lib/hx509/sel-lex.c yyfree((void *) b->yy_ch_buf ); b 1391 source4/heimdal/lib/hx509/sel-lex.c yyfree((void *) b ); b 1402 source4/heimdal/lib/hx509/sel-lex.c static void yy_init_buffer (YY_BUFFER_STATE b, FILE * file ) b 1407 source4/heimdal/lib/hx509/sel-lex.c yy_flush_buffer(b ); b 1409 source4/heimdal/lib/hx509/sel-lex.c b->yy_input_file = file; b 1410 source4/heimdal/lib/hx509/sel-lex.c b->yy_fill_buffer = 1; b 1416 source4/heimdal/lib/hx509/sel-lex.c if (b != YY_CURRENT_BUFFER){ b 1417 source4/heimdal/lib/hx509/sel-lex.c b->yy_bs_lineno = 1; b 1418 source4/heimdal/lib/hx509/sel-lex.c b->yy_bs_column = 0; b 1421 source4/heimdal/lib/hx509/sel-lex.c b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0; b 1430 source4/heimdal/lib/hx509/sel-lex.c void yy_flush_buffer (YY_BUFFER_STATE b ) b 1432 source4/heimdal/lib/hx509/sel-lex.c if ( ! b ) b 1435 source4/heimdal/lib/hx509/sel-lex.c b->yy_n_chars = 0; b 1441 source4/heimdal/lib/hx509/sel-lex.c b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR; b 1442 source4/heimdal/lib/hx509/sel-lex.c b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR; b 1444 source4/heimdal/lib/hx509/sel-lex.c b->yy_buf_pos = &b->yy_ch_buf[0]; b 1446 source4/heimdal/lib/hx509/sel-lex.c b->yy_at_bol = 1; b 1447 source4/heimdal/lib/hx509/sel-lex.c b->yy_buffer_status = YY_BUFFER_NEW; b 1449 source4/heimdal/lib/hx509/sel-lex.c if ( b == YY_CURRENT_BUFFER ) b 1559 source4/heimdal/lib/hx509/sel-lex.c YY_BUFFER_STATE b; b 1567 source4/heimdal/lib/hx509/sel-lex.c b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) ); b 1568 source4/heimdal/lib/hx509/sel-lex.c if ( ! b ) b 1571 source4/heimdal/lib/hx509/sel-lex.c b->yy_buf_size = size - 2; /* "- 2" to take care of EOB's */ b 1572 source4/heimdal/lib/hx509/sel-lex.c b->yy_buf_pos = b->yy_ch_buf = base; b 1573 source4/heimdal/lib/hx509/sel-lex.c b->yy_is_our_buffer = 0; b 1574 source4/heimdal/lib/hx509/sel-lex.c b->yy_input_file = 0; b 1575 source4/heimdal/lib/hx509/sel-lex.c b->yy_n_chars = b->yy_buf_size; b 1576 source4/heimdal/lib/hx509/sel-lex.c b->yy_is_interactive = 0; b 1577 source4/heimdal/lib/hx509/sel-lex.c b->yy_at_bol = 1; b 1578 source4/heimdal/lib/hx509/sel-lex.c b->yy_fill_buffer = 0; b 1579 source4/heimdal/lib/hx509/sel-lex.c b->yy_buffer_status = YY_BUFFER_NEW; b 1581 source4/heimdal/lib/hx509/sel-lex.c yy_switch_to_buffer(b ); b 1583 source4/heimdal/lib/hx509/sel-lex.c return b; b 1609 source4/heimdal/lib/hx509/sel-lex.c YY_BUFFER_STATE b; b 1625 source4/heimdal/lib/hx509/sel-lex.c b = yy_scan_buffer(buf,n ); b 1626 source4/heimdal/lib/hx509/sel-lex.c if ( ! b ) b 1632 source4/heimdal/lib/hx509/sel-lex.c b->yy_is_our_buffer = 1; b 1634 source4/heimdal/lib/hx509/sel-lex.c return b; b 231 source4/heimdal/lib/krb5/acache.c cred->flags.b.forwardable = 1; b 233 source4/heimdal/lib/krb5/acache.c cred->flags.b.forwarded = 1; b 235 source4/heimdal/lib/krb5/acache.c cred->flags.b.proxiable = 1; b 237 source4/heimdal/lib/krb5/acache.c cred->flags.b.proxy = 1; b 239 source4/heimdal/lib/krb5/acache.c cred->flags.b.may_postdate = 1; b 241 source4/heimdal/lib/krb5/acache.c cred->flags.b.postdated = 1; b 243 source4/heimdal/lib/krb5/acache.c cred->flags.b.invalid = 1; b 245 source4/heimdal/lib/krb5/acache.c cred->flags.b.renewable = 1; b 247 source4/heimdal/lib/krb5/acache.c cred->flags.b.initial = 1; b 249 source4/heimdal/lib/krb5/acache.c cred->flags.b.pre_authent = 1; b 251 source4/heimdal/lib/krb5/acache.c cred->flags.b.hw_authent = 1; b 253 source4/heimdal/lib/krb5/acache.c cred->flags.b.transited_policy_checked = 1; b 255 source4/heimdal/lib/krb5/acache.c cred->flags.b.ok_as_delegate = 1; b 257 source4/heimdal/lib/krb5/acache.c cred->flags.b.anonymous = 1; b 355 source4/heimdal/lib/krb5/acache.c if (incred->flags.b.forwardable) b 357 source4/heimdal/lib/krb5/acache.c if (incred->flags.b.forwarded) b 359 source4/heimdal/lib/krb5/acache.c if (incred->flags.b.proxiable) b 361 source4/heimdal/lib/krb5/acache.c if (incred->flags.b.proxy) b 363 source4/heimdal/lib/krb5/acache.c if (incred->flags.b.may_postdate) b 365 source4/heimdal/lib/krb5/acache.c if (incred->flags.b.postdated) b 367 source4/heimdal/lib/krb5/acache.c if (incred->flags.b.invalid) b 369 source4/heimdal/lib/krb5/acache.c if (incred->flags.b.renewable) b 371 source4/heimdal/lib/krb5/acache.c if (incred->flags.b.initial) b 373 source4/heimdal/lib/krb5/acache.c if (incred->flags.b.pre_authent) b 375 source4/heimdal/lib/krb5/acache.c if (incred->flags.b.hw_authent) b 377 source4/heimdal/lib/krb5/acache.c if (incred->flags.b.transited_policy_checked) b 379 source4/heimdal/lib/krb5/acache.c if (incred->flags.b.ok_as_delegate) b 381 source4/heimdal/lib/krb5/acache.c if (incred->flags.b.anonymous) b 651 source4/heimdal/lib/krb5/addr_families.c struct arange *b = a2->address.data; b 652 source4/heimdal/lib/krb5/addr_families.c tmp1 = krb5_address_order(context, &a->low, &b->low); b 655 source4/heimdal/lib/krb5/addr_families.c return sign * krb5_address_order(context, &a->high, &b->high); b 75 source4/heimdal/lib/krb5/config_file.c krb5_config_binding **b, b 154 source4/heimdal/lib/krb5/config_file.c krb5_config_binding *b = NULL; b 173 source4/heimdal/lib/krb5/config_file.c ret = parse_binding (f, lineno, p, &b, parent, error_message); b 188 source4/heimdal/lib/krb5/config_file.c krb5_config_binding **b, krb5_config_binding **parent, b 233 source4/heimdal/lib/krb5/config_file.c *b = tmp; b 249 source4/heimdal/lib/krb5/config_file.c krb5_config_binding *b = NULL; b 267 source4/heimdal/lib/krb5/config_file.c b = NULL; b 276 source4/heimdal/lib/krb5/config_file.c ret = parse_binding(f, lineno, p, &b, &s->u.list, error_message); b 344 source4/heimdal/lib/krb5/config_file.c free_binding (krb5_context context, krb5_config_binding *b) b 348 source4/heimdal/lib/krb5/config_file.c while (b) { b 349 source4/heimdal/lib/krb5/config_file.c free (b->name); b 350 source4/heimdal/lib/krb5/config_file.c if (b->type == krb5_config_string) b 351 source4/heimdal/lib/krb5/config_file.c free (b->u.string); b 352 source4/heimdal/lib/krb5/config_file.c else if (b->type == krb5_config_list) b 353 source4/heimdal/lib/krb5/config_file.c free_binding (context, b->u.list); b 356 source4/heimdal/lib/krb5/config_file.c b->type); b 357 source4/heimdal/lib/krb5/config_file.c next_b = b->next; b 358 source4/heimdal/lib/krb5/config_file.c free (b); b 359 source4/heimdal/lib/krb5/config_file.c b = next_b; b 424 source4/heimdal/lib/krb5/config_file.c const krb5_config_binding *b, b 431 source4/heimdal/lib/krb5/config_file.c while(b != NULL) { b 432 source4/heimdal/lib/krb5/config_file.c if(strcmp(b->name, name) == 0) { b 433 source4/heimdal/lib/krb5/config_file.c if(b->type == type && p == NULL) { b 434 source4/heimdal/lib/krb5/config_file.c *pointer = b; b 435 source4/heimdal/lib/krb5/config_file.c return b->u.generic; b 436 source4/heimdal/lib/krb5/config_file.c } else if(b->type == krb5_config_list && p != NULL) { b 437 source4/heimdal/lib/krb5/config_file.c return vget_next(context, b->u.list, pointer, type, p, args); b 440 source4/heimdal/lib/krb5/config_file.c b = b->next; b 452 source4/heimdal/lib/krb5/config_file.c const krb5_config_binding *b; b 472 source4/heimdal/lib/krb5/config_file.c for (b = (*pointer)->next; b != NULL; b = b->next) { b 473 source4/heimdal/lib/krb5/config_file.c if(strcmp(b->name, (*pointer)->name) == 0 && b->type == type) { b 474 source4/heimdal/lib/krb5/config_file.c *pointer = b; b 475 source4/heimdal/lib/krb5/config_file.c return b->u.generic; b 587 source4/heimdal/lib/krb5/config_file.c const krb5_config_binding *b = NULL; b 590 source4/heimdal/lib/krb5/config_file.c while((p = krb5_config_vget_next(context, c, &b, b 54 source4/heimdal/lib/krb5/config_file_netinfo.c krb5_config_binding *b; b 56 source4/heimdal/lib/krb5/config_file_netinfo.c b = malloc(sizeof(*b)); b 57 source4/heimdal/lib/krb5/config_file_netinfo.c if (b == NULL) b 60 source4/heimdal/lib/krb5/config_file_netinfo.c b->next = NULL; b 61 source4/heimdal/lib/krb5/config_file_netinfo.c b->type = krb5_config_string; b 62 source4/heimdal/lib/krb5/config_file_netinfo.c b->name = ni_name_dup(pl->nipl_val[i].nip_name); b 63 source4/heimdal/lib/krb5/config_file_netinfo.c b->u.string = ni_name_dup(pl->nipl_val[i].nip_val.ninl_val[j]); b 66 source4/heimdal/lib/krb5/config_file_netinfo.c *ret = b; b 68 source4/heimdal/lib/krb5/config_file_netinfo.c *next = b; b 70 source4/heimdal/lib/krb5/config_file_netinfo.c next = &b->next; b 87 source4/heimdal/lib/krb5/config_file_netinfo.c krb5_config_binding *b; b 99 source4/heimdal/lib/krb5/config_file_netinfo.c b = malloc(sizeof(*b)); b 100 source4/heimdal/lib/krb5/config_file_netinfo.c if (b == NULL) return NI_FAILED; b 103 source4/heimdal/lib/krb5/config_file_netinfo.c *ret = b; b 105 source4/heimdal/lib/krb5/config_file_netinfo.c *next = b; b 108 source4/heimdal/lib/krb5/config_file_netinfo.c b->type = krb5_config_list; b 109 source4/heimdal/lib/krb5/config_file_netinfo.c b->name = ni_name_dup(pl.nipl_val[index].nip_val.ninl_val[0]); b 110 source4/heimdal/lib/krb5/config_file_netinfo.c b->next = NULL; b 111 source4/heimdal/lib/krb5/config_file_netinfo.c b->u.list = NULL; b 116 source4/heimdal/lib/krb5/config_file_netinfo.c nis = ni_idlist2binding(ni, &children, &b->u.list); b 122 source4/heimdal/lib/krb5/config_file_netinfo.c nis = ni_proplist2binding(&pl, b->u.list == NULL ? &b->u.list : &b->u.list->next); b 127 source4/heimdal/lib/krb5/config_file_netinfo.c next = &b->next; b 74 source4/heimdal/lib/krb5/convert_creds.c ret = check_ticket_flags(v5_creds->flags.b); b 191 source4/heimdal/lib/krb5/creds.c krb5_times_equal(const krb5_times *a, const krb5_times *b) b 193 source4/heimdal/lib/krb5/creds.c return a->starttime == b->starttime && b 194 source4/heimdal/lib/krb5/creds.c a->authtime == b->authtime && b 195 source4/heimdal/lib/krb5/creds.c a->endtime == b->endtime && b 196 source4/heimdal/lib/krb5/creds.c a->renew_till == b->renew_till; b 291 source4/heimdal/lib/krb5/creds.c return TicketFlags2int(creds->flags.b); b 411 source4/heimdal/lib/krb5/crypto.c xor (DES_cblock *key, const unsigned char *b) b 414 source4/heimdal/lib/krb5/crypto.c a[0] ^= b[0]; b 415 source4/heimdal/lib/krb5/crypto.c a[1] ^= b[1]; b 416 source4/heimdal/lib/krb5/crypto.c a[2] ^= b[2]; b 417 source4/heimdal/lib/krb5/crypto.c a[3] ^= b[3]; b 418 source4/heimdal/lib/krb5/crypto.c a[4] ^= b[4]; b 419 source4/heimdal/lib/krb5/crypto.c a[5] ^= b[5]; b 420 source4/heimdal/lib/krb5/crypto.c a[6] ^= b[6]; b 421 source4/heimdal/lib/krb5/crypto.c a[7] ^= b[7]; b 534 source4/heimdal/lib/krb5/crypto.c unsigned char b = q[7 * i + j]; b 536 source4/heimdal/lib/krb5/crypto.c x[8 * i + j] = b; b 171 source4/heimdal/lib/krb5/get_cred.c t->req_body.kdc_options = flags.b; b 424 source4/heimdal/lib/krb5/get_cred.c if(flags.b.enc_tkt_in_skey && second_ticket == NULL){ b 545 source4/heimdal/lib/krb5/get_cred.c if (flags.b.constrained_delegation || impersonate_principal) b 791 source4/heimdal/lib/krb5/get_cred.c ok_as_delegate = tgts.flags.b.ok_as_delegate; b 808 source4/heimdal/lib/krb5/get_cred.c (*out_creds)->flags.b.ok_as_delegate = 0; b 834 source4/heimdal/lib/krb5/get_cred.c if (ok_as_delegate == 0 || tgt->flags.b.ok_as_delegate == 0) { b 836 source4/heimdal/lib/krb5/get_cred.c tgt->flags.b.ok_as_delegate = 0; b 902 source4/heimdal/lib/krb5/get_cred.c flags.b.canonicalize = 1; b 945 source4/heimdal/lib/krb5/get_cred.c if (impersonate_principal == NULL || flags.b.constrained_delegation) { b 1006 source4/heimdal/lib/krb5/get_cred.c if (ok_as_delegate == 0 || ticket.flags.b.ok_as_delegate == 0) { b 1008 source4/heimdal/lib/krb5/get_cred.c ticket.flags.b.ok_as_delegate = 0; b 1062 source4/heimdal/lib/krb5/get_cred.c if (ret == 0 || flags.b.canonicalize) b 1165 source4/heimdal/lib/krb5/get_cred.c flags.b.enc_tkt_in_skey = 1; b 1166 source4/heimdal/lib/krb5/get_cred.c if (flags.b.enc_tkt_in_skey) b 1372 source4/heimdal/lib/krb5/get_cred.c flags.b.enc_tkt_in_skey = 1; b 1376 source4/heimdal/lib/krb5/get_cred.c flags.b.forwardable = 1; b 1378 source4/heimdal/lib/krb5/get_cred.c flags.b.disable_transited_check = 1; b 1380 source4/heimdal/lib/krb5/get_cred.c flags.b.request_anonymous = 1; /* XXX ARGH confusion */ b 1381 source4/heimdal/lib/krb5/get_cred.c flags.b.constrained_delegation = 1; b 1384 source4/heimdal/lib/krb5/get_cred.c flags.b.canonicalize = 1; b 1441 source4/heimdal/lib/krb5/get_cred.c flags.b.renewable = flags.b.renew = 1; b 1449 source4/heimdal/lib/krb5/get_cred.c flags.b.forwardable = template->flags.b.forwardable; b 1450 source4/heimdal/lib/krb5/get_cred.c flags.b.proxiable = template->flags.b.proxiable; b 254 source4/heimdal/lib/krb5/get_for_creds.c kdc_flags.b = int2KDCOptions(flags); b 374 source4/heimdal/lib/krb5/get_for_creds.c *krb_cred_info->flags = out_creds->flags.b; b 535 source4/heimdal/lib/krb5/get_in_tkt.c creds->flags.b = rep->enc_part.flags; b 208 source4/heimdal/lib/krb5/init_creds.c krb5_boolean b; b 211 source4/heimdal/lib/krb5/init_creds.c b = get_config_bool (context, realm, "forwardable"); b 212 source4/heimdal/lib/krb5/init_creds.c krb5_appdefault_boolean(context, appname, realm, "forwardable", b, &b); b 213 source4/heimdal/lib/krb5/init_creds.c krb5_get_init_creds_opt_set_forwardable(opt, b); b 215 source4/heimdal/lib/krb5/init_creds.c b = get_config_bool (context, realm, "proxiable"); b 216 source4/heimdal/lib/krb5/init_creds.c krb5_appdefault_boolean(context, appname, realm, "proxiable", b, &b); b 217 source4/heimdal/lib/krb5/init_creds.c krb5_get_init_creds_opt_set_proxiable (opt, b); b 232 source4/heimdal/lib/krb5/init_creds.c KRB5_ADDRESSLESS_DEFAULT, &b); b 233 source4/heimdal/lib/krb5/init_creds.c krb5_get_init_creds_opt_set_addressless (context, opt, b); b 236 source4/heimdal/lib/krb5/init_creds.c krb5_appdefault_boolean(context, appname, realm, "anonymous", FALSE, &b); b 237 source4/heimdal/lib/krb5/init_creds.c krb5_get_init_creds_opt_set_anonymous (opt, b); b 332 source4/heimdal/lib/krb5/krb5.h TicketFlags b; b 352 source4/heimdal/lib/krb5/krb5.h KDCOptions b; b 85 source4/heimdal/lib/krb5/n-fold.c add1(unsigned char *a, unsigned char *b, size_t len) b 90 source4/heimdal/lib/krb5/n-fold.c int x = a[i] + b[i] + carry; b 41 source4/heimdal/lib/krb5/rd_cred.c krb5_address *b, b 47 source4/heimdal/lib/krb5/rd_cred.c if(krb5_address_compare (context, a, b)) b 51 source4/heimdal/lib/krb5/rd_cred.c krb5_print_address (b, b_str, sizeof(b_str), &len); b 283 source4/heimdal/lib/krb5/rd_cred.c creds->flags.b = *kci->flags; b 762 source4/heimdal/lib/krb5/store.c bitswap32(int32_t b) b 767 source4/heimdal/lib/krb5/store.c r = r << 1 | (b & 1); b 768 source4/heimdal/lib/krb5/store.c b = b >> 1; b 802 source4/heimdal/lib/krb5/store.c ret = krb5_store_int32(sp, bitswap32(TicketFlags2int(creds->flags.b))); b 849 source4/heimdal/lib/krb5/store.c creds->flags.b.anonymous = 1; b 932 source4/heimdal/lib/krb5/store.c ret = krb5_store_int32(sp, bitswap32(TicketFlags2int(creds->flags.b))); b 1004 source4/heimdal/lib/krb5/store.c creds->flags.b.anonymous = 1; b 592 source4/heimdal/lib/roken/resolve.c compare_srv(const void *a, const void *b) b 594 source4/heimdal/lib/roken/resolve.c const struct resource_record *const* aa = a, *const* bb = b; b 80 source4/heimdal/lib/roken/roken-common.h #define max(a,b) (((a)>(b))?(a):(b)) b 84 source4/heimdal/lib/roken/roken-common.h #define min(a,b) (((a)<(b))?(a):(b)) b 41 source4/heimdal/lib/wind/bidi.c range_entry_cmp(const void *a, const void *b) b 44 source4/heimdal/lib/wind/bidi.c const struct range_entry *eb = (const struct range_entry*)b; b 41 source4/heimdal/lib/wind/errorlist.c error_entry_cmp(const void *a, const void *b) b 44 source4/heimdal/lib/wind/errorlist.c const struct error_entry *eb = (const struct error_entry*)b; b 167 source4/heimdal/lib/wind/normalize.c cc_cmp(const void *a, const void *b) b 170 source4/heimdal/lib/wind/normalize.c const uint32_t *ub = (const uint32_t *)b; b 103 source4/ldap_server/ldap_server.c DATA_BLOB b; b 107 source4/ldap_server/ldap_server.c if (!ldap_encode(msg, samba_ldap_control_handlers(), &b, call)) { b 113 source4/ldap_server/ldap_server.c ret = data_blob_append(call, &blob, b.data, b.length); b 114 source4/ldap_server/ldap_server.c data_blob_free(&b); b 40 source4/lib/com/dcom/main.c struct dcerpc_binding *b; b 42 source4/lib/com/dcom/main.c b = talloc_zero(mem_ctx, struct dcerpc_binding); b 43 source4/lib/com/dcom/main.c if (!b) { b 47 source4/lib/com/dcom/main.c b->transport = dcerpc_transport_by_endpoint_protocol(bd->wTowerId); b 49 source4/lib/com/dcom/main.c if (b->transport == -1) { b 51 source4/lib/com/dcom/main.c talloc_free(b); b 55 source4/lib/com/dcom/main.c host = talloc_strdup(b, bd->NetworkAddr); b 65 source4/lib/com/dcom/main.c b->host = host; b 66 source4/lib/com/dcom/main.c b->endpoint = talloc_strdup(b, endpoint); b 68 source4/lib/com/dcom/main.c *b_out = b; b 134 source4/lib/com/dcom/main.c struct dcerpc_binding *b; b 142 source4/lib/com/dcom/main.c status = dcerpc_binding_from_STRINGBINDING(ctx, &b, pds->stringbindings[i]); b 145 source4/lib/com/dcom/main.c dcom_add_server_credentials(ctx, b->host, cc); b 146 source4/lib/com/dcom/main.c talloc_free(b); b 124 source4/lib/ldb/common/ldb_attributes.c int i, e, b = 0, r; b 130 source4/lib/ldb/common/ldb_attributes.c b = 1; b 136 source4/lib/ldb/common/ldb_attributes.c while (b <= e) { b 138 source4/lib/ldb/common/ldb_attributes.c i = (b + e) / 2; b 147 source4/lib/ldb/common/ldb_attributes.c b = i + 1; b 243 source4/lib/ldb/common/ldb_ldif.c char *b = ldb_base64_encode(ldb, buf, len); b 246 source4/lib/ldb/common/ldb_ldif.c if (!b) { b 250 source4/lib/ldb/common/ldb_ldif.c ret = fold_string(fprintf_fn, private_data, b, strlen(b), start_pos); b 252 source4/lib/ldb/common/ldb_ldif.c talloc_free(b); b 29 source4/lib/ldb/common/qsort.c #define SWAP(a, b, size) \ b 33 source4/lib/ldb/common/qsort.c register char *__a = (a), *__b = (b); \ b 87 source4/lib/ldb/include/ldb.h #define PRINTF_ATTRIBUTE(a,b) b 1574 source4/lib/ldb/include/ldb.h #define ldb_attr_cmp(a, b) strcasecmp(a, b) b 156 source4/lib/tls/tls.c DATA_BLOB b; b 162 source4/lib/tls/tls.c b.data = discard_const(buf); b 163 source4/lib/tls/tls.c b.length = size; b 165 source4/lib/tls/tls.c status = socket_send(tls->socket, &b, &nwritten); b 217 source4/libcli/auth/smbdes.c char b[8][6]; b 228 source4/libcli/auth/smbdes.c b[j][k] = erk[j*6 + k]; b 232 source4/libcli/auth/smbdes.c m = (b[j][0]<<1) | b[j][5]; b 234 source4/libcli/auth/smbdes.c n = (b[j][1]<<3) | (b[j][2]<<2) | (b[j][3]<<1) | b[j][4]; b 237 source4/libcli/auth/smbdes.c b[j][k] = (sbox[j][m][n] & (1<<(3-k)))?1:0; b 242 source4/libcli/auth/smbdes.c cb[j*4+k] = b[j][k]; b 45 source4/libcli/smb2/create.c DATA_BLOB b; b 75 source4/libcli/smb2/create.c b = data_blob_const(data+data_offset, data_length); b 76 source4/libcli/smb2/create.c status = smb2_create_blob_add(mem_ctx, blobs, tag, b); b 158 source4/libcli/smb2/create.c NTSTATUS smb2_create_blob_add(TALLOC_CTX *mem_ctx, struct smb2_create_blobs *b, b 163 source4/libcli/smb2/create.c array = talloc_realloc(mem_ctx, b->blobs, b 165 source4/libcli/smb2/create.c b->num_blobs + 1); b 167 source4/libcli/smb2/create.c b->blobs = array; b 169 source4/libcli/smb2/create.c b->blobs[b->num_blobs].tag = talloc_strdup(b->blobs, tag); b 170 source4/libcli/smb2/create.c NT_STATUS_HAVE_NO_MEMORY(b->blobs[b->num_blobs].tag); b 173 source4/libcli/smb2/create.c b->blobs[b->num_blobs].data = data_blob_talloc(b->blobs, b 176 source4/libcli/smb2/create.c NT_STATUS_HAVE_NO_MEMORY(b->blobs[b->num_blobs].data.data); b 178 source4/libcli/smb2/create.c b->blobs[b->num_blobs].data = data_blob(NULL, 0); b 181 source4/libcli/smb2/create.c b->num_blobs += 1; b 221 source4/libcli/smb2/create.c DATA_BLOB b = data_blob_talloc(req, NULL, b 223 source4/libcli/smb2/create.c ea_put_list_chained(b.data, io->in.eas.num_eas, io->in.eas.eas, 4); b 225 source4/libcli/smb2/create.c SMB2_CREATE_TAG_EXTA, b); b 230 source4/libcli/smb2/create.c data_blob_free(&b); b 103 source4/libcli/smb2/find.c DATA_BLOB b; b 133 source4/libcli/smb2/find.c b = f.out.blob; b 148 source4/libcli/smb2/find.c status = smb_raw_search_common(*io, smb_level, &b, (*io) + (*count), b 152 source4/libcli/smb2/find.c next_ofs >= b.length) { b 160 source4/libcli/smb2/find.c b = data_blob_const(b.data+next_ofs, b.length - next_ofs); b 119 source4/libcli/smb2/getinfo.c struct smb2_getinfo b; b 126 source4/libcli/smb2/getinfo.c ZERO_STRUCT(b); b 127 source4/libcli/smb2/getinfo.c b.in.info_type = smb2_level & 0xFF; b 128 source4/libcli/smb2/getinfo.c b.in.info_class = smb2_level >> 8; b 129 source4/libcli/smb2/getinfo.c b.in.output_buffer_length = 0x10000; b 130 source4/libcli/smb2/getinfo.c b.in.input_buffer_length = 0; b 131 source4/libcli/smb2/getinfo.c b.in.file.handle = io->generic.in.file.handle; b 134 source4/libcli/smb2/getinfo.c b.in.additional_information = io->query_secdesc.in.secinfo_flags; b 137 source4/libcli/smb2/getinfo.c b.in.getinfo_flags = io->all_eas.in.continue_flags; b 140 source4/libcli/smb2/getinfo.c return smb2_getinfo_send(tree, &b); b 149 source4/libcli/smb2/getinfo.c struct smb2_getinfo b; b 152 source4/libcli/smb2/getinfo.c status = smb2_getinfo_recv(req, mem_ctx, &b); b 155 source4/libcli/smb2/getinfo.c status = smb_raw_fileinfo_passthru_parse(&b.out.blob, mem_ctx, io->generic.level, io); b 156 source4/libcli/smb2/getinfo.c data_blob_free(&b.out.blob); b 177 source4/libcli/smb2/getinfo.c struct smb2_getinfo b; b 184 source4/libcli/smb2/getinfo.c ZERO_STRUCT(b); b 185 source4/libcli/smb2/getinfo.c b.in.output_buffer_length = 0x10000; b 186 source4/libcli/smb2/getinfo.c b.in.file.handle = io->generic.handle; b 187 source4/libcli/smb2/getinfo.c b.in.info_type = smb2_level & 0xFF; b 188 source4/libcli/smb2/getinfo.c b.in.info_class = smb2_level >> 8; b 190 source4/libcli/smb2/getinfo.c return smb2_getinfo_send(tree, &b); b 199 source4/libcli/smb2/getinfo.c struct smb2_getinfo b; b 202 source4/libcli/smb2/getinfo.c status = smb2_getinfo_recv(req, mem_ctx, &b); b 205 source4/libcli/smb2/getinfo.c status = smb_raw_fsinfo_passthru_parse(b.out.blob, mem_ctx, io->generic.level, io); b 206 source4/libcli/smb2/getinfo.c data_blob_free(&b.out.blob); b 85 source4/libcli/smb2/setinfo.c struct smb2_setinfo b; b 93 source4/libcli/smb2/setinfo.c ZERO_STRUCT(b); b 94 source4/libcli/smb2/setinfo.c b.in.level = smb2_level; b 95 source4/libcli/smb2/setinfo.c b.in.file.handle = io->generic.in.file.handle; b 102 source4/libcli/smb2/setinfo.c if (!smb_raw_setfileinfo_passthru(tree, io->generic.level, io, &b.in.blob)) { b 107 source4/libcli/smb2/setinfo.c b.in.flags = io->set_secdesc.in.secinfo_flags; b 110 source4/libcli/smb2/setinfo.c req = smb2_setinfo_send(tree, &b); b 111 source4/libcli/smb2/setinfo.c data_blob_free(&b.in.blob); b 60 source4/libnet/libnet_rpc.c struct dcerpc_binding *b; b 102 source4/libnet/libnet_rpc.c c->status = dcerpc_parse_binding(c, s->binding, &b); b 110 source4/libnet/libnet_rpc.c b->target_hostname = talloc_reference(b, r->in.name); b 111 source4/libnet/libnet_rpc.c if (composite_nomem(b->target_hostname, c)) { b 117 source4/libnet/libnet_rpc.c pipe_connect_req = dcerpc_pipe_connect_b_send(c, b, r->in.dcerpc_iface, b 580 source4/libnet/libnet_vampire.c struct libnet_BecomeDC b; b 640 source4/libnet/libnet_vampire.c ZERO_STRUCT(b); b 641 source4/libnet/libnet_vampire.c b.in.domain_dns_name = join->out.realm; b 642 source4/libnet/libnet_vampire.c b.in.domain_netbios_name = join->out.domain_name; b 643 source4/libnet/libnet_vampire.c b.in.domain_sid = join->out.domain_sid; b 644 source4/libnet/libnet_vampire.c b.in.source_dsa_address = join->out.samr_binding->host; b 645 source4/libnet/libnet_vampire.c b.in.dest_dsa_netbios_name = netbios_name; b 647 source4/libnet/libnet_vampire.c b.in.callbacks.private_data = s; b 648 source4/libnet/libnet_vampire.c b.in.callbacks.check_options = vampire_check_options; b 649 source4/libnet/libnet_vampire.c b.in.callbacks.prepare_db = vampire_prepare_db; b 650 source4/libnet/libnet_vampire.c b.in.callbacks.schema_chunk = vampire_schema_chunk; b 651 source4/libnet/libnet_vampire.c b.in.callbacks.config_chunk = vampire_store_chunk; b 652 source4/libnet/libnet_vampire.c b.in.callbacks.domain_chunk = vampire_store_chunk; b 654 source4/libnet/libnet_vampire.c status = libnet_BecomeDC(ctx, s, &b); b 301 source4/librpc/rpc/dcerpc.h char *dcerpc_binding_string(TALLOC_CTX *mem_ctx, const struct dcerpc_binding *b); b 304 source4/librpc/rpc/dcerpc.h struct dcerpc_binding *b); b 351 source4/librpc/rpc/dcerpc.h struct dcerpc_binding *b); b 855 source4/librpc/rpc/dcerpc_connect.c struct dcerpc_binding *b; b 869 source4/librpc/rpc/dcerpc_connect.c c->status = dcerpc_parse_binding(c, binding, &b); b 876 source4/librpc/rpc/dcerpc_connect.c DEBUG(3, ("Using binding %s\n", dcerpc_binding_string(c, b))); b 882 source4/librpc/rpc/dcerpc_connect.c pipe_conn_req = dcerpc_pipe_connect_b_send(c, b, table, b 56 source4/librpc/rpc/dcerpc_secondary.c struct dcerpc_binding *b) b 73 source4/librpc/rpc/dcerpc_secondary.c s->binding = b; b 223 source4/librpc/rpc/dcerpc_secondary.c struct dcerpc_binding *b) b 227 source4/librpc/rpc/dcerpc_secondary.c c = dcerpc_secondary_connection_send(p, b); b 32 source4/librpc/tests/binding_string.c struct dcerpc_binding *b, *b2; b 38 source4/librpc/tests/binding_string.c torture_assert_ntstatus_ok(tctx, dcerpc_parse_binding(mem_ctx, binding, &b), b 41 source4/librpc/tests/binding_string.c s = dcerpc_binding_string(mem_ctx, b); b 48 source4/librpc/tests/binding_string.c torture_assert_ntstatus_ok(tctx, dcerpc_binding_build_tower(mem_ctx, b, &tower), b 58 source4/librpc/tests/binding_string.c b->options = NULL; b 60 source4/librpc/tests/binding_string.c b->flags = 0; b 62 source4/librpc/tests/binding_string.c s = dcerpc_binding_string(mem_ctx, b); b 68 source4/librpc/tests/binding_string.c if (is_ipaddress(b->host)) b 101 source4/librpc/tests/binding_string.c struct dcerpc_binding *b; b 108 source4/librpc/tests/binding_string.c torture_assert_ntstatus_ok(tctx, dcerpc_parse_binding(tctx, "ncacn_np:$SERVER", &b), "parse"); b 109 source4/librpc/tests/binding_string.c torture_assert(tctx, b->transport == NCACN_NP, "ncacn_np expected"); b 110 source4/librpc/tests/binding_string.c torture_assert_ntstatus_ok(tctx, dcerpc_parse_binding(tctx, "ncacn_ip_tcp:$SERVER", &b), "parse"); b 111 source4/librpc/tests/binding_string.c torture_assert(tctx, b->transport == NCACN_IP_TCP, "ncacn_ip_tcp expected"); b 112 source4/librpc/tests/binding_string.c torture_assert_ntstatus_ok(tctx, dcerpc_parse_binding(tctx, "ncacn_np:$SERVER[rpcecho]", &b), "parse"); b 113 source4/librpc/tests/binding_string.c torture_assert_str_equal(tctx, b->endpoint, "rpcecho", "endpoint"); b 114 source4/librpc/tests/binding_string.c torture_assert_ntstatus_ok(tctx, dcerpc_parse_binding(tctx, "ncacn_np:$SERVER[/pipe/rpcecho]", &b), "parse"); b 115 source4/librpc/tests/binding_string.c torture_assert_ntstatus_ok(tctx, dcerpc_parse_binding(tctx, "ncacn_np:$SERVER[/pipe/rpcecho,sign,seal]", &b), "parse"); b 116 source4/librpc/tests/binding_string.c torture_assert(tctx, b->flags == DCERPC_SIGN+DCERPC_SEAL, "sign+seal flags"); b 117 source4/librpc/tests/binding_string.c torture_assert_str_equal(tctx, b->endpoint, "/pipe/rpcecho", "endpoint"); b 118 source4/librpc/tests/binding_string.c torture_assert_ntstatus_ok(tctx, dcerpc_parse_binding(tctx, "ncacn_np:$SERVER[,sign]", &b), "parse"); b 119 source4/librpc/tests/binding_string.c torture_assert_ntstatus_ok(tctx, dcerpc_parse_binding(tctx, "ncacn_ip_tcp:$SERVER[,sign]", &b), "parse"); b 120 source4/librpc/tests/binding_string.c torture_assert(tctx, b->endpoint == NULL, "endpoint"); b 121 source4/librpc/tests/binding_string.c torture_assert(tctx, b->flags == DCERPC_SIGN, "sign flag"); b 122 source4/librpc/tests/binding_string.c torture_assert_ntstatus_ok(tctx, dcerpc_parse_binding(tctx, "ncalrpc:", &b), "parse"); b 123 source4/librpc/tests/binding_string.c torture_assert(tctx, b->transport == NCALRPC, "ncalrpc expected"); b 125 source4/librpc/tests/binding_string.c "308FB580-1EB2-11CA-923B-08002B1075A7@ncacn_np:$SERVER", &b), "parse"); b 126 source4/librpc/tests/binding_string.c torture_assert(tctx, GUID_equal(&b->object.uuid, &uuid), "object uuid"); b 127 source4/librpc/tests/binding_string.c torture_assert_int_equal(tctx, b->object.if_version, 0, "object version"); b 129 source4/librpc/tests/binding_string.c "308FB580-1EB2-11CA-923B-08002B1075A7@ncacn_ip_tcp:$SERVER", &b), "parse"); b 137 source4/librpc/tests/binding_string.c struct dcerpc_binding *b; b 141 source4/librpc/tests/binding_string.c torture_assert_ntstatus_ok(tctx, dcerpc_parse_binding(tctx, binding, &b), b 144 source4/librpc/tests/binding_string.c torture_assert(tctx, b->transport == NCA_UNKNOWN, "invalid transport"); b 146 source4/librpc/tests/binding_string.c s = dcerpc_binding_string(tctx, b); b 100 source4/ntvfs/sysdep/sys_lease.c struct sys_lease_ops *b; b 101 source4/ntvfs/sysdep/sys_lease.c b = talloc_realloc(talloc_autofree_context(), backends, b 103 source4/ntvfs/sysdep/sys_lease.c NT_STATUS_HAVE_NO_MEMORY(b); b 104 source4/ntvfs/sysdep/sys_lease.c backends = b; b 124 source4/ntvfs/sysdep/sys_notify.c struct sys_notify_backend *b; b 125 source4/ntvfs/sysdep/sys_notify.c b = talloc_realloc(talloc_autofree_context(), backends, b 127 source4/ntvfs/sysdep/sys_notify.c NT_STATUS_HAVE_NO_MEMORY(b); b 128 source4/ntvfs/sysdep/sys_notify.c backends = b; b 1619 source4/param/loadparm.c bool b; b 1620 source4/param/loadparm.c if (!set_boolean(pszParmValue, &b)) { b 1624 source4/param/loadparm.c *(int *)parm_ptr = b; b 1877 source4/param/loadparm.c #define BOOLSTR(b) ((b) ? "Yes" : "No") b 1627 source4/torture/basic/denytest.c static uint32_t map_bits(const struct bit_value *bv, int b, int nbits) b 1632 source4/torture/basic/denytest.c if (b & (1<<i)) { b 1639 source4/torture/basic/denytest.c static const char *bit_string(TALLOC_CTX *mem_ctx, const struct bit_value *bv, int b, int nbits) b 1644 source4/torture/basic/denytest.c if (b & (1<<i)) { b 569 source4/torture/libnet/libnet_BecomeDC.c struct libnet_BecomeDC b; b 609 source4/torture/libnet/libnet_BecomeDC.c ZERO_STRUCT(b); b 610 source4/torture/libnet/libnet_BecomeDC.c b.in.domain_dns_name = torture_join_dom_dns_name(s->tj); b 611 source4/torture/libnet/libnet_BecomeDC.c b.in.domain_netbios_name = torture_join_dom_netbios_name(s->tj); b 612 source4/torture/libnet/libnet_BecomeDC.c b.in.domain_sid = torture_join_sid(s->tj); b 613 source4/torture/libnet/libnet_BecomeDC.c b.in.source_dsa_address = torture_setting_string(torture, "host", NULL); b 614 source4/torture/libnet/libnet_BecomeDC.c b.in.dest_dsa_netbios_name = s->netbios_name; b 616 source4/torture/libnet/libnet_BecomeDC.c b.in.callbacks.private_data = s; b 617 source4/torture/libnet/libnet_BecomeDC.c b.in.callbacks.check_options = test_become_dc_check_options; b 618 source4/torture/libnet/libnet_BecomeDC.c b.in.callbacks.prepare_db = test_become_dc_prepare_db; b 619 source4/torture/libnet/libnet_BecomeDC.c b.in.callbacks.schema_chunk = test_become_dc_schema_chunk; b 620 source4/torture/libnet/libnet_BecomeDC.c b.in.callbacks.config_chunk = test_become_dc_store_chunk; b 621 source4/torture/libnet/libnet_BecomeDC.c b.in.callbacks.domain_chunk = test_become_dc_store_chunk; b 623 source4/torture/libnet/libnet_BecomeDC.c status = libnet_BecomeDC(s->ctx, s, &b); b 332 source4/torture/nbt/winsreplication.c struct wrepl_wins_owner a, b, c, x; b 573 source4/torture/nbt/winsreplication.c ctx->b.address = TEST_OWNER_B_ADDRESS; b 574 source4/torture/nbt/winsreplication.c ctx->b.max_version = 0; b 575 source4/torture/nbt/winsreplication.c ctx->b.min_version = 0; b 576 source4/torture/nbt/winsreplication.c ctx->b.type = 1; b 598 source4/torture/nbt/winsreplication.c ctx->b.max_version = pull_table.out.partners[i].max_version; b 599 source4/torture/nbt/winsreplication.c ctx->b.min_version = pull_table.out.partners[i].min_version; b 677 source4/torture/nbt/winsreplication.c ctx->addresses_best[0].owner = ctx->b.address; b 684 source4/torture/nbt/winsreplication.c ctx->addresses_all[i].owner = ctx->b.address; b 693 source4/torture/nbt/winsreplication.c ctx->addresses_best2[0].owner = ctx->b.address; b 699 source4/torture/nbt/winsreplication.c ctx->addresses_mhomed[0].owner = ctx->b.address; b 701 source4/torture/nbt/winsreplication.c ctx->addresses_mhomed[1].owner = ctx->b.address; b 1219 source4/torture/nbt/winsreplication.c .owner = &ctx->b, b 1261 source4/torture/nbt/winsreplication.c .owner = &ctx->b, b 1280 source4/torture/nbt/winsreplication.c .owner = &ctx->b, b 1309 source4/torture/nbt/winsreplication.c .owner = &ctx->b, b 1348 source4/torture/nbt/winsreplication.c .owner = &ctx->b, b 1367 source4/torture/nbt/winsreplication.c .owner = &ctx->b, b 1406 source4/torture/nbt/winsreplication.c .owner = &ctx->b, b 1429 source4/torture/nbt/winsreplication.c .owner = &ctx->b, b 1468 source4/torture/nbt/winsreplication.c .owner = &ctx->b, b 1497 source4/torture/nbt/winsreplication.c .owner = &ctx->b, b 1516 source4/torture/nbt/winsreplication.c .owner = &ctx->b, b 1555 source4/torture/nbt/winsreplication.c .owner = &ctx->b, b 1574 source4/torture/nbt/winsreplication.c .owner = &ctx->b, b 1616 source4/torture/nbt/winsreplication.c .owner = &ctx->b, b 1645 source4/torture/nbt/winsreplication.c .owner = &ctx->b, b 1674 source4/torture/nbt/winsreplication.c .owner = &ctx->b, b 1693 source4/torture/nbt/winsreplication.c .owner = &ctx->b, b 1732 source4/torture/nbt/winsreplication.c .owner = &ctx->b, b 1751 source4/torture/nbt/winsreplication.c .owner = &ctx->b, b 1793 source4/torture/nbt/winsreplication.c .owner = &ctx->b, b 1812 source4/torture/nbt/winsreplication.c .owner = &ctx->b, b 1841 source4/torture/nbt/winsreplication.c .owner = &ctx->b, b 1880 source4/torture/nbt/winsreplication.c .owner = &ctx->b, b 1899 source4/torture/nbt/winsreplication.c .owner = &ctx->b, b 1938 source4/torture/nbt/winsreplication.c .owner = &ctx->b, b 1970 source4/torture/nbt/winsreplication.c .owner = &ctx->b, b 1999 source4/torture/nbt/winsreplication.c .owner = &ctx->b, b 2028 source4/torture/nbt/winsreplication.c .owner = &ctx->b, b 2057 source4/torture/nbt/winsreplication.c .owner = &ctx->b, b 2086 source4/torture/nbt/winsreplication.c .owner = &ctx->b, b 2115 source4/torture/nbt/winsreplication.c .owner = &ctx->b, b 2147 source4/torture/nbt/winsreplication.c .owner = &ctx->b, b 2176 source4/torture/nbt/winsreplication.c .owner = &ctx->b, b 2205 source4/torture/nbt/winsreplication.c .owner = &ctx->b, b 2234 source4/torture/nbt/winsreplication.c .owner = &ctx->b, b 2253 source4/torture/nbt/winsreplication.c .owner = &ctx->b, b 2292 source4/torture/nbt/winsreplication.c .owner = &ctx->b, b 2314 source4/torture/nbt/winsreplication.c .owner = &ctx->b, b 2343 source4/torture/nbt/winsreplication.c .owner = &ctx->b, b 2382 source4/torture/nbt/winsreplication.c .owner = &ctx->b, b 2401 source4/torture/nbt/winsreplication.c .owner = &ctx->b, b 2430 source4/torture/nbt/winsreplication.c .owner = &ctx->b, b 2469 source4/torture/nbt/winsreplication.c .owner = &ctx->b, b 2491 source4/torture/nbt/winsreplication.c .owner = &ctx->b, b 2520 source4/torture/nbt/winsreplication.c .owner = &ctx->b, b 2549 source4/torture/nbt/winsreplication.c .owner = &ctx->b, b 2578 source4/torture/nbt/winsreplication.c .owner = &ctx->b, b 2607 source4/torture/nbt/winsreplication.c .owner = &ctx->b, b 2646 source4/torture/nbt/winsreplication.c .owner = &ctx->b, b 2668 source4/torture/nbt/winsreplication.c .owner = &ctx->b, b 2697 source4/torture/nbt/winsreplication.c .owner = &ctx->b, b 2726 source4/torture/nbt/winsreplication.c .owner = &ctx->b, b 2765 source4/torture/nbt/winsreplication.c .owner = &ctx->b, b 2794 source4/torture/nbt/winsreplication.c .owner = &ctx->b, b 2813 source4/torture/nbt/winsreplication.c .owner = &ctx->b, b 2855 source4/torture/nbt/winsreplication.c .owner = &ctx->b, b 2884 source4/torture/nbt/winsreplication.c .owner = &ctx->b, b 2913 source4/torture/nbt/winsreplication.c .owner = &ctx->b, b 2932 source4/torture/nbt/winsreplication.c .owner = &ctx->b, b 2971 source4/torture/nbt/winsreplication.c .owner = &ctx->b, b 2990 source4/torture/nbt/winsreplication.c .owner = &ctx->b, b 3032 source4/torture/nbt/winsreplication.c .owner = &ctx->b, b 3051 source4/torture/nbt/winsreplication.c .owner = &ctx->b, b 3090 source4/torture/nbt/winsreplication.c .owner = &ctx->b, b 3109 source4/torture/nbt/winsreplication.c .owner = &ctx->b, b 3151 source4/torture/nbt/winsreplication.c .owner = &ctx->b, b 3180 source4/torture/nbt/winsreplication.c .owner = &ctx->b, b 3209 source4/torture/nbt/winsreplication.c .owner = &ctx->b, b 3228 source4/torture/nbt/winsreplication.c .owner = &ctx->b, b 3267 source4/torture/nbt/winsreplication.c .owner = &ctx->b, b 3286 source4/torture/nbt/winsreplication.c .owner = &ctx->b, b 3328 source4/torture/nbt/winsreplication.c .owner = &ctx->b, b 3347 source4/torture/nbt/winsreplication.c .owner = &ctx->b, b 3386 source4/torture/nbt/winsreplication.c .owner = &ctx->b, b 3405 source4/torture/nbt/winsreplication.c .owner = &ctx->b, b 3444 source4/torture/nbt/winsreplication.c .owner = &ctx->b, b 3463 source4/torture/nbt/winsreplication.c .owner = &ctx->b, b 3505 source4/torture/nbt/winsreplication.c .owner = &ctx->b, b 3524 source4/torture/nbt/winsreplication.c .owner = &ctx->b, b 3553 source4/torture/nbt/winsreplication.c .owner = &ctx->b, b 3592 source4/torture/nbt/winsreplication.c .owner = &ctx->b, b 3611 source4/torture/nbt/winsreplication.c .owner = &ctx->b, b 3650 source4/torture/nbt/winsreplication.c .owner = &ctx->b, b 3682 source4/torture/nbt/winsreplication.c .owner = &ctx->b, b 3711 source4/torture/nbt/winsreplication.c .owner = &ctx->b, b 3740 source4/torture/nbt/winsreplication.c .owner = &ctx->b, b 3759 source4/torture/nbt/winsreplication.c .owner = &ctx->b, b 3798 source4/torture/nbt/winsreplication.c .owner = &ctx->b, b 3817 source4/torture/nbt/winsreplication.c .owner = &ctx->b, b 3859 source4/torture/nbt/winsreplication.c .owner = &ctx->b, b 3878 source4/torture/nbt/winsreplication.c .owner = &ctx->b, b 3907 source4/torture/nbt/winsreplication.c .owner = &ctx->b, b 3946 source4/torture/nbt/winsreplication.c .owner = &ctx->b, b 3965 source4/torture/nbt/winsreplication.c .owner = &ctx->b, b 4004 source4/torture/nbt/winsreplication.c .owner = &ctx->b, b 4019 source4/torture/nbt/winsreplication.c .owner = &ctx->b, b 4062 source4/torture/nbt/winsreplication.c .owner = &ctx->b, b 4093 source4/torture/nbt/winsreplication.c .owner = &ctx->b, b 4124 source4/torture/nbt/winsreplication.c .owner = &ctx->b, b 4179 source4/torture/nbt/winsreplication.c .owner = &ctx->b, b 4210 source4/torture/nbt/winsreplication.c .owner = &ctx->b, b 4241 source4/torture/nbt/winsreplication.c .owner = &ctx->b, b 4272 source4/torture/nbt/winsreplication.c .owner = &ctx->b, b 4303 source4/torture/nbt/winsreplication.c .owner = &ctx->b, b 4311 source4/torture/nbt/winsreplication.c .merge_owner = &ctx->b, b 4320 source4/torture/nbt/winsreplication.c .owner = &ctx->b, b 4330 source4/torture/nbt/winsreplication.c .owner = &ctx->b, b 4360 source4/torture/nbt/winsreplication.c .owner = &ctx->b, b 4416 source4/torture/nbt/winsreplication.c .owner = &ctx->b, b 4424 source4/torture/nbt/winsreplication.c .merge_owner = &ctx->b, b 4432 source4/torture/nbt/winsreplication.c .owner = &ctx->b, b 4472 source4/torture/nbt/winsreplication.c .owner = &ctx->b, b 4488 source4/torture/nbt/winsreplication.c .owner = &ctx->b, b 4528 source4/torture/nbt/winsreplication.c .owner = &ctx->b, b 4536 source4/torture/nbt/winsreplication.c .merge_owner = &ctx->b, b 4585 source4/torture/nbt/winsreplication.c .owner = &ctx->b, b 4593 source4/torture/nbt/winsreplication.c .merge_owner = &ctx->b, b 4643 source4/torture/nbt/winsreplication.c .owner = &ctx->b, b 4673 source4/torture/nbt/winsreplication.c .owner = &ctx->b, b 4703 source4/torture/nbt/winsreplication.c .owner = &ctx->b, b 4733 source4/torture/nbt/winsreplication.c .owner = &ctx->b, b 6593 source4/torture/nbt/winsreplication.c wins_name->id = ++ctx->b.max_version; b 6602 source4/torture/nbt/winsreplication.c ret &= test_wrepl_update_one(tctx, ctx, &ctx->b, wins_name); b 6603 source4/torture/nbt/winsreplication.c ret &= test_wrepl_is_applied(tctx, ctx, &ctx->b, wins_name, b 6611 source4/torture/nbt/winsreplication.c wins_name->id = ++ctx->b.max_version; b 6615 source4/torture/nbt/winsreplication.c ret &= test_wrepl_update_one(tctx, ctx, &ctx->b, wins_name); b 6616 source4/torture/nbt/winsreplication.c ret &= test_wrepl_is_applied(tctx, ctx, &ctx->b, wins_name, true); b 9290 source4/torture/nbt/winsreplication.c wins_name->id = ++ctx->b.max_version; b 9299 source4/torture/nbt/winsreplication.c ret &= test_wrepl_update_one(tctx, ctx, &ctx->b, wins_name); b 9332 source4/torture/nbt/winsreplication.c &ctx->b, b 9339 source4/torture/nbt/winsreplication.c &ctx->b, b 9343 source4/torture/nbt/winsreplication.c ret &= test_wrepl_is_applied(tctx, ctx, &ctx->b, wins_name, b 9353 source4/torture/nbt/winsreplication.c wins_name->id = ++ctx->b.max_version; b 9357 source4/torture/nbt/winsreplication.c ret &= test_wrepl_update_one(tctx, ctx, &ctx->b, wins_name); b 9358 source4/torture/nbt/winsreplication.c ret &= test_wrepl_is_applied(tctx, ctx, &ctx->b, wins_name, true); b 9395 source4/torture/nbt/winsreplication.c wins_name->id = ++ctx->b.max_version; b 9399 source4/torture/nbt/winsreplication.c ret &= test_wrepl_update_one(tctx, ctx, &ctx->b, wins_name); b 9406 source4/torture/nbt/winsreplication.c wins_name->id = ++ctx->b.max_version; b 9410 source4/torture/nbt/winsreplication.c ret &= test_wrepl_update_one(tctx, ctx, &ctx->b, wins_name); b 9411 source4/torture/nbt/winsreplication.c ret &= test_wrepl_is_applied(tctx, ctx, &ctx->b, wins_name, true); b 9418 source4/torture/nbt/winsreplication.c wins_name->id = ++ctx->b.max_version; b 9421 source4/torture/nbt/winsreplication.c ret &= test_wrepl_update_one(tctx, ctx, &ctx->b, wins_name); b 9422 source4/torture/nbt/winsreplication.c ret &= test_wrepl_is_applied(tctx, ctx, &ctx->b, wins_name, true); b 179 source4/torture/rpc/dssync.c struct DsSyncTest *ctx, struct cli_credentials *credentials, struct DsSyncBindInfo *b) b 185 source4/torture/rpc/dssync.c &b->pipe, ctx->drsuapi_binding, b 194 source4/torture/rpc/dssync.c status = dcerpc_drsuapi_DsBind(b->pipe, ctx, &b->req); b 198 source4/torture/rpc/dssync.c errstr = dcerpc_errstr(ctx, b->pipe->last_fault_code); b 202 source4/torture/rpc/dssync.c } else if (!W_ERROR_IS_OK(b->req.out.result)) { b 203 source4/torture/rpc/dssync.c printf("DsBind failed - %s\n", win_errstr(b->req.out.result)); b 207 source4/torture/rpc/dssync.c ZERO_STRUCT(b->peer_bind_info28); b 208 source4/torture/rpc/dssync.c if (b->req.out.bind_info) { b 209 source4/torture/rpc/dssync.c switch (b->req.out.bind_info->length) { b 212 source4/torture/rpc/dssync.c info24 = &b->req.out.bind_info->info.info24; b 213 source4/torture/rpc/dssync.c b->peer_bind_info28.supported_extensions= info24->supported_extensions; b 214 source4/torture/rpc/dssync.c b->peer_bind_info28.site_guid = info24->site_guid; b 215 source4/torture/rpc/dssync.c b->peer_bind_info28.pid = info24->pid; b 216 source4/torture/rpc/dssync.c b->peer_bind_info28.repl_epoch = 0; b 221 source4/torture/rpc/dssync.c info48 = &b->req.out.bind_info->info.info48; b 222 source4/torture/rpc/dssync.c b->peer_bind_info28.supported_extensions= info48->supported_extensions; b 223 source4/torture/rpc/dssync.c b->peer_bind_info28.site_guid = info48->site_guid; b 224 source4/torture/rpc/dssync.c b->peer_bind_info28.pid = info48->pid; b 225 source4/torture/rpc/dssync.c b->peer_bind_info28.repl_epoch = info48->repl_epoch; b 229 source4/torture/rpc/dssync.c b->peer_bind_info28 = b->req.out.bind_info->info.info28; b 233 source4/torture/rpc/dssync.c b->req.out.bind_info->length); b 377 source4/torture/rpc/eventlog.c struct eventlog_OpenBackupEventLogW b; b 418 source4/torture/rpc/eventlog.c b.in.unknown0 = &unknown0; b 419 source4/torture/rpc/eventlog.c b.in.backup_logname = &backup_filename; b 420 source4/torture/rpc/eventlog.c b.in.major_version = 1; b 421 source4/torture/rpc/eventlog.c b.in.minor_version = 1; b 422 source4/torture/rpc/eventlog.c b.out.handle = &backup_handle; b 424 source4/torture/rpc/eventlog.c status = dcerpc_eventlog_OpenBackupEventLogW(p, tctx, &b); b 202 source4/torture/rpc/mgmt.c struct dcerpc_binding *b; b 206 source4/torture/rpc/mgmt.c status = torture_rpc_binding(torture, &b); b 224 source4/torture/rpc/mgmt.c status = dcerpc_epm_map_binding(loop_ctx, b, l->table, NULL, torture->lp_ctx); b 232 source4/torture/rpc/mgmt.c lp_set_cmdline(torture->lp_ctx, "torture:binding", dcerpc_binding_string(loop_ctx, b)); b 1520 source4/torture/rpc/samlogon.c struct dcerpc_binding *b; b 1626 source4/torture/rpc/samlogon.c status = torture_rpc_binding(torture, &b); b 1635 source4/torture/rpc/samlogon.c b->flags &= ~DCERPC_AUTH_OPTIONS; b 1636 source4/torture/rpc/samlogon.c b->flags |= DCERPC_SCHANNEL | DCERPC_SIGN | DCERPC_SCHANNEL_128; b 1638 source4/torture/rpc/samlogon.c status = dcerpc_pipe_connect_b(mem_ctx, &p, b, b 1492 source4/torture/rpc/samsync.c struct dcerpc_binding *b; b 1618 source4/torture/rpc/samsync.c status = torture_rpc_binding(torture, &b); b 1624 source4/torture/rpc/samsync.c b->flags &= ~DCERPC_AUTH_OPTIONS; b 1625 source4/torture/rpc/samsync.c b->flags |= DCERPC_SCHANNEL | DCERPC_SIGN; b 1637 source4/torture/rpc/samsync.c &samsync_state->p, b, b 105 source4/torture/rpc/scanner.c struct dcerpc_binding *b; b 107 source4/torture/rpc/scanner.c status = torture_rpc_binding(torture, &b); b 123 source4/torture/rpc/scanner.c if (b->transport == NCACN_IP_TCP) { b 124 source4/torture/rpc/scanner.c status = dcerpc_epm_map_binding(torture, b, l->table, NULL, torture->lp_ctx); b 132 source4/torture/rpc/scanner.c b->endpoint = talloc_strdup(b, l->table->name); b 135 source4/torture/rpc/scanner.c lp_set_cmdline(torture->lp_ctx, "torture:binding", dcerpc_binding_string(torture, b)); b 261 source4/torture/rpc/schannel.c struct dcerpc_binding *b; b 276 source4/torture/rpc/schannel.c status = dcerpc_parse_binding(tctx, binding, &b); b 279 source4/torture/rpc/schannel.c b->flags &= ~DCERPC_AUTH_OPTIONS; b 280 source4/torture/rpc/schannel.c b->flags |= dcerpc_flags; b 282 source4/torture/rpc/schannel.c status = dcerpc_pipe_connect_b(tctx, &p, b, &ndr_table_samr, b 295 source4/torture/rpc/schannel.c status = dcerpc_epm_map_binding(tctx, b, &ndr_table_netlogon, tctx->ev, tctx->lp_ctx); b 299 source4/torture/rpc/schannel.c b); b 321 source4/torture/rpc/schannel.c status = dcerpc_epm_map_binding(tctx, b, &ndr_table_lsarpc, tctx->ev, tctx->lp_ctx); b 325 source4/torture/rpc/schannel.c b); b 346 source4/torture/rpc/schannel.c status = dcerpc_parse_binding(tctx, binding, &b); b 349 source4/torture/rpc/schannel.c b->flags &= ~DCERPC_AUTH_OPTIONS; b 350 source4/torture/rpc/schannel.c b->flags |= dcerpc_flags; b 352 source4/torture/rpc/schannel.c status = dcerpc_pipe_connect_b(tctx, &p_samr2, b, &ndr_table_samr, b 362 source4/torture/rpc/schannel.c status = dcerpc_epm_map_binding(tctx, b, &ndr_table_netlogon, tctx->ev, tctx->lp_ctx); b 366 source4/torture/rpc/schannel.c b); b 392 source4/torture/rpc/schannel.c b->flags &= ~DCERPC_AUTH_OPTIONS; b 394 source4/torture/rpc/schannel.c status = dcerpc_pipe_connect_b(tctx, &p_netlogon3, b, &ndr_table_netlogon, b 456 source4/torture/rpc/schannel.c struct dcerpc_binding *b; b 470 source4/torture/rpc/schannel.c status = dcerpc_parse_binding(torture, binding, &b); b 473 source4/torture/rpc/schannel.c b->flags &= ~DCERPC_AUTH_OPTIONS; b 474 source4/torture/rpc/schannel.c b->flags |= dcerpc_flags; b 477 source4/torture/rpc/schannel.c status = dcerpc_pipe_connect_b(torture, &p1, b, &ndr_table_netlogon, b 482 source4/torture/rpc/schannel.c status = dcerpc_pipe_connect_b(torture, &p2, b, &ndr_table_netlogon, b 536 source4/torture/rpc/schannel.c struct dcerpc_binding *b; b 726 source4/torture/rpc/schannel.c status = dcerpc_parse_binding(s, binding, &s->b); b 728 source4/torture/rpc/schannel.c s->b->flags &= ~DCERPC_AUTH_OPTIONS; b 729 source4/torture/rpc/schannel.c s->b->flags |= DCERPC_SCHANNEL | DCERPC_SIGN; b 734 source4/torture/rpc/schannel.c s->error = dcerpc_pipe_connect_b(s->conns, &s->conns[i].pipe, s->b, b 748 source4/torture/rpc/schannel.c c = dcerpc_pipe_connect_b_send(s->conns, s->b, b 779 source4/torture/rpc/schannel.c status = dcerpc_pipe_connect_b(s, &net_pipe, s->b, b 824 source4/torture/rpc/schannel.c status = dcerpc_pipe_connect_b(s, &net_pipe, s->b, b 1602 source4/torture/rpc/spoolss.c struct dcerpc_binding *b; b 1613 source4/torture/rpc/spoolss.c status = dcerpc_parse_binding(tctx, p->conn->binding_string, &b); b 1616 source4/torture/rpc/spoolss.c status = dcerpc_secondary_connection(p, &p2, b); b 175 source4/torture/smb2/getinfo.c struct smb2_getinfo b; b 184 source4/torture/smb2/getinfo.c ZERO_STRUCT(b); b 185 source4/torture/smb2/getinfo.c b.in.info_type = SMB2_GETINFO_FS; b 186 source4/torture/smb2/getinfo.c b.in.info_class = 1; b 187 source4/torture/smb2/getinfo.c b.in.output_buffer_length = 0x1; b 188 source4/torture/smb2/getinfo.c b.in.input_buffer_length = 0; b 189 source4/torture/smb2/getinfo.c b.in.file.handle = handle; b 191 source4/torture/smb2/getinfo.c status = smb2_getinfo(tree, tree, &b); b 57 source4/torture/smb2/persistent_handles.c DATA_BLOB b; b 83 source4/torture/smb2/persistent_handles.c b = data_blob_talloc(mem_ctx, NULL, 16); b 84 source4/torture/smb2/persistent_handles.c SBVAL(b.data, 0, 0); b 85 source4/torture/smb2/persistent_handles.c SBVAL(b.data, 8, 0); b 89 source4/torture/smb2/persistent_handles.c b); b 145 source4/torture/smb2/persistent_handles.c b = data_blob_talloc(tctx, NULL, 16); b 146 source4/torture/smb2/persistent_handles.c SBVAL(b.data, 0, h1.data[0]); b 147 source4/torture/smb2/persistent_handles.c SBVAL(b.data, 8, h1.data[1]); b 151 source4/torture/smb2/persistent_handles.c b); b 69 source4/utils/oLschema2ldif.c int b; b 72 source4/utils/oLschema2ldif.c b = 0; b 76 source4/utils/oLschema2ldif.c b++; b 78 source4/utils/oLschema2ldif.c while (b) { b 81 source4/utils/oLschema2ldif.c if (*c == '(') b++; b 82 source4/utils/oLschema2ldif.c if (*c == ')') b--; b 82 source4/web_server/web_server.c DATA_BLOB b; b 93 source4/web_server/web_server.c b = web->output.content; b 95 source4/web_server/web_server.c websrv_output(web, b.data, b.length); b 96 source4/web_server/web_server.c data_blob_free(&b); b 154 source4/web_server/web_server.c DATA_BLOB b; b 165 source4/web_server/web_server.c b = web->input.partial; b 167 source4/web_server/web_server.c (p=(uint8_t *)memchr(b.data, '\n', b.length))) { b 168 source4/web_server/web_server.c const char *line = (const char *)b.data; b 170 source4/web_server/web_server.c if (p != b.data && p[-1] == '\r') { b 175 source4/web_server/web_server.c b.length -= (p - b.data) + 1; b 176 source4/web_server/web_server.c b.data = p+1; b 180 source4/web_server/web_server.c if (b.length == 0) { b 181 source4/web_server/web_server.c b.data = NULL; b 183 source4/web_server/web_server.c b = data_blob_talloc(web, b.data, b.length); b 185 source4/web_server/web_server.c web->input.partial = b; b 227 source4/web_server/web_server.c DATA_BLOB b; b 229 source4/web_server/web_server.c b = web->output.content; b 230 source4/web_server/web_server.c b.data += web->output.nsent; b 231 source4/web_server/web_server.c b.length -= web->output.nsent; b 233 source4/web_server/web_server.c status = socket_send(conn->socket, &b, &nsent);