Lines Matching refs:enforce
512 import std.exception : enforce;
515 auto p = cast(Group!DataIndex*) enforce(
714 import std.exception : enforce;
717 _memory = (enforce(malloc(size), "malloc failed")[0 .. size]);
788 import std.exception : enforce;
793 _memory = (enforce(malloc(size), "malloc failed")[0 .. size]);
823 import std.exception : enforce;
828 void[] memory = enforce(malloc(size), "malloc failed")[0 .. size];
1152 import std.exception : enforce;
1178 enforce(ignoreBadSubs || digit < captures.length, text("invalid submatch number ", digit));
1185 enforce(!x.empty && x[0] == '}', "no matching '}' in replacement format");
1188 enforce(!name.empty, "invalid name in ${...} replacement format");
1214 enforce(state == State.Normal, "invalid format string in regex replace");