Lines Matching defs:width
69 int editWidth{edit.width.value_or(0)};
158 int editWidth{edit.width.value_or(0)};
231 const DataEdit &edit, std::size_t length, std::size_t width) {
244 } else if (width > length) {
245 return EmitRepeated(io_, ' ', width - length);
296 int editWidth{edit.width.value_or(0)}; // 'w' field
305 if (editWidth == 0) { // "the processor selects the field width"
403 int width{editWidth > 0 ? editWidth : totalLength};
404 if (totalLength > width || !exponent) {
405 return EmitRepeated(io_, '*', width);
407 if (totalLength < width && digitsBeforePoint == 0 &&
412 if (totalLength < width && editWidth == 0) {
413 width = totalLength;
415 return EmitPrefix(edit, totalLength, width) &&
432 const int editWidth{edit.width.value_or(0)}; // 'w' field
438 if (editWidth == 0) { // "the processor selects the field width"
545 int width{editWidth > 0 || trailingBlanks_ ? editWidth : totalLength};
546 if (totalLength > width) {
547 return EmitRepeated(io_, '*', width);
549 if (totalLength < width && digitsBeforePoint + zeroesBeforePoint == 0) {
553 return EmitPrefix(edit, totalLength, width) &&
570 int editWidth{edit.width.value_or(0)};
712 int editWidth{edit.width.value_or(0)}; // 'w' field
740 int width{editWidth > 0 ? editWidth : totalLength};
741 return totalLength > width || !exponent
742 ? EmitRepeated(io_, '*', width)
743 : EmitRepeated(io_, ' ', width - totalLength) &&
817 return EmitRepeated(io, ' ', std::max(0, edit.width.value_or(1) - 1)) &&
831 int width{edit.width.value_or(len)};
832 return EmitRepeated(io, ' ', std::max(0, width - len)) &&
834 io, reinterpret_cast<char *>(&truthBits), std::min(width, len));
905 int width{edit.width.value_or(len)};
910 if (width == 0) {
911 width = len;
931 return EmitRepeated(io, ' ', std::max(0, width - len)) &&
932 EmitEncoded(io, x, std::min(width, len));