Home
last modified time | relevance | path

Searched refs:fraction_start (Results 1 – 5 of 5) 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) {
/external/protobuf/php/ext/google/protobuf/
Dupb.c10230 size_t fraction_start; in end_duration_base() local
10244 for (fraction_start = 0; fraction_start < len && buf[fraction_start] != '.'; in end_duration_base()
10245 fraction_start++); in end_duration_base()
10248 memcpy(seconds_buf, buf, fraction_start); in end_duration_base()
10250 if (errno == ERANGE || end != seconds_buf + fraction_start) { in end_duration_base()
10272 memcpy(nanos_buf + 1, buf + fraction_start, len - fraction_start); in end_duration_base()
10274 if (errno == ERANGE || end != nanos_buf + len - fraction_start + 1) { in end_duration_base()
/external/protobuf/ruby/ext/google/protobuf_c/
Dupb.c14063 size_t fraction_start; in end_duration_base() local
14077 for (fraction_start = 0; fraction_start < len && buf[fraction_start] != '.'; in end_duration_base()
14078 fraction_start++); in end_duration_base()
14081 memcpy(seconds_buf, buf, fraction_start); in end_duration_base()
14083 if (errno == ERANGE || end != seconds_buf + fraction_start) { in end_duration_base()
14108 memcpy(nanos_buf + 1, buf + fraction_start, len - fraction_start); in end_duration_base()
14110 if (errno == ERANGE || end != nanos_buf + len - fraction_start + 1) { in end_duration_base()