w 99 examples/libsmbclient/smbwrapper/smbw.c char *w;
w 103 examples/libsmbclient/smbwrapper/smbw.c w = getenv("WORKGROUP");
w 104 examples/libsmbclient/smbwrapper/smbw.c if (w == NULL) w = "";
w 112 examples/libsmbclient/smbwrapper/smbw.c smbw_strlcpy(wg, w, wglen);
w 145 lib/compression/mszip.c register int32_t w; /* bits before this table == (l * h) */
w 211 lib/compression/mszip.c w = l[-1] = 0; /* no bits decoded yet */
w 224 lib/compression/mszip.c while (k > w + l[h])
w 226 lib/compression/mszip.c w += l[h++]; /* add bits already decoded */
w 229 lib/compression/mszip.c z = (z = g - w) > (uint32_t)*m ? *m : z; /* upper limit */
w 230 lib/compression/mszip.c if ((f = 1 << (j = k - w)) > a + 1) /* try a k-w bit table */
w 241 lib/compression/mszip.c if ((uint32_t)w + j > el && (uint32_t)w < el)
w 242 lib/compression/mszip.c j = el - w; /* make EOB code end at table */
w 264 lib/compression/mszip.c j = (i & ((1 << w) - 1)) >> (w - l[h-1]);
w 270 lib/compression/mszip.c r.b = (uint8_t)(k - w);
w 285 lib/compression/mszip.c f = 1 << (k - w);
w 286 lib/compression/mszip.c for (j = i >> w; j < z; j += f)
w 295 lib/compression/mszip.c while ((i & ((1 << w) - 1)) != ZIP(x)[h])
w 296 lib/compression/mszip.c w -= l[--h]; /* don't need to update q */
w 313 lib/compression/mszip.c uint32_t w; /* current window position */
w 324 lib/compression/mszip.c w = ZIP(window_posn); /* initialize window position */
w 343 lib/compression/mszip.c if (w >= CAB_BLOCKMAX) break;
w 345 lib/compression/mszip.c CAB(outbuf)[w++] = (uint8_t)t->v.n;
w 369 lib/compression/mszip.c d = w - t->v.n - ((uint32_t)b & Zipmask[e]);
w 373 lib/compression/mszip.c n -= (e = (e = ZIPWSIZE - ((d &= ZIPWSIZE-1) > w ? d : w)) > n ?n:e);
w 376 lib/compression/mszip.c CAB(outbuf)[w++] = CAB(outbuf)[d++];
w 383 lib/compression/mszip.c ZIP(window_posn) = w; /* restore global window pointer */
w 395 lib/compression/mszip.c uint32_t w; /* current window position */
w 402 lib/compression/mszip.c w = ZIP(window_posn); /* initialize window position */
w 421 lib/compression/mszip.c CAB(outbuf)[w++] = (uint8_t)b;
w 426 lib/compression/mszip.c ZIP(window_posn) = w; /* restore global window pointer */
w 159 lib/crypto/md5.c #define MD5STEP(f, w, x, y, z, data, s) \
w 160 lib/crypto/md5.c ( w += f(x, y, z) + data, w = w<<s | w>>(32-s), w += x )
w 56 lib/zlib/crc32.c # define REV(w) (((w)>>24)+(((w)>>8)&0xff00)+ \
w 57 lib/zlib/crc32.c (((w)&0xff00)<<8)+(((w)&0xff)<<24))
w 180 lib/zlib/trees.c #define put_short(s, w) { \
w 181 lib/zlib/trees.c put_byte(s, (uch)((w) & 0xff)); \
w 182 lib/zlib/trees.c put_byte(s, (uch)((ush)(w) >> 8)); \
w 110 source3/lib/avahi.c static void avahi_watch_update(AvahiWatch *w, AvahiWatchEvent event)
w 112 source3/lib/avahi.c tevent_fd_set_flags(w->fde, avahi_flags_map_to_tevent(event));
w 115 source3/lib/avahi.c static AvahiWatchEvent avahi_watch_get_events(AvahiWatch *w)
w 117 source3/lib/avahi.c return w->latest_event;
w 120 source3/lib/avahi.c static void avahi_watch_free(AvahiWatch *w)
w 123 source3/lib/avahi.c AvahiWatch **watches = w->ctx->watches;
w 129 source3/lib/avahi.c if (w == watches[i]) {
w 136 source3/lib/avahi.c ctx = w->ctx;
w 137 source3/lib/avahi.c TALLOC_FREE(w);
w 45 source3/lib/ldb/ldb_tdb/ldb_tdb_wrap.c static int ltdb_wrap_destructor(struct ltdb_wrap *w)
w 47 source3/lib/ldb/ldb_tdb/ldb_tdb_wrap.c tdb_close(w->tdb);
w 48 source3/lib/ldb/ldb_tdb/ldb_tdb_wrap.c if (w->next) {
w 49 source3/lib/ldb/ldb_tdb/ldb_tdb_wrap.c w->next->prev = w->prev;
w 51 source3/lib/ldb/ldb_tdb/ldb_tdb_wrap.c if (w->prev) {
w 52 source3/lib/ldb/ldb_tdb/ldb_tdb_wrap.c w->prev->next = w->next;
w 54 source3/lib/ldb/ldb_tdb/ldb_tdb_wrap.c if (w == tdb_list) {
w 55 source3/lib/ldb/ldb_tdb/ldb_tdb_wrap.c tdb_list = w->next;
w 105 source3/lib/ldb/ldb_tdb/ldb_tdb_wrap.c struct ltdb_wrap *w;
w 113 source3/lib/ldb/ldb_tdb/ldb_tdb_wrap.c for (w=tdb_list;w;w=w->next) {
w 114 source3/lib/ldb/ldb_tdb/ldb_tdb_wrap.c if (st.st_dev == w->device && st.st_ino == w->inode) {
w 115 source3/lib/ldb/ldb_tdb/ldb_tdb_wrap.c if (!talloc_reference(mem_ctx, w)) {
w 118 source3/lib/ldb/ldb_tdb/ldb_tdb_wrap.c return w->tdb;
w 123 source3/lib/ldb/ldb_tdb/ldb_tdb_wrap.c w = talloc(mem_ctx, struct ltdb_wrap);
w 124 source3/lib/ldb/ldb_tdb/ldb_tdb_wrap.c if (w == NULL) {
w 128 source3/lib/ldb/ldb_tdb/ldb_tdb_wrap.c w->tdb = tdb_open_ex(path, hash_size, tdb_flags, open_flags, mode, &log_ctx, NULL);
w 129 source3/lib/ldb/ldb_tdb/ldb_tdb_wrap.c if (w->tdb == NULL) {
w 130 source3/lib/ldb/ldb_tdb/ldb_tdb_wrap.c talloc_free(w);
w 134 source3/lib/ldb/ldb_tdb/ldb_tdb_wrap.c if (fstat(tdb_fd(w->tdb), &st) != 0) {
w 135 source3/lib/ldb/ldb_tdb/ldb_tdb_wrap.c tdb_close(w->tdb);
w 136 source3/lib/ldb/ldb_tdb/ldb_tdb_wrap.c talloc_free(w);
w 140 source3/lib/ldb/ldb_tdb/ldb_tdb_wrap.c w->device = st.st_dev;
w 141 source3/lib/ldb/ldb_tdb/ldb_tdb_wrap.c w->inode = st.st_ino;
w 143 source3/lib/ldb/ldb_tdb/ldb_tdb_wrap.c talloc_set_destructor(w, ltdb_wrap_destructor);
w 145 source3/lib/ldb/ldb_tdb/ldb_tdb_wrap.c w->next = tdb_list;
w 146 source3/lib/ldb/ldb_tdb/ldb_tdb_wrap.c w->prev = NULL;
w 148 source3/lib/ldb/ldb_tdb/ldb_tdb_wrap.c tdb_list->prev = w;
w 150 source3/lib/ldb/ldb_tdb/ldb_tdb_wrap.c tdb_list = w;
w 152 source3/lib/ldb/ldb_tdb/ldb_tdb_wrap.c return w->tdb;
w 128 source3/lib/util_tdb.c uint16 w;
w 149 source3/lib/util_tdb.c w = (uint16)va_arg(ap, int);
w 151 source3/lib/util_tdb.c SSVAL(buf, 0, w);
w 168 source3/lib/util_tdb.c w = strlen(s);
w 169 source3/lib/util_tdb.c len = w + 1;
w 175 source3/lib/util_tdb.c w = strlen(s);
w 176 source3/lib/util_tdb.c len = w + 1;
w 263 source3/lib/util_tdb.c uint16 *w;
w 287 source3/lib/util_tdb.c w = va_arg(ap, uint16 *);
w 290 source3/lib/util_tdb.c *w = SVAL(buf, 0);
w 529 source3/lib/util_tdb.c static int tdb_wrap_destructor(struct tdb_wrap *w)
w 531 source3/lib/util_tdb.c tdb_close(w->tdb);
w 532 source3/lib/util_tdb.c DLIST_REMOVE(tdb_list, w);
w 544 source3/lib/util_tdb.c struct tdb_wrap *w;
w 551 source3/lib/util_tdb.c for (w=tdb_list;w;w=w->next) {
w 552 source3/lib/util_tdb.c if (strcmp(name, w->name) == 0) {
w 558 source3/lib/util_tdb.c return talloc_reference(mem_ctx, w);
w 562 source3/lib/util_tdb.c w = talloc(mem_ctx, struct tdb_wrap);
w 563 source3/lib/util_tdb.c if (w == NULL) {
w 567 source3/lib/util_tdb.c if (!(w->name = talloc_strdup(w, name))) {
w 568 source3/lib/util_tdb.c talloc_free(w);
w 583 source3/lib/util_tdb.c w->tdb = tdb_open_ex(name, hash_size, tdb_flags,
w 585 source3/lib/util_tdb.c if (w->tdb == NULL) {
w 586 source3/lib/util_tdb.c talloc_free(w);
w 590 source3/lib/util_tdb.c talloc_set_destructor(w, tdb_wrap_destructor);
w 592 source3/lib/util_tdb.c DLIST_ADD(tdb_list, w);
w 594 source3/lib/util_tdb.c return w;
w 93 source3/libsmb/clirap2.c #define PUTWORD(p,w) do {SSVAL(p,0,w); p += WORDSIZE;} while(0)
w 95 source3/libsmb/clirap2.c #define GETWORD(p,w,endp) \
w 98 source3/libsmb/clirap2.c w = SVAL(p,0);\
w 472 source3/modules/onefs_acl.c enum ifs_ace_rights r,w,x;
w 475 source3/modules/onefs_acl.c w = isdir ? UNIX_DIRECTORY_ACCESS_W : UNIX_ACCESS_W;
w 488 source3/modules/onefs_acl.c ((mode & S_IWUSR) ? w : 0 ) |
w 499 source3/modules/onefs_acl.c ((mode & S_IWGRP) ? w : 0 ) |
w 506 source3/modules/onefs_acl.c ((mode & S_IWOTH) ? w : 0 ) |
w 96 source3/nmbd/nmbd_workgroupdb.c struct work_record *w;
w 97 source3/nmbd/nmbd_workgroupdb.c for (w = subrec->workgrouplist; w && t == -1; w = w->next) {
w 98 source3/nmbd/nmbd_workgroupdb.c if (strequal(w->work_group, work->work_group))
w 99 source3/nmbd/nmbd_workgroupdb.c t = w->token;
w 108 source3/smbd/notify_inotify.c static bool filter_match(struct inotify_watch_context *w,
w 112 source3/smbd/notify_inotify.c e->mask, w->mask, w->filter));
w 114 source3/smbd/notify_inotify.c if ((e->mask & w->mask) == 0) {
w 122 source3/smbd/notify_inotify.c if ((w->filter & FILE_NOTIFY_CHANGE_DIR_NAME) == 0) {
w 127 source3/smbd/notify_inotify.c (w->filter & (FILE_NOTIFY_CHANGE_ATTRIBUTES|
w 135 source3/smbd/notify_inotify.c (w->filter & FILE_NOTIFY_CHANGE_ATTRIBUTES)) {
w 138 source3/smbd/notify_inotify.c if ((w->filter & FILE_NOTIFY_CHANGE_FILE_NAME) == 0) {
w 158 source3/smbd/notify_inotify.c struct inotify_watch_context *w, *next;
w 197 source3/smbd/notify_inotify.c for (w=in->watches;w;w=next) {
w 198 source3/smbd/notify_inotify.c next = w->next;
w 199 source3/smbd/notify_inotify.c if (w->wd == e->wd && filter_match(w, e)) {
w 200 source3/smbd/notify_inotify.c w->callback(in->ctx, w->private_data, &ne);
w 215 source3/smbd/notify_inotify.c for (w=in->watches;w;w=next) {
w 216 source3/smbd/notify_inotify.c next = w->next;
w 217 source3/smbd/notify_inotify.c if (w->wd == e->wd && filter_match(w, e) &&
w 218 source3/smbd/notify_inotify.c !(w->filter & FILE_NOTIFY_CHANGE_CREATION)) {
w 219 source3/smbd/notify_inotify.c w->callback(in->ctx, w->private_data, &ne);
w 343 source3/smbd/notify_inotify.c static int watch_destructor(struct inotify_watch_context *w)
w 345 source3/smbd/notify_inotify.c struct inotify_private *in = w->in;
w 346 source3/smbd/notify_inotify.c int wd = w->wd;
w 347 source3/smbd/notify_inotify.c DLIST_REMOVE(w->in->watches, w);
w 350 source3/smbd/notify_inotify.c for (w=in->watches;w;w=w->next) {
w 351 source3/smbd/notify_inotify.c if (w->wd == wd) break;
w 353 source3/smbd/notify_inotify.c if (w == NULL) {
w 380 source3/smbd/notify_inotify.c struct inotify_watch_context *w;
w 414 source3/smbd/notify_inotify.c w = talloc(in, struct inotify_watch_context);
w 415 source3/smbd/notify_inotify.c if (w == NULL) {
w 421 source3/smbd/notify_inotify.c w->in = in;
w 422 source3/smbd/notify_inotify.c w->wd = wd;
w 423 source3/smbd/notify_inotify.c w->callback = callback;
w 424 source3/smbd/notify_inotify.c w->private_data = private_data;
w 425 source3/smbd/notify_inotify.c w->mask = mask;
w 426 source3/smbd/notify_inotify.c w->filter = filter;
w 427 source3/smbd/notify_inotify.c w->path = talloc_strdup(w, e->path);
w 428 source3/smbd/notify_inotify.c if (w->path == NULL) {
w 434 source3/smbd/notify_inotify.c (*handle) = w;
w 436 source3/smbd/notify_inotify.c DLIST_ADD(in->watches, w);
w 439 source3/smbd/notify_inotify.c talloc_set_destructor(w, watch_destructor);
w 198 source4/client/cifsddio.c union smb_write w;
w 201 source4/client/cifsddio.c ZERO_STRUCT(w);
w 204 source4/client/cifsddio.c w.generic.level = RAW_WRITE_WRITEX;
w 205 source4/client/cifsddio.c w.writex.in.file.fnum = smbh->fnum;
w 206 source4/client/cifsddio.c w.writex.in.offset = smbh->offset;
w 207 source4/client/cifsddio.c w.writex.in.count = wanted;
w 208 source4/client/cifsddio.c w.writex.in.data = buf;
w 210 source4/client/cifsddio.c ret = smb_raw_write(smbh->cli->tree, &w);
w 218 source4/client/cifsddio.c *actual = w.writex.out.nwritten;
w 219 source4/client/cifsddio.c smbh->offset += w.writex.out.nwritten;
w 64 source4/cluster/local.c struct tdb_wrap *w;
w 65 source4/cluster/local.c w = tdb_wrap_open(mem_ctx, path, 0, flags,
w 68 source4/cluster/local.c return w;
w 135 source4/heimdal/lib/asn1/der_format.c char *s, *w, *brkt, *endptr;
w 147 source4/heimdal/lib/asn1/der_format.c for (w = strtok_r(s, sep, &brkt);
w 148 source4/heimdal/lib/asn1/der_format.c w != NULL;
w 149 source4/heimdal/lib/asn1/der_format.c w = strtok_r(NULL, sep, &brkt)) {
w 160 source4/heimdal/lib/asn1/der_format.c l = strtol(w, &endptr, 10);
w 2291 source4/heimdal/lib/hcrypto/imath/imath.c mp_word w = 0;
w 2301 source4/heimdal/lib/hcrypto/imath/imath.c w = w + (mp_word) *da + (mp_word) *db;
w 2302 source4/heimdal/lib/hcrypto/imath/imath.c *dc = LOWER_HALF(w);
w 2303 source4/heimdal/lib/hcrypto/imath/imath.c w = UPPER_HALF(w);
w 2308 source4/heimdal/lib/hcrypto/imath/imath.c w = w + *da;
w 2310 source4/heimdal/lib/hcrypto/imath/imath.c *dc = LOWER_HALF(w);
w 2311 source4/heimdal/lib/hcrypto/imath/imath.c w = UPPER_HALF(w);
w 2315 source4/heimdal/lib/hcrypto/imath/imath.c return (mp_digit)w;
w 2326 source4/heimdal/lib/hcrypto/imath/imath.c mp_word w = 0;
w 2333 source4/heimdal/lib/hcrypto/imath/imath.c w = ((mp_word)MP_DIGIT_MAX + 1 + /* MP_RADIX */
w 2334 source4/heimdal/lib/hcrypto/imath/imath.c (mp_word)*da) - w - (mp_word)*db;
w 2336 source4/heimdal/lib/hcrypto/imath/imath.c *dc = LOWER_HALF(w);
w 2337 source4/heimdal/lib/hcrypto/imath/imath.c w = (UPPER_HALF(w) == 0);
w 2342 source4/heimdal/lib/hcrypto/imath/imath.c w = ((mp_word)MP_DIGIT_MAX + 1 + /* MP_RADIX */
w 2343 source4/heimdal/lib/hcrypto/imath/imath.c (mp_word)*da) - w;
w 2345 source4/heimdal/lib/hcrypto/imath/imath.c *dc = LOWER_HALF(w);
w 2346 source4/heimdal/lib/hcrypto/imath/imath.c w = (UPPER_HALF(w) == 0);
w 2350 source4/heimdal/lib/hcrypto/imath/imath.c assert(w == 0);
w 2450 source4/heimdal/lib/hcrypto/imath/imath.c mp_word w;
w 2459 source4/heimdal/lib/hcrypto/imath/imath.c w = 0;
w 2461 source4/heimdal/lib/hcrypto/imath/imath.c w = (mp_word)*da * (mp_word)*dbt + w + (mp_word)*dct;
w 2463 source4/heimdal/lib/hcrypto/imath/imath.c *dct = LOWER_HALF(w);
w 2464 source4/heimdal/lib/hcrypto/imath/imath.c w = UPPER_HALF(w);
w 2467 source4/heimdal/lib/hcrypto/imath/imath.c *dct = (mp_digit)w;
w 2497 source4/heimdal/lib/hcrypto/imath/imath.c mp_word w, save = 0;
w 2500 source4/heimdal/lib/hcrypto/imath/imath.c w = t3[i];
w 2501 source4/heimdal/lib/hcrypto/imath/imath.c w = (w << 1) | save;
w 2502 source4/heimdal/lib/hcrypto/imath/imath.c t3[i] = LOWER_HALF(w);
w 2503 source4/heimdal/lib/hcrypto/imath/imath.c save = UPPER_HALF(w);
w 2535 source4/heimdal/lib/hcrypto/imath/imath.c mp_word w;
w 2544 source4/heimdal/lib/hcrypto/imath/imath.c w = (mp_word)*dat * (mp_word)*dat + (mp_word)*dct;
w 2545 source4/heimdal/lib/hcrypto/imath/imath.c *dct = LOWER_HALF(w);
w 2546 source4/heimdal/lib/hcrypto/imath/imath.c w = UPPER_HALF(w);
w 2551 source4/heimdal/lib/hcrypto/imath/imath.c mp_word u = w + (mp_word)*dct, ov = 0;
w 2557 source4/heimdal/lib/hcrypto/imath/imath.c w = t + t;
w 2560 source4/heimdal/lib/hcrypto/imath/imath.c if(ADD_WILL_OVERFLOW(w, u))
w 2563 source4/heimdal/lib/hcrypto/imath/imath.c w += u;
w 2565 source4/heimdal/lib/hcrypto/imath/imath.c *dct = LOWER_HALF(w);
w 2566 source4/heimdal/lib/hcrypto/imath/imath.c w = UPPER_HALF(w);
w 2568 source4/heimdal/lib/hcrypto/imath/imath.c w += MP_DIGIT_MAX; /* MP_RADIX */
w 2569 source4/heimdal/lib/hcrypto/imath/imath.c ++w;
w 2573 source4/heimdal/lib/hcrypto/imath/imath.c w = w + *dct;
w 2574 source4/heimdal/lib/hcrypto/imath/imath.c *dct = (mp_digit)w;
w 2575 source4/heimdal/lib/hcrypto/imath/imath.c while((w = UPPER_HALF(w)) != 0) {
w 2576 source4/heimdal/lib/hcrypto/imath/imath.c ++dct; w = w + *dct;
w 2577 source4/heimdal/lib/hcrypto/imath/imath.c *dct = LOWER_HALF(w);
w 2580 source4/heimdal/lib/hcrypto/imath/imath.c assert(w == 0);
w 2590 source4/heimdal/lib/hcrypto/imath/imath.c mp_word w = 0;
w 2594 source4/heimdal/lib/hcrypto/imath/imath.c w = (mp_word)*da + b;
w 2595 source4/heimdal/lib/hcrypto/imath/imath.c *da++ = LOWER_HALF(w);
w 2596 source4/heimdal/lib/hcrypto/imath/imath.c w = UPPER_HALF(w);
w 2599 source4/heimdal/lib/hcrypto/imath/imath.c w = (mp_word)*da + w;
w 2601 source4/heimdal/lib/hcrypto/imath/imath.c *da = LOWER_HALF(w);
w 2602 source4/heimdal/lib/hcrypto/imath/imath.c w = UPPER_HALF(w);
w 2605 source4/heimdal/lib/hcrypto/imath/imath.c if(w) {
w 2606 source4/heimdal/lib/hcrypto/imath/imath.c *da = (mp_digit)w;
w 2617 source4/heimdal/lib/hcrypto/imath/imath.c mp_word w = 0;
w 2622 source4/heimdal/lib/hcrypto/imath/imath.c w = (mp_word)*da * b + w;
w 2623 source4/heimdal/lib/hcrypto/imath/imath.c *da++ = LOWER_HALF(w);
w 2624 source4/heimdal/lib/hcrypto/imath/imath.c w = UPPER_HALF(w);
w 2628 source4/heimdal/lib/hcrypto/imath/imath.c if(w) {
w 2629 source4/heimdal/lib/hcrypto/imath/imath.c *da = (mp_digit)w;
w 2640 source4/heimdal/lib/hcrypto/imath/imath.c mp_word w = 0;
w 2643 source4/heimdal/lib/hcrypto/imath/imath.c w = (mp_word)*da++ * (mp_word)b + w;
w 2645 source4/heimdal/lib/hcrypto/imath/imath.c *dc++ = LOWER_HALF(w);
w 2646 source4/heimdal/lib/hcrypto/imath/imath.c w = UPPER_HALF(w);
w 2650 source4/heimdal/lib/hcrypto/imath/imath.c if(w)
w 2651 source4/heimdal/lib/hcrypto/imath/imath.c *dc = LOWER_HALF(w);
w 2660 source4/heimdal/lib/hcrypto/imath/imath.c mp_word w = 0, qdigit;
w 2665 source4/heimdal/lib/hcrypto/imath/imath.c w = (w << MP_DIGIT_BIT) | *da;
w 2667 source4/heimdal/lib/hcrypto/imath/imath.c if(w >= b) {
w 2668 source4/heimdal/lib/hcrypto/imath/imath.c qdigit = w / b;
w 2669 source4/heimdal/lib/hcrypto/imath/imath.c w = w % b;
w 2679 source4/heimdal/lib/hcrypto/imath/imath.c return (mp_digit)w;
w 2822 source4/heimdal/lib/hcrypto/imath/imath.c mp_word w = 0;
w 2828 source4/heimdal/lib/hcrypto/imath/imath.c w = ((mp_word) MP_DIGIT_MAX + 1) - w - (mp_word)*zp;
w 2830 source4/heimdal/lib/hcrypto/imath/imath.c *zp = LOWER_HALF(w);
w 2831 source4/heimdal/lib/hcrypto/imath/imath.c w = UPPER_HALF(w) ? 0 : 1;
w 2834 source4/heimdal/lib/hcrypto/imath/imath.c w = ((mp_word) MP_DIGIT_MAX + 1 + hi) - w - (mp_word)*zp;
w 2835 source4/heimdal/lib/hcrypto/imath/imath.c *zp = LOWER_HALF(w);
w 2837 source4/heimdal/lib/hcrypto/imath/imath.c assert(UPPER_HALF(w) != 0); /* no borrow out should be possible */
w 116 source4/heimdal/lib/hcrypto/rc2.c #define ROT16L(w,n) ((w<<n)|(w>>(16-n)))
w 117 source4/heimdal/lib/hcrypto/rc2.c #define ROT16R(w,n) ((w>>n)|(w<<(16-n)))
w 117 source4/heimdal/lib/hx509/sel.c const char *w, *s1;
w 119 source4/heimdal/lib/hx509/sel.c w = eval_word(context, env, expr->arg1);
w 126 source4/heimdal/lib/hx509/sel.c if (strcmp(w, s1) == 0)
w 140 source4/heimdal/lib/hx509/sel.c if (strcmp(w, subenv->name) == 0)
w 142 source4/heimdal/lib/hx509/sel.c if (strcmp(w, subenv->u.string) == 0)
w 198 source4/heimdal/lib/krb5/store.c unsigned long w;
w 202 source4/heimdal/lib/krb5/store.c _krb5_get_int(v, &w, len);
w 203 source4/heimdal/lib/krb5/store.c *value = w;
w 404 source4/heimdal/lib/roken/rtbl.c int w;
w 410 source4/heimdal/lib/roken/rtbl.c w = c->width;
w 415 source4/heimdal/lib/roken/rtbl.c w = 0;
w 417 source4/heimdal/lib/roken/rtbl.c w = -w;
w 421 source4/heimdal/lib/roken/rtbl.c fprintf (f, "%*s", w, "");
w 423 source4/heimdal/lib/roken/rtbl.c fprintf (f, "%*s", w, c->rows[j].data);
w 42 source4/lib/ldb/ldb_tdb/ldb_tdb_wrap.c static int ltdb_wrap_destructor(struct ltdb_wrap *w)
w 44 source4/lib/ldb/ldb_tdb/ldb_tdb_wrap.c tdb_close(w->tdb);
w 45 source4/lib/ldb/ldb_tdb/ldb_tdb_wrap.c if (w->next) {
w 46 source4/lib/ldb/ldb_tdb/ldb_tdb_wrap.c w->next->prev = w->prev;
w 48 source4/lib/ldb/ldb_tdb/ldb_tdb_wrap.c if (w->prev) {
w 49 source4/lib/ldb/ldb_tdb/ldb_tdb_wrap.c w->prev->next = w->next;
w 51 source4/lib/ldb/ldb_tdb/ldb_tdb_wrap.c if (w == tdb_list) {
w 52 source4/lib/ldb/ldb_tdb/ldb_tdb_wrap.c tdb_list = w->next;
w 106 source4/lib/ldb/ldb_tdb/ldb_tdb_wrap.c struct ltdb_wrap *w;
w 114 source4/lib/ldb/ldb_tdb/ldb_tdb_wrap.c for (w=tdb_list;w;w=w->next) {
w 115 source4/lib/ldb/ldb_tdb/ldb_tdb_wrap.c if (st.st_dev == w->device && st.st_ino == w->inode) {
w 116 source4/lib/ldb/ldb_tdb/ldb_tdb_wrap.c if (!talloc_reference(mem_ctx, w)) {
w 119 source4/lib/ldb/ldb_tdb/ldb_tdb_wrap.c return w->tdb;
w 124 source4/lib/ldb/ldb_tdb/ldb_tdb_wrap.c w = talloc(mem_ctx, struct ltdb_wrap);
w 125 source4/lib/ldb/ldb_tdb/ldb_tdb_wrap.c if (w == NULL) {
w 129 source4/lib/ldb/ldb_tdb/ldb_tdb_wrap.c w->tdb = tdb_open_ex(path, hash_size, tdb_flags, open_flags, mode, &log_ctx, NULL);
w 130 source4/lib/ldb/ldb_tdb/ldb_tdb_wrap.c if (w->tdb == NULL) {
w 131 source4/lib/ldb/ldb_tdb/ldb_tdb_wrap.c talloc_free(w);
w 135 source4/lib/ldb/ldb_tdb/ldb_tdb_wrap.c if (fstat(tdb_fd(w->tdb), &st) != 0) {
w 136 source4/lib/ldb/ldb_tdb/ldb_tdb_wrap.c tdb_close(w->tdb);
w 137 source4/lib/ldb/ldb_tdb/ldb_tdb_wrap.c talloc_free(w);
w 141 source4/lib/ldb/ldb_tdb/ldb_tdb_wrap.c w->device = st.st_dev;
w 142 source4/lib/ldb/ldb_tdb/ldb_tdb_wrap.c w->inode = st.st_ino;
w 144 source4/lib/ldb/ldb_tdb/ldb_tdb_wrap.c talloc_set_destructor(w, ltdb_wrap_destructor);
w 146 source4/lib/ldb/ldb_tdb/ldb_tdb_wrap.c w->next = tdb_list;
w 147 source4/lib/ldb/ldb_tdb/ldb_tdb_wrap.c w->prev = NULL;
w 149 source4/lib/ldb/ldb_tdb/ldb_tdb_wrap.c tdb_list->prev = w;
w 151 source4/lib/ldb/ldb_tdb/ldb_tdb_wrap.c tdb_list = w;
w 153 source4/lib/ldb/ldb_tdb/ldb_tdb_wrap.c return w->tdb;
w 31 source4/lib/tdb_wrap.c static int tdb_wrap_destructor(struct tdb_wrap *w)
w 33 source4/lib/tdb_wrap.c tdb_close(w->tdb);
w 34 source4/lib/tdb_wrap.c DLIST_REMOVE(tdb_list, w);
w 88 source4/lib/tdb_wrap.c struct tdb_wrap *w;
w 92 source4/lib/tdb_wrap.c for (w=tdb_list;w;w=w->next) {
w 93 source4/lib/tdb_wrap.c if (strcmp(name, w->name) == 0) {
w 94 source4/lib/tdb_wrap.c return talloc_reference(mem_ctx, w);
w 98 source4/lib/tdb_wrap.c w = talloc(mem_ctx, struct tdb_wrap);
w 99 source4/lib/tdb_wrap.c if (w == NULL) {
w 103 source4/lib/tdb_wrap.c w->name = talloc_strdup(w, name);
w 105 source4/lib/tdb_wrap.c w->tdb = tdb_open_ex(name, hash_size, tdb_flags,
w 107 source4/lib/tdb_wrap.c if (w->tdb == NULL) {
w 108 source4/lib/tdb_wrap.c talloc_free(w);
w 112 source4/lib/tdb_wrap.c talloc_set_destructor(w, tdb_wrap_destructor);
w 114 source4/lib/tdb_wrap.c DLIST_ADD(tdb_list, w);
w 116 source4/lib/tdb_wrap.c return w;
w 1397 source4/lib/wmi/wmi_wrap.c PySwigObject_compare(PySwigObject *v, PySwigObject *w)
w 1400 source4/lib/wmi/wmi_wrap.c void *j = w->ptr;
w 1749 source4/lib/wmi/wmi_wrap.c PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
w 1752 source4/lib/wmi/wmi_wrap.c size_t j = w->size;
w 1754 source4/lib/wmi/wmi_wrap.c return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
w 49 source4/ntvfs/common/brlock_tdb.c struct tdb_wrap *w;
w 99 source4/ntvfs/common/brlock_tdb.c brl->w = cluster_tdb_tmp_open(brl, lp_ctx, "brlock.tdb", TDB_DEFAULT);
w 100 source4/ntvfs/common/brlock_tdb.c if (brl->w == NULL) {
w 302 source4/ntvfs/common/brlock_tdb.c if (tdb_chainlock(brl->w->tdb, kbuf) != 0) {
w 320 source4/ntvfs/common/brlock_tdb.c tdb_chainunlock(brl->w->tdb, kbuf);
w 325 source4/ntvfs/common/brlock_tdb.c dbuf = tdb_fetch(brl->w->tdb, kbuf);
w 360 source4/ntvfs/common/brlock_tdb.c if (tdb_store(brl->w->tdb, kbuf, dbuf, TDB_REPLACE) != 0) {
w 366 source4/ntvfs/common/brlock_tdb.c tdb_chainunlock(brl->w->tdb, kbuf);
w 380 source4/ntvfs/common/brlock_tdb.c tdb_chainunlock(brl->w->tdb, kbuf);
w 452 source4/ntvfs/common/brlock_tdb.c if (tdb_chainlock(brl->w->tdb, kbuf) != 0) {
w 456 source4/ntvfs/common/brlock_tdb.c dbuf = tdb_fetch(brl->w->tdb, kbuf);
w 458 source4/ntvfs/common/brlock_tdb.c tdb_chainunlock(brl->w->tdb, kbuf);
w 497 source4/ntvfs/common/brlock_tdb.c if (tdb_delete(brl->w->tdb, kbuf) != 0) {
w 514 source4/ntvfs/common/brlock_tdb.c if (tdb_store(brl->w->tdb, kbuf, dbuf, TDB_REPLACE) != 0) {
w 521 source4/ntvfs/common/brlock_tdb.c tdb_chainunlock(brl->w->tdb, kbuf);
w 530 source4/ntvfs/common/brlock_tdb.c tdb_chainunlock(brl->w->tdb, kbuf);
w 552 source4/ntvfs/common/brlock_tdb.c if (tdb_chainlock(brl->w->tdb, kbuf) != 0) {
w 556 source4/ntvfs/common/brlock_tdb.c dbuf = tdb_fetch(brl->w->tdb, kbuf);
w 558 source4/ntvfs/common/brlock_tdb.c tdb_chainunlock(brl->w->tdb, kbuf);
w 574 source4/ntvfs/common/brlock_tdb.c if (tdb_delete(brl->w->tdb, kbuf) != 0) {
w 585 source4/ntvfs/common/brlock_tdb.c if (tdb_store(brl->w->tdb, kbuf, dbuf, TDB_REPLACE) != 0) {
w 592 source4/ntvfs/common/brlock_tdb.c tdb_chainunlock(brl->w->tdb, kbuf);
w 602 source4/ntvfs/common/brlock_tdb.c tdb_chainunlock(brl->w->tdb, kbuf);
w 623 source4/ntvfs/common/brlock_tdb.c dbuf = tdb_fetch(brl->w->tdb, kbuf);
w 666 source4/ntvfs/common/brlock_tdb.c if (tdb_chainlock(brl->w->tdb, kbuf) != 0) {
w 670 source4/ntvfs/common/brlock_tdb.c dbuf = tdb_fetch(brl->w->tdb, kbuf);
w 672 source4/ntvfs/common/brlock_tdb.c tdb_chainunlock(brl->w->tdb, kbuf);
w 700 source4/ntvfs/common/brlock_tdb.c if (tdb_delete(brl->w->tdb, kbuf) != 0) {
w 711 source4/ntvfs/common/brlock_tdb.c if (tdb_store(brl->w->tdb, kbuf, dbuf, TDB_REPLACE) != 0) {
w 717 source4/ntvfs/common/brlock_tdb.c tdb_chainunlock(brl->w->tdb, kbuf);
w 41 source4/ntvfs/common/notify.c struct tdb_wrap *w;
w 105 source4/ntvfs/common/notify.c notify->w = cluster_tdb_tmp_open(notify, lp_ctx, "notify.tdb", TDB_SEQNUM);
w 106 source4/ntvfs/common/notify.c if (notify->w == NULL) {
w 116 source4/ntvfs/common/notify.c notify->seqnum = tdb_get_seqnum(notify->w->tdb);
w 136 source4/ntvfs/common/notify.c if (tdb_lock_bystring(notify->w->tdb, NOTIFY_KEY) != 0) {
w 147 source4/ntvfs/common/notify.c tdb_unlock_bystring(notify->w->tdb, NOTIFY_KEY);
w 160 source4/ntvfs/common/notify.c seqnum = tdb_get_seqnum(notify->w->tdb);
w 172 source4/ntvfs/common/notify.c dbuf = tdb_fetch_bystring(notify->w->tdb, NOTIFY_KEY);
w 219 source4/ntvfs/common/notify.c ret = tdb_delete_bystring(notify->w->tdb, NOTIFY_KEY);
w 239 source4/ntvfs/common/notify.c ret = tdb_store_bystring(notify->w->tdb, NOTIFY_KEY, dbuf, TDB_REPLACE);
w 55 source4/ntvfs/common/opendb_tdb.c struct tdb_wrap *w;
w 96 source4/ntvfs/common/opendb_tdb.c odb->w = cluster_tdb_tmp_open(odb, ntvfs_ctx->lp_ctx, "openfiles.tdb", TDB_DEFAULT);
w 97 source4/ntvfs/common/opendb_tdb.c if (odb->w == NULL) {
w 119 source4/ntvfs/common/opendb_tdb.c tdb_chainunlock(lck->odb->w->tdb, lck->key);
w 148 source4/ntvfs/common/opendb_tdb.c if (tdb_chainlock(odb->w->tdb, lck->key) != 0) {
w 241 source4/ntvfs/common/opendb_tdb.c dbuf = tdb_fetch(odb->w->tdb, lck->key);
w 270 source4/ntvfs/common/opendb_tdb.c ret = tdb_delete(odb->w->tdb, lck->key);
w 285 source4/ntvfs/common/opendb_tdb.c ret = tdb_store(odb->w->tdb, lck->key, dbuf, TDB_REPLACE);
w 91 source4/ntvfs/sysdep/inotify.c static bool filter_match(struct inotify_watch_context *w,
w 94 source4/ntvfs/sysdep/inotify.c if ((e->mask & w->mask) == 0) {
w 102 source4/ntvfs/sysdep/inotify.c if ((w->filter & FILE_NOTIFY_CHANGE_DIR_NAME) == 0) {
w 107 source4/ntvfs/sysdep/inotify.c (w->filter & (FILE_NOTIFY_CHANGE_ATTRIBUTES|
w 115 source4/ntvfs/sysdep/inotify.c (w->filter & FILE_NOTIFY_CHANGE_ATTRIBUTES)) {
w 118 source4/ntvfs/sysdep/inotify.c if ((w->filter & FILE_NOTIFY_CHANGE_FILE_NAME) == 0) {
w 138 source4/ntvfs/sysdep/inotify.c struct inotify_watch_context *w, *next;
w 171 source4/ntvfs/sysdep/inotify.c for (w=in->watches;w;w=next) {
w 172 source4/ntvfs/sysdep/inotify.c next = w->next;
w 173 source4/ntvfs/sysdep/inotify.c if (w->wd == e->wd && filter_match(w, e)) {
w 174 source4/ntvfs/sysdep/inotify.c w->callback(in->ctx, w->private_data, &ne);
w 189 source4/ntvfs/sysdep/inotify.c for (w=in->watches;w;w=next) {
w 190 source4/ntvfs/sysdep/inotify.c next = w->next;
w 191 source4/ntvfs/sysdep/inotify.c if (w->wd == e->wd && filter_match(w, e) &&
w 192 source4/ntvfs/sysdep/inotify.c !(w->filter & FILE_NOTIFY_CHANGE_CREATION)) {
w 193 source4/ntvfs/sysdep/inotify.c w->callback(in->ctx, w->private_data, &ne);
w 319 source4/ntvfs/sysdep/inotify.c static int watch_destructor(struct inotify_watch_context *w)
w 321 source4/ntvfs/sysdep/inotify.c struct inotify_private *in = w->in;
w 322 source4/ntvfs/sysdep/inotify.c int wd = w->wd;
w 323 source4/ntvfs/sysdep/inotify.c DLIST_REMOVE(w->in->watches, w);
w 326 source4/ntvfs/sysdep/inotify.c for (w=in->watches;w;w=w->next) {
w 327 source4/ntvfs/sysdep/inotify.c if (w->wd == wd) break;
w 329 source4/ntvfs/sysdep/inotify.c if (w == NULL) {
w 349 source4/ntvfs/sysdep/inotify.c struct inotify_watch_context *w;
w 379 source4/ntvfs/sysdep/inotify.c w = talloc(in, struct inotify_watch_context);
w 380 source4/ntvfs/sysdep/inotify.c if (w == NULL) {
w 386 source4/ntvfs/sysdep/inotify.c w->in = in;
w 387 source4/ntvfs/sysdep/inotify.c w->wd = wd;
w 388 source4/ntvfs/sysdep/inotify.c w->callback = callback;
w 389 source4/ntvfs/sysdep/inotify.c w->private_data = private_data;
w 390 source4/ntvfs/sysdep/inotify.c w->mask = mask;
w 391 source4/ntvfs/sysdep/inotify.c w->filter = filter;
w 392 source4/ntvfs/sysdep/inotify.c w->path = talloc_strdup(w, e->path);
w 393 source4/ntvfs/sysdep/inotify.c if (w->path == NULL) {
w 399 source4/ntvfs/sysdep/inotify.c (*handle) = w;
w 401 source4/ntvfs/sysdep/inotify.c DLIST_ADD(in->watches, w);
w 404 source4/ntvfs/sysdep/inotify.c talloc_set_destructor(w, watch_destructor);
w 1254 source4/torture/rpc/spoolss.c struct spoolss_WritePrinter w;
w 1287 source4/torture/rpc/spoolss.c w.in.handle = handle;
w 1288 source4/torture/rpc/spoolss.c w.in.data = data_blob_string_const(talloc_asprintf(tctx,"TortureTestPage: %d\nData\n",i));
w 1289 source4/torture/rpc/spoolss.c w.out.num_written = &num_written;
w 1291 source4/torture/rpc/spoolss.c status = dcerpc_spoolss_WritePrinter(p, tctx, &w);
w 1293 source4/torture/rpc/spoolss.c torture_assert_werr_ok(tctx, w.out.result, "WritePrinter failed");
w 69 source4/torture/smb2/connect.c struct smb2_write w;
w 87 source4/torture/smb2/connect.c ZERO_STRUCT(w);
w 88 source4/torture/smb2/connect.c w.in.file.handle = handle;
w 89 source4/torture/smb2/connect.c w.in.offset = 0;
w 90 source4/torture/smb2/connect.c w.in.data = data;
w 92 source4/torture/smb2/connect.c status = smb2_write(tree, &w);
w 100 source4/torture/smb2/connect.c status = smb2_write(tree, &w);
w 38 source4/torture/smb2/maxwrite.c struct smb2_write w;
w 51 source4/torture/smb2/maxwrite.c ZERO_STRUCT(w);
w 52 source4/torture/smb2/maxwrite.c w.in.file.handle = handle;
w 53 source4/torture/smb2/maxwrite.c w.in.offset = 0;
w 54 source4/torture/smb2/maxwrite.c w.in.data = data_blob_talloc(tmp_ctx, NULL, len);
w 57 source4/torture/smb2/maxwrite.c w.in.data.data[i] = i % 256;
w 63 source4/torture/smb2/maxwrite.c status = smb2_write(tree, &w);
w 94 source4/torture/smb2/maxwrite.c } else if (w.in.data.length != r.out.data.length ||
w 95 source4/torture/smb2/maxwrite.c memcmp(w.in.data.data, r.out.data.data, len) != 0) {
w 44 source4/torture/smb2/util.c struct smb2_write w;
w 46 source4/torture/smb2/util.c ZERO_STRUCT(w);
w 47 source4/torture/smb2/util.c w.in.file.handle = handle;
w 48 source4/torture/smb2/util.c w.in.offset = offset;
w 49 source4/torture/smb2/util.c w.in.data = data_blob_const(buf, size);
w 51 source4/torture/smb2/util.c return smb2_write(tree, &w);