• Home
  • Raw
  • Download

Lines Matching refs:offset

66         ptr::copy_nonoverlapping(b"0.0".as_ptr(), result.offset(index), 3);  in format64()
79 write_mantissa_long(v.mantissa, result.offset(index + length)); in format64()
81 *result.offset(index + i) = b'0'; in format64()
83 *result.offset(index + kk) = b'.'; in format64()
84 *result.offset(index + kk + 1) = b'0'; in format64()
88 write_mantissa_long(v.mantissa, result.offset(index + length + 1)); in format64()
89 ptr::copy(result.offset(index + 1), result.offset(index), kk as usize); in format64()
90 *result.offset(index + kk) = b'.'; in format64()
94 *result.offset(index) = b'0'; in format64()
95 *result.offset(index + 1) = b'.'; in format64()
96 let offset = 2 - kk; in format64() localVariable
97 for i in 2..offset { in format64()
98 *result.offset(index + i) = b'0'; in format64()
100 write_mantissa_long(v.mantissa, result.offset(index + length + offset)); in format64()
101 index as usize + length as usize + offset as usize in format64()
104 *result.offset(index) = b'0' + v.mantissa as u8; in format64()
105 *result.offset(index + 1) = b'e'; in format64()
106 index as usize + 2 + write_exponent3(kk - 1, result.offset(index + 2)) in format64()
109 write_mantissa_long(v.mantissa, result.offset(index + length + 1)); in format64()
110 *result.offset(index) = *result.offset(index + 1); in format64()
111 *result.offset(index + 1) = b'.'; in format64()
112 *result.offset(index + length + 1) = b'e'; in format64()
116 + write_exponent3(kk - 1, result.offset(index + length + 2)) in format64()
173 ptr::copy_nonoverlapping(b"0.0".as_ptr(), result.offset(index), 3); in format32()
186 write_mantissa(v.mantissa, result.offset(index + length)); in format32()
188 *result.offset(index + i) = b'0'; in format32()
190 *result.offset(index + kk) = b'.'; in format32()
191 *result.offset(index + kk + 1) = b'0'; in format32()
195 write_mantissa(v.mantissa, result.offset(index + length + 1)); in format32()
196 ptr::copy(result.offset(index + 1), result.offset(index), kk as usize); in format32()
197 *result.offset(index + kk) = b'.'; in format32()
201 *result.offset(index) = b'0'; in format32()
202 *result.offset(index + 1) = b'.'; in format32()
203 let offset = 2 - kk; in format32() localVariable
204 for i in 2..offset { in format32()
205 *result.offset(index + i) = b'0'; in format32()
207 write_mantissa(v.mantissa, result.offset(index + length + offset)); in format32()
208 index as usize + length as usize + offset as usize in format32()
211 *result.offset(index) = b'0' + v.mantissa as u8; in format32()
212 *result.offset(index + 1) = b'e'; in format32()
213 index as usize + 2 + write_exponent2(kk - 1, result.offset(index + 2)) in format32()
216 write_mantissa(v.mantissa, result.offset(index + length + 1)); in format32()
217 *result.offset(index) = *result.offset(index + 1); in format32()
218 *result.offset(index + 1) = b'.'; in format32()
219 *result.offset(index + length + 1) = b'e'; in format32()
223 + write_exponent2(kk - 1, result.offset(index + length + 2)) in format32()