Lines Matching refs:np
43 print_node(ndr_node_t *np)
47 if (!np) {
52 switch (np->label) {
81 (void) printf("<<lab=%d>>", np->label);
85 switch (np->label) {
90 if (np->n_c_advice) {
91 print_advice_list(np->n_c_advice);
95 print_node(np->n_c_typename);
97 print_node_list(np->n_c_members);
114 if ((np->n_a_arg == NULL) || (np->n_a_arg->n_int == 0))
117 print_node(np->n_a_arg);
124 print_field_attr(np);
135 print_node(np->n_a_arg);
142 (void) printf("%s", np->n_sym->name);
146 (void) printf("%ld", np->n_int);
150 (void) printf("\"%s\"", np->n_str);
155 print_node(np->n_d_descend);
159 print_node(np->n_d_descend);
161 if (np->n_d_dim)
162 print_node(np->n_d_dim);
168 print_node(np->n_d_descend);
173 if (np->n_m_advice) {
175 print_advice_list(np->n_m_advice);
179 print_declaration(np);
199 print_field_attr(ndr_node_t *np)
207 arg = np->n_a_arg;
213 arg = np->n_a_arg1;
230 arg = np->n_a_arg2;
245 print_declaration(ndr_node_t *np)
247 ndr_node_t *dnp = np->n_m_decl;
251 if (np->n_m_type &&
252 (np->n_m_type->label == IDENTIFIER ||
253 np->n_m_type->label == TYPENAME)) {
254 (void) snprintf(buf, NDLBUFSZ, "%s", np->n_m_type->n_sym->name);
269 print_node(np->n_m_type);
277 print_advice_list(ndr_node_t *np)
279 if (!np)
283 for (; np; np = np->n_next) {
284 print_node(np);
285 if (np->n_next)
292 print_node_list(ndr_node_t *np)
294 for (; np; np = np->n_next) {
295 print_node(np);