Lines Matching refs:eb
403 struct lws_tokens eb; in lws_http_client_socket_service() local
406 eb.token = NULL; in lws_http_client_socket_service()
407 eb.len = 0; in lws_http_client_socket_service()
408 buffered = lws_buflist_aware_read(pt, wsi, &eb, 0, __func__); in lws_http_client_socket_service()
410 buffered, eb.len); in lws_http_client_socket_service()
411 if (eb.len == LWS_SSL_CAPABLE_MORE_SERVICE) in lws_http_client_socket_service()
413 if (buffered < 0 || eb.len < 0) { in lws_http_client_socket_service()
417 if (!eb.len) in lws_http_client_socket_service()
420 n = eb.len; in lws_http_client_socket_service()
421 if (lws_parse(wsi, eb.token, &n)) { in lws_http_client_socket_service()
427 m = eb.len - n; in lws_http_client_socket_service()
436 (const uint8_t *)eb.token, in lws_http_client_socket_service()
443 if (lws_buflist_aware_finished_consuming(wsi, &eb, m, in lws_http_client_socket_service()
1329 struct lws_tokens eb; in lws_http_client_read() local
1340 eb.token = (unsigned char *)*buf; in lws_http_client_read()
1341 eb.len = *len; in lws_http_client_read()
1343 buffered = lws_buflist_aware_read(pt, wsi, &eb, 0, __func__); in lws_http_client_read()
1344 *buf = (char *)eb.token; /* may be pointing to buflist or pt_serv_buf */ in lws_http_client_read()
1381 if (eb.len <= 0) in lws_http_client_read()
1384 *len = eb.len; in lws_http_client_read()
1564 if (lws_buflist_aware_finished_consuming(wsi, &eb, consumed, buffered, in lws_http_client_read()