Home
last modified time | relevance | path

Searched refs:class_node (Results 1 – 2 of 2) sorted by relevance

/third_party/googletest/googlemock/scripts/generator/cpp/
Dgmock_class.py113 def _GenerateMethods(output_lines, source, class_node): argument
119 for node in class_node.body:
155 class_node = node
157 if class_node.namespace:
158 lines.extend(['namespace %s {' % n for n in class_node.namespace]) # }
162 if class_node.templated_types:
169 template_args = class_node.templated_types.keys()
180 _GenerateMethods(lines, source, class_node)
193 if class_node.namespace:
194 for i in range(len(class_node.namespace) - 1, -1, -1):
[all …]
/third_party/glib/gobject/
Dgtype.c4893 TypeNode *class_node; in g_type_class_get_private() local
4900 class_node = lookup_type_node_I (klass->g_type); in g_type_class_get_private()
4901 if (G_UNLIKELY (!class_node || !class_node->is_classed)) in g_type_class_get_private()
4909 if (G_UNLIKELY (!private_node || !NODE_IS_ANCESTOR (private_node, class_node))) in g_type_class_get_private()
4916 offset = ALIGN_STRUCT (class_node->data->class.class_size); in g_type_class_get_private()