Lines Matching refs:hdr_index
275 u16_t hdr_index; /* The index of the hdr string currently being sent. */ member
452 hs->hdr_index = NUM_FILE_HDR_STRINGS; in http_state_init()
869 hs->hdr_index = 0;
926 hs->hdr_index = NUM_FILE_HDR_STRINGS;
942 hs->hdr_index = 0;
1014 while (len && (hs->hdr_index < NUM_FILE_HDR_STRINGS) && sendlen) {
1019 hdrlen = (u16_t)strlen(hs->hdrs[hs->hdr_index]);
1026 ptr = (const void *)(hs->hdrs[hs->hdr_index] + hs->hdr_pos);
1029 if (hs->hdr_index == HDR_STRINGS_IDX_CONTENT_LEN_NR) {
1033 if (hs->hdr_index < NUM_FILE_HDR_STRINGS - 1) {
1052 hs->hdr_index++;
1054 while ((hs->hdr_index < NUM_FILE_HDR_STRINGS) &&
1055 (hs->hdrs[hs->hdr_index] == NULL)) {
1056 hs->hdr_index++;
1062 if ((hs->hdr_index >= NUM_FILE_HDR_STRINGS) && (hs->file == NULL)) {
1078 if ((hs->hdr_index < NUM_FILE_HDR_STRINGS) || !hs->file) {
1603 if (hs->hdr_index < NUM_FILE_HDR_STRINGS) {
1607 (hs->hdr_index < NUM_FILE_HDR_STRINGS))) {