Home
last modified time | relevance | path

Searched refs:hdrbuf (Results 1 – 2 of 2) sorted by relevance

/external/libjpeg-turbo/
Drdgif.c386 U_CHAR hdrbuf[10]; /* workspace for reading control blocks */ in start_input_gif() local
392 if (!ReadOK(source->pub.input_file, hdrbuf, 6)) in start_input_gif()
394 if (hdrbuf[0] != 'G' || hdrbuf[1] != 'I' || hdrbuf[2] != 'F') in start_input_gif()
400 if ((hdrbuf[3] != '8' || hdrbuf[4] != '7' || hdrbuf[5] != 'a') && in start_input_gif()
401 (hdrbuf[3] != '8' || hdrbuf[4] != '9' || hdrbuf[5] != 'a')) in start_input_gif()
402 TRACEMS3(cinfo, 1, JTRC_GIF_BADVERSION, hdrbuf[3], hdrbuf[4], hdrbuf[5]); in start_input_gif()
405 if (!ReadOK(source->pub.input_file, hdrbuf, 7)) in start_input_gif()
407 width = LM_to_uint(hdrbuf, 0); in start_input_gif()
408 height = LM_to_uint(hdrbuf, 2); in start_input_gif()
417 aspectRatio = UCH(hdrbuf[6]); in start_input_gif()
[all …]
/external/curl/src/
Dtool_formparse.c422 char hdrbuf[999]; /* Max. header length + 1. */ in read_field_headers() local
428 while(hdrlen && ISSPACE(hdrbuf[hdrlen - 1])) in read_field_headers()
431 hdrbuf[hdrlen] = '\0'; in read_field_headers()
432 if(slist_append(pheaders, hdrbuf)) { in read_field_headers()
464 if(hdrlen == sizeof(hdrbuf) - 1) { in read_field_headers()
469 if(hdrlen <= sizeof(hdrbuf) - 1) in read_field_headers()
470 hdrbuf[hdrlen++] = (char) c; in read_field_headers()