Lines Matching refs:data_size
167 field->pData = (char*)field->pData + field->data_size; in encode_array()
193 field->pData = (char*)field->pData + field->data_size; in encode_array()
234 field->pData = (char*)field->pData + field->data_size; in encode_array()
286 for (i = 0; i < field->data_size; i++) in pb_check_proto3_default_value()
310 return field->data_size == 0; in pb_check_proto3_default_value()
789 if (field->data_size == sizeof(uint_least8_t)) in pb_enc_varint()
791 else if (field->data_size == sizeof(uint_least16_t)) in pb_enc_varint()
793 else if (field->data_size == sizeof(uint32_t)) in pb_enc_varint()
795 else if (field->data_size == sizeof(pb_uint64_t)) in pb_enc_varint()
807 if (field->data_size == sizeof(int_least8_t)) in pb_enc_varint()
809 else if (field->data_size == sizeof(int_least16_t)) in pb_enc_varint()
811 else if (field->data_size == sizeof(int32_t)) in pb_enc_varint()
813 else if (field->data_size == sizeof(pb_int64_t)) in pb_enc_varint()
833 if (field->data_size == sizeof(float) && PB_LTYPE(field->type) == PB_LTYPE_FIXED64) in pb_enc_fixed()
839 if (field->data_size == sizeof(uint32_t)) in pb_enc_fixed()
844 else if (field->data_size == sizeof(uint64_t)) in pb_enc_fixed()
868 bytes->size > field->data_size - offsetof(pb_bytes_array_t, bytes)) in pb_enc_bytes()
879 size_t max_size = (size_t)field->data_size; in pb_enc_string()
950 return pb_encode_string(stream, (const pb_byte_t*)field->pData, (size_t)field->data_size); in pb_enc_fixed_length_bytes()