Lines Matching defs:cnp
233 dt_pragma_depends(const char *prname, dt_node_t *cnp)
236 dt_node_t *nnp = cnp ? cnp->dn_list : NULL;
241 if (cnp == NULL || nnp == NULL ||
242 cnp->dn_kind != DT_NODE_IDENT || nnp->dn_kind != DT_NODE_IDENT) {
247 if (strcmp(cnp->dn_string, "provider") == 0)
249 else if (strcmp(cnp->dn_string, "module") == 0) {
252 } else if (strcmp(cnp->dn_string, "library") == 0) {
299 "specified by #pragma %s\n", cnp->dn_string, prname);
304 cnp->dn_string, nnp->dn_string);