Searched refs:keyword_length (Results 1 – 4 of 4) sorted by relevance
1397 uInt read_length, keyword_length; in png_handle_iCCP() local1410 keyword_length = 0; in png_handle_iCCP()1411 while (keyword_length < 80 && keyword_length < read_length && in png_handle_iCCP()1412 keyword[keyword_length] != 0) in png_handle_iCCP()1413 ++keyword_length; in png_handle_iCCP()1416 if (keyword_length >= 1 && keyword_length <= 79) in png_handle_iCCP()1421 if (keyword_length+1 < read_length && in png_handle_iCCP()1422 keyword[keyword_length+1] == PNG_COMPRESSION_TYPE_BASE) in png_handle_iCCP()1424 read_length -= keyword_length+2; in png_handle_iCCP()1432 png_ptr->zstream.next_in = (Bytef*)keyword + (keyword_length+2); in png_handle_iCCP()[all …]
1399 uInt read_length, keyword_length; in png_handle_iCCP() local1412 keyword_length = 0; in png_handle_iCCP()1413 while (keyword_length < 80 && keyword_length < read_length && in png_handle_iCCP()1414 keyword[keyword_length] != 0) in png_handle_iCCP()1415 ++keyword_length; in png_handle_iCCP()1418 if (keyword_length >= 1 && keyword_length <= 79) in png_handle_iCCP()1423 if (keyword_length+1 < read_length && in png_handle_iCCP()1424 keyword[keyword_length+1] == PNG_COMPRESSION_TYPE_BASE) in png_handle_iCCP()1426 read_length -= keyword_length+2; in png_handle_iCCP()1434 png_ptr->zstream.next_in = (Bytef*)keyword + (keyword_length+2); in png_handle_iCCP()[all …]
1439 const int keyword_length = sizeof(keyword) - 1; \ in KeywordOrIdentifierToken()1440 STATIC_ASSERT(keyword_length >= kMinLength); \ in KeywordOrIdentifierToken()1441 STATIC_ASSERT(keyword_length <= kMaxLength); \ in KeywordOrIdentifierToken()1442 if (input_length == keyword_length && input[1] == keyword[1] && \ in KeywordOrIdentifierToken()1443 (keyword_length <= 2 || input[2] == keyword[2]) && \ in KeywordOrIdentifierToken()1444 (keyword_length <= 3 || input[3] == keyword[3]) && \ in KeywordOrIdentifierToken()1445 (keyword_length <= 4 || input[4] == keyword[4]) && \ in KeywordOrIdentifierToken()1446 (keyword_length <= 5 || input[5] == keyword[5]) && \ in KeywordOrIdentifierToken()1447 (keyword_length <= 6 || input[6] == keyword[6]) && \ in KeywordOrIdentifierToken()1448 (keyword_length <= 7 || input[7] == keyword[7]) && \ in KeywordOrIdentifierToken()[all …]