d2d_patterns coding standards