Lines Matching refs:NULL
83 .init = _init, .get_capabilities = _get_capabilities, .get_margins = NULL,
96 if (caps == NULL) { in ipp_status_get_capabilities_ifc()
97 return NULL; in ipp_status_get_capabilities_ifc()
101 caps->http = NULL; in ipp_status_get_capabilities_ifc()
112 if (this_p == NULL) { in _init()
117 if (caps->http != NULL) { in _init()
125 if (caps->http == NULL) { in _init()
135 ipp_capabilities_t *caps = NULL; in _get_capabilities()
136 ipp_t *request = NULL; // IPP request object in _get_capabilities()
137 ipp_t *response = NULL; // IPP response object in _get_capabilities()
143 if (capabilities != NULL) { in _get_capabilities()
148 if (this_p == NULL) { in _get_capabilities()
153 if (caps->http == NULL) { in _get_capabilities()
160 ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_URI, "printer-uri", NULL, in _get_capabilities()
164 sizeof(pattrs) / sizeof(pattrs[0]), NULL, pattrs); in _get_capabilities()
173 if (response == NULL) { in _get_capabilities()
189 if ((attrptr = ippFindAttribute(response, "printer-state", IPP_TAG_ENUM)) == NULL) { in _get_capabilities()
196 if (ipp_status >= IPP_OK && ipp_status < IPP_REDIRECTION_OTHER_SITE && response != NULL) { in _get_capabilities()
206 if ((caps != NULL) && (capabilities != NULL)) { in _get_capabilities()
219 if (this_p == NULL) { in _destroy()
224 if (caps->http != NULL) { in _destroy()