Lines Matching defs:Key

1135 cmsBool IsAvailableOnList(KEYVALUE* p, const char* Key, const char* Subkey, KEYVALUE** LastPtr)
1143 if (*Key != '#') { // Comments are ignored
1145 if (cmsstrcasecmp(Key, p->Keyword) == 0)
1171 KEYVALUE* AddToList(cmsIT8* it8, KEYVALUE** Head, const char *Key, const char *Subkey, const char* xValue, WRITEMODE WriteAs)
1179 if (IsAvailableOnList(*Head, Key, Subkey, &p)) {
1183 // return SynError(it8, "duplicate key <%s>", Key);
1198 p->Keyword = AllocString(it8, Key);
1239 KEYVALUE* AddAvailableProperty(cmsIT8* it8, const char* Key, WRITEMODE as)
1241 return AddToList(it8, &it8->ValidKeywords, Key, NULL, NULL, as);
1246 KEYVALUE* AddAvailableSampleID(cmsIT8* it8, const char* Key)
1248 return AddToList(it8, &it8->ValidSampleID, Key, NULL, NULL, WRITE_UNCOOKED);
1365 cmsBool CMSEXPORT cmsIT8SetPropertyStr(cmsHANDLE hIT8, const char* Key, const char *Val)
1372 return AddToList(it8, &GetTable(it8)->HeaderList, Key, NULL, Val, WRITE_STRINGIFY) != NULL;
1395 cmsBool CMSEXPORT cmsIT8SetPropertyUncooked(cmsHANDLE hIT8, const char* Key, const char* Buffer)
1399 return AddToList(it8, &GetTable(it8)->HeaderList, Key, NULL, Buffer, WRITE_UNCOOKED) != NULL;
1402 cmsBool CMSEXPORT cmsIT8SetPropertyMulti(cmsHANDLE hIT8, const char* Key, const char* SubKey, const char *Buffer)
1406 return AddToList(it8, &GetTable(it8)->HeaderList, Key, SubKey, Buffer, WRITE_PAIR) != NULL;
1410 const char* CMSEXPORT cmsIT8GetProperty(cmsHANDLE hIT8, const char* Key)
1415 if (IsAvailableOnList(GetTable(it8) -> HeaderList, Key, NULL, &p))
1430 const char* CMSEXPORT cmsIT8GetPropertyMulti(cmsHANDLE hIT8, const char* Key, const char *SubKey)
1435 if (IsAvailableOnList(GetTable(it8) -> HeaderList, Key, SubKey, &p)) {
1932 KEYVALUE* Key;
1962 if (!IsAvailableOnList(it8-> ValidKeywords, VarName, NULL, &Key)) {
1967 Key = AddAvailableProperty(it8, VarName, WRITE_UNCOOKED);
1968 if (Key == NULL) return FALSE;
1975 if(Key->WriteAs != WRITE_PAIR) {