d 48 examples/libsmbclient/smbwrapper/bsd-strlcat.c char *d = dst; d 54 examples/libsmbclient/smbwrapper/bsd-strlcat.c while (n-- != 0 && *d != '\0') d 55 examples/libsmbclient/smbwrapper/bsd-strlcat.c d++; d 56 examples/libsmbclient/smbwrapper/bsd-strlcat.c dlen = d - dst; d 63 examples/libsmbclient/smbwrapper/bsd-strlcat.c *d++ = *s; d 68 examples/libsmbclient/smbwrapper/bsd-strlcat.c *d = '\0'; d 46 examples/libsmbclient/smbwrapper/bsd-strlcpy.c char *d = dst; d 53 examples/libsmbclient/smbwrapper/bsd-strlcpy.c if ((*d++ = *s++) == 0) d 61 examples/libsmbclient/smbwrapper/bsd-strlcpy.c *d = '\0'; /* NUL-terminate dst */ d 130 lib/compression/mszip.c uint32_t *b, uint32_t n, uint32_t s, const uint16_t *d, const uint16_t *e, d 281 lib/compression/mszip.c r.v.n = d[*p++ - s]; d 312 lib/compression/mszip.c uint32_t n, d; /* length and index for copy */ d 369 lib/compression/mszip.c d = w - t->v.n - ((uint32_t)b & Zipmask[e]); d 373 lib/compression/mszip.c n -= (e = (e = ZIPWSIZE - ((d &= ZIPWSIZE-1) > w ? d : w)) > n ?n:e); d 376 lib/compression/mszip.c CAB(outbuf)[w++] = CAB(outbuf)[d++]; d 53 lib/crypto/md4.c #define ROUND1(a,b,c,d,k,s) a = lshift(a + F(b,c,d) + X[k], s) d 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) d 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) d 169 lib/crypto/md5.c register uint32_t a, b, c, d; d 174 lib/crypto/md5.c d = buf[3]; d 176 lib/crypto/md5.c MD5STEP(F1, a, b, c, d, in[0] + 0xd76aa478, 7); d 177 lib/crypto/md5.c MD5STEP(F1, d, a, b, c, in[1] + 0xe8c7b756, 12); d 178 lib/crypto/md5.c MD5STEP(F1, c, d, a, b, in[2] + 0x242070db, 17); d 179 lib/crypto/md5.c MD5STEP(F1, b, c, d, a, in[3] + 0xc1bdceee, 22); d 180 lib/crypto/md5.c MD5STEP(F1, a, b, c, d, in[4] + 0xf57c0faf, 7); d 181 lib/crypto/md5.c MD5STEP(F1, d, a, b, c, in[5] + 0x4787c62a, 12); d 182 lib/crypto/md5.c MD5STEP(F1, c, d, a, b, in[6] + 0xa8304613, 17); d 183 lib/crypto/md5.c MD5STEP(F1, b, c, d, a, in[7] + 0xfd469501, 22); d 184 lib/crypto/md5.c MD5STEP(F1, a, b, c, d, in[8] + 0x698098d8, 7); d 185 lib/crypto/md5.c MD5STEP(F1, d, a, b, c, in[9] + 0x8b44f7af, 12); d 186 lib/crypto/md5.c MD5STEP(F1, c, d, a, b, in[10] + 0xffff5bb1, 17); d 187 lib/crypto/md5.c MD5STEP(F1, b, c, d, a, in[11] + 0x895cd7be, 22); d 188 lib/crypto/md5.c MD5STEP(F1, a, b, c, d, in[12] + 0x6b901122, 7); d 189 lib/crypto/md5.c MD5STEP(F1, d, a, b, c, in[13] + 0xfd987193, 12); d 190 lib/crypto/md5.c MD5STEP(F1, c, d, a, b, in[14] + 0xa679438e, 17); d 191 lib/crypto/md5.c MD5STEP(F1, b, c, d, a, in[15] + 0x49b40821, 22); d 193 lib/crypto/md5.c MD5STEP(F2, a, b, c, d, in[1] + 0xf61e2562, 5); d 194 lib/crypto/md5.c MD5STEP(F2, d, a, b, c, in[6] + 0xc040b340, 9); d 195 lib/crypto/md5.c MD5STEP(F2, c, d, a, b, in[11] + 0x265e5a51, 14); d 196 lib/crypto/md5.c MD5STEP(F2, b, c, d, a, in[0] + 0xe9b6c7aa, 20); d 197 lib/crypto/md5.c MD5STEP(F2, a, b, c, d, in[5] + 0xd62f105d, 5); d 198 lib/crypto/md5.c MD5STEP(F2, d, a, b, c, in[10] + 0x02441453, 9); d 199 lib/crypto/md5.c MD5STEP(F2, c, d, a, b, in[15] + 0xd8a1e681, 14); d 200 lib/crypto/md5.c MD5STEP(F2, b, c, d, a, in[4] + 0xe7d3fbc8, 20); d 201 lib/crypto/md5.c MD5STEP(F2, a, b, c, d, in[9] + 0x21e1cde6, 5); d 202 lib/crypto/md5.c MD5STEP(F2, d, a, b, c, in[14] + 0xc33707d6, 9); d 203 lib/crypto/md5.c MD5STEP(F2, c, d, a, b, in[3] + 0xf4d50d87, 14); d 204 lib/crypto/md5.c MD5STEP(F2, b, c, d, a, in[8] + 0x455a14ed, 20); d 205 lib/crypto/md5.c MD5STEP(F2, a, b, c, d, in[13] + 0xa9e3e905, 5); d 206 lib/crypto/md5.c MD5STEP(F2, d, a, b, c, in[2] + 0xfcefa3f8, 9); d 207 lib/crypto/md5.c MD5STEP(F2, c, d, a, b, in[7] + 0x676f02d9, 14); d 208 lib/crypto/md5.c MD5STEP(F2, b, c, d, a, in[12] + 0x8d2a4c8a, 20); d 210 lib/crypto/md5.c MD5STEP(F3, a, b, c, d, in[5] + 0xfffa3942, 4); d 211 lib/crypto/md5.c MD5STEP(F3, d, a, b, c, in[8] + 0x8771f681, 11); d 212 lib/crypto/md5.c MD5STEP(F3, c, d, a, b, in[11] + 0x6d9d6122, 16); d 213 lib/crypto/md5.c MD5STEP(F3, b, c, d, a, in[14] + 0xfde5380c, 23); d 214 lib/crypto/md5.c MD5STEP(F3, a, b, c, d, in[1] + 0xa4beea44, 4); d 215 lib/crypto/md5.c MD5STEP(F3, d, a, b, c, in[4] + 0x4bdecfa9, 11); d 216 lib/crypto/md5.c MD5STEP(F3, c, d, a, b, in[7] + 0xf6bb4b60, 16); d 217 lib/crypto/md5.c MD5STEP(F3, b, c, d, a, in[10] + 0xbebfbc70, 23); d 218 lib/crypto/md5.c MD5STEP(F3, a, b, c, d, in[13] + 0x289b7ec6, 4); d 219 lib/crypto/md5.c MD5STEP(F3, d, a, b, c, in[0] + 0xeaa127fa, 11); d 220 lib/crypto/md5.c MD5STEP(F3, c, d, a, b, in[3] + 0xd4ef3085, 16); d 221 lib/crypto/md5.c MD5STEP(F3, b, c, d, a, in[6] + 0x04881d05, 23); d 222 lib/crypto/md5.c MD5STEP(F3, a, b, c, d, in[9] + 0xd9d4d039, 4); d 223 lib/crypto/md5.c MD5STEP(F3, d, a, b, c, in[12] + 0xe6db99e5, 11); d 224 lib/crypto/md5.c MD5STEP(F3, c, d, a, b, in[15] + 0x1fa27cf8, 16); d 225 lib/crypto/md5.c MD5STEP(F3, b, c, d, a, in[2] + 0xc4ac5665, 23); d 227 lib/crypto/md5.c MD5STEP(F4, a, b, c, d, in[0] + 0xf4292244, 6); d 228 lib/crypto/md5.c MD5STEP(F4, d, a, b, c, in[7] + 0x432aff97, 10); d 229 lib/crypto/md5.c MD5STEP(F4, c, d, a, b, in[14] + 0xab9423a7, 15); d 230 lib/crypto/md5.c MD5STEP(F4, b, c, d, a, in[5] + 0xfc93a039, 21); d 231 lib/crypto/md5.c MD5STEP(F4, a, b, c, d, in[12] + 0x655b59c3, 6); d 232 lib/crypto/md5.c MD5STEP(F4, d, a, b, c, in[3] + 0x8f0ccc92, 10); d 233 lib/crypto/md5.c MD5STEP(F4, c, d, a, b, in[10] + 0xffeff47d, 15); d 234 lib/crypto/md5.c MD5STEP(F4, b, c, d, a, in[1] + 0x85845dd1, 21); d 235 lib/crypto/md5.c MD5STEP(F4, a, b, c, d, in[8] + 0x6fa87e4f, 6); d 236 lib/crypto/md5.c MD5STEP(F4, d, a, b, c, in[15] + 0xfe2ce6e0, 10); d 237 lib/crypto/md5.c MD5STEP(F4, c, d, a, b, in[6] + 0xa3014314, 15); d 238 lib/crypto/md5.c MD5STEP(F4, b, c, d, a, in[13] + 0x4e0811a1, 21); d 239 lib/crypto/md5.c MD5STEP(F4, a, b, c, d, in[4] + 0xf7537e82, 6); d 240 lib/crypto/md5.c MD5STEP(F4, d, a, b, c, in[11] + 0xbd3af235, 10); d 241 lib/crypto/md5.c MD5STEP(F4, c, d, a, b, in[2] + 0x2ad7d2bb, 15); d 242 lib/crypto/md5.c MD5STEP(F4, b, c, d, a, in[9] + 0xeb86d391, 21); d 247 lib/crypto/md5.c buf[3] += d; d 30 lib/popt/poptint.h #define __PBM_IX(d) ((d) / __PBM_NBITS) d 31 lib/popt/poptint.h #define __PBM_MASK(d) ((__pbm_bits) 1 << (((unsigned)(d)) % __PBM_NBITS)) d 39 lib/popt/poptint.h #define PBM_ALLOC(d) calloc(__PBM_IX (d) + 1, sizeof(__pbm_bits)) d 41 lib/popt/poptint.h #define PBM_SET(d, s) (__PBM_BITS (s)[__PBM_IX (d)] |= __PBM_MASK (d)) d 42 lib/popt/poptint.h #define PBM_CLR(d, s) (__PBM_BITS (s)[__PBM_IX (d)] &= ~__PBM_MASK (d)) d 43 lib/popt/poptint.h #define PBM_ISSET(d, s) ((__PBM_BITS (s)[__PBM_IX (d)] & __PBM_MASK (d)) != 0) d 69 lib/replace/repdir_getdents.c struct dir_buf *d; d 71 lib/replace/repdir_getdents.c d = malloc(sizeof(*d)); d 72 lib/replace/repdir_getdents.c if (d == NULL) { d 76 lib/replace/repdir_getdents.c d->fd = open(dname, O_RDONLY); d 77 lib/replace/repdir_getdents.c if (d->fd == -1) { d 78 lib/replace/repdir_getdents.c free(d); d 81 lib/replace/repdir_getdents.c if (fstat(d->fd, &sb) < 0) { d 82 lib/replace/repdir_getdents.c close(d->fd); d 83 lib/replace/repdir_getdents.c free(d); d 87 lib/replace/repdir_getdents.c close(d->fd); d 88 lib/replace/repdir_getdents.c free(d); d 92 lib/replace/repdir_getdents.c d->ofs = 0; d 93 lib/replace/repdir_getdents.c d->seekpos = 0; d 94 lib/replace/repdir_getdents.c d->nbytes = 0; d 95 lib/replace/repdir_getdents.c return (DIR *)d; d 100 lib/replace/repdir_getdents.c struct dir_buf *d = (struct dir_buf *)dir; d 103 lib/replace/repdir_getdents.c if (d->ofs >= d->nbytes) { d 104 lib/replace/repdir_getdents.c d->seekpos = lseek(d->fd, 0, SEEK_CUR); d 105 lib/replace/repdir_getdents.c d->nbytes = getdents(d->fd, d->buf, DIR_BUF_SIZE); d 106 lib/replace/repdir_getdents.c d->ofs = 0; d 108 lib/replace/repdir_getdents.c if (d->ofs >= d->nbytes) { d 111 lib/replace/repdir_getdents.c de = (struct dirent *)&d->buf[d->ofs]; d 112 lib/replace/repdir_getdents.c d->ofs += de->d_reclen; d 118 lib/replace/repdir_getdents.c struct dir_buf *d = (struct dir_buf *)dir; d 119 lib/replace/repdir_getdents.c if (d->ofs >= d->nbytes) { d 120 lib/replace/repdir_getdents.c d->seekpos = lseek(d->fd, 0, SEEK_CUR); d 121 lib/replace/repdir_getdents.c d->ofs = 0; d 122 lib/replace/repdir_getdents.c d->nbytes = 0; d 126 lib/replace/repdir_getdents.c if (d->seekpos & (DIR_BUF_SIZE-1)) { d 129 lib/replace/repdir_getdents.c return d->seekpos + d->ofs; d 134 lib/replace/repdir_getdents.c struct dir_buf *d = (struct dir_buf *)dir; d 135 lib/replace/repdir_getdents.c d->seekpos = lseek(d->fd, ofs & ~(DIR_BUF_SIZE-1), SEEK_SET); d 136 lib/replace/repdir_getdents.c d->nbytes = getdents(d->fd, d->buf, DIR_BUF_SIZE); d 137 lib/replace/repdir_getdents.c d->ofs = 0; d 138 lib/replace/repdir_getdents.c while (d->ofs < (ofs & (DIR_BUF_SIZE-1))) { d 150 lib/replace/repdir_getdents.c struct dir_buf *d = (struct dir_buf *)dir; d 151 lib/replace/repdir_getdents.c int r = close(d->fd); d 155 lib/replace/repdir_getdents.c free(d); d 163 lib/replace/repdir_getdents.c struct dir_buf *d = (struct dir_buf *)dir; d 164 lib/replace/repdir_getdents.c return d->fd; d 71 lib/replace/repdir_getdirentries.c struct dir_buf *d; d 73 lib/replace/repdir_getdirentries.c d = malloc(sizeof(*d)); d 74 lib/replace/repdir_getdirentries.c if (d == NULL) { d 78 lib/replace/repdir_getdirentries.c d->fd = open(dname, O_RDONLY); d 79 lib/replace/repdir_getdirentries.c if (d->fd == -1) { d 80 lib/replace/repdir_getdirentries.c free(d); d 83 lib/replace/repdir_getdirentries.c if (fstat(d->fd, &sb) < 0) { d 84 lib/replace/repdir_getdirentries.c close(d->fd); d 85 lib/replace/repdir_getdirentries.c free(d); d 89 lib/replace/repdir_getdirentries.c close(d->fd); d 90 lib/replace/repdir_getdirentries.c free(d); d 94 lib/replace/repdir_getdirentries.c d->ofs = 0; d 95 lib/replace/repdir_getdirentries.c d->seekpos = 0; d 96 lib/replace/repdir_getdirentries.c d->nbytes = 0; d 97 lib/replace/repdir_getdirentries.c return (DIR *)d; d 102 lib/replace/repdir_getdirentries.c struct dir_buf *d = (struct dir_buf *)dir; d 105 lib/replace/repdir_getdirentries.c if (d->ofs >= d->nbytes) { d 107 lib/replace/repdir_getdirentries.c d->nbytes = getdirentries(d->fd, d->buf, DIR_BUF_SIZE, &pos); d 108 lib/replace/repdir_getdirentries.c d->seekpos = pos; d 109 lib/replace/repdir_getdirentries.c d->ofs = 0; d 111 lib/replace/repdir_getdirentries.c if (d->ofs >= d->nbytes) { d 114 lib/replace/repdir_getdirentries.c de = (struct dirent *)&d->buf[d->ofs]; d 115 lib/replace/repdir_getdirentries.c d->ofs += de->d_reclen; d 125 lib/replace/repdir_getdirentries.c struct dir_buf *d = (struct dir_buf *)dir; d 126 lib/replace/repdir_getdirentries.c if (d->ofs >= d->nbytes) { d 127 lib/replace/repdir_getdirentries.c d->seekpos = lseek(d->fd, 0, SEEK_CUR); d 128 lib/replace/repdir_getdirentries.c d->ofs = 0; d 129 lib/replace/repdir_getdirentries.c d->nbytes = 0; d 133 lib/replace/repdir_getdirentries.c if (d->seekpos & (DIR_BUF_SIZE-1)) { d 136 lib/replace/repdir_getdirentries.c return d->seekpos + d->ofs; d 145 lib/replace/repdir_getdirentries.c struct dir_buf *d = (struct dir_buf *)dir; d 147 lib/replace/repdir_getdirentries.c d->seekpos = lseek(d->fd, ofs & ~(DIR_BUF_SIZE-1), SEEK_SET); d 148 lib/replace/repdir_getdirentries.c d->nbytes = getdirentries(d->fd, d->buf, DIR_BUF_SIZE, &pos); d 149 lib/replace/repdir_getdirentries.c d->ofs = 0; d 150 lib/replace/repdir_getdirentries.c while (d->ofs < (ofs & (DIR_BUF_SIZE-1))) { d 165 lib/replace/repdir_getdirentries.c struct dir_buf *d = (struct dir_buf *)dir; d 166 lib/replace/repdir_getdirentries.c int r = close(d->fd); d 170 lib/replace/repdir_getdirentries.c free(d); d 178 lib/replace/repdir_getdirentries.c struct dir_buf *d = (struct dir_buf *)dir; d 179 lib/replace/repdir_getdirentries.c return d->fd; d 63 lib/replace/replace.c size_t rep_strlcpy(char *d, const char *s, size_t bufsize) d 69 lib/replace/replace.c memcpy(d, s, len); d 70 lib/replace/replace.c d[len] = 0; d 79 lib/replace/replace.c size_t rep_strlcat(char *d, const char *s, size_t bufsize) d 81 lib/replace/replace.c size_t len1 = strlen(d); d 92 lib/replace/replace.c memcpy(d+len1, s, len2); d 93 lib/replace/replace.c d[len1+len2] = 0; d 230 lib/replace/replace.c unsigned long d,s; d 234 lib/replace/replace.c d = (unsigned long)dest; d 237 lib/replace/replace.c if ((d >= (s+size)) || (s >= (d+size))) { d 243 lib/replace/replace.c if (d < s) { d 245 lib/replace/replace.c if (s-d >= sizeof(int) && d 247 lib/replace/replace.c !(d%sizeof(int)) && d 262 lib/replace/replace.c if (d-s >= sizeof(int) && d 264 lib/replace/replace.c !(d%sizeof(int)) && d 165 lib/replace/replace.h size_t rep_strlcpy(char *d, const char *s, size_t bufsize); d 170 lib/replace/replace.h size_t rep_strlcat(char *d, const char *s, size_t bufsize); d 28 lib/replace/socketpair.c int rep_socketpair(int d, int type, int protocol, int sv[2]) d 30 lib/replace/socketpair.c if (d != AF_UNIX) { d 156 lib/replace/system/network.h int rep_socketpair(int d, int type, int protocol, int sv[2]); d 24 lib/replace/test/os2_delete.c #define FAILED(d) (printf("failure: readdir [\nFailed for %s - %d = %s\n]\n", d, errno, strerror(errno)), test_readdir_os2_delete_ret = 1, 1) d 56 lib/replace/test/os2_delete.c static int os2_delete(DIR *d) d 64 lib/replace/test/os2_delete.c for (i=0, de=readdir(d); d 66 lib/replace/test/os2_delete.c de=readdir(d), i++) { d 67 lib/replace/test/os2_delete.c offsets[i] = telldir(d); d 83 lib/replace/test/os2_delete.c seekdir(d, offsets[j-1]); d 92 lib/replace/test/os2_delete.c DIR *d; d 100 lib/replace/test/os2_delete.c d = opendir(TESTDIR "/test0.txt"); d 101 lib/replace/test/os2_delete.c if (d != NULL) FAILED("opendir() on file succeed"); d 104 lib/replace/test/os2_delete.c d = opendir(TESTDIR); d 107 lib/replace/test/os2_delete.c de = readdir(d); d 109 lib/replace/test/os2_delete.c de = readdir(d); d 113 lib/replace/test/os2_delete.c int n = os2_delete(d); d 117 lib/replace/test/os2_delete.c closedir(d); d 526 lib/talloc/talloc.c talloc_destructor_t d = tc->destructor; d 527 lib/talloc/talloc.c if (d == (talloc_destructor_t)-1) { d 531 lib/talloc/talloc.c if (d(ptr) == -1) { d 532 lib/talloc/talloc.c tc->destructor = d; d 359 lib/talloc/testsuite.c double *d; d 436 lib/talloc/testsuite.c d = talloc_array(p1, double, 0x20000000); d 437 lib/talloc/testsuite.c torture_assert("misc", !d, "failed: integer overflow not detected\n"); d 439 lib/talloc/testsuite.c d = talloc_realloc(p1, d, double, 0x20000000); d 440 lib/talloc/testsuite.c torture_assert("misc", !d, "failed: integer overflow not detected\n"); d 368 lib/tdb/common/io.c int tdb_ofs_read(struct tdb_context *tdb, tdb_off_t offset, tdb_off_t *d) d 370 lib/tdb/common/io.c return tdb->methods->tdb_read(tdb, offset, (char*)d, sizeof(*d), DOCONV()); d 373 lib/tdb/common/io.c int tdb_ofs_write(struct tdb_context *tdb, tdb_off_t offset, tdb_off_t *d) d 375 lib/tdb/common/io.c tdb_off_t off = *d; d 376 lib/tdb/common/io.c return tdb->methods->tdb_write(tdb, offset, CONVERT(off), sizeof(*d)); d 188 lib/tdb/common/tdb_private.h int tdb_ofs_read(struct tdb_context *tdb, tdb_off_t offset, tdb_off_t *d); d 189 lib/tdb/common/tdb_private.h int tdb_ofs_write(struct tdb_context *tdb, tdb_off_t offset, tdb_off_t *d); d 193 lib/tdb/common/tdb_private.h int tdb_ofs_read(struct tdb_context *tdb, tdb_off_t offset, tdb_off_t *d); d 194 lib/tdb/common/tdb_private.h int tdb_ofs_write(struct tdb_context *tdb, tdb_off_t offset, tdb_off_t *d); d 27 lib/tdb/tools/tdbdump.c static void print_data(TDB_DATA d) d 29 lib/tdb/tools/tdbdump.c unsigned char *p = (unsigned char *)d.dptr; d 30 lib/tdb/tools/tdbdump.c int len = d.dsize; d 52 lib/tdb/tools/tdbtest.c TDB_DATA d, key, nextkey; d 57 lib/tdb/tools/tdbtest.c d = tdb_fetch(db, key); d 64 lib/tdb/tools/tdbtest.c if (gd.dsize != d.dsize) fatal("data sizes differ"); d 65 lib/tdb/tools/tdbtest.c if (memcmp(gd.dptr, d.dptr, d.dsize)) { d 71 lib/tdb/tools/tdbtest.c free(d.dptr); d 82 lib/tdb/tools/tdbtest.c d = tdb_fetch(db, key); d 84 lib/tdb/tools/tdbtest.c if (!d.dptr) fatal("key not in db"); d 85 lib/tdb/tools/tdbtest.c if (d.dsize != gd.dsize) fatal("data sizes differ"); d 86 lib/tdb/tools/tdbtest.c if (memcmp(d.dptr, gd.dptr, gd.dsize)) { d 93 lib/tdb/tools/tdbtest.c free(d.dptr); d 114 lib/tdb/tools/tdbtest.c char *k, *d; d 121 lib/tdb/tools/tdbtest.c d = randbuf(dlen); d 126 lib/tdb/tools/tdbtest.c data.dptr = d; d 141 lib/tdb/tools/tdbtest.c free(d); d 147 lib/tdb/tools/tdbtest.c char *k, *d; d 154 lib/tdb/tools/tdbtest.c d = randbuf(dlen); d 159 lib/tdb/tools/tdbtest.c data.dptr = d; d 174 lib/tdb/tools/tdbtest.c free(d); d 88 lib/tdb/tools/tdbtorture.c char *k, *d; d 95 lib/tdb/tools/tdbtorture.c d = randbuf(dlen); d 100 lib/tdb/tools/tdbtorture.c data.dptr = (unsigned char *)d; d 191 lib/tdb/tools/tdbtorture.c free(d); d 532 lib/util/charset/util_unistr.c char *d; d 549 lib/util/charset/util_unistr.c d = s; d 554 lib/util/charset/util_unistr.c c_size2 = push_codepoint(iconv_convenience, d, tolower_m(c)); d 561 lib/util/charset/util_unistr.c d += c_size2; d 563 lib/util/charset/util_unistr.c *d = 0; d 571 lib/util/charset/util_unistr.c char *d; d 588 lib/util/charset/util_unistr.c d = s; d 593 lib/util/charset/util_unistr.c c_size2 = push_codepoint(iconv_convenience, d, toupper_m(c)); d 600 lib/util/charset/util_unistr.c d += c_size2; d 602 lib/util/charset/util_unistr.c *d = 0; d 102 lib/util/data_blob.c _PUBLIC_ void data_blob_free(DATA_BLOB *d) d 104 lib/util/data_blob.c if (d) { d 105 lib/util/data_blob.c talloc_free(d->data); d 106 lib/util/data_blob.c d->data = NULL; d 107 lib/util/data_blob.c d->length = 0; d 114 lib/util/data_blob.c _PUBLIC_ void data_blob_clear(DATA_BLOB *d) d 116 lib/util/data_blob.c if (d->data) { d 117 lib/util/data_blob.c memset(d->data, 0, d->length); d 124 lib/util/data_blob.c _PUBLIC_ void data_blob_clear_free(DATA_BLOB *d) d 126 lib/util/data_blob.c data_blob_clear(d); d 127 lib/util/data_blob.c data_blob_free(d); d 79 lib/util/data_blob.h _PUBLIC_ void data_blob_free(DATA_BLOB *d); d 84 lib/util/data_blob.h _PUBLIC_ void data_blob_clear(DATA_BLOB *d); d 89 lib/util/data_blob.h _PUBLIC_ void data_blob_clear_free(DATA_BLOB *d); d 25 lib/util/tests/genrand.c static void dummy_reseed(void *userdata, int *d) d 27 lib/util/tests/genrand.c *d = 42; d 652 lib/util/time.c int64_t d; d 661 lib/util/time.c d = (int64_t)*nt; d 669 lib/util/time.c ret.tv_nsec = (long) ((d % (1000 * 1000 * 10)) * 100); d 672 lib/util/time.c d /= 1000*1000*10; d 675 lib/util/time.c d -= TIME_FIXUP_CONSTANT_INT; d 677 lib/util/time.c if (d <= (int64_t)TIME_T_MIN) { d 683 lib/util/time.c if (d >= (int64_t)TIME_T_MAX) { d 689 lib/util/time.c ret.tv_sec = (time_t)d; d 130 librpc/tools/ndrdump.c static void ndrdump_data(uint8_t *d, uint32_t l, bool force) d 133 librpc/tools/ndrdump.c dump_data(0, d, l); d 135 librpc/tools/ndrdump.c dump_data_skip_zeros(0, d, l); d 112 nsswitch/libwbclient/wbc_pam.c #define _SID_COMPOSE(s, d, r, a) { \ d 113 nsswitch/libwbclient/wbc_pam.c (s).sid = d; \ d 395 nsswitch/pam_winbind.c dictionary *d = NULL; d 413 nsswitch/pam_winbind.c d = iniparser_load(config_file); d 414 nsswitch/pam_winbind.c if (d == NULL) { d 418 nsswitch/pam_winbind.c if (iniparser_getboolean(d, "global:debug", false)) { d 422 nsswitch/pam_winbind.c if (iniparser_getboolean(d, "global:debug_state", false)) { d 426 nsswitch/pam_winbind.c if (iniparser_getboolean(d, "global:cached_login", false)) { d 430 nsswitch/pam_winbind.c if (iniparser_getboolean(d, "global:krb5_auth", false)) { d 434 nsswitch/pam_winbind.c if (iniparser_getboolean(d, "global:silent", false)) { d 438 nsswitch/pam_winbind.c if (iniparser_getstr(d, "global:krb5_ccache_type") != NULL) { d 442 nsswitch/pam_winbind.c if ((iniparser_getstr(d, "global:require-membership-of") != NULL) || d 443 nsswitch/pam_winbind.c (iniparser_getstr(d, "global:require_membership_of") != NULL)) { d 447 nsswitch/pam_winbind.c if (iniparser_getboolean(d, "global:try_first_pass", false)) { d 451 nsswitch/pam_winbind.c if (iniparser_getint(d, "global:warn_pwd_expire", 0)) { d 455 nsswitch/pam_winbind.c if (iniparser_getboolean(d, "global:mkhomedir", false)) { d 502 nsswitch/pam_winbind.c *result_d = d; d 504 nsswitch/pam_winbind.c if (d) { d 505 nsswitch/pam_winbind.c iniparser_freedict(d); d 33 nsswitch/wbinfo4.c #define fstrcpy(d,s) safe_strcpy((d),(s),sizeof(fstring)-1) d 57 nsswitch/winbind_nss_config.h #define fstrcpy(d,s) safe_strcpy((d),(s),sizeof(fstring)-1) d 3506 source3/client/client.c char *d; d 3514 source3/client/client.c d = TALLOC_ARRAY(ctx, char, PATH_MAX+1); d 3515 source3/client/client.c if (!d) { d 3518 source3/client/client.c DEBUG(2,("the local directory is now %s\n",sys_getwd(d))); d 108 source3/client/mount.cifs.c static size_t strlcpy(char *d, const char *s, size_t bufsize) d 114 source3/client/mount.cifs.c memcpy(d, s, len); d 115 source3/client/mount.cifs.c d[len] = 0; d 125 source3/client/mount.cifs.c static size_t strlcat(char *d, const char *s, size_t bufsize) d 127 source3/client/mount.cifs.c size_t len1 = strlen(d); d 138 source3/client/mount.cifs.c memcpy(d+len1, s, len2); d 139 source3/client/mount.cifs.c d[len1+len2] = 0; d 87 source3/include/safe_string.h #define CHECK_STRING_SIZE(d, len) (sizeof(d) != (len) && sizeof(d) != sizeof(char *)) d 100 source3/include/safe_string.h #define fstrcpy(d,s) safe_strcpy((d),(s),sizeof(fstring)-1) d 101 source3/include/safe_string.h #define fstrcat(d,s) safe_strcat((d),(s),sizeof(fstring)-1) d 102 source3/include/safe_string.h #define nstrcpy(d,s) safe_strcpy((d), (s),sizeof(nstring)-1) d 103 source3/include/safe_string.h #define unstrcpy(d,s) safe_strcpy((d), (s),sizeof(unstring)-1) d 175 source3/include/safe_string.h #define safe_strcpy_fn2(fn_name, fn_line, d, s, max_len) \ d 176 source3/include/safe_string.h (CHECK_STRING_SIZE(d, max_len+1) \ d 178 source3/include/safe_string.h : safe_strcpy_fn(fn_name, fn_line, (d), (s), (max_len))) d 180 source3/include/safe_string.h #define safe_strcat_fn2(fn_name, fn_line, d, s, max_len) \ d 181 source3/include/safe_string.h (CHECK_STRING_SIZE(d, max_len+1) \ d 183 source3/include/safe_string.h : safe_strcat_fn(fn_name, fn_line, (d), (s), (max_len))) d 112 source3/iniparser/src/dictionary.c dictionary * d ; d 117 source3/iniparser/src/dictionary.c if (!(d = (dictionary *)calloc(1, sizeof(dictionary)))) { d 120 source3/iniparser/src/dictionary.c d->size = size ; d 121 source3/iniparser/src/dictionary.c d->val = (char **)calloc(size, sizeof(char*)); d 122 source3/iniparser/src/dictionary.c d->key = (char **)calloc(size, sizeof(char*)); d 123 source3/iniparser/src/dictionary.c d->hash = (unsigned int *)calloc(size, sizeof(unsigned)); d 124 source3/iniparser/src/dictionary.c return d ; d 138 source3/iniparser/src/dictionary.c void dictionary_del(dictionary * d) d 142 source3/iniparser/src/dictionary.c if (d==NULL) return ; d 143 source3/iniparser/src/dictionary.c for (i=0 ; i<d->size ; i++) { d 144 source3/iniparser/src/dictionary.c if (d->key[i]!=NULL) d 145 source3/iniparser/src/dictionary.c free(d->key[i]); d 146 source3/iniparser/src/dictionary.c if (d->val[i]!=NULL) d 147 source3/iniparser/src/dictionary.c free(d->val[i]); d 149 source3/iniparser/src/dictionary.c free(d->val); d 150 source3/iniparser/src/dictionary.c free(d->key); d 151 source3/iniparser/src/dictionary.c free(d->hash); d 152 source3/iniparser/src/dictionary.c free(d); d 172 source3/iniparser/src/dictionary.c char * dictionary_get(dictionary * d, char * key, char * def) d 178 source3/iniparser/src/dictionary.c for (i=0 ; i<d->size ; i++) { d 179 source3/iniparser/src/dictionary.c if (d->key==NULL) d 182 source3/iniparser/src/dictionary.c if (hash==d->hash[i]) { d 184 source3/iniparser/src/dictionary.c if (!strcmp(key, d->key[i])) { d 185 source3/iniparser/src/dictionary.c return d->val[i] ; d 204 source3/iniparser/src/dictionary.c char dictionary_getchar(dictionary * d, char * key, char def) d 208 source3/iniparser/src/dictionary.c if ((v=dictionary_get(d,key,DICT_INVALID_KEY))==DICT_INVALID_KEY) { d 229 source3/iniparser/src/dictionary.c int dictionary_getint(dictionary * d, char * key, int def) d 233 source3/iniparser/src/dictionary.c if ((v=dictionary_get(d,key,DICT_INVALID_KEY))==DICT_INVALID_KEY) { d 253 source3/iniparser/src/dictionary.c double dictionary_getdouble(dictionary * d, char * key, double def) d 257 source3/iniparser/src/dictionary.c if ((v=dictionary_get(d,key,DICT_INVALID_KEY))==DICT_INVALID_KEY) { d 290 source3/iniparser/src/dictionary.c void dictionary_set(dictionary * d, char * key, char * val) d 295 source3/iniparser/src/dictionary.c if (d==NULL || key==NULL) return ; d 300 source3/iniparser/src/dictionary.c if (d->n>0) { d 301 source3/iniparser/src/dictionary.c for (i=0 ; i<d->size ; i++) { d 302 source3/iniparser/src/dictionary.c if (d->key[i]==NULL) d 304 source3/iniparser/src/dictionary.c if (hash==d->hash[i]) { /* Same hash value */ d 305 source3/iniparser/src/dictionary.c if (!strcmp(key, d->key[i])) { /* Same key */ d 307 source3/iniparser/src/dictionary.c if (d->val[i]!=NULL) d 308 source3/iniparser/src/dictionary.c free(d->val[i]); d 309 source3/iniparser/src/dictionary.c d->val[i] = val ? strdup(val) : NULL ; d 318 source3/iniparser/src/dictionary.c if (d->n==d->size) { d 321 source3/iniparser/src/dictionary.c d->val = (char **)mem_double(d->val, d->size * sizeof(char*)) ; d 322 source3/iniparser/src/dictionary.c d->key = (char **)mem_double(d->key, d->size * sizeof(char*)) ; d 323 source3/iniparser/src/dictionary.c d->hash = (unsigned int *)mem_double(d->hash, d->size * sizeof(unsigned)) ; d 326 source3/iniparser/src/dictionary.c d->size *= 2 ; d 330 source3/iniparser/src/dictionary.c for (i=0 ; i<d->size ; i++) { d 331 source3/iniparser/src/dictionary.c if (d->key[i]==NULL) { d 337 source3/iniparser/src/dictionary.c d->key[i] = strdup(key); d 338 source3/iniparser/src/dictionary.c d->val[i] = val ? strdup(val) : NULL ; d 339 source3/iniparser/src/dictionary.c d->hash[i] = hash; d 340 source3/iniparser/src/dictionary.c d->n ++ ; d 355 source3/iniparser/src/dictionary.c void dictionary_unset(dictionary * d, char * key) d 365 source3/iniparser/src/dictionary.c for (i=0 ; i<d->size ; i++) { d 366 source3/iniparser/src/dictionary.c if (d->key[i]==NULL) d 369 source3/iniparser/src/dictionary.c if (hash==d->hash[i]) { d 371 source3/iniparser/src/dictionary.c if (!strcmp(key, d->key[i])) { d 377 source3/iniparser/src/dictionary.c if (i>=d->size) d 381 source3/iniparser/src/dictionary.c free(d->key[i]); d 382 source3/iniparser/src/dictionary.c d->key[i] = NULL ; d 383 source3/iniparser/src/dictionary.c if (d->val[i]!=NULL) { d 384 source3/iniparser/src/dictionary.c free(d->val[i]); d 385 source3/iniparser/src/dictionary.c d->val[i] = NULL ; d 387 source3/iniparser/src/dictionary.c d->hash[i] = 0 ; d 388 source3/iniparser/src/dictionary.c d->n -- ; d 407 source3/iniparser/src/dictionary.c void dictionary_setint(dictionary * d, char * key, int val) d 411 source3/iniparser/src/dictionary.c dictionary_set(d, key, sval); d 429 source3/iniparser/src/dictionary.c void dictionary_setdouble(dictionary * d, char * key, double val) d 433 source3/iniparser/src/dictionary.c dictionary_set(d, key, sval); d 451 source3/iniparser/src/dictionary.c void dictionary_dump(dictionary * d, FILE * out) d 455 source3/iniparser/src/dictionary.c if (d==NULL || out==NULL) return ; d 456 source3/iniparser/src/dictionary.c if (d->n<1) { d 460 source3/iniparser/src/dictionary.c for (i=0 ; i<d->size ; i++) { d 461 source3/iniparser/src/dictionary.c if (d->key[i]) { d 463 source3/iniparser/src/dictionary.c d->key[i], d 464 source3/iniparser/src/dictionary.c d->val[i] ? d->val[i] : "UNDEF"); d 477 source3/iniparser/src/dictionary.c dictionary * d ; d 484 source3/iniparser/src/dictionary.c d = dictionary_new(0); d 490 source3/iniparser/src/dictionary.c dictionary_set(d, cval, "salut"); d 495 source3/iniparser/src/dictionary.c val = dictionary_get(d, cval, DICT_INVALID_KEY); d 503 source3/iniparser/src/dictionary.c dictionary_unset(d, cval); d 505 source3/iniparser/src/dictionary.c if (d->n != 0) { d 510 source3/iniparser/src/dictionary.c dictionary_del(d); d 115 source3/iniparser/src/dictionary.h char * dictionary_get(dictionary * d, char * key, char * def); d 130 source3/iniparser/src/dictionary.h char dictionary_getchar(dictionary * d, char * key, char def) ; d 145 source3/iniparser/src/dictionary.h int dictionary_getint(dictionary * d, char * key, int def); d 160 source3/iniparser/src/dictionary.h double dictionary_getdouble(dictionary * d, char * key, double def); d 199 source3/iniparser/src/dictionary.h void dictionary_unset(dictionary * d, char * key); d 214 source3/iniparser/src/dictionary.h void dictionary_setint(dictionary * d, char * key, int val); d 228 source3/iniparser/src/dictionary.h void dictionary_setdouble(dictionary * d, char * key, double val); d 242 source3/iniparser/src/dictionary.h void dictionary_dump(dictionary * d, FILE * out); d 35 source3/iniparser/src/iniparser.c dictionary * d, d 50 source3/iniparser/src/iniparser.c dictionary_set(d, longkey, val); d 74 source3/iniparser/src/iniparser.c int iniparser_getnsec(dictionary * d) d 79 source3/iniparser/src/iniparser.c if (d==NULL) return -1 ; d 81 source3/iniparser/src/iniparser.c for (i=0 ; i<d->size ; i++) { d 82 source3/iniparser/src/iniparser.c if (d->key[i]==NULL) d 84 source3/iniparser/src/iniparser.c if (strchr(d->key[i], ':')==NULL) { d 107 source3/iniparser/src/iniparser.c char * iniparser_getsecname(dictionary * d, int n) d 112 source3/iniparser/src/iniparser.c if (d==NULL || n<0) return NULL ; d 114 source3/iniparser/src/iniparser.c for (i=0 ; i<d->size ; i++) { d 115 source3/iniparser/src/iniparser.c if (d->key[i]==NULL) d 117 source3/iniparser/src/iniparser.c if (strchr(d->key[i], ':')==NULL) { d 126 source3/iniparser/src/iniparser.c return d->key[i] ; d 143 source3/iniparser/src/iniparser.c void iniparser_dump(dictionary * d, FILE * f) d 147 source3/iniparser/src/iniparser.c if (d==NULL || f==NULL) return ; d 148 source3/iniparser/src/iniparser.c for (i=0 ; i<d->size ; i++) { d 149 source3/iniparser/src/iniparser.c if (d->key[i]==NULL) d 151 source3/iniparser/src/iniparser.c if (d->val[i]!=NULL) { d 152 source3/iniparser/src/iniparser.c fprintf(f, "[%s]=[%s]\n", d->key[i], d->val[i]); d 154 source3/iniparser/src/iniparser.c fprintf(f, "[%s]=UNDEF\n", d->key[i]); d 172 source3/iniparser/src/iniparser.c void iniparser_dump_ini(dictionary * d, FILE * f) d 180 source3/iniparser/src/iniparser.c if (d==NULL || f==NULL) return ; d 182 source3/iniparser/src/iniparser.c nsec = iniparser_getnsec(d); d 185 source3/iniparser/src/iniparser.c for (i=0 ; i<d->size ; i++) { d 186 source3/iniparser/src/iniparser.c if (d->key[i]==NULL) d 188 source3/iniparser/src/iniparser.c fprintf(f, "%s = %s\n", d->key[i], d->val[i]); d 193 source3/iniparser/src/iniparser.c secname = iniparser_getsecname(d, i) ; d 197 source3/iniparser/src/iniparser.c for (j=0 ; j<d->size ; j++) { d 198 source3/iniparser/src/iniparser.c if (d->key[j]==NULL) d 200 source3/iniparser/src/iniparser.c if (!strncmp(d->key[j], keym, seclen+1)) { d 203 source3/iniparser/src/iniparser.c d->key[j]+seclen+1, d 204 source3/iniparser/src/iniparser.c d->val[j] ? d->val[j] : ""); d 233 source3/iniparser/src/iniparser.c char * iniparser_getstr(dictionary * d, const char * key) d 235 source3/iniparser/src/iniparser.c return iniparser_getstring(d, key, NULL); d 254 source3/iniparser/src/iniparser.c char * iniparser_getstring(dictionary * d, const char * key, char * def) d 259 source3/iniparser/src/iniparser.c if (d==NULL || key==NULL) d 265 source3/iniparser/src/iniparser.c sval = dictionary_get(d, lc_key, def); d 299 source3/iniparser/src/iniparser.c int iniparser_getint(dictionary * d, const char * key, int notfound) d 303 source3/iniparser/src/iniparser.c str = iniparser_getstring(d, key, INI_INVALID_KEY); d 322 source3/iniparser/src/iniparser.c double iniparser_getdouble(dictionary * d, char * key, double notfound) d 326 source3/iniparser/src/iniparser.c str = iniparser_getstring(d, key, INI_INVALID_KEY); d 365 source3/iniparser/src/iniparser.c int iniparser_getboolean(dictionary * d, const char * key, int notfound) d 370 source3/iniparser/src/iniparser.c c = iniparser_getstring(d, key, INI_INVALID_KEY); d 463 source3/iniparser/src/iniparser.c dictionary * d ; d 481 source3/iniparser/src/iniparser.c if (!(d = dictionary_new(0))) { d 495 source3/iniparser/src/iniparser.c iniparser_add_entry(d, sec, NULL, NULL); d 509 source3/iniparser/src/iniparser.c iniparser_add_entry(d, sec, key, val); d 514 source3/iniparser/src/iniparser.c return d ; d 531 source3/iniparser/src/iniparser.c void iniparser_freedict(dictionary * d) d 533 source3/iniparser/src/iniparser.c dictionary_del(d); d 58 source3/iniparser/src/iniparser.h int iniparser_getnsec(dictionary * d); d 76 source3/iniparser/src/iniparser.h char * iniparser_getsecname(dictionary * d, int n); d 91 source3/iniparser/src/iniparser.h void iniparser_dump_ini(dictionary * d, FILE * f); d 106 source3/iniparser/src/iniparser.h void iniparser_dump(dictionary * d, FILE * f); d 126 source3/iniparser/src/iniparser.h char * iniparser_getstr(dictionary * d, const char * key); d 144 source3/iniparser/src/iniparser.h char * iniparser_getstring(dictionary * d, const char * key, char * def); d 173 source3/iniparser/src/iniparser.h int iniparser_getint(dictionary * d, const char * key, int notfound); d 188 source3/iniparser/src/iniparser.h double iniparser_getdouble(dictionary * d, char * key, double notfound); d 222 source3/iniparser/src/iniparser.h int iniparser_getboolean(dictionary * d, const char * key, int notfound); d 294 source3/iniparser/src/iniparser.h void iniparser_freedict(dictionary * d); d 64 source3/iniparser/test/iniexample.c double d ; d 106 source3/iniparser/test/iniexample.c d = iniparser_getdouble(ini, "wine:alcohol", -1.0); d 107 source3/iniparser/test/iniexample.c if (d>0.0) { d 108 source3/iniparser/test/iniexample.c printf("alcohol: [%g]\n", d); d 1038 source3/lib/ctdbd_conn.c struct ctdb_rec_data *d; d 1049 source3/lib/ctdbd_conn.c d = (struct ctdb_rec_data *)&m->data[0]; d 1050 source3/lib/ctdbd_conn.c if (m->datalen < sizeof(uint32_t) || m->datalen != d->length) { d 1057 source3/lib/ctdbd_conn.c key.dsize = d->keylen; d 1058 source3/lib/ctdbd_conn.c key.dptr = &d->data[0]; d 1059 source3/lib/ctdbd_conn.c data.dsize = d->datalen; d 1060 source3/lib/ctdbd_conn.c data.dptr = &d->data[d->keylen]; d 89 source3/lib/dbwrap_ctdb.c struct ctdb_rec_data *d; d 93 source3/lib/dbwrap_ctdb.c d = (struct ctdb_rec_data *)talloc_size(mem_ctx, length); d 94 source3/lib/dbwrap_ctdb.c if (d == NULL) { d 97 source3/lib/dbwrap_ctdb.c d->length = length; d 98 source3/lib/dbwrap_ctdb.c d->reqid = reqid; d 99 source3/lib/dbwrap_ctdb.c d->keylen = key.dsize; d 100 source3/lib/dbwrap_ctdb.c memcpy(&d->data[0], key.dptr, key.dsize); d 102 source3/lib/dbwrap_ctdb.c d->datalen = data.dsize + sizeof(*header); d 103 source3/lib/dbwrap_ctdb.c memcpy(&d->data[key.dsize], header, sizeof(*header)); d 104 source3/lib/dbwrap_ctdb.c memcpy(&d->data[key.dsize+sizeof(*header)], data.dptr, data.dsize); d 106 source3/lib/dbwrap_ctdb.c d->datalen = data.dsize; d 107 source3/lib/dbwrap_ctdb.c memcpy(&d->data[key.dsize], data.dptr, data.dsize); d 109 source3/lib/dbwrap_ctdb.c return d; d 73 source3/lib/ldb/common/ldb_dn.c char *d, *dst; d 83 source3/lib/ldb/common/ldb_dn.c dst = d = talloc_array(mem_ctx, char, len * 3 + 1); d 93 source3/lib/ldb/common/ldb_dn.c memcpy(d, s, p - s); /* copy the part of the string before the stop */ d 94 source3/lib/ldb/common/ldb_dn.c d += (p - s); /* move to current position */ d 97 source3/lib/ldb/common/ldb_dn.c *d++ = '\\'; d 98 source3/lib/ldb/common/ldb_dn.c *d++ = *p++; d 100 source3/lib/ldb/common/ldb_dn.c strncpy(d, "\00", 3); /* escape the zero */ d 101 source3/lib/ldb/common/ldb_dn.c d = d + 3; d 108 source3/lib/ldb/common/ldb_dn.c memcpy(d, s, &src[len] - s + 1); d 112 source3/lib/ldb/common/ldb_ldif.c uint8_t *d = (uint8_t *)s; d 121 source3/lib/ldb/common/ldb_ldif.c d[byte_offset] &= ~((1<<(8-bit_offset))-1); d 123 source3/lib/ldb/common/ldb_ldif.c d[byte_offset] |= (idx << (2-bit_offset)); d 126 source3/lib/ldb/common/ldb_ldif.c d[byte_offset] |= (idx >> (bit_offset-2)); d 127 source3/lib/ldb/common/ldb_ldif.c d[byte_offset+1] = 0; d 128 source3/lib/ldb/common/ldb_ldif.c d[byte_offset+1] |= (idx << (8-(bit_offset-2))) & 0xFF; d 145 source3/lib/ldb/common/ldb_ldif.c d[n] = 0; d 158 source3/lib/ldb/common/ldb_ldif.c const uint8_t *d = (const uint8_t *)buf; d 169 source3/lib/ldb/common/ldb_ldif.c idx = (d[byte_offset] >> (2-bit_offset)) & 0x3F; d 171 source3/lib/ldb/common/ldb_ldif.c idx = (d[byte_offset] << (bit_offset-2)) & 0x3F; d 173 source3/lib/ldb/common/ldb_ldif.c idx |= (d[byte_offset+1] >> (8-(bit_offset-2))); d 407 source3/lib/ldb/ldb_tdb/ldb_index.c char **d; d 415 source3/lib/ldb/ldb_tdb/ldb_index.c d = talloc_realloc(list, list->dn, char *, list->count + list2->count); d 416 source3/lib/ldb/ldb_tdb/ldb_index.c if (!d) { d 419 source3/lib/ldb/ldb_tdb/ldb_index.c list->dn = d; d 863 source3/lib/time.c uint64_t d; d 879 source3/lib/time.c d=~*nt; d 881 source3/lib/time.c d += 1000*1000*10/2; d 882 source3/lib/time.c d /= 1000*1000*10; d 884 source3/lib/time.c if (!(TIME_T_MIN <= ((time_t)d) && ((time_t)d) <= TIME_T_MAX)) { d 888 source3/lib/time.c return (time_t)d; d 904 source3/lib/time.c uint64_t d; d 919 source3/lib/time.c d = ts.tv_sec; d 920 source3/lib/time.c d += TIME_FIXUP_CONSTANT_INT; d 921 source3/lib/time.c d *= 1000*1000*10; d 923 source3/lib/time.c d += (ts.tv_nsec / 100); d 925 source3/lib/time.c *nt = d; d 938 source3/lib/time.c double d; d 956 source3/lib/time.c d = (double)(t); d 957 source3/lib/time.c d *= 1.0e7; d 959 source3/lib/time.c *nt = (NTTIME)d; d 643 source3/lib/util_str.c char *d = dest; d 660 source3/lib/util_str.c while (n-- && (*d = *src)) { d 661 source3/lib/util_str.c d++; d 665 source3/lib/util_str.c *d = 0; d 1625 source3/lib/util_str.c ssize_t ls, lp, li, ld, i, d; d 1644 source3/lib/util_str.c d = p -t; d 1652 source3/lib/util_str.c memcpy(t, *list, d); d 1653 source3/lib/util_str.c memcpy(t +d +li, p +lp, ls -d -lp +1); d 1657 source3/lib/util_str.c s = t +d +li; d 1670 source3/lib/util_str.c t[d +i] = '_'; d 1673 source3/lib/util_str.c t[d +i] = insert[i]; d 1859 source3/lib/util_str.c unsigned char *d = decoded.data; d 1868 source3/lib/util_str.c d[byte_offset] &= ~((1<<(8-bit_offset))-1); d 1870 source3/lib/util_str.c d[byte_offset] |= (idx << (2-bit_offset)); d 1873 source3/lib/util_str.c d[byte_offset] |= (idx >> (bit_offset-2)); d 1874 source3/lib/util_str.c d[byte_offset+1] = 0; d 1875 source3/lib/util_str.c d[byte_offset+1] |= (idx << (8-(bit_offset-2))) & 0xFF; d 129 source3/lib/util_tdb.c uint32 d; d 155 source3/lib/util_tdb.c d = va_arg(ap, uint32); d 157 source3/lib/util_tdb.c SIVAL(buf, 0, d); d 162 source3/lib/util_tdb.c d = p?1:0; d 164 source3/lib/util_tdb.c SIVAL(buf, 0, d); d 264 source3/lib/util_tdb.c uint32 *d; d 294 source3/lib/util_tdb.c d = va_arg(ap, uint32 *); d 297 source3/lib/util_tdb.c *d = IVAL(buf, 0); d 103 source3/libsmb/clirap2.c #define PUTDWORD(p,d) do {SIVAL(p,0,d); p += DWORDSIZE;} while(0) d 105 source3/libsmb/clirap2.c #define GETDWORD(p,d,endp) \ d 108 source3/libsmb/clirap2.c d = IVAL(p,0);\ d 38 source3/libsmb/libsmb_dir.c struct smbc_dir_list *d,*f; d 40 source3/libsmb/libsmb_dir.c d = dir->dir_list; d 41 source3/libsmb/libsmb_dir.c while (d) { d 43 source3/libsmb/libsmb_dir.c f = d; d = d->next; d 1370 source3/libsmb/nmblib.c int d = PTR_DIFF(p,buf+ofs); d 1373 source3/libsmb/nmblib.c if (d < -50 || d > 50) d 156 source3/libsmb/smbdes.c static void lshift(char *d, int count, int n) d 161 source3/libsmb/smbdes.c out[i] = d[(i+count)%n]; d 163 source3/libsmb/smbdes.c d[i] = out[i]; d 186 source3/libsmb/smbdes.c char d[28]; d 198 source3/libsmb/smbdes.c d[i] = pk1[i+28]; d 202 source3/libsmb/smbdes.c lshift(d, sc[i], 28); d 204 source3/libsmb/smbdes.c concat(cd, c, d, 28, 28); d 148 source3/modules/charset_macosxfs.c char * d = line; d 150 source3/modules/charset_macosxfs.c d += sprintf(d, "%04X ", (unsigned)(len-restlen)); d 151 source3/modules/charset_macosxfs.c *d++ = ' '; d 153 source3/modules/charset_macosxfs.c d += sprintf(d, "%02X ", ((unsigned)s[i]) & 0xFF); d 156 source3/modules/charset_macosxfs.c d += sprintf(d, " "); d 158 source3/modules/charset_macosxfs.c *d++ = ' '; d 160 source3/modules/charset_macosxfs.c d += sprintf(d, "%02X ", ((unsigned)s[i]) & 0xFF); d 163 source3/modules/charset_macosxfs.c d += sprintf(d, " "); d 165 source3/modules/charset_macosxfs.c *d++ = ' '; d 168 source3/modules/charset_macosxfs.c *d++ = '.'; d 170 source3/modules/charset_macosxfs.c *d++ = s[i]; d 172 source3/modules/charset_macosxfs.c *d++ = '\n'; d 173 source3/modules/charset_macosxfs.c *d = 0; d 2802 source3/modules/getdate.c time_t d; d 2810 source3/modules/getdate.c d = get_date (buff, 0); d 2811 source3/modules/getdate.c if (d == (time_t) -1) d 2814 source3/modules/getdate.c printf ("%s", ctime (&d)); d 1101 source3/modules/getdate.y time_t d; d 1109 source3/modules/getdate.y d = get_date (buff, 0); d 1110 source3/modules/getdate.y if (d == (time_t) -1) d 1113 source3/modules/getdate.y printf ("%s", ctime (&d)); d 91 source3/modules/vfs_onefs_shadow_copy.c char *d; d 93 source3/modules/vfs_onefs_shadow_copy.c d = osc_version_readdir(p); d 94 source3/modules/vfs_onefs_shadow_copy.c if (d == NULL) d 97 source3/modules/vfs_onefs_shadow_copy.c if (!shadow_copy_match_name(d, &snap_component)) { d 99 source3/modules/vfs_onefs_shadow_copy.c "[%s]\n",d)); d 104 source3/modules/vfs_onefs_shadow_copy.c "[%s]\n",d)); d 125 source3/modules/vfs_onefs_shadow_copy.c sizeof(*tlabels), "%s",d); d 94 source3/modules/vfs_shadow_copy.c SMB_STRUCT_DIRENT *d; d 96 source3/modules/vfs_shadow_copy.c d = SMB_VFS_NEXT_READDIR(handle, p, NULL); d 97 source3/modules/vfs_shadow_copy.c if (d == NULL) { d 101 source3/modules/vfs_shadow_copy.c if (shadow_copy_match_name(d->d_name)) { d 102 source3/modules/vfs_shadow_copy.c DEBUG(8,("shadow_copy_opendir: hide [%s]\n",d->d_name)); d 106 source3/modules/vfs_shadow_copy.c DEBUG(10,("shadow_copy_opendir: not hide [%s]\n",d->d_name)); d 114 source3/modules/vfs_shadow_copy.c dirp->dirs[dirp->num++] = *d; d 177 source3/modules/vfs_shadow_copy.c SMB_STRUCT_DIRENT *d; d 179 source3/modules/vfs_shadow_copy.c d = SMB_VFS_NEXT_READDIR(handle, p, NULL); d 180 source3/modules/vfs_shadow_copy.c if (d == NULL) { d 185 source3/modules/vfs_shadow_copy.c if (!shadow_copy_match_name(d->d_name)) { d 186 source3/modules/vfs_shadow_copy.c DEBUG(10,("shadow_copy_get_shadow_copy_data: ignore [%s]\n",d->d_name)); d 190 source3/modules/vfs_shadow_copy.c DEBUG(7,("shadow_copy_get_shadow_copy_data: not ignore [%s]\n",d->d_name)); d 206 source3/modules/vfs_shadow_copy.c snprintf(tlabels[shadow_copy_data->num_volumes++], sizeof(*tlabels), "%s",d->d_name); d 501 source3/modules/vfs_shadow_copy2.c SMB_STRUCT_DIRENT *d; d 528 source3/modules/vfs_shadow_copy2.c while ((d = SMB_VFS_NEXT_READDIR(handle, p, NULL))) { d 532 source3/modules/vfs_shadow_copy2.c if (!shadow_copy2_match_name(d->d_name)) { d 551 source3/modules/vfs_shadow_copy2.c strlcpy(tlabels[shadow_copy2_data->num_volumes], d->d_name, sizeof(*tlabels)); d 66 source3/modules/vfs_syncops.c DIR *d = opendir(dname); d 67 source3/modules/vfs_syncops.c if (d != NULL) { d 68 source3/modules/vfs_syncops.c fsync(dirfd(d)); d 69 source3/modules/vfs_syncops.c closedir(d); d 2796 source3/printing/nt_printing.c NT_PRINTER_KEY *d; d 2804 source3/printing/nt_printing.c if ( !(d = TALLOC_REALLOC_ARRAY( data, data->keys, NT_PRINTER_KEY, data->num_keys+1)) ) { d 2809 source3/printing/nt_printing.c data->keys = d; d 4865 source3/printing/nt_printing.c NT_PRINTER_DRIVER_INFO_LEVEL d; d 4874 source3/printing/nt_printing.c werr = get_a_printer_driver( &d, 3, info_3->name, "Windows NT x86", DRIVER_ANY_VERSION ); d 4879 source3/printing/nt_printing.c werr = get_a_printer_driver( &d, 3, info_3->name, "Windows NT x86", 3 ); d 4882 source3/printing/nt_printing.c werr = get_a_printer_driver( &d, 3, info_3->name, "Windows NT x86", 2 ); d 4897 source3/printing/nt_printing.c free_a_printer_driver( d, 3 ); d 1765 source3/rpc_server/srv_spoolss_nt.c NT_PRINTER_INFO_LEVEL_2 *d) d 1769 source3/rpc_server/srv_spoolss_nt.c if (!r || !d) { d 1773 source3/rpc_server/srv_spoolss_nt.c d->attributes = r->attributes; d 1774 source3/rpc_server/srv_spoolss_nt.c d->priority = r->priority; d 1775 source3/rpc_server/srv_spoolss_nt.c d->default_priority = r->defaultpriority; d 1776 source3/rpc_server/srv_spoolss_nt.c d->starttime = r->starttime; d 1777 source3/rpc_server/srv_spoolss_nt.c d->untiltime = r->untiltime; d 1778 source3/rpc_server/srv_spoolss_nt.c d->status = r->status; d 1779 source3/rpc_server/srv_spoolss_nt.c d->cjobs = r->cjobs; d 1781 source3/rpc_server/srv_spoolss_nt.c fstrcpy(d->servername, r->servername); d 1782 source3/rpc_server/srv_spoolss_nt.c fstrcpy(d->printername, r->printername); d 1783 source3/rpc_server/srv_spoolss_nt.c fstrcpy(d->sharename, r->sharename); d 1784 source3/rpc_server/srv_spoolss_nt.c fstrcpy(d->portname, r->portname); d 1785 source3/rpc_server/srv_spoolss_nt.c fstrcpy(d->drivername, r->drivername); d 1786 source3/rpc_server/srv_spoolss_nt.c slprintf(d->comment, sizeof(d->comment)-1, "%s", r->comment); d 1787 source3/rpc_server/srv_spoolss_nt.c fstrcpy(d->location, r->location); d 1788 source3/rpc_server/srv_spoolss_nt.c fstrcpy(d->sepfile, r->sepfile); d 1789 source3/rpc_server/srv_spoolss_nt.c fstrcpy(d->printprocessor, r->printprocessor); d 1790 source3/rpc_server/srv_spoolss_nt.c fstrcpy(d->datatype, r->datatype); d 1791 source3/rpc_server/srv_spoolss_nt.c fstrcpy(d->parameters, r->parameters); d 1864 source3/rpc_server/srv_spoolss_nt.c NT_PRINTER_DRIVER_INFO_LEVEL_3 *d; d 1876 source3/rpc_server/srv_spoolss_nt.c d = *p; d 1878 source3/rpc_server/srv_spoolss_nt.c d->cversion = r->version; d 1880 source3/rpc_server/srv_spoolss_nt.c fstrcpy(d->name, r->driver_name); d 1881 source3/rpc_server/srv_spoolss_nt.c fstrcpy(d->environment, r->architecture); d 1882 source3/rpc_server/srv_spoolss_nt.c fstrcpy(d->driverpath, r->driver_path); d 1883 source3/rpc_server/srv_spoolss_nt.c fstrcpy(d->datafile, r->data_file); d 1884 source3/rpc_server/srv_spoolss_nt.c fstrcpy(d->configfile, r->config_file); d 1885 source3/rpc_server/srv_spoolss_nt.c fstrcpy(d->helpfile, r->help_file); d 1886 source3/rpc_server/srv_spoolss_nt.c fstrcpy(d->monitorname, r->monitor_name); d 1887 source3/rpc_server/srv_spoolss_nt.c fstrcpy(d->defaultdatatype, r->default_datatype); d 1889 source3/rpc_server/srv_spoolss_nt.c DEBUGADD(8,( "version: %d\n", d->cversion)); d 1890 source3/rpc_server/srv_spoolss_nt.c DEBUGADD(8,( "name: %s\n", d->name)); d 1891 source3/rpc_server/srv_spoolss_nt.c DEBUGADD(8,( "environment: %s\n", d->environment)); d 1892 source3/rpc_server/srv_spoolss_nt.c DEBUGADD(8,( "driverpath: %s\n", d->driverpath)); d 1893 source3/rpc_server/srv_spoolss_nt.c DEBUGADD(8,( "datafile: %s\n", d->datafile)); d 1894 source3/rpc_server/srv_spoolss_nt.c DEBUGADD(8,( "configfile: %s\n", d->configfile)); d 1895 source3/rpc_server/srv_spoolss_nt.c DEBUGADD(8,( "helpfile: %s\n", d->helpfile)); d 1896 source3/rpc_server/srv_spoolss_nt.c DEBUGADD(8,( "monitorname: %s\n", d->monitorname)); d 1897 source3/rpc_server/srv_spoolss_nt.c DEBUGADD(8,( "defaultdatatype: %s\n", d->defaultdatatype)); d 1901 source3/rpc_server/srv_spoolss_nt.c &d->dependentfiles)) { d 1916 source3/rpc_server/srv_spoolss_nt.c NT_PRINTER_DRIVER_INFO_LEVEL_6 *d; d 1928 source3/rpc_server/srv_spoolss_nt.c d = *p; d 1930 source3/rpc_server/srv_spoolss_nt.c d->version = r->version; d 1932 source3/rpc_server/srv_spoolss_nt.c fstrcpy(d->name, r->driver_name); d 1933 source3/rpc_server/srv_spoolss_nt.c fstrcpy(d->environment, r->architecture); d 1934 source3/rpc_server/srv_spoolss_nt.c fstrcpy(d->driverpath, r->driver_path); d 1935 source3/rpc_server/srv_spoolss_nt.c fstrcpy(d->datafile, r->data_file); d 1936 source3/rpc_server/srv_spoolss_nt.c fstrcpy(d->configfile, r->config_file); d 1937 source3/rpc_server/srv_spoolss_nt.c fstrcpy(d->helpfile, r->help_file); d 1938 source3/rpc_server/srv_spoolss_nt.c fstrcpy(d->monitorname, r->monitor_name); d 1939 source3/rpc_server/srv_spoolss_nt.c fstrcpy(d->defaultdatatype, r->default_datatype); d 1941 source3/rpc_server/srv_spoolss_nt.c DEBUGADD(8,( "version: %d\n", d->version)); d 1942 source3/rpc_server/srv_spoolss_nt.c DEBUGADD(8,( "name: %s\n", d->name)); d 1943 source3/rpc_server/srv_spoolss_nt.c DEBUGADD(8,( "environment: %s\n", d->environment)); d 1944 source3/rpc_server/srv_spoolss_nt.c DEBUGADD(8,( "driverpath: %s\n", d->driverpath)); d 1945 source3/rpc_server/srv_spoolss_nt.c DEBUGADD(8,( "datafile: %s\n", d->datafile)); d 1946 source3/rpc_server/srv_spoolss_nt.c DEBUGADD(8,( "configfile: %s\n", d->configfile)); d 1947 source3/rpc_server/srv_spoolss_nt.c DEBUGADD(8,( "helpfile: %s\n", d->helpfile)); d 1948 source3/rpc_server/srv_spoolss_nt.c DEBUGADD(8,( "monitorname: %s\n", d->monitorname)); d 1949 source3/rpc_server/srv_spoolss_nt.c DEBUGADD(8,( "defaultdatatype: %s\n", d->defaultdatatype)); d 1953 source3/rpc_server/srv_spoolss_nt.c &d->dependentfiles)) { d 1960 source3/rpc_server/srv_spoolss_nt.c &d->previousnames)) { d 299 source3/smbd/notify_internal.c struct notify_depth *d; d 304 source3/smbd/notify_internal.c d = talloc_realloc(notify->array, notify->array->depth, d 306 source3/smbd/notify_internal.c NT_STATUS_HAVE_NO_MEMORY(d); d 308 source3/smbd/notify_internal.c ZERO_STRUCT(d[i]); d 310 source3/smbd/notify_internal.c notify->array->depth = d; d 313 source3/smbd/notify_internal.c d = ¬ify->array->depth[depth]; d 316 source3/smbd/notify_internal.c ee = talloc_realloc(notify->array->depth, d->entries, struct notify_entry, d 317 source3/smbd/notify_internal.c d->num_entries+1); d 319 source3/smbd/notify_internal.c d->entries = ee; d 321 source3/smbd/notify_internal.c d->entries[d->num_entries] = *e; d 322 source3/smbd/notify_internal.c d->entries[d->num_entries].private_data = private_data; d 323 source3/smbd/notify_internal.c d->entries[d->num_entries].server = notify->server; d 324 source3/smbd/notify_internal.c d->entries[d->num_entries].path_len = strlen(e->path); d 325 source3/smbd/notify_internal.c d->num_entries++; d 327 source3/smbd/notify_internal.c d->max_mask |= e->filter; d 328 source3/smbd/notify_internal.c d->max_mask_subdir |= e->subdir_filter; d 330 source3/smbd/notify_internal.c if (d->num_entries > 1) { d 331 source3/smbd/notify_internal.c qsort(d->entries, d->num_entries, sizeof(d->entries[0]), notify_compare); d 335 source3/smbd/notify_internal.c d->max_mask = 0; d 336 source3/smbd/notify_internal.c d->max_mask_subdir = 0; d 338 source3/smbd/notify_internal.c for (i=0;i<d->num_entries;i++) { d 339 source3/smbd/notify_internal.c d->max_mask |= d->entries[i].filter; d 340 source3/smbd/notify_internal.c d->max_mask_subdir |= d->entries[i].subdir_filter; d 437 source3/smbd/notify_internal.c struct notify_depth *d; d 474 source3/smbd/notify_internal.c d = ¬ify->array->depth[depth]; d 476 source3/smbd/notify_internal.c for (i=0;i<d->num_entries;i++) { d 477 source3/smbd/notify_internal.c if (private_data == d->entries[i].private_data && d 478 source3/smbd/notify_internal.c cluster_id_equal(¬ify->server, &d->entries[i].server)) { d 482 source3/smbd/notify_internal.c if (i == d->num_entries) { d 487 source3/smbd/notify_internal.c if (i < d->num_entries-1) { d 488 source3/smbd/notify_internal.c memmove(&d->entries[i], &d->entries[i+1], d 489 source3/smbd/notify_internal.c sizeof(d->entries[i])*(d->num_entries-(i+1))); d 491 source3/smbd/notify_internal.c d->num_entries--; d 522 source3/smbd/notify_internal.c struct notify_depth *d = ¬ify->array->depth[depth]; d 523 source3/smbd/notify_internal.c for (i=0;i<d->num_entries;i++) { d 524 source3/smbd/notify_internal.c if (cluster_id_equal(server, &d->entries[i].server)) { d 525 source3/smbd/notify_internal.c if (i < d->num_entries-1) { d 526 source3/smbd/notify_internal.c memmove(&d->entries[i], &d->entries[i+1], d 527 source3/smbd/notify_internal.c sizeof(d->entries[i])*(d->num_entries-(i+1))); d 530 source3/smbd/notify_internal.c d->num_entries--; d 612 source3/smbd/notify_internal.c struct notify_depth *d = ¬ify->array->depth[depth]; d 616 source3/smbd/notify_internal.c if (d->num_entries == 0) continue; d 622 source3/smbd/notify_internal.c if (0 == (filter & d->max_mask_subdir)) { d 626 source3/smbd/notify_internal.c if (0 == (filter & d->max_mask)) { d 635 source3/smbd/notify_internal.c max_i = d->num_entries-1; d 641 source3/smbd/notify_internal.c e = &d->entries[i]; d 662 source3/smbd/notify_internal.c for (i=min_i;i<d->num_entries;i++) { d 663 source3/smbd/notify_internal.c struct notify_entry *e = &d->entries[i]; d 47 source3/smbd/reply.c char *d = path; d 103 source3/smbd/reply.c if ((d != path) && (*s != '\0')) { d 105 source3/smbd/reply.c *d++ = '/'; d 123 source3/smbd/reply.c if ((d > path) && (*(d-1) == '/')) { d 124 source3/smbd/reply.c *(d-1) = '\0'; d 125 source3/smbd/reply.c d--; d 129 source3/smbd/reply.c if (d <= path) { d 137 source3/smbd/reply.c for (d--; d > path; d--) { d 138 source3/smbd/reply.c if (*d == '/') d 172 source3/smbd/reply.c *d++ = *s++; d 179 source3/smbd/reply.c *d++ = *s++; d 182 source3/smbd/reply.c *d++ = *s++; d 185 source3/smbd/reply.c *d++ = *s++; d 188 source3/smbd/reply.c *d++ = *s++; d 191 source3/smbd/reply.c *d++ = *s++; d 195 source3/smbd/reply.c *d = '\0'; d 202 source3/smbd/reply.c *d = '\0'; d 55 source3/smbd/service.c char *d; d 67 source3/smbd/service.c d = destname; d 69 source3/smbd/service.c *d++ = '/'; /* Always start with root. */ d 77 source3/smbd/service.c if ((d > destname + 1) && (*s != '\0')) { d 78 source3/smbd/service.c *d++ = '/'; d 96 source3/smbd/service.c if ((d > destname) && (*(d-1) == '/')) { d 97 source3/smbd/service.c *(d-1) = '\0'; d 98 source3/smbd/service.c d--; d 102 source3/smbd/service.c if (d <= destname) { d 103 source3/smbd/service.c *d++ = '/'; /* Can't delete root */ d 108 source3/smbd/service.c for (d--; d > destname; d--) { d 109 source3/smbd/service.c if (*d == '/') { d 127 source3/smbd/service.c *d++ = *s++; d 134 source3/smbd/service.c *d++ = *s++; d 137 source3/smbd/service.c *d++ = *s++; d 140 source3/smbd/service.c *d++ = *s++; d 143 source3/smbd/service.c *d++ = *s++; d 146 source3/smbd/service.c *d++ = *s++; d 154 source3/smbd/service.c *d = '\0'; d 157 source3/smbd/service.c if (d > destname + 1 && (*(d-1) == '/')) { d 158 source3/smbd/service.c *(d-1) = '\0'; d 1165 source3/utils/net_rpc_printer.c int d; d 1192 source3/utils/net_rpc_printer.c for (d = 0; d < num_drivers; d++) { d 1193 source3/utils/net_rpc_printer.c display_print_driver3(&info[d].info3); d 381 source3/utils/net_util.c const char *d = domain ? domain : c->opt_target_workgroup; d 404 source3/utils/net_util.c if (!get_pdc_ip(d, &pdc_ss)) { d 413 source3/utils/net_util.c if (!name_status_find(d, 0x1b, 0x20, &pdc_ss, dc_name)) { d 424 source3/utils/net_util.c if (!resolve_name(d, &msbrow_ss, 0x1B)) { d 434 source3/utils/net_util.c if (!resolve_name(d, &brow_ss, 0x1D)) { d 27 source3/utils/rpccheck.c char d=0; d 48 source3/utils/rpccheck.c d=strtol(s, NULL, 16); d 49 source3/utils/rpccheck.c if(!prs_append_data(&ps, &d, 1)) d 921 source3/utils/smbcontrol.c TDB_DATA d; d 924 source3/utils/smbcontrol.c ZERO_STRUCT(d); d 927 source3/utils/smbcontrol.c d.dptr = buf; d 928 source3/utils/smbcontrol.c d.dsize = 4; d 930 source3/utils/smbcontrol.c tdb_store_bystring(tdb, "WINBINDD_OFFLINE", d, TDB_INSERT); d 936 source3/utils/smbcontrol.c d = tdb_fetch_bystring( tdb, "WINBINDD_OFFLINE" ); d 938 source3/utils/smbcontrol.c if (!d.dptr || d.dsize != 4) { d 939 source3/utils/smbcontrol.c SAFE_FREE(d.dptr); d 942 source3/utils/smbcontrol.c SAFE_FREE(d.dptr); d 1329 source3/winbindd/winbindd_ads.c struct winbindd_domain d; d 1331 source3/winbindd/winbindd_ads.c ZERO_STRUCT(d); d 1357 source3/winbindd/winbindd_ads.c fstrcpy( d.name, trusts.array[i].netbios_name); d 1358 source3/winbindd/winbindd_ads.c fstrcpy( d.alt_name, trusts.array[i].dns_name); d 1360 source3/winbindd/winbindd_ads.c sid_copy( &d.sid, trusts.array[i].sid); d 1362 source3/winbindd/winbindd_ads.c sid_copy(&d.sid, &global_sid_NULL); d 1369 source3/winbindd/winbindd_ads.c domain->name, d.alt_name)); d 1371 source3/winbindd/winbindd_ads.c d.domain_flags = trusts.array[i].trust_flags; d 1372 source3/winbindd/winbindd_ads.c d.domain_type = trusts.array[i].trust_type; d 1373 source3/winbindd/winbindd_ads.c d.domain_trust_attribs = trusts.array[i].trust_attributes; d 1375 source3/winbindd/winbindd_ads.c wcache_tdc_add_domain( &d ); d 1391 source3/winbindd/winbindd_ads.c domain->name, d.alt_name)); d 1392 source3/winbindd/winbindd_ads.c d.domain_flags = trusts.array[i].trust_flags; d 1393 source3/winbindd/winbindd_ads.c d.domain_type = trusts.array[i].trust_type; d 1394 source3/winbindd/winbindd_ads.c d.domain_trust_attribs = trusts.array[i].trust_attributes; d 1396 source3/winbindd/winbindd_ads.c wcache_tdc_add_domain( &d ); d 1413 source3/winbindd/winbindd_ads.c domain->name, d.alt_name)); d 1417 source3/winbindd/winbindd_ads.c d.domain_flags = parent->trust_flags; d 1418 source3/winbindd/winbindd_ads.c d.domain_type = parent->trust_type; d 1419 source3/winbindd/winbindd_ads.c d.domain_trust_attribs = parent->trust_attribs; d 1421 source3/winbindd/winbindd_ads.c d.domain_flags = domain->domain_flags; d 1422 source3/winbindd/winbindd_ads.c d.domain_type = domain->domain_type; d 1423 source3/winbindd/winbindd_ads.c d.domain_trust_attribs = domain->domain_trust_attribs; d 1427 source3/winbindd/winbindd_ads.c wcache_tdc_add_domain( &d ); d 4139 source3/winbindd/winbindd_cache.c struct winbindd_tdc_domain *d = NULL; d 4158 source3/winbindd/winbindd_cache.c d = TALLOC_P( ctx, struct winbindd_tdc_domain ); d 4159 source3/winbindd/winbindd_cache.c if ( !d ) d 4162 source3/winbindd/winbindd_cache.c d->domain_name = talloc_strdup( d, dom_list[i].domain_name ); d 4163 source3/winbindd/winbindd_cache.c d->dns_name = talloc_strdup( d, dom_list[i].dns_name ); d 4164 source3/winbindd/winbindd_cache.c sid_copy( &d->sid, &dom_list[i].sid ); d 4165 source3/winbindd/winbindd_cache.c d->trust_flags = dom_list[i].trust_flags; d 4166 source3/winbindd/winbindd_cache.c d->trust_type = dom_list[i].trust_type; d 4167 source3/winbindd/winbindd_cache.c d->trust_attribs = dom_list[i].trust_attribs; d 4175 source3/winbindd/winbindd_cache.c return d; d 443 source3/winbindd/winbindd_group.c struct winbindd_domain *d, d 468 source3/winbindd/winbindd_group.c status = d->methods->lookup_groupmem(d, tmp_ctx, d 281 source3/winbindd/winbindd_misc.c struct winbindd_tdc_domain *d = NULL; d 299 source3/winbindd/winbindd_misc.c d = &dom_list[i]; d 300 source3/winbindd/winbindd_misc.c domain = find_domain_from_name_noinit(d->domain_name); d 308 source3/winbindd/winbindd_misc.c d->domain_name, d 309 source3/winbindd/winbindd_misc.c d->dns_name ? d->dns_name : d->domain_name, d 310 source3/winbindd/winbindd_misc.c sid_string_talloc(state->mem_ctx, &d->sid), d 311 source3/winbindd/winbindd_misc.c get_trust_type_string(d), d 312 source3/winbindd/winbindd_misc.c trust_is_transitive(d) ? "Yes" : "No", d 313 source3/winbindd/winbindd_misc.c trust_is_inbound(d) ? "Yes" : "No", d 314 source3/winbindd/winbindd_misc.c trust_is_outbound(d) ? "Yes" : "No", d 320 source3/winbindd/winbindd_misc.c d->domain_name, d 321 source3/winbindd/winbindd_misc.c d->dns_name ? d->dns_name : d->domain_name, d 322 source3/winbindd/winbindd_misc.c sid_string_talloc(state->mem_ctx, &d->sid), d 323 source3/winbindd/winbindd_misc.c get_trust_type_string(d), d 324 source3/winbindd/winbindd_misc.c trust_is_transitive(d) ? "Yes" : "No", d 325 source3/winbindd/winbindd_misc.c trust_is_inbound(d) ? "Yes" : "No", d 326 source3/winbindd/winbindd_misc.c trust_is_outbound(d) ? "Yes" : "No", d 427 source3/winbindd/winbindd_util.c struct winbindd_domain *d = NULL; d 439 source3/winbindd/winbindd_util.c d = find_domain_from_name_noinit( dom_list[i].domain_name ); d 441 source3/winbindd/winbindd_util.c if ( !d ) { d 442 source3/winbindd/winbindd_util.c d = add_trusted_domain( dom_list[i].domain_name, d 448 source3/winbindd/winbindd_util.c if (d == NULL) { d 454 source3/winbindd/winbindd_util.c d->name, d->alt_name )); d 456 source3/winbindd/winbindd_util.c d->domain_flags = dom_list[i].trust_flags; d 457 source3/winbindd/winbindd_util.c d->domain_type = dom_list[i].trust_type; d 458 source3/winbindd/winbindd_util.c d->domain_trust_attribs = dom_list[i].trust_attribs; d 460 source3/winbindd/winbindd_util.c add_trusted_domains( d ); d 477 source3/winbindd/winbindd_util.c struct winbindd_domain *d = NULL; d 496 source3/winbindd/winbindd_util.c d = find_domain_from_name_noinit( dom_list[i].domain_name ); d 500 source3/winbindd/winbindd_util.c if ( d && (d->internal || d->primary ) ) d 510 source3/winbindd/winbindd_util.c if ( !d ) { d 511 source3/winbindd/winbindd_util.c d = add_trusted_domain( dom_list[i].domain_name, d 517 source3/winbindd/winbindd_util.c if (d == NULL) { d 522 source3/winbindd/winbindd_util.c d->name, d->alt_name )); d 523 source3/winbindd/winbindd_util.c add_trusted_domains( d ); d 53 source4/auth/ntlm/auth_util.c char *d; d 70 source4/auth/ntlm/auth_util.c d = strchr_m(account_name, '@'); d 71 source4/auth/ntlm/auth_util.c if (!d) { d 74 source4/auth/ntlm/auth_util.c d[0] = '\0'; d 75 source4/auth/ntlm/auth_util.c d++; d 76 source4/auth/ntlm/auth_util.c domain = d; d 2434 source4/client/client.c char d[PATH_MAX]; d 2438 source4/client/client.c DEBUG(2,("the local directory is now %s\n",getcwd(d, PATH_MAX))); d 27 source4/client/smbmount.c #define pstrcpy(d,s) safe_strcpy((d),(s),sizeof(pstring)-1) d 28 source4/client/smbmount.c #define pstrcat(d,s) safe_strcat((d),(s),sizeof(pstring)-1) d 273 source4/dsdb/repl/replicated_objects.c struct drsuapi_DsReplicaMetaData *d; d 278 source4/dsdb/repl/replicated_objects.c d = &in->meta_data_ctr->meta_data[i]; d 289 source4/dsdb/repl/replicated_objects.c m->version = d->version; d 290 source4/dsdb/repl/replicated_objects.c m->originating_change_time = d->originating_change_time; d 291 source4/dsdb/repl/replicated_objects.c m->originating_invocation_id = d->originating_invocation_id; d 292 source4/dsdb/repl/replicated_objects.c m->originating_usn = d->originating_usn; d 295 source4/dsdb/repl/replicated_objects.c if (d->originating_change_time > whenChanged) { d 296 source4/dsdb/repl/replicated_objects.c whenChanged = d->originating_change_time; d 301 source4/dsdb/repl/replicated_objects.c name_d = d; d 109 source4/heimdal/kdc/digest.c struct ntlm_buf d; d 129 source4/heimdal/kdc/digest.c ret = heim_ntlm_encode_targetinfo(&ti, 1, &d); d 133 source4/heimdal/kdc/digest.c data->data = d.data; d 134 source4/heimdal/kdc/digest.c data->length = d.length; d 170 source4/heimdal/kdc/process.c krb5_data d; d 174 source4/heimdal/kdc/process.c d.data = rk_UNCONST(buf); d 175 source4/heimdal/kdc/process.c d.length = len; d 199 source4/heimdal/kdc/process.c krb5_store_data(sp, d); d 618 source4/heimdal/kuser/kinit.c unsigned char d = 0; d 622 source4/heimdal/kuser/kinit.c d |= 1; d 624 source4/heimdal/kuser/kinit.c d |= 2; d 627 source4/heimdal/kuser/kinit.c data.data = &d; d 46 source4/heimdal/lib/com_err/error.c #define dgettext(d,s) (s) d 262 source4/heimdal/lib/hcrypto/bn.c void *d = realloc(hi->data, len); d 263 source4/heimdal/lib/hcrypto/bn.c if (d == NULL) d 265 source4/heimdal/lib/hcrypto/bn.c hi->data = d; d 229 source4/heimdal/lib/hcrypto/des.c uint32_t c, d; d 247 source4/heimdal/lib/hcrypto/des.c d = (pc1_d_3[(t2 >> (1 )) & 0x7] << 3) d 260 source4/heimdal/lib/hcrypto/des.c ROTATE_LEFT28(d, shifts[i]); d 266 source4/heimdal/lib/hcrypto/des.c kd = pc2_d_1[(d >> 22) & 0x3f] | d 267 source4/heimdal/lib/hcrypto/des.c pc2_d_2[((d >> 15) & 0x30) | ((d >> 14) & 0xf)] | d 268 source4/heimdal/lib/hcrypto/des.c pc2_d_3[ (d >> 7 ) & 0x3f] | d 269 source4/heimdal/lib/hcrypto/des.c pc2_d_4[((d >> 1 ) & 0x3c) | ((d ) & 0x3)]; d 199 source4/heimdal/lib/hcrypto/engine.c ENGINE **d, *dup; d 207 source4/heimdal/lib/hcrypto/engine.c d = realloc(engines, (num_engines + 1) * sizeof(*engines)); d 208 source4/heimdal/lib/hcrypto/engine.c if (d == NULL) d 210 source4/heimdal/lib/hcrypto/engine.c engines = d; d 1799 source4/heimdal/lib/hcrypto/imath/imath.c mp_digit d; d 1804 source4/heimdal/lib/hcrypto/imath/imath.c d = s_ddiv(&tmp, (mp_digit)radix); d 1805 source4/heimdal/lib/hcrypto/imath/imath.c *str++ = s_val2ch(d, 1); d 1930 source4/heimdal/lib/hcrypto/imath/imath.c mp_digit d; d 1940 source4/heimdal/lib/hcrypto/imath/imath.c d = z->digits[uz]; d 1942 source4/heimdal/lib/hcrypto/imath/imath.c while(d != 0) { d 1943 source4/heimdal/lib/hcrypto/imath/imath.c d >>= 1; d 2709 source4/heimdal/lib/hcrypto/imath/imath.c mp_digit d = 0, *dz, save; d 2718 source4/heimdal/lib/hcrypto/imath/imath.c *dz = (*dz >> nbits) | (d << up); d 2719 source4/heimdal/lib/hcrypto/imath/imath.c d = save; d 2753 source4/heimdal/lib/hcrypto/imath/imath.c mp_digit *from, *to, d; d 2790 source4/heimdal/lib/hcrypto/imath/imath.c d = 0; d 2794 source4/heimdal/lib/hcrypto/imath/imath.c *from = (*from << rest) | (d >> (MP_DIGIT_BIT - rest)); d 2795 source4/heimdal/lib/hcrypto/imath/imath.c d = save; d 2798 source4/heimdal/lib/hcrypto/imath/imath.c d >>= (MP_DIGIT_BIT - rest); d 2799 source4/heimdal/lib/hcrypto/imath/imath.c if(d != 0) { d 2800 source4/heimdal/lib/hcrypto/imath/imath.c *from = d; d 2852 source4/heimdal/lib/hcrypto/imath/imath.c mp_digit *dp = MP_DIGITS(z), d; d 2862 source4/heimdal/lib/hcrypto/imath/imath.c d = *dp; d 2863 source4/heimdal/lib/hcrypto/imath/imath.c while((d & 1) == 0) { d 2864 source4/heimdal/lib/hcrypto/imath/imath.c d >>= 1; d 2878 source4/heimdal/lib/hcrypto/imath/imath.c mp_digit *dz = MP_DIGITS(z), d; d 2887 source4/heimdal/lib/hcrypto/imath/imath.c d = *dz; d 2888 source4/heimdal/lib/hcrypto/imath/imath.c while(d > 1) { d 2889 source4/heimdal/lib/hcrypto/imath/imath.c if(d & 1) d 2891 source4/heimdal/lib/hcrypto/imath/imath.c ++k; d >>= 1; d 2926 source4/heimdal/lib/hcrypto/imath/imath.c mp_digit d = b->digits[MP_USED(b) - 1]; d 2929 source4/heimdal/lib/hcrypto/imath/imath.c while(d < (mp_digit) (1 << (MP_DIGIT_BIT - 1))) { /* d < (MP_RADIX / 2) */ d 2930 source4/heimdal/lib/hcrypto/imath/imath.c d <<= 1; d 3013 source4/heimdal/lib/hcrypto/imath/imath.c mp_digit *db, *dbt, umu, d; d 3031 source4/heimdal/lib/hcrypto/imath/imath.c for(d = *db, i = MP_DIGIT_BIT; i > 0; --i, d >>= 1) { d 3032 source4/heimdal/lib/hcrypto/imath/imath.c if(d & 1) { d 3057 source4/heimdal/lib/hcrypto/imath/imath.c d = *dbt; d 3059 source4/heimdal/lib/hcrypto/imath/imath.c if(d & 1) { d 3067 source4/heimdal/lib/hcrypto/imath/imath.c d >>= 1; d 3068 source4/heimdal/lib/hcrypto/imath/imath.c if(!d) break; d 3284 source4/heimdal/lib/hcrypto/imath/imath.c mp_digit d = *dz++; d 3288 source4/heimdal/lib/hcrypto/imath/imath.c buf[pos++] = (unsigned char)d; d 3289 source4/heimdal/lib/hcrypto/imath/imath.c d >>= CHAR_BIT; d 3292 source4/heimdal/lib/hcrypto/imath/imath.c if(d == 0 && uz == 1) d 64 source4/heimdal/lib/hcrypto/md4.c #define DOIT(a,b,c,d,k,s,i,OP) \ d 65 source4/heimdal/lib/hcrypto/md4.c a = cshift(a + OP(b,c,d) + X[k] + i, s) d 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) d 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) d 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) d 65 source4/heimdal/lib/hcrypto/md5.c #define DOIT(a,b,c,d,k,s,i,OP) \ d 66 source4/heimdal/lib/hcrypto/md5.c a = b + cshift(a + OP(b,c,d) + X[k] + (i), s) d 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) d 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) d 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) d 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) d 360 source4/heimdal/lib/hcrypto/rsa-imath.c mpz_t d; d 362 source4/heimdal/lib/hcrypto/rsa-imath.c BN2mpz(&d, rsa->d); d 363 source4/heimdal/lib/hcrypto/rsa-imath.c res = mp_int_exptmod(&in, &d, &n, &out); d 364 source4/heimdal/lib/hcrypto/rsa-imath.c mp_int_clear(&d); d 451 source4/heimdal/lib/hcrypto/rsa-imath.c mpz_t d; d 457 source4/heimdal/lib/hcrypto/rsa-imath.c BN2mpz(&d, rsa->d); d 458 source4/heimdal/lib/hcrypto/rsa-imath.c res = mp_int_exptmod(&in, &d, &n, &out); d 459 source4/heimdal/lib/hcrypto/rsa-imath.c mp_int_clear(&d); d 529 source4/heimdal/lib/hcrypto/rsa-imath.c mpz_t el, p, q, n, d, dmp1, dmq1, iqmp, t1, t2, t3; d 541 source4/heimdal/lib/hcrypto/rsa-imath.c mp_int_init(&d); d 590 source4/heimdal/lib/hcrypto/rsa-imath.c CHECK(mp_int_invmod(&el, &t3, &d), MP_OK); d 593 source4/heimdal/lib/hcrypto/rsa-imath.c CHECK(mp_int_mod(&d, &t1, &dmp1), MP_OK); d 595 source4/heimdal/lib/hcrypto/rsa-imath.c CHECK(mp_int_mod(&d, &t2, &dmq1), MP_OK); d 605 source4/heimdal/lib/hcrypto/rsa-imath.c rsa->d = mpz2BN(&d); d 616 source4/heimdal/lib/hcrypto/rsa-imath.c mp_int_clear(&d); d 143 source4/heimdal/lib/hcrypto/rsa.c free_if(rsa->d); d 263 source4/heimdal/lib/hcrypto/rsa.c if ((rsa->d == NULL || rsa->n == NULL) && d 460 source4/heimdal/lib/hcrypto/rsa.c k->d = heim_int2BN(&data.privateExponent); d 468 source4/heimdal/lib/hcrypto/rsa.c if (k->n == NULL || k->e == NULL || k->d == NULL || k->p == NULL || d 485 source4/heimdal/lib/hcrypto/rsa.c if (rsa->n == NULL || rsa->e == NULL || rsa->d == NULL || rsa->p == NULL || d 494 source4/heimdal/lib/hcrypto/rsa.c ret |= bn2heim_int(rsa->d, &data.privateExponent); d 104 source4/heimdal/lib/hcrypto/rsa.h BIGNUM *d; d 49 source4/heimdal/lib/hdb/db.c DB *d = (DB*)db->hdb_db; d 50 source4/heimdal/lib/hdb/db.c (*d->close)(d); d 68 source4/heimdal/lib/hdb/db.c DB *d = (DB*)db->hdb_db; d 69 source4/heimdal/lib/hdb/db.c int fd = (*d->fd)(d); d 81 source4/heimdal/lib/hdb/db.c DB *d = (DB*)db->hdb_db; d 82 source4/heimdal/lib/hdb/db.c int fd = (*d->fd)(d); d 96 source4/heimdal/lib/hdb/db.c DB *d = (DB*)db->hdb_db; d 106 source4/heimdal/lib/hdb/db.c code = (*d->seq)(d, &key, &value, flag); d 180 source4/heimdal/lib/hdb/db.c DB *d = (DB*)db->hdb_db; d 189 source4/heimdal/lib/hdb/db.c code = (*d->get)(d, &k, &v, 0); d 210 source4/heimdal/lib/hdb/db.c DB *d = (DB*)db->hdb_db; d 221 source4/heimdal/lib/hdb/db.c code = (*d->put)(d, &k, &v, replace ? 0 : R_NOOVERWRITE); d 239 source4/heimdal/lib/hdb/db.c DB *d = (DB*)db->hdb_db; d 247 source4/heimdal/lib/hdb/db.c code = (*d->del)(d, &k, 0); d 53 source4/heimdal/lib/hdb/keytab.c struct hdb_data *d; d 56 source4/heimdal/lib/hdb/keytab.c d = malloc(sizeof(*d)); d 57 source4/heimdal/lib/hdb/keytab.c if(d == NULL) { d 65 source4/heimdal/lib/hdb/keytab.c d->dbname = NULL; d 67 source4/heimdal/lib/hdb/keytab.c d->dbname = strdup(name); d 68 source4/heimdal/lib/hdb/keytab.c if(d->dbname == NULL) { d 69 source4/heimdal/lib/hdb/keytab.c free(d); d 74 source4/heimdal/lib/hdb/keytab.c d->mkey = NULL; d 77 source4/heimdal/lib/hdb/keytab.c d->dbname = NULL; d 79 source4/heimdal/lib/hdb/keytab.c d->dbname = malloc(mkey - db + 1); d 80 source4/heimdal/lib/hdb/keytab.c if(d->dbname == NULL) { d 81 source4/heimdal/lib/hdb/keytab.c free(d); d 85 source4/heimdal/lib/hdb/keytab.c memmove(d->dbname, db, mkey - db); d 86 source4/heimdal/lib/hdb/keytab.c d->dbname[mkey - db] = '\0'; d 88 source4/heimdal/lib/hdb/keytab.c d->mkey = strdup(mkey + 1); d 89 source4/heimdal/lib/hdb/keytab.c if(d->mkey == NULL) { d 90 source4/heimdal/lib/hdb/keytab.c free(d->dbname); d 91 source4/heimdal/lib/hdb/keytab.c free(d); d 96 source4/heimdal/lib/hdb/keytab.c id->data = d; d 103 source4/heimdal/lib/hdb/keytab.c struct hdb_data *d = id->data; d 105 source4/heimdal/lib/hdb/keytab.c free(d->dbname); d 106 source4/heimdal/lib/hdb/keytab.c free(d->mkey); d 107 source4/heimdal/lib/hdb/keytab.c free(d); d 117 source4/heimdal/lib/hdb/keytab.c struct hdb_data *d = id->data; d 120 source4/heimdal/lib/hdb/keytab.c d->dbname ? d->dbname : "", d 121 source4/heimdal/lib/hdb/keytab.c (d->dbname || d->mkey) ? ":" : "", d 122 source4/heimdal/lib/hdb/keytab.c d->mkey ? d->mkey : ""); d 198 source4/heimdal/lib/hdb/keytab.c struct hdb_data *d = id->data; d 201 source4/heimdal/lib/hdb/keytab.c const char *dbname = d->dbname; d 202 source4/heimdal/lib/hdb/keytab.c const char *mkey = d->mkey; d 67 source4/heimdal/lib/hdb/ndbm.c struct ndbm_db *d = db->hdb_db; d 68 source4/heimdal/lib/hdb/ndbm.c return hdb_lock(d->lock_fd, operation); d 74 source4/heimdal/lib/hdb/ndbm.c struct ndbm_db *d = db->hdb_db; d 75 source4/heimdal/lib/hdb/ndbm.c return hdb_unlock(d->lock_fd); d 83 source4/heimdal/lib/hdb/ndbm.c struct ndbm_db *d = (struct ndbm_db *)db->hdb_db; d 89 source4/heimdal/lib/hdb/ndbm.c key = dbm_firstkey(d->db); d 91 source4/heimdal/lib/hdb/ndbm.c key = dbm_nextkey(d->db); d 98 source4/heimdal/lib/hdb/ndbm.c value = dbm_fetch(d->db, key); d 141 source4/heimdal/lib/hdb/ndbm.c struct ndbm_db *d = db->hdb_db; d 195 source4/heimdal/lib/hdb/ndbm.c close(d->lock_fd); d 196 source4/heimdal/lib/hdb/ndbm.c d->lock_fd = lock_fd; d 206 source4/heimdal/lib/hdb/ndbm.c struct ndbm_db *d = (struct ndbm_db *)db->hdb_db; d 215 source4/heimdal/lib/hdb/ndbm.c v = dbm_fetch(d->db, k); d 228 source4/heimdal/lib/hdb/ndbm.c struct ndbm_db *d = (struct ndbm_db *)db->hdb_db; d 240 source4/heimdal/lib/hdb/ndbm.c code = dbm_store(d->db, k, v, replace ? DBM_REPLACE : DBM_INSERT); d 252 source4/heimdal/lib/hdb/ndbm.c struct ndbm_db *d = (struct ndbm_db *)db->hdb_db; d 261 source4/heimdal/lib/hdb/ndbm.c code = dbm_delete(d->db, k); d 272 source4/heimdal/lib/hdb/ndbm.c struct ndbm_db *d = db->hdb_db; d 273 source4/heimdal/lib/hdb/ndbm.c dbm_close(d->db); d 274 source4/heimdal/lib/hdb/ndbm.c close(d->lock_fd); d 275 source4/heimdal/lib/hdb/ndbm.c free(d); d 283 source4/heimdal/lib/hdb/ndbm.c struct ndbm_db *d = malloc(sizeof(*d)); d 286 source4/heimdal/lib/hdb/ndbm.c if(d == NULL) { d 292 source4/heimdal/lib/hdb/ndbm.c free(d); d 296 source4/heimdal/lib/hdb/ndbm.c d->db = dbm_open((char*)db->hdb_name, flags, mode); d 297 source4/heimdal/lib/hdb/ndbm.c if(d->db == NULL){ d 299 source4/heimdal/lib/hdb/ndbm.c free(d); d 305 source4/heimdal/lib/hdb/ndbm.c d->lock_fd = open(lock_file, O_RDWR | O_CREAT, 0600); d 306 source4/heimdal/lib/hdb/ndbm.c if(d->lock_fd < 0){ d 308 source4/heimdal/lib/hdb/ndbm.c dbm_close(d->db); d 309 source4/heimdal/lib/hdb/ndbm.c free(d); d 316 source4/heimdal/lib/hdb/ndbm.c db->hdb_db = d; d 2405 source4/heimdal/lib/hx509/cert.c void *d; d 2410 source4/heimdal/lib/hx509/cert.c d = realloc(cert->attrs.val, d 2412 source4/heimdal/lib/hx509/cert.c if (d == NULL) { d 2416 source4/heimdal/lib/hx509/cert.c cert->attrs.val = d; d 1039 source4/heimdal/lib/hx509/cms.c void *d; d 1042 source4/heimdal/lib/hx509/cms.c d = realloc(*attr, sizeof((*attr)[0]) * (*len + 1)); d 1043 source4/heimdal/lib/hx509/cms.c if (d == NULL) d 1045 source4/heimdal/lib/hx509/cms.c (*attr) = d; d 123 source4/heimdal/lib/hx509/collector.c void *d; d 130 source4/heimdal/lib/hx509/collector.c d = realloc(c->val.data, (c->val.len + 1) * sizeof(c->val.data[0])); d 131 source4/heimdal/lib/hx509/collector.c if (d == NULL) { d 136 source4/heimdal/lib/hx509/collector.c c->val.data = d; d 2484 source4/heimdal/lib/hx509/crypto.c if (rsa->d == NULL || rsa->p == NULL || rsa->q == NULL) d 2506 source4/heimdal/lib/hx509/crypto.c rsa->d = BN_dup(private_key->private_key.rsa->d); d 2514 source4/heimdal/lib/hx509/crypto.c rsa->d == NULL || rsa->p == NULL|| rsa->q == NULL || d 103 source4/heimdal/lib/hx509/ks_dir.c struct dircursor *d; d 107 source4/heimdal/lib/hx509/ks_dir.c d = calloc(1, sizeof(*d)); d 108 source4/heimdal/lib/hx509/ks_dir.c if (d == NULL) { d 113 source4/heimdal/lib/hx509/ks_dir.c d->dir = opendir(data); d 114 source4/heimdal/lib/hx509/ks_dir.c if (d->dir == NULL) { d 116 source4/heimdal/lib/hx509/ks_dir.c free(d); d 119 source4/heimdal/lib/hx509/ks_dir.c rk_cloexec(dirfd(d->dir)); d 120 source4/heimdal/lib/hx509/ks_dir.c d->certs = NULL; d 121 source4/heimdal/lib/hx509/ks_dir.c d->iter = NULL; d 123 source4/heimdal/lib/hx509/ks_dir.c *cursor = d; d 131 source4/heimdal/lib/hx509/ks_dir.c struct dircursor *d = iter; d 140 source4/heimdal/lib/hx509/ks_dir.c if (d->certs) { d 141 source4/heimdal/lib/hx509/ks_dir.c ret = hx509_certs_next_cert(context, d->certs, d->iter, cert); d 143 source4/heimdal/lib/hx509/ks_dir.c hx509_certs_end_seq(context, d->certs, d->iter); d 144 source4/heimdal/lib/hx509/ks_dir.c d->iter = NULL; d 145 source4/heimdal/lib/hx509/ks_dir.c hx509_certs_free(&d->certs); d 152 source4/heimdal/lib/hx509/ks_dir.c hx509_certs_end_seq(context, d->certs, d->iter); d 153 source4/heimdal/lib/hx509/ks_dir.c d->iter = NULL; d 154 source4/heimdal/lib/hx509/ks_dir.c hx509_certs_free(&d->certs); d 157 source4/heimdal/lib/hx509/ks_dir.c dir = readdir(d->dir); d 168 source4/heimdal/lib/hx509/ks_dir.c ret = hx509_certs_init(context, fn, 0, NULL, &d->certs); d 171 source4/heimdal/lib/hx509/ks_dir.c ret = hx509_certs_start_seq(context, d->certs, &d->iter); d 173 source4/heimdal/lib/hx509/ks_dir.c hx509_certs_free(&d->certs); d 177 source4/heimdal/lib/hx509/ks_dir.c d->certs = NULL; d 194 source4/heimdal/lib/hx509/ks_dir.c struct dircursor *d = cursor; d 196 source4/heimdal/lib/hx509/ks_dir.c if (d->certs) { d 197 source4/heimdal/lib/hx509/ks_dir.c hx509_certs_end_seq(context, d->certs, d->iter); d 198 source4/heimdal/lib/hx509/ks_dir.c d->iter = NULL; d 199 source4/heimdal/lib/hx509/ks_dir.c hx509_certs_free(&d->certs); d 201 source4/heimdal/lib/hx509/ks_dir.c closedir(d->dir); d 202 source4/heimdal/lib/hx509/ks_dir.c free(d); d 90 source4/heimdal/lib/hx509/lock.c void *d; d 97 source4/heimdal/lib/hx509/lock.c d = realloc(lock->password.val, d 99 source4/heimdal/lib/hx509/lock.c if (d == NULL) { d 103 source4/heimdal/lib/hx509/lock.c lock->password.val = d; d 875 source4/heimdal/lib/hx509/revoke.c void *d; d 877 source4/heimdal/lib/hx509/revoke.c d = realloc(ctx->req->requestList.val, d 880 source4/heimdal/lib/hx509/revoke.c if (d == NULL) d 882 source4/heimdal/lib/hx509/revoke.c ctx->req->requestList.val = d; d 43 source4/heimdal/lib/krb5/changepw.c str2data (krb5_data *d, d 48 source4/heimdal/lib/krb5/changepw.c str2data (krb5_data *d, d 56 source4/heimdal/lib/krb5/changepw.c d->length = vasprintf (&str, fmt, args); d 58 source4/heimdal/lib/krb5/changepw.c d->data = str; d 375 source4/heimdal/lib/krb5/config_file.c krb5_config_binding *d, *previous = NULL; d 380 source4/heimdal/lib/krb5/config_file.c d = calloc(1, sizeof(*d)); d 383 source4/heimdal/lib/krb5/config_file.c *head = d; d 385 source4/heimdal/lib/krb5/config_file.c d->name = strdup(c->name); d 386 source4/heimdal/lib/krb5/config_file.c d->type = c->type; d 387 source4/heimdal/lib/krb5/config_file.c if (d->type == krb5_config_string) d 388 source4/heimdal/lib/krb5/config_file.c d->u.string = strdup(c->u.string); d 389 source4/heimdal/lib/krb5/config_file.c else if (d->type == krb5_config_list) d 390 source4/heimdal/lib/krb5/config_file.c _krb5_config_copy (context, c->u.list, &d->u.list); d 394 source4/heimdal/lib/krb5/config_file.c d->type); d 396 source4/heimdal/lib/krb5/config_file.c previous->next = d; d 398 source4/heimdal/lib/krb5/config_file.c previous = d; d 3870 source4/heimdal/lib/krb5/crypto.c struct key_usage *d = crypto->key_usage; d 3871 source4/heimdal/lib/krb5/crypto.c d = realloc(d, (crypto->num_key_usage + 1) * sizeof(*d)); d 3872 source4/heimdal/lib/krb5/crypto.c if(d == NULL) d 3874 source4/heimdal/lib/krb5/crypto.c crypto->key_usage = d; d 3875 source4/heimdal/lib/krb5/crypto.c d += crypto->num_key_usage++; d 3876 source4/heimdal/lib/krb5/crypto.c memset(d, 0, sizeof(*d)); d 3877 source4/heimdal/lib/krb5/crypto.c d->usage = usage; d 3878 source4/heimdal/lib/krb5/crypto.c return &d->key; d 3891 source4/heimdal/lib/krb5/crypto.c struct key_data d; d 3903 source4/heimdal/lib/krb5/crypto.c ret = krb5_copy_keyblock(context, key, &d.key); d 3907 source4/heimdal/lib/krb5/crypto.c d.schedule = NULL; d 3908 source4/heimdal/lib/krb5/crypto.c ret = derive_key(context, et, &d, constant, constant_len); d 3910 source4/heimdal/lib/krb5/crypto.c ret = krb5_copy_keyblock(context, d.key, derived_key); d 3911 source4/heimdal/lib/krb5/crypto.c free_key_data(context, &d, et); d 3922 source4/heimdal/lib/krb5/crypto.c struct key_data *d; d 3930 source4/heimdal/lib/krb5/crypto.c d = _new_derived_key(crypto, usage); d 3931 source4/heimdal/lib/krb5/crypto.c if(d == NULL) { d 3935 source4/heimdal/lib/krb5/crypto.c krb5_copy_keyblock(context, crypto->key.key, &d->key); d 3937 source4/heimdal/lib/krb5/crypto.c derive_key(context, crypto->et, d, constant, sizeof(constant)); d 3938 source4/heimdal/lib/krb5/crypto.c *key = d; d 79 source4/heimdal/lib/krb5/heim_threads.h #define HEIMDAL_key_create(k,d,r) do { r = thr_keycreate(k,d); } while(0) d 106 source4/heimdal/lib/krb5/heim_threads.h #define HEIMDAL_key_create(k,d,r) do { r = pthread_key_create(k,d); } while(0) d 166 source4/heimdal/lib/krb5/heim_threads.h #define HEIMDAL_key_create(k,d,r) \ d 167 source4/heimdal/lib/krb5/heim_threads.h do { (k)->value = NULL; (k)->destructor = (d); r = 0; } while(0) d 294 source4/heimdal/lib/krb5/keytab_file.c struct fkt_data *d; d 296 source4/heimdal/lib/krb5/keytab_file.c d = malloc(sizeof(*d)); d 297 source4/heimdal/lib/krb5/keytab_file.c if(d == NULL) { d 301 source4/heimdal/lib/krb5/keytab_file.c d->filename = strdup(name); d 302 source4/heimdal/lib/krb5/keytab_file.c if(d->filename == NULL) { d 303 source4/heimdal/lib/krb5/keytab_file.c free(d); d 307 source4/heimdal/lib/krb5/keytab_file.c d->flags = 0; d 308 source4/heimdal/lib/krb5/keytab_file.c id->data = d; d 319 source4/heimdal/lib/krb5/keytab_file.c struct fkt_data *d = id->data; d 320 source4/heimdal/lib/krb5/keytab_file.c d->flags |= KRB5_KT_FL_JAVA; d 328 source4/heimdal/lib/krb5/keytab_file.c struct fkt_data *d = id->data; d 329 source4/heimdal/lib/krb5/keytab_file.c free(d->filename); d 330 source4/heimdal/lib/krb5/keytab_file.c free(d); d 341 source4/heimdal/lib/krb5/keytab_file.c struct fkt_data *d = id->data; d 342 source4/heimdal/lib/krb5/keytab_file.c strlcpy(name, d->filename, namesize); d 374 source4/heimdal/lib/krb5/keytab_file.c struct fkt_data *d = id->data; d 376 source4/heimdal/lib/krb5/keytab_file.c c->fd = open (d->filename, flags); d 381 source4/heimdal/lib/krb5/keytab_file.c d->filename, strerror(ret)); d 385 source4/heimdal/lib/krb5/keytab_file.c ret = _krb5_xlock(context, c->fd, exclusive, d->filename); d 443 source4/heimdal/lib/krb5/keytab_file.c struct fkt_data *d = id->data; d 459 source4/heimdal/lib/krb5/keytab_file.c ret = krb5_kt_ret_principal (context, d, cursor->sp, &entry->principal); d 470 source4/heimdal/lib/krb5/keytab_file.c ret = krb5_kt_ret_keyblock (context, d, cursor->sp, &entry->keyblock); d 532 source4/heimdal/lib/krb5/keytab_file.c struct fkt_data *d = id->data; d 536 source4/heimdal/lib/krb5/keytab_file.c fd = open (d->filename, O_RDWR | O_BINARY | O_CLOEXEC); d 538 source4/heimdal/lib/krb5/keytab_file.c fd = open (d->filename, O_RDWR | O_CREAT | O_EXCL | O_BINARY | O_CLOEXEC, 0600); d 542 source4/heimdal/lib/krb5/keytab_file.c N_("open(%s): %s", ""), d->filename, d 548 source4/heimdal/lib/krb5/keytab_file.c ret = _krb5_xlock(context, fd, 1, d->filename); d 565 source4/heimdal/lib/krb5/keytab_file.c ret = _krb5_xlock(context, fd, 1, d->filename); d 580 source4/heimdal/lib/krb5/keytab_file.c d->filename, strerror(ret)); d 589 source4/heimdal/lib/krb5/keytab_file.c d->filename); d 597 source4/heimdal/lib/krb5/keytab_file.c d->filename); d 619 source4/heimdal/lib/krb5/keytab_file.c d->filename); d 628 source4/heimdal/lib/krb5/keytab_file.c d->filename); d 637 source4/heimdal/lib/krb5/keytab_file.c d->filename); d 641 source4/heimdal/lib/krb5/keytab_file.c ret = krb5_kt_store_keyblock (context, d, emem, &entry->keyblock); d 646 source4/heimdal/lib/krb5/keytab_file.c if ((d->flags & KRB5_KT_FL_JAVA) == 0) { d 652 source4/heimdal/lib/krb5/keytab_file.c d->filename); d 664 source4/heimdal/lib/krb5/keytab_file.c d->filename); d 690 source4/heimdal/lib/krb5/keytab_file.c d->filename, strerror(ret)); d 68 source4/heimdal/lib/krb5/keytab_keyfile.c get_cell_and_realm (krb5_context context, struct akf_data *d) d 93 source4/heimdal/lib/krb5/keytab_keyfile.c d->cell = strdup (buf); d 94 source4/heimdal/lib/krb5/keytab_keyfile.c if (d->cell == NULL) { d 103 source4/heimdal/lib/krb5/keytab_keyfile.c free (d->cell); d 104 source4/heimdal/lib/krb5/keytab_keyfile.c d->cell = NULL; d 118 source4/heimdal/lib/krb5/keytab_keyfile.c d->realm = strdup (buf); d 119 source4/heimdal/lib/krb5/keytab_keyfile.c if (d->realm == NULL) { d 120 source4/heimdal/lib/krb5/keytab_keyfile.c free (d->cell); d 121 source4/heimdal/lib/krb5/keytab_keyfile.c d->cell = NULL; d 137 source4/heimdal/lib/krb5/keytab_keyfile.c struct akf_data *d = malloc(sizeof (struct akf_data)); d 139 source4/heimdal/lib/krb5/keytab_keyfile.c if (d == NULL) { d 145 source4/heimdal/lib/krb5/keytab_keyfile.c d->num_entries = 0; d 146 source4/heimdal/lib/krb5/keytab_keyfile.c ret = get_cell_and_realm (context, d); d 148 source4/heimdal/lib/krb5/keytab_keyfile.c free (d); d 151 source4/heimdal/lib/krb5/keytab_keyfile.c d->filename = strdup (name); d 152 source4/heimdal/lib/krb5/keytab_keyfile.c if (d->filename == NULL) { d 153 source4/heimdal/lib/krb5/keytab_keyfile.c free (d->cell); d 154 source4/heimdal/lib/krb5/keytab_keyfile.c free (d->realm); d 155 source4/heimdal/lib/krb5/keytab_keyfile.c free (d); d 160 source4/heimdal/lib/krb5/keytab_keyfile.c id->data = d; d 172 source4/heimdal/lib/krb5/keytab_keyfile.c struct akf_data *d = id->data; d 174 source4/heimdal/lib/krb5/keytab_keyfile.c free (d->filename); d 175 source4/heimdal/lib/krb5/keytab_keyfile.c free (d->cell); d 176 source4/heimdal/lib/krb5/keytab_keyfile.c free (d); d 190 source4/heimdal/lib/krb5/keytab_keyfile.c struct akf_data *d = id->data; d 192 source4/heimdal/lib/krb5/keytab_keyfile.c strlcpy (name, d->filename, name_sz); d 206 source4/heimdal/lib/krb5/keytab_keyfile.c struct akf_data *d = id->data; d 208 source4/heimdal/lib/krb5/keytab_keyfile.c c->fd = open (d->filename, O_RDONLY | O_BINARY | O_CLOEXEC, 0600); d 213 source4/heimdal/lib/krb5/keytab_keyfile.c d->filename, strerror(ret)); d 218 source4/heimdal/lib/krb5/keytab_keyfile.c ret = krb5_ret_uint32(c->sp, &d->num_entries); d 237 source4/heimdal/lib/krb5/keytab_keyfile.c struct akf_data *d = id->data; d 244 source4/heimdal/lib/krb5/keytab_keyfile.c if ((pos - 4) / (4 + 8) >= d->num_entries) d 248 source4/heimdal/lib/krb5/keytab_keyfile.c d->realm, "afs", d->cell, NULL); d 299 source4/heimdal/lib/krb5/keytab_keyfile.c struct akf_data *d = id->data; d 317 source4/heimdal/lib/krb5/keytab_keyfile.c fd = open (d->filename, O_RDWR | O_BINARY | O_CLOEXEC); d 319 source4/heimdal/lib/krb5/keytab_keyfile.c fd = open (d->filename, d 325 source4/heimdal/lib/krb5/keytab_keyfile.c d->filename, d 58 source4/heimdal/lib/krb5/keytab_memory.c struct mkt_data *d; d 62 source4/heimdal/lib/krb5/keytab_memory.c for (d = mkt_head; d != NULL; d = d->next) d 63 source4/heimdal/lib/krb5/keytab_memory.c if (strcmp(d->name, name) == 0) d 65 source4/heimdal/lib/krb5/keytab_memory.c if (d) { d 66 source4/heimdal/lib/krb5/keytab_memory.c if (d->refcount < 1) d 68 source4/heimdal/lib/krb5/keytab_memory.c "refcount < 1 %d", d->refcount); d 69 source4/heimdal/lib/krb5/keytab_memory.c d->refcount++; d 70 source4/heimdal/lib/krb5/keytab_memory.c id->data = d; d 75 source4/heimdal/lib/krb5/keytab_memory.c d = calloc(1, sizeof(*d)); d 76 source4/heimdal/lib/krb5/keytab_memory.c if(d == NULL) { d 82 source4/heimdal/lib/krb5/keytab_memory.c d->name = strdup(name); d 83 source4/heimdal/lib/krb5/keytab_memory.c if (d->name == NULL) { d 85 source4/heimdal/lib/krb5/keytab_memory.c free(d); d 90 source4/heimdal/lib/krb5/keytab_memory.c d->entries = NULL; d 91 source4/heimdal/lib/krb5/keytab_memory.c d->num_entries = 0; d 92 source4/heimdal/lib/krb5/keytab_memory.c d->refcount = 1; d 93 source4/heimdal/lib/krb5/keytab_memory.c d->next = mkt_head; d 94 source4/heimdal/lib/krb5/keytab_memory.c mkt_head = d; d 96 source4/heimdal/lib/krb5/keytab_memory.c id->data = d; d 103 source4/heimdal/lib/krb5/keytab_memory.c struct mkt_data *d = id->data, **dp; d 107 source4/heimdal/lib/krb5/keytab_memory.c if (d->refcount < 1) d 111 source4/heimdal/lib/krb5/keytab_memory.c if (--d->refcount > 0) { d 116 source4/heimdal/lib/krb5/keytab_memory.c if (*dp == d) { d 117 source4/heimdal/lib/krb5/keytab_memory.c *dp = d->next; d 123 source4/heimdal/lib/krb5/keytab_memory.c free(d->name); d 124 source4/heimdal/lib/krb5/keytab_memory.c for(i = 0; i < d->num_entries; i++) d 125 source4/heimdal/lib/krb5/keytab_memory.c krb5_kt_free_entry(context, &d->entries[i]); d 126 source4/heimdal/lib/krb5/keytab_memory.c free(d->entries); d 127 source4/heimdal/lib/krb5/keytab_memory.c free(d); d 137 source4/heimdal/lib/krb5/keytab_memory.c struct mkt_data *d = id->data; d 138 source4/heimdal/lib/krb5/keytab_memory.c strlcpy(name, d->name, namesize); d 158 source4/heimdal/lib/krb5/keytab_memory.c struct mkt_data *d = id->data; d 159 source4/heimdal/lib/krb5/keytab_memory.c if(c->fd >= d->num_entries) d 161 source4/heimdal/lib/krb5/keytab_memory.c return krb5_kt_copy_entry_contents(context, &d->entries[c->fd++], entry); d 177 source4/heimdal/lib/krb5/keytab_memory.c struct mkt_data *d = id->data; d 179 source4/heimdal/lib/krb5/keytab_memory.c tmp = realloc(d->entries, (d->num_entries + 1) * sizeof(*d->entries)); d 185 source4/heimdal/lib/krb5/keytab_memory.c d->entries = tmp; d 187 source4/heimdal/lib/krb5/keytab_memory.c &d->entries[d->num_entries++]); d 195 source4/heimdal/lib/krb5/keytab_memory.c struct mkt_data *d = id->data; d 199 source4/heimdal/lib/krb5/keytab_memory.c if (d->num_entries == 0) { d 205 source4/heimdal/lib/krb5/keytab_memory.c for(end = d->entries + d->num_entries, e = end - 1; e >= d->entries; e--) { d 211 source4/heimdal/lib/krb5/keytab_memory.c d->num_entries--; d 220 source4/heimdal/lib/krb5/keytab_memory.c e = realloc(d->entries, d->num_entries * sizeof(*d->entries)); d 221 source4/heimdal/lib/krb5/keytab_memory.c if(e != NULL || d->num_entries == 0) d 222 source4/heimdal/lib/krb5/keytab_memory.c d->entries = e; d 878 source4/heimdal/lib/krb5/pac.c krb5_data logon, d; d 1009 source4/heimdal/lib/krb5/pac.c ret = krb5_storage_to_data(spdata, &d); d 1014 source4/heimdal/lib/krb5/pac.c ret = krb5_storage_write(sp, d.data, d.length); d 1015 source4/heimdal/lib/krb5/pac.c if (ret != d.length) { d 1016 source4/heimdal/lib/krb5/pac.c krb5_data_free(&d); d 1021 source4/heimdal/lib/krb5/pac.c krb5_data_free(&d); d 1023 source4/heimdal/lib/krb5/pac.c ret = krb5_storage_to_data(sp, &d); d 1032 source4/heimdal/lib/krb5/pac.c d.data, d.length, d 1033 source4/heimdal/lib/krb5/pac.c (char *)d.data + server_offset, server_size); d 1035 source4/heimdal/lib/krb5/pac.c krb5_data_free(&d); d 1040 source4/heimdal/lib/krb5/pac.c (char *)d.data + server_offset, server_size, d 1041 source4/heimdal/lib/krb5/pac.c (char *)d.data + priv_offset, priv_size); d 1043 source4/heimdal/lib/krb5/pac.c krb5_data_free(&d); d 1048 source4/heimdal/lib/krb5/pac.c *data = d; d 180 source4/heimdal/lib/krb5/plugin.c DIR *d = NULL; d 215 source4/heimdal/lib/krb5/plugin.c d = opendir(*di); d 216 source4/heimdal/lib/krb5/plugin.c if (d == NULL) d 218 source4/heimdal/lib/krb5/plugin.c rk_cloexec(dirfd(d)); d 220 source4/heimdal/lib/krb5/plugin.c while ((entry = readdir(d)) != NULL) { d 235 source4/heimdal/lib/krb5/plugin.c closedir(d); d 251 source4/heimdal/lib/krb5/plugin.c if (d) d 252 source4/heimdal/lib/krb5/plugin.c closedir(d); d 1022 source4/heimdal/lib/krb5/principal.c char **domains, **d; d 1025 source4/heimdal/lib/krb5/principal.c for(d = domains; d && *d; d++){ d 1026 source4/heimdal/lib/krb5/principal.c snprintf(host, sizeof(host), "%s.%s", instance, *d); d 354 source4/heimdal/lib/ntlm/ntlm.c krb5_data d; d 355 source4/heimdal/lib/ntlm/ntlm.c ret = krb5_storage_to_data(out, &d); d 356 source4/heimdal/lib/ntlm/ntlm.c data->data = d.data; d 357 source4/heimdal/lib/ntlm/ntlm.c data->length = d.length; d 520 source4/heimdal/lib/ntlm/ntlm.c krb5_data d; d 521 source4/heimdal/lib/ntlm/ntlm.c ret = krb5_storage_to_data(out, &d); d 522 source4/heimdal/lib/ntlm/ntlm.c data->data = d.data; d 523 source4/heimdal/lib/ntlm/ntlm.c data->length = d.length; d 663 source4/heimdal/lib/ntlm/ntlm.c krb5_data d; d 664 source4/heimdal/lib/ntlm/ntlm.c ret = krb5_storage_to_data(out, &d); d 665 source4/heimdal/lib/ntlm/ntlm.c data->data = d.data; d 666 source4/heimdal/lib/ntlm/ntlm.c data->length = d.length; d 855 source4/heimdal/lib/ntlm/ntlm.c krb5_data d; d 856 source4/heimdal/lib/ntlm/ntlm.c ret = krb5_storage_to_data(out, &d); d 857 source4/heimdal/lib/ntlm/ntlm.c data->data = d.data; d 858 source4/heimdal/lib/ntlm/ntlm.c data->length = d.length; d 13 source4/heimdal_build/config.h #define dirfd(d) (-1) d 28 source4/lib/com/classes/simple.c static WERROR simple_IUnknown_QueryInterface (struct IUnknown *d, TALLOC_CTX *mem_ctx, struct GUID *iid, struct IUnknown **iun) d 30 source4/lib/com/classes/simple.c *iun = d; d 34 source4/lib/com/classes/simple.c static uint32_t simple_IUnknown_AddRef (struct IUnknown *d, TALLOC_CTX *mem_ctx) d 39 source4/lib/com/classes/simple.c static uint32_t simple_IUnknown_Release (struct IUnknown *d, TALLOC_CTX *mem_ctx) d 44 source4/lib/com/classes/simple.c static WERROR simple_IStream_Read (struct IStream *d, TALLOC_CTX *mem_ctx, uint8_t *pv, uint32_t num_requested, uint32_t *num_readx, uint32_t num_read) d 50 source4/lib/com/classes/simple.c static WERROR simple_IStream_Write (struct IStream *d, TALLOC_CTX *mem_ctx, uint8_t *data, uint32_t num_requested, uint32_t num_written) d 56 source4/lib/com/classes/simple.c static WERROR simpleclass_IUnknown_QueryInterface (struct IUnknown *d, TALLOC_CTX *mem_ctx, struct GUID *iid, struct IUnknown **iun) d 59 source4/lib/com/classes/simple.c *iun = d; d 63 source4/lib/com/classes/simple.c static WERROR simpleclass_IClassFactory_CreateInstance (struct IClassFactory *d, TALLOC_CTX *mem_ctx, struct IUnknown *iunk, struct GUID *iid, struct IUnknown **ppv) d 77 source4/lib/com/classes/simple.c static uint32_t simpleclass_IUnknown_AddRef (struct IUnknown *d, TALLOC_CTX *mem_ctx) d 82 source4/lib/com/classes/simple.c static uint32_t simpleclass_IUnknown_Release (struct IUnknown *d, TALLOC_CTX *mem_ctx) d 60 source4/lib/com/dcom/dcom.h WERROR dcom_query_interface(struct IUnknown *d, uint32_t cRefs, uint16_t cIids, struct GUID *iids, struct IUnknown **ip, WERROR *results); d 70 source4/lib/com/dcom/dcom.h #define IUnknown_ipid(d) ((d)->obj.u_objref.u_standard.std.ipid) d 71 source4/lib/com/dcom/dcom.h struct composite_context *dcom_release_send(struct IUnknown *d, TALLOC_CTX *mem_ctx); d 76 source4/lib/com/dcom/dcom.h struct IUnknown *d; d 75 source4/lib/com/dcom/main.c struct cli_credentials *d; d 77 source4/lib/com/dcom/main.c d = NULL; d 80 source4/lib/com/dcom/main.c d = c->credentials; d 85 source4/lib/com/dcom/main.c return d; d 372 source4/lib/com/dcom/main.c WERROR dcom_query_interface(struct IUnknown *d, uint32_t cRefs, uint16_t cIids, struct GUID *iids, struct IUnknown **ip, WERROR *results) d 382 source4/lib/com/dcom/main.c loc_ctx = talloc_new(d); d 383 source4/lib/com/dcom/main.c ox = object_exporter_by_ip(d->ctx, d); d 385 source4/lib/com/dcom/main.c result = IRemUnknown_RemQueryInterface(ox->rem_unknown, loc_ctx, &IUnknown_ipid(d), cRefs, cIids, iids, &rqir); d 398 source4/lib/com/dcom/main.c status = dcom_IUnknown_from_OBJREF(d->ctx, &ip[i], &ru.obj); d 604 source4/lib/com/dcom/main.c struct composite_context *dcom_get_pipe_send(struct IUnknown *d, TALLOC_CTX *mem_ctx) d 608 source4/lib/com/dcom/main.c c = composite_create(0, d->ctx->event_ctx); d 610 source4/lib/com/dcom/main.c c->private_data = d; d 635 source4/lib/com/dcom/main.c struct IUnknown *d; d 640 source4/lib/com/dcom/main.c d = c->private_data; d 642 source4/lib/com/dcom/main.c talloc_free(d); d 649 source4/lib/com/dcom/main.c struct composite_context *dcom_release_send(struct IUnknown *d, TALLOC_CTX *mem_ctx) d 655 source4/lib/com/dcom/main.c c = composite_create(d->ctx, d->ctx->event_ctx); d 657 source4/lib/com/dcom/main.c c->private_data = d; d 659 source4/lib/com/dcom/main.c ox = object_exporter_by_ip(d->ctx, d); d 660 source4/lib/com/dcom/main.c iref.ipid = IUnknown_ipid(d); d 708 source4/lib/com/dcom/main.c req = dcerpc_ndr_request_send(p, &s->d->obj.u_objref.u_standard.std.ipid, s->table, s->opnum, s, s->r); d 165 source4/lib/ldb/common/ldb_dn.c char *d; d 169 source4/lib/ldb/common/ldb_dn.c d = dst; d 178 source4/lib/ldb/common/ldb_dn.c memcpy(d, s, p - s); /* copy the part of the string before the stop */ d 179 source4/lib/ldb/common/ldb_dn.c d += (p - s); /* move to current position */ d 182 source4/lib/ldb/common/ldb_dn.c *d++ = '\\'; d 183 source4/lib/ldb/common/ldb_dn.c *d++ = *p++; d 185 source4/lib/ldb/common/ldb_dn.c strncpy(d, "\00", 3); /* escape the zero */ d 186 source4/lib/ldb/common/ldb_dn.c d += 3; d 194 source4/lib/ldb/common/ldb_dn.c memcpy(d, s, l + 1); d 197 source4/lib/ldb/common/ldb_dn.c return (l + (d - dst)); d 227 source4/lib/ldb/common/ldb_dn.c char *p, *ex_name, *ex_value, *data, *d, *dt, *t; d 293 source4/lib/ldb/common/ldb_dn.c d = dt = data; d 302 source4/lib/ldb/common/ldb_dn.c ex_name = d; d 311 source4/lib/ldb/common/ldb_dn.c dt = d; d 318 source4/lib/ldb/common/ldb_dn.c *d++ = '\0'; d 320 source4/lib/ldb/common/ldb_dn.c ex_value = d; d 330 source4/lib/ldb/common/ldb_dn.c .length = d - ex_value d 333 source4/lib/ldb/common/ldb_dn.c *d++ = '\0'; d 382 source4/lib/ldb/common/ldb_dn.c *d++ = *p++; d 411 source4/lib/ldb/common/ldb_dn.c *d++ = *p++; d 436 source4/lib/ldb/common/ldb_dn.c *d++ = '\0'; d 443 source4/lib/ldb/common/ldb_dn.c dt = d; d 466 source4/lib/ldb/common/ldb_dn.c *d++ = *p++; d 479 source4/lib/ldb/common/ldb_dn.c *d++ = *p++; d 508 source4/lib/ldb/common/ldb_dn.c *d++ = *p++; d 517 source4/lib/ldb/common/ldb_dn.c d -= (p - t); d 526 source4/lib/ldb/common/ldb_dn.c *d++ = '\0'; d 534 source4/lib/ldb/common/ldb_dn.c dt = d; d 567 source4/lib/ldb/common/ldb_dn.c *d++ = *p++; d 581 source4/lib/ldb/common/ldb_dn.c *d++ = *p++; d 597 source4/lib/ldb/common/ldb_dn.c *d++ = (unsigned char)x; d 610 source4/lib/ldb/common/ldb_dn.c *d++ = *p++; d 628 source4/lib/ldb/common/ldb_dn.c d -= (p - t); d 632 source4/lib/ldb/common/ldb_dn.c *d++ = '\0'; d 660 source4/lib/ldb/common/ldb_dn.c char *d, *n; d 686 source4/lib/ldb/common/ldb_dn.c d = dn->linearized; d 692 source4/lib/ldb/common/ldb_dn.c while (*n) *d++ = *n++; d 694 source4/lib/ldb/common/ldb_dn.c *d++ = '='; d 697 source4/lib/ldb/common/ldb_dn.c d += ldb_dn_escape_internal( d, d 700 source4/lib/ldb/common/ldb_dn.c *d++ = ','; d 703 source4/lib/ldb/common/ldb_dn.c *(--d) = '\0'; d 706 source4/lib/ldb/common/ldb_dn.c dn->linearized = talloc_realloc(dn, dn->linearized, char, (d - dn->linearized + 1)); d 833 source4/lib/ldb/common/ldb_dn.c char *d, *n; d 868 source4/lib/ldb/common/ldb_dn.c d = dn->casefold; d 874 source4/lib/ldb/common/ldb_dn.c while (*n) *d++ = *n++; d 876 source4/lib/ldb/common/ldb_dn.c *d++ = '='; d 879 source4/lib/ldb/common/ldb_dn.c d += ldb_dn_escape_internal( d, d 882 source4/lib/ldb/common/ldb_dn.c *d++ = ','; d 884 source4/lib/ldb/common/ldb_dn.c *(--d) = '\0'; d 111 source4/lib/ldb/common/ldb_ldif.c uint8_t *d = (uint8_t *)s; d 120 source4/lib/ldb/common/ldb_ldif.c d[byte_offset] &= ~((1<<(8-bit_offset))-1); d 122 source4/lib/ldb/common/ldb_ldif.c d[byte_offset] |= (idx << (2-bit_offset)); d 125 source4/lib/ldb/common/ldb_ldif.c d[byte_offset] |= (idx >> (bit_offset-2)); d 126 source4/lib/ldb/common/ldb_ldif.c d[byte_offset+1] = 0; d 127 source4/lib/ldb/common/ldb_ldif.c d[byte_offset+1] |= (idx << (8-(bit_offset-2))) & 0xFF; d 144 source4/lib/ldb/common/ldb_ldif.c d[n] = 0; d 157 source4/lib/ldb/common/ldb_ldif.c const uint8_t *d = (const uint8_t *)buf; d 168 source4/lib/ldb/common/ldb_ldif.c idx = (d[byte_offset] >> (2-bit_offset)) & 0x3F; d 170 source4/lib/ldb/common/ldb_ldif.c idx = (d[byte_offset] << (bit_offset-2)) & 0x3F; d 172 source4/lib/ldb/common/ldb_ldif.c idx |= (d[byte_offset+1] >> (8-(bit_offset-2))); d 671 source4/lib/ldb/ldb_tdb/ldb_index.c char **d; d 679 source4/lib/ldb/ldb_tdb/ldb_index.c d = talloc_realloc(list, list->dn, char *, list->count + list2->count); d 680 source4/lib/ldb/ldb_tdb/ldb_index.c if (!d) { d 683 source4/lib/ldb/ldb_tdb/ldb_index.c list->dn = d; d 135 source4/lib/messaging/messaging.c struct dispatch_fn *d, *next; d 139 source4/lib/messaging/messaging.c d = (struct dispatch_fn *)idr_find(msg->dispatch_tree, d 142 source4/lib/messaging/messaging.c d = msg->dispatch[rec->header->msg_type]; d 144 source4/lib/messaging/messaging.c d = NULL; d 147 source4/lib/messaging/messaging.c for (; d; d = next) { d 149 source4/lib/messaging/messaging.c next = d->next; d 152 source4/lib/messaging/messaging.c d->fn(msg, d->private_data, d->msg_type, rec->header->from, &data); d 361 source4/lib/messaging/messaging.c struct dispatch_fn *d; d 376 source4/lib/messaging/messaging.c d = talloc_zero(msg->dispatch, struct dispatch_fn); d 377 source4/lib/messaging/messaging.c NT_STATUS_HAVE_NO_MEMORY(d); d 378 source4/lib/messaging/messaging.c d->msg_type = msg_type; d 379 source4/lib/messaging/messaging.c d->private_data = private_data; d 380 source4/lib/messaging/messaging.c d->fn = fn; d 382 source4/lib/messaging/messaging.c DLIST_ADD(msg->dispatch[msg_type], d); d 394 source4/lib/messaging/messaging.c struct dispatch_fn *d; d 397 source4/lib/messaging/messaging.c d = talloc_zero(msg->dispatch, struct dispatch_fn); d 398 source4/lib/messaging/messaging.c NT_STATUS_HAVE_NO_MEMORY(d); d 399 source4/lib/messaging/messaging.c d->private_data = private_data; d 400 source4/lib/messaging/messaging.c d->fn = fn; d 402 source4/lib/messaging/messaging.c id = idr_get_new_above(msg->dispatch_tree, d, MSG_TMP_BASE, UINT16_MAX); d 404 source4/lib/messaging/messaging.c talloc_free(d); d 408 source4/lib/messaging/messaging.c d->msg_type = (uint32_t)id; d 409 source4/lib/messaging/messaging.c (*msg_type) = d->msg_type; d 419 source4/lib/messaging/messaging.c struct dispatch_fn *d, *next; d 422 source4/lib/messaging/messaging.c d = (struct dispatch_fn *)idr_find(msg->dispatch_tree, d 424 source4/lib/messaging/messaging.c if (!d) return; d 426 source4/lib/messaging/messaging.c talloc_free(d); d 430 source4/lib/messaging/messaging.c for (d = msg->dispatch[msg_type]; d; d = next) { d 431 source4/lib/messaging/messaging.c next = d->next; d 432 source4/lib/messaging/messaging.c if (d->private_data == private_data) { d 433 source4/lib/messaging/messaging.c DLIST_REMOVE(msg->dispatch[msg_type], d); d 434 source4/lib/messaging/messaging.c talloc_free(d); d 60 source4/lib/registry/dir.c DIR *d; d 64 source4/lib/registry/dir.c d = opendir(name); d 65 source4/lib/registry/dir.c if (d == NULL) { d 71 source4/lib/registry/dir.c while((e = readdir(d))) { d 87 source4/lib/registry/dir.c closedir(d); d 94 source4/lib/registry/dir.c closedir(d); d 101 source4/lib/registry/dir.c closedir(d); d 128 source4/lib/registry/dir.c DIR *d; d 140 source4/lib/registry/dir.c d = opendir(fullpath); d 141 source4/lib/registry/dir.c if (d == NULL) { d 146 source4/lib/registry/dir.c closedir(d); d 163 source4/lib/registry/dir.c DIR *d; d 165 source4/lib/registry/dir.c d = opendir(dk->path); d 167 source4/lib/registry/dir.c if (d == NULL) d 170 source4/lib/registry/dir.c while((e = readdir(d))) { d 191 source4/lib/registry/dir.c closedir(d); d 200 source4/lib/registry/dir.c closedir(d); d 240 source4/lib/registry/dir.c DIR *d; d 250 source4/lib/registry/dir.c d = opendir(dk->path); d 251 source4/lib/registry/dir.c if (d == NULL) d 269 source4/lib/registry/dir.c while((e = readdir(d))) { d 300 source4/lib/registry/dir.c closedir(d); d 350 source4/lib/registry/dir.c DIR *d; d 354 source4/lib/registry/dir.c d = opendir(dk->path); d 355 source4/lib/registry/dir.c if (d == NULL) { d 362 source4/lib/registry/dir.c while((e = readdir(d))) { d 377 source4/lib/registry/dir.c closedir(d); d 45 source4/lib/registry/tests/generic.c uint32_t d = 0x20; d 46 source4/lib/registry/tests/generic.c DATA_BLOB db = { (uint8_t *)&d, sizeof(d) }; d 39 source4/lib/tdr/testsuite.c uint8_t d = 2; d 42 source4/lib/tdr/testsuite.c tdr->data.data = &d; d 67 source4/lib/tdr/testsuite.c uint8_t d[2] = { 782 & 0xFF, (782 & 0xFF00) / 0x100 }; d 70 source4/lib/tdr/testsuite.c tdr->data.data = d; d 97 source4/lib/tdr/testsuite.c uint8_t d[4] = { 782 & 0xFF, (782 & 0xFF00) / 0x100, 0, 0 }; d 100 source4/lib/tdr/testsuite.c tdr->data.data = d; d 134 source4/lib/wmi/wbemdata.c WERROR IWbemClassObject_GetMethod(struct IWbemClassObject *d, TALLOC_CTX *mem_ctx, const char *name, uint32_t flags, struct IWbemClassObject **in, struct IWbemClassObject **out) d 139 source4/lib/wmi/wbemdata.c wco = (struct IWbemClassObject *)d->object_data; d 142 source4/lib/wmi/wbemdata.c if (in) dcom_IWbemClassObject_from_WbemClassObject(d->ctx, in, wco->obj_methods->method[i].in); d 143 source4/lib/wmi/wbemdata.c if (out) dcom_IWbemClassObject_from_WbemClassObject(d->ctx, out, wco->obj_methods->method[i].out); d 165 source4/lib/wmi/wbemdata.c WERROR IWbemClassObject_Clone(struct IWbemClassObject *d, TALLOC_CTX *mem_ctx, struct IWbemClassObject **copy) d 170 source4/lib/wmi/wbemdata.c WERROR IWbemClassObject_SpawnInstance(struct IWbemClassObject *d, TALLOC_CTX *mem_ctx, uint32_t flags, struct IWbemClassObject **instance) d 174 source4/lib/wmi/wbemdata.c wco = (struct IWbemClassObject *)d->object_data; d 179 source4/lib/wmi/wbemdata.c dcom_IWbemClassObject_from_WbemClassObject(d->ctx, instance, nwco); d 183 source4/lib/wmi/wbemdata.c WERROR IWbemClassObject_Get(struct IWbemClassObject *d, TALLOC_CTX *mem_ctx, const char *name, uint32_t flags, union CIMVAR *val, enum CIMTYPE_ENUMERATION *cimtype, uint32_t *flavor) d 186 source4/lib/wmi/wbemdata.c for (i = 0; i < d->obj_class->__PROPERTY_COUNT; ++i) { d 187 source4/lib/wmi/wbemdata.c if (!strcmp(d->obj_class->properties[i].property.name, name)) { d 188 source4/lib/wmi/wbemdata.c duplicate_CIMVAR(mem_ctx, &d->instance->data[i], val, d->obj_class->properties[i].property.desc->cimtype); d 190 source4/lib/wmi/wbemdata.c *cimtype = d->obj_class->properties[i].property.desc->cimtype; d 199 source4/lib/wmi/wbemdata.c WERROR IWbemClassObject_Put(struct IWbemClassObject *d, TALLOC_CTX *mem_ctx, const char *name, uint32_t flags, union CIMVAR *val, enum CIMTYPE_ENUMERATION cimtype) d 204 source4/lib/wmi/wbemdata.c wco = (struct IWbemClassObject *)d->object_data; d 264 source4/lib/wmi/wbemdata.c static enum ndr_err_code WBEMDATA_Parse(TALLOC_CTX *mem_ctx, uint8_t *data, uint32_t size, struct IEnumWbemClassObject *d, uint32_t uCount, struct IWbemClassObject **apObjects) d 275 source4/lib/wmi/wbemdata.c ecod = d->object_data; d 278 source4/lib/wmi/wbemdata.c ndr->current_mem_ctx = d->ctx; d 323 source4/lib/wmi/wbemdata.c apObjects[i] = talloc_zero(d->ctx, struct IWbemClassObject); d 326 source4/lib/wmi/wbemdata.c ndr->current_mem_ctx = d->ctx; d 330 source4/lib/wmi/wbemdata.c apObjects[i] = talloc_zero(d->ctx, struct IWbemClassObject); d 335 source4/lib/wmi/wbemdata.c ndr->current_mem_ctx = d->ctx; d 349 source4/lib/wmi/wbemdata.c WERROR IEnumWbemClassObject_SmartNext(struct IEnumWbemClassObject *d, TALLOC_CTX *mem_ctx, int32_t lTimeout, uint32_t uCount, struct IWbemClassObject **apObjects, uint32_t *puReturned) d 359 source4/lib/wmi/wbemdata.c ecod = d->object_data; d 364 source4/lib/wmi/wbemdata.c d->object_data = ecod = talloc_zero(d, struct IEnumWbemClassObject_data); d 366 source4/lib/wmi/wbemdata.c result = dcom_query_interface((struct IUnknown *)d, 5, 1, &iid, (struct IUnknown **)&ecod->pFSE, &coresult); d 375 source4/lib/wmi/wbemdata.c d->vtable->Release_send = dcom_proxy_IEnumWbemClassObject_Release_send; d 384 source4/lib/wmi/wbemdata.c NDR_CHECK(WBEMDATA_Parse(mem_ctx, data, size, d, *puReturned, apObjects)); d 394 source4/lib/wmi/wbemdata.c struct composite_context *dcom_proxy_IEnumWbemClassObject_Release_send(struct IUnknown *d, TALLOC_CTX *mem_ctx) d 402 source4/lib/wmi/wbemdata.c c = composite_create(d->ctx, d->ctx->event_ctx); d 404 source4/lib/wmi/wbemdata.c c->private_data = d; d 406 source4/lib/wmi/wbemdata.c ox = object_exporter_by_ip(d->ctx, d); d 407 source4/lib/wmi/wbemdata.c iref[0].ipid = IUnknown_ipid(d); d 412 source4/lib/wmi/wbemdata.c ecod = d->object_data; d 415 source4/lib/wmi/wbemdata.c talloc_steal(d, ecod->pFSE); d 422 source4/lib/wmi/wbemdata.c talloc_steal(d, ecod->pSE); d 37 source4/lib/wmi/wmi.h WERROR IWbemClassObject_GetMethod(struct IWbemClassObject *d, TALLOC_CTX *mem_ctx, const char *name, uint32_t flags, struct IWbemClassObject **in, struct IWbemClassObject **out); d 39 source4/lib/wmi/wmi.h WERROR IWbemClassObject_Clone(struct IWbemClassObject *d, TALLOC_CTX *mem_ctx, struct IWbemClassObject **copy); d 40 source4/lib/wmi/wmi.h WERROR IWbemClassObject_SpawnInstance(struct IWbemClassObject *d, TALLOC_CTX *mem_ctx, uint32_t flags, struct IWbemClassObject **instance); d 41 source4/lib/wmi/wmi.h WERROR IWbemClassObject_Get(struct IWbemClassObject *d, TALLOC_CTX *mem_ctx, const char *name, uint32_t flags, union CIMVAR *val, enum CIMTYPE_ENUMERATION *cimtype, uint32_t *flavor); d 42 source4/lib/wmi/wmi.h WERROR IWbemClassObject_Put(struct IWbemClassObject *d, TALLOC_CTX *mem_ctx, const char *name, uint32_t flags, union CIMVAR *val, enum CIMTYPE_ENUMERATION cimtype); d 43 source4/lib/wmi/wmi.h WERROR IEnumWbemClassObject_SmartNext(struct IEnumWbemClassObject *d, TALLOC_CTX *mem_ctx, int32_t lTimeout, uint32_t uCount, struct IWbemClassObject **apObjects, uint32_t *puReturned); d 44 source4/lib/wmi/wmi.h struct composite_context *dcom_proxy_IEnumWbemClassObject_Release_send(struct IUnknown *d, TALLOC_CTX *mem_ctx); d 617 source4/lib/wmi/wmi_wrap.c register char d = *(c++); d 619 source4/lib/wmi/wmi_wrap.c if ((d >= '0') && (d <= '9')) d 620 source4/lib/wmi/wmi_wrap.c uu = ((d - '0') << 4); d 621 source4/lib/wmi/wmi_wrap.c else if ((d >= 'a') && (d <= 'f')) d 622 source4/lib/wmi/wmi_wrap.c uu = ((d - ('a'-10)) << 4); d 625 source4/lib/wmi/wmi_wrap.c d = *(c++); d 626 source4/lib/wmi/wmi_wrap.c if ((d >= '0') && (d <= '9')) d 627 source4/lib/wmi/wmi_wrap.c uu |= (d - '0'); d 628 source4/lib/wmi/wmi_wrap.c else if ((d >= 'a') && (d <= 'f')) d 629 source4/lib/wmi/wmi_wrap.c uu |= (d - ('a'-10)); d 1053 source4/lib/wmi/wmi_wrap.c SWIG_Python_SetConstant(PyObject *d, const char *name, PyObject *obj) { d 1054 source4/lib/wmi/wmi_wrap.c PyDict_SetItemString(d, (char*) name, obj); d 2577 source4/lib/wmi/wmi_wrap.c WERROR IEnumWbemClassObject_SmartNext(struct IEnumWbemClassObject *d, TALLOC_CTX *mem_ctx, int32_t lTimeout,uint32_t uCount, d 2694 source4/lib/wmi/wmi_wrap.c double d = PyFloat_AsDouble(obj); d 2696 source4/lib/wmi/wmi_wrap.c if (val) *val = d; d 2723 source4/lib/wmi/wmi_wrap.c SWIG_CanCastAsInteger(double *d, double min, double max) { d 2724 source4/lib/wmi/wmi_wrap.c double x = *d; d 2743 source4/lib/wmi/wmi_wrap.c *d = rd; d 2783 source4/lib/wmi/wmi_wrap.c double d; d 2784 source4/lib/wmi/wmi_wrap.c int res = SWIG_AddCast(SWIG_AsVal_double (obj,&d)); d 2785 source4/lib/wmi/wmi_wrap.c if (SWIG_IsOK(res) && SWIG_CanCastAsInteger(&d, 0, ULONG_MAX)) { d 2786 source4/lib/wmi/wmi_wrap.c if (val) *val = (unsigned long)(d); d 2856 source4/lib/wmi/wmi_wrap.c double d; d 2857 source4/lib/wmi/wmi_wrap.c int res = SWIG_AddCast(SWIG_AsVal_double (obj,&d)); d 2858 source4/lib/wmi/wmi_wrap.c if (SWIG_IsOK(res) && SWIG_CanCastAsInteger(&d, LONG_MIN, LONG_MAX)) { d 2859 source4/lib/wmi/wmi_wrap.c if (val) *val = (long)(d); d 4024 source4/lib/wmi/wmi_wrap.c #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants) d 4204 source4/lib/wmi/wmi_wrap.c SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) { d 4220 source4/lib/wmi/wmi_wrap.c PyDict_SetItemString(d, constants[i].name, obj); d 4284 source4/lib/wmi/wmi_wrap.c PyObject *m, *d; d 4290 source4/lib/wmi/wmi_wrap.c d = PyModule_GetDict(m); d 4293 source4/lib/wmi/wmi_wrap.c SWIG_InstallConstants(d,swig_const_table); d 155 source4/libcli/auth/smbdes.c static void lshift(char *d, int count, int n) d 160 source4/libcli/auth/smbdes.c out[i] = d[(i+count)%n]; d 162 source4/libcli/auth/smbdes.c d[i] = out[i]; d 185 source4/libcli/auth/smbdes.c char d[28]; d 197 source4/libcli/auth/smbdes.c d[i] = pk1[i+28]; d 201 source4/libcli/auth/smbdes.c lshift(d, sc[i], 28); d 203 source4/libcli/auth/smbdes.c concat(cd, c, d, 28, 28); d 668 source4/libnet/libnet_join.c struct samr_DeleteUser d; d 669 source4/libnet/libnet_join.c d.in.user_handle = u_handle; d 670 source4/libnet/libnet_join.c d.out.user_handle = u_handle; d 671 source4/libnet/libnet_join.c status = dcerpc_samr_DeleteUser(samr_pipe, mem_ctx, &d); d 344 source4/libnet/libnet_samsync.c int d; d 367 source4/libnet/libnet_samsync.c for (d=0; d < delta_enum_array->num_deltas; d++) { d 376 source4/libnet/libnet_samsync.c &delta_enum_array->delta_enum[d], d 390 source4/libnet/libnet_samsync.c &delta_enum_array->delta_enum[d], d 300 source4/ntvfs/common/notify.c struct notify_depth *d; d 305 source4/ntvfs/common/notify.c d = talloc_realloc(notify->array, notify->array->depth, d 307 source4/ntvfs/common/notify.c NT_STATUS_HAVE_NO_MEMORY(d); d 309 source4/ntvfs/common/notify.c ZERO_STRUCT(d[i]); d 311 source4/ntvfs/common/notify.c notify->array->depth = d; d 314 source4/ntvfs/common/notify.c d = ¬ify->array->depth[depth]; d 317 source4/ntvfs/common/notify.c ee = talloc_realloc(notify->array->depth, d->entries, struct notify_entry, d 318 source4/ntvfs/common/notify.c d->num_entries+1); d 320 source4/ntvfs/common/notify.c d->entries = ee; d 322 source4/ntvfs/common/notify.c d->entries[d->num_entries] = *e; d 323 source4/ntvfs/common/notify.c d->entries[d->num_entries].private_data = private_data; d 324 source4/ntvfs/common/notify.c d->entries[d->num_entries].server = notify->server; d 325 source4/ntvfs/common/notify.c d->entries[d->num_entries].path_len = strlen(e->path); d 326 source4/ntvfs/common/notify.c d->num_entries++; d 328 source4/ntvfs/common/notify.c d->max_mask |= e->filter; d 329 source4/ntvfs/common/notify.c d->max_mask_subdir |= e->subdir_filter; d 331 source4/ntvfs/common/notify.c if (d->num_entries > 1) { d 332 source4/ntvfs/common/notify.c qsort(d->entries, d->num_entries, sizeof(d->entries[0]), notify_compare); d 336 source4/ntvfs/common/notify.c d->max_mask = 0; d 337 source4/ntvfs/common/notify.c d->max_mask_subdir = 0; d 339 source4/ntvfs/common/notify.c for (i=0;i<d->num_entries;i++) { d 340 source4/ntvfs/common/notify.c d->max_mask |= d->entries[i].filter; d 341 source4/ntvfs/common/notify.c d->max_mask_subdir |= d->entries[i].subdir_filter; d 436 source4/ntvfs/common/notify.c struct notify_depth *d; d 472 source4/ntvfs/common/notify.c d = ¬ify->array->depth[depth]; d 474 source4/ntvfs/common/notify.c for (i=0;i<d->num_entries;i++) { d 475 source4/ntvfs/common/notify.c if (private_data == d->entries[i].private_data && d 476 source4/ntvfs/common/notify.c cluster_id_equal(¬ify->server, &d->entries[i].server)) { d 480 source4/ntvfs/common/notify.c if (i == d->num_entries) { d 485 source4/ntvfs/common/notify.c if (i < d->num_entries-1) { d 486 source4/ntvfs/common/notify.c memmove(&d->entries[i], &d->entries[i+1], d 487 source4/ntvfs/common/notify.c sizeof(d->entries[i])*(d->num_entries-(i+1))); d 489 source4/ntvfs/common/notify.c d->num_entries--; d 522 source4/ntvfs/common/notify.c struct notify_depth *d = ¬ify->array->depth[depth]; d 523 source4/ntvfs/common/notify.c for (i=0;i<d->num_entries;i++) { d 524 source4/ntvfs/common/notify.c if (cluster_id_equal(¬ify->server, &d->entries[i].server)) { d 525 source4/ntvfs/common/notify.c if (i < d->num_entries-1) { d 526 source4/ntvfs/common/notify.c memmove(&d->entries[i], &d->entries[i+1], d 527 source4/ntvfs/common/notify.c sizeof(d->entries[i])*(d->num_entries-(i+1))); d 530 source4/ntvfs/common/notify.c d->num_entries--; d 606 source4/ntvfs/common/notify.c struct notify_depth *d = ¬ify->array->depth[depth]; d 610 source4/ntvfs/common/notify.c if (d->num_entries == 0) continue; d 616 source4/ntvfs/common/notify.c if (0 == (filter & d->max_mask_subdir)) { d 620 source4/ntvfs/common/notify.c if (0 == (filter & d->max_mask)) { d 629 source4/ntvfs/common/notify.c max_i = d->num_entries-1; d 635 source4/ntvfs/common/notify.c e = &d->entries[i]; d 656 source4/ntvfs/common/notify.c for (i=min_i;i<d->num_entries;i++) { d 657 source4/ntvfs/common/notify.c struct notify_entry *e = &d->entries[i]; d 115 source4/ntvfs/ntvfs_util.c struct ntvfs_handle_data *d; d 118 source4/ntvfs/ntvfs_util.c for (d=h->backend_data; d; d = d->next) { d 119 source4/ntvfs/ntvfs_util.c if (d->owner != ntvfs) continue; d 120 source4/ntvfs/ntvfs_util.c d->private_data = talloc_steal(d, private_data); d 124 source4/ntvfs/ntvfs_util.c d = talloc(h, struct ntvfs_handle_data); d 125 source4/ntvfs/ntvfs_util.c NT_STATUS_HAVE_NO_MEMORY(d); d 126 source4/ntvfs/ntvfs_util.c d->owner = ntvfs; d 127 source4/ntvfs/ntvfs_util.c d->private_data = talloc_steal(d, private_data); d 129 source4/ntvfs/ntvfs_util.c DLIST_ADD(h->backend_data, d); d 143 source4/ntvfs/ntvfs_util.c struct ntvfs_handle_data *d; d 145 source4/ntvfs/ntvfs_util.c for (d=h->backend_data; d; d = d->next) { d 146 source4/ntvfs/ntvfs_util.c if (d->owner != ntvfs) continue; d 147 source4/ntvfs/ntvfs_util.c return d->private_data; d 156 source4/ntvfs/ntvfs_util.c struct ntvfs_handle_data *d,*n; d 158 source4/ntvfs/ntvfs_util.c for (d=h->backend_data; d; d = n) { d 159 source4/ntvfs/ntvfs_util.c n = d->next; d 160 source4/ntvfs/ntvfs_util.c if (d->owner != ntvfs) continue; d 161 source4/ntvfs/ntvfs_util.c DLIST_REMOVE(h->backend_data, d); d 162 source4/ntvfs/ntvfs_util.c talloc_free(d); d 163 source4/ntvfs/ntvfs_util.c d = NULL; d 103 source4/ntvfs/posix/pvfs_rename.c char *dest, *d; d 113 source4/ntvfs/posix/pvfs_rename.c d = dest; d 121 source4/ntvfs/posix/pvfs_rename.c d += push_codepoint(iconv_convenience, d, c1); d 123 source4/ntvfs/posix/pvfs_rename.c memcpy(d, p1, strlen(p1)); d 124 source4/ntvfs/posix/pvfs_rename.c d += strlen(p1); d 127 source4/ntvfs/posix/pvfs_rename.c d += push_codepoint(iconv_convenience, d, c2); d 134 source4/ntvfs/posix/pvfs_rename.c *d = 0; d 46 source4/rpc_server/epmapper/rpc_epmapper.c struct dcesrv_endpoint *d; d 52 source4/rpc_server/epmapper/rpc_epmapper.c for (d=endpoint_list; d; d=d->next) { d 56 source4/rpc_server/epmapper/rpc_epmapper.c for (iface=d->interface_list;iface;iface=iface->next) { d 66 source4/rpc_server/epmapper/rpc_epmapper.c description = d->ep_description; d 50 source4/torture/raw/mux.c double d; d 84 source4/torture/raw/mux.c d = timeval_elapsed(&tv); d 85 source4/torture/raw/mux.c if (d < 0.5 || d > 1.5) { d 86 source4/torture/raw/mux.c printf("bad timeout for conflict - %.2f should be 1.0\n", d); d 88 source4/torture/raw/mux.c printf("open delay %.2f\n", d); d 105 source4/torture/raw/mux.c d = timeval_elapsed(&tv); d 106 source4/torture/raw/mux.c if (d > 0.25) { d 107 source4/torture/raw/mux.c printf("bad timeout after cancel - %.2f should be <0.25\n", d); d 118 source4/torture/raw/mux.c d = timeval_elapsed(&tv); d 119 source4/torture/raw/mux.c if (d > 0.25) { d 120 source4/torture/raw/mux.c printf("bad timeout for async conflict - %.2f should be <0.25\n", d); d 123 source4/torture/raw/mux.c printf("async open delay %.2f\n", d); d 129 source4/torture/raw/mux.c d = timeval_elapsed(&tv); d 130 source4/torture/raw/mux.c if (d < 0.8) { d 131 source4/torture/raw/mux.c printf("bad timeout for async conflict - %.2f should be 1.0\n", d); d 219 source4/torture/rpc/frsapi.c int d; d 243 source4/torture/rpc/frsapi.c for (d = 0; d < blob.length; d++) { d 244 source4/torture/rpc/frsapi.c if (blob.data[d]) { d 245 source4/torture/rpc/frsapi.c printf("%c", blob.data[d]); d 847 source4/torture/rpc/netlogon.c int i,d; d 1273 source4/torture/rpc/netlogon.c for (d=0; d<3; d++) { d 1277 source4/torture/rpc/netlogon.c switch (d) { d 1299 source4/torture/rpc/netlogon.c if (d != changes[i].db_index) { d 2258 source4/torture/rpc/netlogon.c struct netr_GetAnyDCName d; d 2309 source4/torture/rpc/netlogon.c d.in.logon_server = talloc_asprintf(tctx, "\\\\%s", d 2311 source4/torture/rpc/netlogon.c d.out.dcname = &dcname; d 2317 source4/torture/rpc/netlogon.c d.in.domainname = info->name.string; d 2319 source4/torture/rpc/netlogon.c status = dcerpc_netr_GetAnyDCName(p, tctx, &d); d 678 source4/torture/rpc/samba3rpc.c struct samr_DeleteUser d; d 680 source4/torture/rpc/samba3rpc.c d.in.user_handle = user_handle; d 681 source4/torture/rpc/samba3rpc.c d.out.user_handle = user_handle; d 683 source4/torture/rpc/samba3rpc.c status = dcerpc_samr_DeleteUser(samr_pipe, mem_ctx, &d); d 3395 source4/torture/rpc/samba3rpc.c struct winreg_DeleteKey d; d 3409 source4/torture/rpc/samba3rpc.c d.in.handle = hklm; d 3410 source4/torture/rpc/samba3rpc.c d.in.key.name = talloc_asprintf( d 3412 source4/torture/rpc/samba3rpc.c if (d.in.key.name == NULL) { d 3417 source4/torture/rpc/samba3rpc.c status = dcerpc_winreg_DeleteKey(p, p, &d); d 3418 source4/torture/rpc/samba3rpc.c if (!NT_STATUS_IS_OK(status) || !W_ERROR_IS_OK(d.out.result)) { d 3420 source4/torture/rpc/samba3rpc.c nt_errstr(status), win_errstr(d.out.result)); d 2527 source4/torture/rpc/samr.c struct samr_DeleteAliasMember d; d 2540 source4/torture/rpc/samr.c d.in.alias_handle = alias_handle; d 2541 source4/torture/rpc/samr.c d.in.sid = sid; d 2543 source4/torture/rpc/samr.c status = dcerpc_samr_DeleteAliasMember(p, tctx, &d); d 3856 source4/torture/rpc/samr.c struct samr_DeleteUser d; d 3860 source4/torture/rpc/samr.c d.in.user_handle = user_handle; d 3861 source4/torture/rpc/samr.c d.out.user_handle = user_handle; d 3863 source4/torture/rpc/samr.c status = dcerpc_samr_DeleteUser(p, tctx, &d); d 3874 source4/torture/rpc/samr.c struct samr_DeleteUser d; d 3888 source4/torture/rpc/samr.c d.in.user_handle = &user_handle; d 3889 source4/torture/rpc/samr.c d.out.user_handle = &user_handle; d 3890 source4/torture/rpc/samr.c status = dcerpc_samr_DeleteUser(p, tctx, &d); d 3909 source4/torture/rpc/samr.c struct samr_DeleteDomainGroup d; d 3927 source4/torture/rpc/samr.c d.in.group_handle = &group_handle; d 3928 source4/torture/rpc/samr.c d.out.group_handle = &group_handle; d 3929 source4/torture/rpc/samr.c status = dcerpc_samr_DeleteDomainGroup(p, tctx, &d); d 3949 source4/torture/rpc/samr.c struct samr_DeleteDomAlias d; d 3969 source4/torture/rpc/samr.c d.in.alias_handle = &alias_handle; d 3970 source4/torture/rpc/samr.c d.out.alias_handle = &alias_handle; d 3971 source4/torture/rpc/samr.c status = dcerpc_samr_DeleteDomAlias(p, tctx, &d); d 3987 source4/torture/rpc/samr.c struct samr_DeleteDomAlias d; d 3992 source4/torture/rpc/samr.c d.in.alias_handle = alias_handle; d 3993 source4/torture/rpc/samr.c d.out.alias_handle = alias_handle; d 3995 source4/torture/rpc/samr.c status = dcerpc_samr_DeleteDomAlias(p, tctx, &d); d 4243 source4/torture/rpc/samr.c struct samr_DeleteUser d; d 4327 source4/torture/rpc/samr.c d.in.user_handle = &user_handle; d 4328 source4/torture/rpc/samr.c d.out.user_handle = &user_handle; d 4330 source4/torture/rpc/samr.c status = dcerpc_samr_DeleteUser(p, user_ctx, &d); d 4355 source4/torture/rpc/samr.c struct samr_DeleteUser d; d 4485 source4/torture/rpc/samr.c d.in.user_handle = &user_handle; d 4486 source4/torture/rpc/samr.c d.out.user_handle = &user_handle; d 4488 source4/torture/rpc/samr.c status = dcerpc_samr_DeleteUser(p, user_ctx, &d); d 5800 source4/torture/rpc/samr.c struct samr_DeleteDomainGroup d; d 5805 source4/torture/rpc/samr.c d.in.group_handle = group_handle; d 5806 source4/torture/rpc/samr.c d.out.group_handle = group_handle; d 5808 source4/torture/rpc/samr.c status = dcerpc_samr_DeleteDomainGroup(p, tctx, &d); d 5897 source4/torture/rpc/samr.c struct samr_DeleteGroupMember d; d 5912 source4/torture/rpc/samr.c d.in.group_handle = group_handle; d 5913 source4/torture/rpc/samr.c d.in.rid = rid; d 5915 source4/torture/rpc/samr.c status = dcerpc_samr_DeleteGroupMember(p, tctx, &d); d 5945 source4/torture/rpc/samr.c status = dcerpc_samr_DeleteGroupMember(p, tctx, &d); d 1155 source4/torture/rpc/samsync.c int i, d; d 1203 source4/torture/rpc/samsync.c for (d=0; d < delta_enum_array->num_deltas; d++) { d 1205 source4/torture/rpc/samsync.c switch (delta_enum_array->delta_enum[d].delta_type) { d 1208 source4/torture/rpc/samsync.c r.in.database_id, &delta_enum_array->delta_enum[d])) { d 1215 source4/torture/rpc/samsync.c r.in.database_id, &delta_enum_array->delta_enum[d])) { d 1222 source4/torture/rpc/samsync.c r.in.database_id, &delta_enum_array->delta_enum[d])) { d 1229 source4/torture/rpc/samsync.c r.in.database_id, &delta_enum_array->delta_enum[d])) { d 1236 source4/torture/rpc/samsync.c r.in.database_id, &delta_enum_array->delta_enum[d])) { d 1243 source4/torture/rpc/samsync.c r.in.database_id, &delta_enum_array->delta_enum[d])) { d 1250 source4/torture/rpc/samsync.c r.in.database_id, &delta_enum_array->delta_enum[d])) { d 1257 source4/torture/rpc/samsync.c r.in.database_id, &delta_enum_array->delta_enum[d])) { d 1279 source4/torture/rpc/samsync.c printf("Uxpected delta type %d\n", delta_enum_array->delta_enum[d].delta_type); d 45 source4/torture/rpc/session_key.c struct lsa_DeleteObject d; d 130 source4/torture/rpc/session_key.c d.in.handle = &sec_handle; d 131 source4/torture/rpc/session_key.c d.out.handle = &sec_handle; d 132 source4/torture/rpc/session_key.c status = dcerpc_lsa_DeleteObject(p, tctx, &d); d 544 source4/torture/rpc/srvsvc.c struct srvsvc_NetShareDel d; d 564 source4/torture/rpc/srvsvc.c a.in.server_unc = r.in.server_unc = q.in.server_unc = d.in.server_unc = d 715 source4/torture/rpc/srvsvc.c d.in.share_name = r.in.share_name; d 716 source4/torture/rpc/srvsvc.c d.in.reserved = 0; d 718 source4/torture/rpc/srvsvc.c status = dcerpc_srvsvc_NetShareDel(p, tctx, &d); d 58 source4/torture/rpc/testjoin.c struct samr_DeleteUser d; d 92 source4/torture/rpc/testjoin.c d.in.user_handle = &user_handle; d 93 source4/torture/rpc/testjoin.c d.out.user_handle = &user_handle; d 94 source4/torture/rpc/testjoin.c status = dcerpc_samr_DeleteUser(p, mem_ctx, &d); d 510 source4/torture/rpc/testjoin.c struct samr_DeleteUser d; d 516 source4/torture/rpc/testjoin.c d.in.user_handle = &join->user_handle; d 517 source4/torture/rpc/testjoin.c d.out.user_handle = &join->user_handle; d 520 source4/torture/rpc/testjoin.c status = dcerpc_samr_DeleteUser(join->p, join, &d); d 39 source4/torture/smb2/dir.c union smb_search_data *d; d 55 source4/torture/smb2/dir.c status = smb2_find_level(tree, tree, &f, &count, &d); d 64 source4/torture/smb2/dir.c d[i].both_directory_info.name.s); d 47 source4/torture/smb2/find.c union smb_search_data *d = find_level("SMB2_FIND_" #call_name); \ d 48 source4/torture/smb2/find.c if (io.all_info2.out.field != d->stype.field) { \ d 51 source4/torture/smb2/find.c (long long)io.all_info2.out.field, (long long)d->stype.field); \ d 56 source4/torture/smb2/find.c union smb_search_data *d = find_level("SMB2_FIND_" #call_name); \ d 57 source4/torture/smb2/find.c if (strcmp(str, d->stype.field.s) != 0) { \ d 60 source4/torture/smb2/find.c str, d->stype.field.s); \ d 120 source4/torture/smb2/find.c union smb_search_data *d; d 125 source4/torture/smb2/find.c levels[i].status = smb2_find_level(tree, tree, &f, &count, &d); d 136 source4/torture/smb2/find.c levels[i].data = d[0]; d 157 source4/torture/smbtorture.c char *p, *d; d 171 source4/torture/smbtorture.c d = p + 1; d 172 source4/torture/smbtorture.c p = strchr_m(d, '#'); d 178 source4/torture/smbtorture.c basedn = strndup(d, p - d); d 275 source4/torture/winbind/struct_based.c struct torture_trust_domain *d = NULL; d 295 source4/torture/winbind/struct_based.c d = talloc_realloc(torture, d, d 298 source4/torture/winbind/struct_based.c ZERO_STRUCT(d[dcount+1]); d 304 source4/torture/winbind/struct_based.c d[dcount].netbios_name = talloc_strdup(d, lp); d 305 source4/torture/winbind/struct_based.c torture_assert(torture, strlen(d[dcount].netbios_name) > 0, d 312 source4/torture/winbind/struct_based.c d[dcount].dns_name = talloc_strdup(d, lp); d 316 source4/torture/winbind/struct_based.c d[dcount].sid = dom_sid_parse_talloc(d, lp); d 317 source4/torture/winbind/struct_based.c torture_assert(torture, d[dcount].sid, d 327 source4/torture/winbind/struct_based.c *_d = d; d 37 source4/winbind/wb_dom_info_trusted.c struct netr_DsRGetDCName d; d 97 source4/winbind/wb_dom_info_trusted.c state->d.in.server_unc = d 100 source4/winbind/wb_dom_info_trusted.c if (composite_nomem(state->d.in.server_unc, d 103 source4/winbind/wb_dom_info_trusted.c state->d.in.domain_name = state->info->name; d 104 source4/winbind/wb_dom_info_trusted.c state->d.in.domain_guid = NULL; d 105 source4/winbind/wb_dom_info_trusted.c state->d.in.site_guid = NULL; d 106 source4/winbind/wb_dom_info_trusted.c state->d.in.flags = DS_RETURN_DNS_NAME; d 107 source4/winbind/wb_dom_info_trusted.c state->d.out.info = talloc(state, struct netr_DsRGetDCNameInfo *); d 108 source4/winbind/wb_dom_info_trusted.c if (composite_nomem(state->d.out.info, state->ctx)) return; d 111 source4/winbind/wb_dom_info_trusted.c state, &state->d); d 134 source4/winbind/wb_dom_info_trusted.c werror_to_ntstatus(state->d.out.result); d 145 source4/winbind/wb_dom_info_trusted.c (*state->d.out.info)->dc_unc); d 150 source4/winbind/wb_dom_info_trusted.c (*state->d.out.info)->dc_address); d 155 source4/winbind/wb_dom_info_trusted.c (*state->d.out.info)->domain_name);