Lines Matching refs:i
117 size_t i; in safe_read_bool() local
118 for (i = 0; i < sizeof(bool); i++) in safe_read_bool()
120 if (p[i] != 0) in safe_read_bool()
129 pb_size_t i; in encode_array() local
163 for (i = 0; i < count; i++) in encode_array()
180 for (i = 0; i < count; i++) in encode_array()
199 for (i = 0; i < count; i++) in encode_array()
284 pb_size_t i; in pb_check_proto3_default_value() local
286 for (i = 0; i < field->data_size; i++) in pb_check_proto3_default_value()
288 if (p[i] != 0) in pb_check_proto3_default_value()
574 size_t i = 0; in pb_encode_varint_32() local
579 while (i < 4 && (low != 0 || high != 0)) in pb_encode_varint_32()
582 buffer[i++] = byte; in pb_encode_varint_32()
595 buffer[i++] = byte; in pb_encode_varint_32()
601 buffer[i++] = byte; in pb_encode_varint_32()
603 return pb_write(stream, buffer, i); in pb_encode_varint_32()
956 union { float f; uint32_t i; } in; in pb_encode_float_as_double() member
964 sign = (uint_least8_t)((in.i >> 31) & 1); in pb_encode_float_as_double()
965 exponent = (int)((in.i >> 23) & 0xFF) - 127; in pb_encode_float_as_double()
966 mantissa = in.i & 0x7FFFFF; in pb_encode_float_as_double()