Home | History | Annotate | Download | only in src

Lines Matching defs:Key

93         struct _KeyVal*  NextSubkey;    // If key is a dictionary, points to the next item
94 char* Subkey; // If key is a dictionary, points to the subkey name
687 SYMBOL key;
711 key = BinSrchKey(it8->id);
712 if (key == SNONE) it8->sy = SIDENT;
713 else it8->sy = key;
1122 cmsBool IsAvailableOnList(KEYVALUE* p, const char* Key, const char* Subkey, KEYVALUE** LastPtr)
1130 if (*Key != '#') { // Comments are ignored
1132 if (cmsstrcasecmp(Key, p->Keyword) == 0)
1160 KEYVALUE* AddToList(cmsIT8* it8, KEYVALUE** Head, const char *Key, const char *Subkey, const char* xValue, WRITEMODE WriteAs)
1168 if (IsAvailableOnList(*Head, Key, Subkey, &p)) {
1172 // return SynError(it8, "duplicate key <%s>", Key);
1187 p->Keyword = AllocString(it8, Key);
1200 // If Subkey is not null, then last is the last property with the same key,
1228 KEYVALUE* AddAvailableProperty(cmsIT8* it8, const char* Key, WRITEMODE as)
1230 return AddToList(it8, &it8->ValidKeywords, Key, NULL, NULL, as);
1235 KEYVALUE* AddAvailableSampleID(cmsIT8* it8, const char* Key)
1237 return AddToList(it8, &it8->ValidSampleID, Key, NULL, NULL, WRITE_UNCOOKED);
1354 cmsBool CMSEXPORT cmsIT8SetPropertyStr(cmsHANDLE hIT8, const char* Key, const char *Val)
1361 return AddToList(it8, &GetTable(it8)->HeaderList, Key, NULL, Val, WRITE_STRINGIFY) != NULL;
1384 cmsBool CMSEXPORT cmsIT8SetPropertyUncooked(cmsHANDLE hIT8, const char* Key, const char* Buffer)
1388 return AddToList(it8, &GetTable(it8)->HeaderList, Key, NULL, Buffer, WRITE_UNCOOKED) != NULL;
1391 cmsBool CMSEXPORT cmsIT8SetPropertyMulti(cmsHANDLE hIT8, const char* Key, const char* SubKey, const char *Buffer)
1395 return AddToList(it8, &GetTable(it8)->HeaderList, Key, SubKey, Buffer, WRITE_PAIR) != NULL;
1399 const char* CMSEXPORT cmsIT8GetProperty(cmsHANDLE hIT8, const char* Key)
1404 if (IsAvailableOnList(GetTable(it8) -> HeaderList, Key, NULL, &p))
1421 const char* CMSEXPORT cmsIT8GetPropertyMulti(cmsHANDLE hIT8, const char* Key, const char *SubKey)
1426 if (IsAvailableOnList(GetTable(it8) -> HeaderList, Key, SubKey, &p)) {
1923 KEYVALUE* Key;
1953 if (!IsAvailableOnList(it8-> ValidKeywords, VarName, NULL, &Key)) {
1958 Key = AddAvailableProperty(it8, VarName, WRITE_UNCOOKED);
1959 if (Key == NULL) return FALSE;
1966 if(Key->WriteAs != WRITE_PAIR) {