Lines Matching refs:keyword
4362 if(length < 1 || length > 79) CERROR_BREAK(error, 89); /*keyword too short or long*/
4370 string2_begin = length + 1; /*skip keyword null terminator*/
4407 if(length < 1 || length > 79) CERROR_BREAK(error, 89); /*keyword too short or long*/
4460 if(length < 1 || length > 79) CERROR_BREAK(error, 89); /*keyword too short or long*/
5009 static unsigned addChunk_tEXt(ucvector* out, const char* keyword, const char* textstring)
5015 for(i = 0; keyword[i] != 0; i++) ucvector_push_back(&text, (unsigned char)keyword[i]);
5016 if(i < 1 || i > 79) return 89; /*error: invalid keyword size*/
5025 static unsigned addChunk_zTXt(ucvector* out, const char* keyword, const char* textstring,
5034 for(i = 0; keyword[i] != 0; i++) ucvector_push_back(&data, (unsigned char)keyword[i]);
5035 if(i < 1 || i > 79) return 89; /*error: invalid keyword size*/
5052 static unsigned addChunk_iTXt(ucvector* out, unsigned compressed, const char* keyword, const char* langtag,
5061 for(i = 0; keyword[i] != 0; i++) ucvector_push_back(&data, (unsigned char)keyword[i]);
5062 if(i < 1 || i > 79) return 89; /*error: invalid keyword size*/
5999 case 66: return "the length of a text chunk keyword given to the encoder is longer than the maximum of 79 bytes";
6000 case 67: return "the length of a text chunk keyword given to the encoder is smaller than the minimum of 1 byte";
6022 case 89: return "text chunk keyword too short or long: must have size 1-79";