Home
last modified time | relevance | path

Searched refs:fraction_start (Results 1 – 3 of 3) sorted by relevance

/external/rust/crates/serde_json/src/lexical/
Dexponent.rs27 fraction_start: usize, in scientific_exponent()
30 let fraction_start = into_i32(fraction_start); in scientific_exponent() localVariable
31 exponent.saturating_sub(fraction_start).saturating_sub(1) in scientific_exponent()
/external/rust/crates/grpcio-sys/grpc/third_party/upb/cmake/upb/json/
Dparser.c1473 size_t fraction_start; in end_duration_base() local
1487 for (fraction_start = 0; fraction_start < len && buf[fraction_start] != '.'; in end_duration_base()
1488 fraction_start++); in end_duration_base()
1491 memcpy(seconds_buf, buf, fraction_start); in end_duration_base()
1493 if (errno == ERANGE || end != seconds_buf + fraction_start) { in end_duration_base()
1515 memcpy(nanos_buf + 1, buf + fraction_start, len - fraction_start); in end_duration_base()
1517 if (errno == ERANGE || end != nanos_buf + len - fraction_start + 1) { in end_duration_base()
/external/rust/crates/grpcio-sys/grpc/third_party/upb/upb/json/
Dparser.rl1471 size_t fraction_start;
1485 for (fraction_start = 0; fraction_start < len && buf[fraction_start] != '.';
1486 fraction_start++);
1489 memcpy(seconds_buf, buf, fraction_start);
1491 if (errno == ERANGE || end != seconds_buf + fraction_start) {
1513 memcpy(nanos_buf + 1, buf + fraction_start, len - fraction_start);
1515 if (errno == ERANGE || end != nanos_buf + len - fraction_start + 1) {