reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

projects/compiler-rt/lib/tsan/rtl/tsan_md5.cpp
  195   used = ctx->lo & 0x3f;
  197   ctx->buffer[used++] = 0x80;
  202     internal_memset(&ctx->buffer[used], 0, free);
  203     body(ctx, ctx->buffer, 64);
  203     body(ctx, ctx->buffer, 64);
  208   internal_memset(&ctx->buffer[used], 0, free - 8);
  210   ctx->lo <<= 3;
  211   ctx->buffer[56] = ctx->lo;
  211   ctx->buffer[56] = ctx->lo;
  212   ctx->buffer[57] = ctx->lo >> 8;
  212   ctx->buffer[57] = ctx->lo >> 8;
  213   ctx->buffer[58] = ctx->lo >> 16;
  213   ctx->buffer[58] = ctx->lo >> 16;
  214   ctx->buffer[59] = ctx->lo >> 24;
  214   ctx->buffer[59] = ctx->lo >> 24;
  215   ctx->buffer[60] = ctx->hi;
  215   ctx->buffer[60] = ctx->hi;
  216   ctx->buffer[61] = ctx->hi >> 8;
  216   ctx->buffer[61] = ctx->hi >> 8;
  217   ctx->buffer[62] = ctx->hi >> 16;
  217   ctx->buffer[62] = ctx->hi >> 16;
  218   ctx->buffer[63] = ctx->hi >> 24;
  218   ctx->buffer[63] = ctx->hi >> 24;
  220   body(ctx, ctx->buffer, 64);
  220   body(ctx, ctx->buffer, 64);
  222   result[0] = ctx->a;
  223   result[1] = ctx->a >> 8;
  224   result[2] = ctx->a >> 16;
  225   result[3] = ctx->a >> 24;
  226   result[4] = ctx->b;
  227   result[5] = ctx->b >> 8;
  228   result[6] = ctx->b >> 16;
  229   result[7] = ctx->b >> 24;
  230   result[8] = ctx->c;
  231   result[9] = ctx->c >> 8;
  232   result[10] = ctx->c >> 16;
  233   result[11] = ctx->c >> 24;
  234   result[12] = ctx->d;
  235   result[13] = ctx->d >> 8;
  236   result[14] = ctx->d >> 16;
  237   result[15] = ctx->d >> 24;
  239   internal_memset(ctx, 0, sizeof(*ctx));
  239   internal_memset(ctx, 0, sizeof(*ctx));