Home | History | Annotate | Download | only in director

Lines Matching refs:response

1080 	ct_data_t response[MAX_RESULTS], returns_count;
1178 read_cmd_pipe(&response[i]);
1188 (response[0].data_type == data_slave_error))
1190 (const char *)response[0].data_value);
1198 if ((response[i].data_type != data_byte) &&
1199 (response[i].data_type != data_err) &&
1200 (response[i].data_type != data_ok))
1202 "received response >%s< "
1204 (const char *)response[i].data_value);
1215 validate(i, &response[i]);
1218 response[i].data_len;
1220 if (response[i].data_type == data_cchar) {
1222 *((cchar_t *)response[i].data_value);
1225 response[i].data_value;
1229 response[i].data_type;
1471 * Validate the response against the expected return. The variable
1477 char *response;
1493 response = byte_response->data_value;
1506 validate_return("NULL", response, 0);
1510 validate_return("NULL", response, 1);
1516 response, 0);
1520 validate_reference(i, response);
1539 char *response;
1547 response = data;
1560 validate_return(varp->value, response, 0);
1568 validate_cchar(&(varp->cchar), (cchar_t *) response, 0);
1572 validate_wchar((wchar_t *) varp->value, (wchar_t *) response, 0);
2004 * Read a response from the command pipe, first we will receive the
2005 * length of the response then the actual data.
2008 read_cmd_pipe(ct_data_t *response)
2042 response->data_type = type;
2047 response->data_len = len;
2054 if ((response->data_value = malloc(len + 1)) == NULL)
2057 if (read(from_slave, response->data_value, len) < 0)
2060 if (response->data_type != data_byte) {
2061 str = response->data_value;
2066 (const char *)response->data_value);
2070 response->data_value = NULL;
2075 response->data_len = len;