Searched refs:nanos_buf (Results 1 – 4 of 4) sorted by relevance
/external/rust/crates/grpcio-sys/grpc/third_party/upb/cmake/upb/json/ |
D | parser.c | 1466 char nanos_buf[12]; in end_duration_base() local 1482 memset(nanos_buf, 0, 12); in end_duration_base() 1514 nanos_buf[0] = '0'; in end_duration_base() 1515 memcpy(nanos_buf + 1, buf + fraction_start, len - fraction_start); in end_duration_base() 1516 val = strtod(nanos_buf, &end); in end_duration_base() 1517 if (errno == ERANGE || end != nanos_buf + len - fraction_start + 1) { in end_duration_base() 1519 nanos_buf); in end_duration_base() 1651 char nanos_buf[12]; in end_timestamp_fraction() local 1657 memset(nanos_buf, 0, 12); in end_timestamp_fraction() 1672 nanos_buf[0] = '0'; in end_timestamp_fraction() [all …]
|
/external/rust/crates/grpcio-sys/grpc/third_party/upb/upb/json/ |
D | parser.rl | 1464 char nanos_buf[12]; 1480 memset(nanos_buf, 0, 12); 1512 nanos_buf[0] = '0'; 1513 memcpy(nanos_buf + 1, buf + fraction_start, len - fraction_start); 1514 val = strtod(nanos_buf, &end); 1515 if (errno == ERANGE || end != nanos_buf + len - fraction_start + 1) { 1517 nanos_buf); 1649 char nanos_buf[12]; 1655 memset(nanos_buf, 0, 12); 1670 nanos_buf[0] = '0'; [all …]
|
/external/protobuf/php/ext/google/protobuf/ |
D | upb.c | 10223 char nanos_buf[12]; in end_duration_base() local 10239 memset(nanos_buf, 0, 12); in end_duration_base() 10271 nanos_buf[0] = '0'; in end_duration_base() 10272 memcpy(nanos_buf + 1, buf + fraction_start, len - fraction_start); in end_duration_base() 10273 val = strtod(nanos_buf, &end); in end_duration_base() 10274 if (errno == ERANGE || end != nanos_buf + len - fraction_start + 1) { in end_duration_base() 10276 nanos_buf); in end_duration_base() 10409 char nanos_buf[12]; in end_timestamp_fraction() local 10415 memset(nanos_buf, 0, 12); in end_timestamp_fraction() 10430 nanos_buf[0] = '0'; in end_timestamp_fraction() [all …]
|
/external/protobuf/ruby/ext/google/protobuf_c/ |
D | upb.c | 14056 char nanos_buf[12]; in end_duration_base() local 14072 memset(nanos_buf, 0, 12); in end_duration_base() 14107 nanos_buf[0] = '0'; in end_duration_base() 14108 memcpy(nanos_buf + 1, buf + fraction_start, len - fraction_start); in end_duration_base() 14109 val = strtod(nanos_buf, &end); in end_duration_base() 14110 if (errno == ERANGE || end != nanos_buf + len - fraction_start + 1) { in end_duration_base() 14112 nanos_buf); in end_duration_base() 14246 char nanos_buf[12]; in end_timestamp_fraction() local 14252 memset(nanos_buf, 0, 12); in end_timestamp_fraction() 14268 nanos_buf[0] = '0'; in end_timestamp_fraction() [all …]
|