Lines Matching refs:handle

127 #define HTTP_IS_DATA_VOLATILE(hs) (((hs->file != NULL) && (hs->handle != NULL) && (hs->file == \
128 (const char*)hs->handle->data + hs->handle->len - hs->left)) \
235 struct fs_file *handle; member
466 if(hs->handle) { in http_state_eof()
471 ms_needed, hs->handle->len, ((((u32_t)hs->handle->len) * 10) / needed))); in http_state_eof()
473 fs_close(hs->handle); in http_state_eof()
474 hs->handle = NULL; in http_state_eof()
789 , (hs->handle ? hs->handle->state : NULL)
935 if ((hs->handle == NULL) ||
936 …((hs->handle->flags & (FS_FILE_FLAGS_HEADER_INCLUDED|FS_FILE_FLAGS_HEADER_PERSISTENT)) == FS_FILE_…
942 hs->handle->len);
1073 if (hs->handle == NULL) {
1078 bytes_left = fs_bytes_left(hs->handle);
1123 count = fs_read_async(hs->handle, hs->buf, count, http_continue, hs);
1125 count = fs_read(hs->handle, hs->buf, count);
1533 if (!fs_is_file_ready(hs->handle, http_continue, hs)) {
1566 if((hs->left == 0) && (fs_bytes_left(hs->handle) <= 0)) {
1875 if (hs && (hs->pcb) && (hs->handle)) {
1916 if ((hs->handle != NULL) || (hs->file != NULL)) {
2248 hs->handle = file;
2266 (hs->handle->flags & FS_FILE_FLAGS_HEADER_INCLUDED) != 0);
2269 if (is_09 && ((hs->handle->flags & FS_FILE_FLAGS_HEADER_INCLUDED) != 0)) {
2294 , hs->handle->state
2302 hs->handle = NULL;
2310 if ((hs->handle == NULL) || ((hs->handle->flags & FS_FILE_FLAGS_HEADER_INCLUDED) == 0)) {
2324 if ((hs->handle != NULL) &&
2325 …((hs->handle->flags & (FS_FILE_FLAGS_HEADER_INCLUDED|FS_FILE_FLAGS_HEADER_PERSISTENT)) == FS_FILE_…
2413 if(hs && (hs->handle)) {
2477 if (hs->handle == NULL) {