Lines Matching refs:is_ptr
207 is_ptr=True))
369 is_ptr = prop.optional or prop.type_.property_type == PropertyType.ANY
375 is_ptr=is_ptr))
478 def _CreateValueFromType(self, code, prop_name, type_, var, is_ptr=False):
497 vardot = '(%s)%s' % (var, '->' if is_ptr else '.')
515 # optional enum arrays, |is_ptr| is set to false and uses the
522 c.Append(code % self._GenerateCreateValueFromType(type_, var, is_ptr))
525 def _GenerateCreateValueFromType(self, type_, var, is_ptr):
530 is_ptr: Whether |type_| is optional.
535 if is_ptr:
541 if is_ptr:
552 if is_ptr:
561 is_ptr)
563 if is_ptr:
664 is_ptr=prop.optional)
671 is_ptr=False):
682 if is_ptr:
712 if is_ptr:
749 if is_ptr:
761 if is_ptr and self._generate_error_messages:
774 is_ptr=is_ptr))
779 is_ptr)))
782 if is_ptr and self._generate_error_messages:
789 if is_ptr:
819 if is_ptr:
847 is_ptr=False):
854 if is_ptr: