v1 541 lib/replace/crypt.c { ufc_long v1, v2, *k1; v1 550 lib/replace/crypt.c v1 = v2 = 0; k1 = &do_pc1[0][0][0]; v1 552 lib/replace/crypt.c v1 |= k1[*key & 0x7f]; k1 += 128; v1 559 lib/replace/crypt.c v1 = (v1 << rots[i]) | (v1 >> (28 - rots[i])); v1 560 lib/replace/crypt.c v = k1[(v1 >> 21) & 0x7f]; k1 += 128; v1 561 lib/replace/crypt.c v |= k1[(v1 >> 14) & 0x7f]; k1 += 128; v1 562 lib/replace/crypt.c v |= k1[(v1 >> 7) & 0x7f]; k1 += 128; v1 563 lib/replace/crypt.c v |= k1[(v1 ) & 0x7f]; k1 += 128; v1 590 lib/replace/crypt.c { ufc_long v1, v2, x; v1 596 lib/replace/crypt.c v1=v2=0; l1 >>= 3; l2 >>= 3; r1 >>= 3; r2 >>= 3; v1 598 lib/replace/crypt.c v1 |= efp[15][ r2 & 0x3f][0]; v2 |= efp[15][ r2 & 0x3f][1]; v1 599 lib/replace/crypt.c v1 |= efp[14][(r2 >>= 6) & 0x3f][0]; v2 |= efp[14][ r2 & 0x3f][1]; v1 600 lib/replace/crypt.c v1 |= efp[13][(r2 >>= 10) & 0x3f][0]; v2 |= efp[13][ r2 & 0x3f][1]; v1 601 lib/replace/crypt.c v1 |= efp[12][(r2 >>= 6) & 0x3f][0]; v2 |= efp[12][ r2 & 0x3f][1]; v1 603 lib/replace/crypt.c v1 |= efp[11][ r1 & 0x3f][0]; v2 |= efp[11][ r1 & 0x3f][1]; v1 604 lib/replace/crypt.c v1 |= efp[10][(r1 >>= 6) & 0x3f][0]; v2 |= efp[10][ r1 & 0x3f][1]; v1 605 lib/replace/crypt.c v1 |= efp[ 9][(r1 >>= 10) & 0x3f][0]; v2 |= efp[ 9][ r1 & 0x3f][1]; v1 606 lib/replace/crypt.c v1 |= efp[ 8][(r1 >>= 6) & 0x3f][0]; v2 |= efp[ 8][ r1 & 0x3f][1]; v1 608 lib/replace/crypt.c v1 |= efp[ 7][ l2 & 0x3f][0]; v2 |= efp[ 7][ l2 & 0x3f][1]; v1 609 lib/replace/crypt.c v1 |= efp[ 6][(l2 >>= 6) & 0x3f][0]; v2 |= efp[ 6][ l2 & 0x3f][1]; v1 610 lib/replace/crypt.c v1 |= efp[ 5][(l2 >>= 10) & 0x3f][0]; v2 |= efp[ 5][ l2 & 0x3f][1]; v1 611 lib/replace/crypt.c v1 |= efp[ 4][(l2 >>= 6) & 0x3f][0]; v2 |= efp[ 4][ l2 & 0x3f][1]; v1 613 lib/replace/crypt.c v1 |= efp[ 3][ l1 & 0x3f][0]; v2 |= efp[ 3][ l1 & 0x3f][1]; v1 614 lib/replace/crypt.c v1 |= efp[ 2][(l1 >>= 6) & 0x3f][0]; v2 |= efp[ 2][ l1 & 0x3f][1]; v1 615 lib/replace/crypt.c v1 |= efp[ 1][(l1 >>= 10) & 0x3f][0]; v2 |= efp[ 1][ l1 & 0x3f][1]; v1 616 lib/replace/crypt.c v1 |= efp[ 0][(l1 >>= 6) & 0x3f][0]; v2 |= efp[ 0][ l1 & 0x3f][1]; v1 618 lib/replace/crypt.c ary[0] = v1; ary[1] = v2; v1 627 lib/replace/crypt.c static char *output_conversion(ufc_long v1, ufc_long v2, const char *salt) v1 635 lib/replace/crypt.c outbuf[i + 2] = bin_to_ascii((v1 >> (26 - 6 * i)) & 0x3f); v1 638 lib/replace/crypt.c v2 = (v2 >> 2) | ((v1 & 0x3) << 30); v1 169 lib/util/genrand.c uint32_t v1, v2; struct timeval tval; pid_t mypid; v1 193 lib/util/genrand.c v1 = (counter++) + mypid + tval.tv_sec; v1 196 lib/util/genrand.c SIVAL(seed_inbuf, 32, v1 ^ IVAL(seed_inbuf, 32)); v1 424 lib/zlib/contrib/iostream3/zfstream.h T1 v1, v1 450 lib/zlib/contrib/iostream3/zfstream.h T1 v1, v1 452 lib/zlib/contrib/iostream3/zfstream.h : func(f), val1(v1), val2(v2) v1 27 librpc/gen_ndr/echo.h uint8_t v1; v1 32 librpc/gen_ndr/echo.h uint8_t v1; v1 37 librpc/gen_ndr/echo.h uint8_t v1; v1 130 librpc/gen_ndr/ndr_echo.c NDR_CHECK(ndr_push_uint8(ndr, NDR_SCALARS, r->v1)); v1 142 librpc/gen_ndr/ndr_echo.c NDR_CHECK(ndr_pull_uint8(ndr, NDR_SCALARS, &r->v1)); v1 154 librpc/gen_ndr/ndr_echo.c ndr_print_uint8(ndr, "v1", r->v1); v1 163 librpc/gen_ndr/ndr_echo.c NDR_CHECK(ndr_push_uint8(ndr, NDR_SCALARS, r->v1)); v1 175 librpc/gen_ndr/ndr_echo.c NDR_CHECK(ndr_pull_uint8(ndr, NDR_SCALARS, &r->v1)); v1 187 librpc/gen_ndr/ndr_echo.c ndr_print_uint8(ndr, "v1", r->v1); v1 196 librpc/gen_ndr/ndr_echo.c NDR_CHECK(ndr_push_uint8(ndr, NDR_SCALARS, r->v1)); v1 208 librpc/gen_ndr/ndr_echo.c NDR_CHECK(ndr_pull_uint8(ndr, NDR_SCALARS, &r->v1)); v1 220 librpc/gen_ndr/ndr_echo.c ndr_print_uint8(ndr, "v1", r->v1); v1 127 source3/lib/ldb/common/attrib_handlers.c const struct ldb_val *v1, const struct ldb_val *v2) v1 129 source3/lib/ldb/common/attrib_handlers.c return strtoll((char *)v1->data, NULL, 0) - strtoll((char *)v2->data, NULL, 0); v1 136 source3/lib/ldb/common/attrib_handlers.c const struct ldb_val *v1, const struct ldb_val *v2) v1 138 source3/lib/ldb/common/attrib_handlers.c if (v1->length != v2->length) { v1 139 source3/lib/ldb/common/attrib_handlers.c return v1->length - v2->length; v1 141 source3/lib/ldb/common/attrib_handlers.c return memcmp(v1->data, v2->data, v1->length); v1 153 source3/lib/ldb/common/attrib_handlers.c const struct ldb_val *v1, const struct ldb_val *v2) v1 155 source3/lib/ldb/common/attrib_handlers.c const char *s1=(const char *)v1->data, *s2=(const char *)v2->data; v1 259 source3/lib/ldb/common/attrib_handlers.c const struct ldb_val *v1, const struct ldb_val *v2) v1 264 source3/lib/ldb/common/attrib_handlers.c dn1 = ldb_dn_explode_casefold(ldb, mem_ctx, (char *)v1->data); v1 284 source3/lib/ldb/common/attrib_handlers.c const struct ldb_val *v1, const struct ldb_val *v2) v1 288 source3/lib/ldb/common/attrib_handlers.c ret = ldb_comparison_fold(ldb, mem_ctx, v1, v2); v1 292 source3/lib/ldb/common/attrib_handlers.c subclasses = ldb_subclass_list(ldb, (char *)v1->data); v1 311 source3/lib/ldb/common/attrib_handlers.c const struct ldb_val *v1, const struct ldb_val *v2) v1 314 source3/lib/ldb/common/attrib_handlers.c t1 = ldb_string_to_time((char *)v1->data); v1 90 source3/lib/ldb/common/ldb_attributes.c const struct ldb_val *v1, v1 93 source3/lib/ldb/common/ldb_attributes.c if (v1->length != v2->length) { v1 94 source3/lib/ldb/common/ldb_attributes.c return v1->length - v2->length; v1 96 source3/lib/ldb/common/ldb_attributes.c return memcmp(v1->data, v2->data, v1->length); v1 281 source3/lib/ldb/common/ldb_match.c static int ldb_comparator_and(const struct ldb_val *v1, const struct ldb_val *v2) v1 284 source3/lib/ldb/common/ldb_match.c i1 = strtoull((char *)v1->data, NULL, 0); v1 292 source3/lib/ldb/common/ldb_match.c static int ldb_comparator_or(const struct ldb_val *v1, const struct ldb_val *v2) v1 295 source3/lib/ldb/common/ldb_match.c i1 = strtoull((char *)v1->data, NULL, 0); v1 68 source3/lib/ldb/common/ldb_msg.c int ldb_val_equal_exact(const struct ldb_val *v1, const struct ldb_val *v2) v1 70 source3/lib/ldb/common/ldb_msg.c if (v1->length != v2->length) return 0; v1 72 source3/lib/ldb/common/ldb_msg.c if (v1->length == 0) return 1; v1 74 source3/lib/ldb/common/ldb_msg.c if (memcmp(v1->data, v2->data, v1->length) == 0) { v1 408 source3/lib/ldb/include/ldb.h typedef int (*ldb_qsort_cmp_fn_t) (void *v1, void *v2, void *opaque); v1 1351 source3/lib/ldb/include/ldb.h int ldb_val_equal_exact(const struct ldb_val *v1, const struct ldb_val *v2); v1 203 source3/lib/ldb/include/ldb_private.h const struct ldb_val *v1, const struct ldb_val *v2); v1 95 source3/lib/ldb/samba/ldif_handlers.c const struct ldb_val *v1, const struct ldb_val *v2) v1 97 source3/lib/ldb/samba/ldif_handlers.c if (ldb_comparision_objectSid_isString(v1) && ldb_comparision_objectSid_isString(v2)) { v1 98 source3/lib/ldb/samba/ldif_handlers.c return strcmp((const char *)v1->data, (const char *)v2->data); v1 99 source3/lib/ldb/samba/ldif_handlers.c } else if (ldb_comparision_objectSid_isString(v1) v1 103 source3/lib/ldb/samba/ldif_handlers.c if (ldif_read_objectSid(ldb, mem_ctx, v1, &v) != 0) { v1 109 source3/lib/ldb/samba/ldif_handlers.c } else if (!ldb_comparision_objectSid_isString(v1) v1 116 source3/lib/ldb/samba/ldif_handlers.c ret = ldb_comparison_binary(ldb, mem_ctx, v1, &v); v1 120 source3/lib/ldb/samba/ldif_handlers.c return ldb_comparison_binary(ldb, mem_ctx, v1, v2); v1 200 source3/lib/ldb/samba/ldif_handlers.c const struct ldb_val *v1, const struct ldb_val *v2) v1 202 source3/lib/ldb/samba/ldif_handlers.c if (ldb_comparision_objectGUID_isString(v1) && ldb_comparision_objectGUID_isString(v2)) { v1 203 source3/lib/ldb/samba/ldif_handlers.c return strcmp((const char *)v1->data, (const char *)v2->data); v1 204 source3/lib/ldb/samba/ldif_handlers.c } else if (ldb_comparision_objectGUID_isString(v1) v1 208 source3/lib/ldb/samba/ldif_handlers.c if (ldif_read_objectGUID(ldb, mem_ctx, v1, &v) != 0) { v1 214 source3/lib/ldb/samba/ldif_handlers.c } else if (!ldb_comparision_objectGUID_isString(v1) v1 221 source3/lib/ldb/samba/ldif_handlers.c ret = ldb_comparison_binary(ldb, mem_ctx, v1, &v); v1 225 source3/lib/ldb/samba/ldif_handlers.c return ldb_comparison_binary(ldb, mem_ctx, v1, v2); v1 321 source3/lib/ldb/samba/ldif_handlers.c const struct ldb_val *v1, v1 327 source3/lib/ldb/samba/ldif_handlers.c dn1 = ldb_dn_explode(mem_ctx, (char *)v1->data); v1 329 source3/lib/ldb/samba/ldif_handlers.c oc1 = talloc_strndup(mem_ctx, (char *)v1->data, v1->length); v1 5715 source3/torture/torture.c DATA_BLOB v1, v2, v3; v1 5739 source3/torture/torture.c if (!memcache_lookup(cache, STAT_CACHE, k1, &v1)) { v1 5743 source3/torture/torture.c if (!data_blob_equal(d1, v1)) { v1 1066 source4/dsdb/samdb/ldb_modules/partition.c static int partition_sort_compare(const void *v1, const void *v2) v1 1071 source4/dsdb/samdb/ldb_modules/partition.c p1 = *((struct dsdb_control_current_partition * const*)v1); v1 120 source4/heimdal/lib/gssapi/krb5/arcfour.c const u_char *v1, size_t l1, v1 138 source4/heimdal/lib/gssapi/krb5/arcfour.c memcpy(ptr, v1, l1); v1 97 source4/lib/ldb-samba/ldif_handlers.c const struct ldb_val *v1, const struct ldb_val *v2) v1 99 source4/lib/ldb-samba/ldif_handlers.c if (ldb_comparision_objectSid_isString(v1) && ldb_comparision_objectSid_isString(v2)) { v1 100 source4/lib/ldb-samba/ldif_handlers.c return ldb_comparison_binary(ldb, mem_ctx, v1, v2); v1 101 source4/lib/ldb-samba/ldif_handlers.c } else if (ldb_comparision_objectSid_isString(v1) v1 105 source4/lib/ldb-samba/ldif_handlers.c if (ldif_read_objectSid(ldb, mem_ctx, v1, &v) != 0) { v1 107 source4/lib/ldb-samba/ldif_handlers.c return ldb_comparison_binary(ldb, mem_ctx, v1, v2); v1 112 source4/lib/ldb-samba/ldif_handlers.c } else if (!ldb_comparision_objectSid_isString(v1) v1 118 source4/lib/ldb-samba/ldif_handlers.c return ldb_comparison_binary(ldb, mem_ctx, v1, v2); v1 120 source4/lib/ldb-samba/ldif_handlers.c ret = ldb_comparison_binary(ldb, mem_ctx, v1, &v); v1 124 source4/lib/ldb-samba/ldif_handlers.c return ldb_comparison_binary(ldb, mem_ctx, v1, v2); v1 261 source4/lib/ldb-samba/ldif_handlers.c const struct ldb_val *v1, const struct ldb_val *v2) v1 263 source4/lib/ldb-samba/ldif_handlers.c if (ldb_comparision_objectGUID_isString(v1) && ldb_comparision_objectGUID_isString(v2)) { v1 264 source4/lib/ldb-samba/ldif_handlers.c return ldb_comparison_binary(ldb, mem_ctx, v1, v2); v1 265 source4/lib/ldb-samba/ldif_handlers.c } else if (ldb_comparision_objectGUID_isString(v1) v1 269 source4/lib/ldb-samba/ldif_handlers.c if (ldif_read_objectGUID(ldb, mem_ctx, v1, &v) != 0) { v1 271 source4/lib/ldb-samba/ldif_handlers.c return ldb_comparison_binary(ldb, mem_ctx, v1, v2); v1 276 source4/lib/ldb-samba/ldif_handlers.c } else if (!ldb_comparision_objectGUID_isString(v1) v1 282 source4/lib/ldb-samba/ldif_handlers.c return ldb_comparison_binary(ldb, mem_ctx, v1, v2); v1 284 source4/lib/ldb-samba/ldif_handlers.c ret = ldb_comparison_binary(ldb, mem_ctx, v1, &v); v1 288 source4/lib/ldb-samba/ldif_handlers.c return ldb_comparison_binary(ldb, mem_ctx, v1, v2); v1 416 source4/lib/ldb-samba/ldif_handlers.c const struct ldb_val *v1, v1 429 source4/lib/ldb-samba/ldif_handlers.c ret1 = ldif_canonicalise_objectCategory(ldb, tmp_ctx, v1, &v1_canon); v1 435 source4/lib/ldb-samba/ldif_handlers.c ret = data_blob_cmp(v1, v2); v1 604 source4/lib/ldb-samba/ldif_handlers.c const struct ldb_val *v1, v1 617 source4/lib/ldb-samba/ldif_handlers.c ret1 = ldif_canonicalise_prefixMap(ldb, tmp_ctx, v1, &v1_canon); v1 623 source4/lib/ldb-samba/ldif_handlers.c ret = data_blob_cmp(v1, v2); v1 128 source4/lib/ldb/common/attrib_handlers.c const struct ldb_val *v1, const struct ldb_val *v2) v1 130 source4/lib/ldb/common/attrib_handlers.c return strtoll((char *)v1->data, NULL, 0) - strtoll((char *)v2->data, NULL, 0); v1 137 source4/lib/ldb/common/attrib_handlers.c const struct ldb_val *v1, const struct ldb_val *v2) v1 139 source4/lib/ldb/common/attrib_handlers.c if (v1->length != v2->length) { v1 140 source4/lib/ldb/common/attrib_handlers.c return v1->length - v2->length; v1 142 source4/lib/ldb/common/attrib_handlers.c return memcmp(v1->data, v2->data, v1->length); v1 154 source4/lib/ldb/common/attrib_handlers.c const struct ldb_val *v1, const struct ldb_val *v2) v1 156 source4/lib/ldb/common/attrib_handlers.c const char *s1=(const char *)v1->data, *s2=(const char *)v2->data; v1 157 source4/lib/ldb/common/attrib_handlers.c size_t n1 = v1->length, n2 = v2->length; v1 266 source4/lib/ldb/common/attrib_handlers.c const struct ldb_val *v1, const struct ldb_val *v2) v1 271 source4/lib/ldb/common/attrib_handlers.c dn1 = ldb_dn_from_ldb_val(ldb, mem_ctx, v1); v1 291 source4/lib/ldb/common/attrib_handlers.c const struct ldb_val *v1, const struct ldb_val *v2) v1 294 source4/lib/ldb/common/attrib_handlers.c t1 = ldb_string_to_time((char *)v1->data); v1 279 source4/lib/ldb/common/ldb_match.c static int ldb_comparator_and(const struct ldb_val *v1, const struct ldb_val *v2) v1 282 source4/lib/ldb/common/ldb_match.c i1 = strtoull((char *)v1->data, NULL, 0); v1 290 source4/lib/ldb/common/ldb_match.c static int ldb_comparator_or(const struct ldb_val *v1, const struct ldb_val *v2) v1 293 source4/lib/ldb/common/ldb_match.c i1 = strtoull((char *)v1->data, NULL, 0); v1 63 source4/lib/ldb/common/ldb_msg.c int ldb_val_equal_exact(const struct ldb_val *v1, const struct ldb_val *v2) v1 65 source4/lib/ldb/common/ldb_msg.c if (v1->length != v2->length) return 0; v1 67 source4/lib/ldb/common/ldb_msg.c if (v1->length == 0) return 1; v1 69 source4/lib/ldb/common/ldb_msg.c if (memcmp(v1->data, v2->data, v1->length) == 0) { v1 426 source4/lib/ldb/include/ldb.h typedef int (*ldb_qsort_cmp_fn_t) (void *v1, void *v2, void *opaque); v1 1601 source4/lib/ldb/include/ldb.h int ldb_val_equal_exact(const struct ldb_val *v1, const struct ldb_val *v2); v1 45 source4/lib/ldb/include/ldb_handlers.h const struct ldb_val *v1, const struct ldb_val *v2); v1 48 source4/lib/ldb/include/ldb_handlers.h const struct ldb_val *v1, const struct ldb_val *v2); v1 51 source4/lib/ldb/include/ldb_handlers.h const struct ldb_val *v1, const struct ldb_val *v2); v1 57 source4/lib/ldb/include/ldb_handlers.h const struct ldb_val *v1, const struct ldb_val *v2); v1 60 source4/lib/ldb/include/ldb_handlers.h const struct ldb_val *v1, const struct ldb_val *v2); v1 63 source4/lib/ldb/include/ldb_handlers.h const struct ldb_val *v1, const struct ldb_val *v2); v1 101 source4/rpc_server/echo/rpc_echo.c r->out.info->info5.v1 = 50; v1 105 source4/rpc_server/echo/rpc_echo.c r->out.info->info6.v1 = 70; v1 109 source4/rpc_server/echo/rpc_echo.c r->out.info->info7.v1 = 80; v1 186 source4/torture/raw/qfileinfo.c #define VAL_EQUAL(n1, v1, n2, v2) do {if (s1->n1.out.v1 != s2->n2.out.v2) { \ v1 188 source4/torture/raw/qfileinfo.c #n1, #v1, (uint_t)s1->n1.out.v1, \ v1 194 source4/torture/raw/qfileinfo.c #define STR_EQUAL(n1, v1, n2, v2) do {if (strcmp_safe(s1->n1.out.v1.s, s2->n2.out.v2.s) || \ v1 195 source4/torture/raw/qfileinfo.c s1->n1.out.v1.private_length != s2->n2.out.v2.private_length) { \ v1 197 source4/torture/raw/qfileinfo.c #n1, #v1, s1->n1.out.v1.s, s1->n1.out.v1.private_length, \ v1 203 source4/torture/raw/qfileinfo.c #define STRUCT_EQUAL(n1, v1, n2, v2) do {if (memcmp(&s1->n1.out.v1,&s2->n2.out.v2,sizeof(s1->n1.out.v1))) { \ v1 205 source4/torture/raw/qfileinfo.c #n1, #v1, \ v1 214 source4/torture/raw/qfileinfo.c #define VAL_UNKNOWN(n1, v1) do {if (s1->n1.out.v1 != 0) { \ v1 216 source4/torture/raw/qfileinfo.c #n1, #v1, \ v1 217 source4/torture/raw/qfileinfo.c (uint_t)s1->n1.out.v1, \ v1 218 source4/torture/raw/qfileinfo.c (uint_t)s1->n1.out.v1, \ v1 72 source4/torture/raw/qfsinfo.c #define VAL_EQUAL(n1, v1, n2, v2) do {if (s1->n1.out.v1 != s2->n2.out.v2) { \ v1 74 source4/torture/raw/qfsinfo.c #n1, #v1, (uint_t)s1->n1.out.v1, \ v1 80 source4/torture/raw/qfsinfo.c #define VAL_APPROX_EQUAL(n1, v1, n2, v2) do {if (abs((int)(s1->n1.out.v1) - (int)(s2->n2.out.v2)) > 0.1*s1->n1.out.v1) { \ v1 82 source4/torture/raw/qfsinfo.c #n1, #v1, (uint_t)s1->n1.out.v1, \ v1 88 source4/torture/raw/qfsinfo.c #define STR_EQUAL(n1, v1, n2, v2) do { \ v1 89 source4/torture/raw/qfsinfo.c if (strcmp_safe(s1->n1.out.v1, s2->n2.out.v2)) { \ v1 91 source4/torture/raw/qfsinfo.c #n1, #v1, s1->n1.out.v1, \ v1 97 source4/torture/raw/qfsinfo.c #define STRUCT_EQUAL(n1, v1, n2, v2) do {if (memcmp(&s1->n1.out.v1,&s2->n2.out.v2,sizeof(s1->n1.out.v1))) { \ v1 99 source4/torture/raw/qfsinfo.c #n1, #v1, \ v1 107 source4/torture/raw/qfsinfo.c #define VAL_UNKNOWN(n1, v1) do {if (s1->n1.out.v1 != 0) { \ v1 109 source4/torture/raw/qfsinfo.c #n1, #v1, \ v1 110 source4/torture/raw/qfsinfo.c (uint_t)s1->n1.out.v1, \ v1 111 source4/torture/raw/qfsinfo.c (uint_t)s1->n1.out.v1, \ v1 125 source4/torture/raw/streams.c static int qsort_string(const void *v1, const void *v2) v1 127 source4/torture/raw/streams.c char * const *s1 = v1; v1 132 source4/torture/raw/streams.c static int qsort_stream(const void *v1, const void *v2) v1 134 source4/torture/raw/streams.c const struct stream_struct * s1 = v1;