Lines Matching defs:keyword

110 	/* if not already in keyword package, move atom to keyword package */
1714 * key1, key2, and key3 will be in the keyword package
1717 LispCheckKeyword(LispObj *keyword)
1719 if (KEYWORDP(keyword))
1720 return (keyword);
1722 return (KEYWORD(ATOMID(keyword)->value));
1949 /* Add to keyword package, and set the keyword in the
1950 * argument list, so that a function argument keyword
2055 /* &AUX must be the last keyword parameter */
2090 /* Add to keyword package, and set the keyword in the
2091 * argument list, so that a function argument keyword
2966 LispObj *keyword;
2968 if (PACKAGE != lisp__data.keyword) {
2977 PACKAGE = lisp__data.keyword;
2980 /* Create symbol in keyword package */
2981 keyword = LispNewStaticAtom(string);
2988 /* Just create symbol in keyword package */
2989 keyword = LispNewStaticAtom(string);
2991 /* Export keyword symbol */
2992 LispExportSymbol(keyword);
2995 keyword->data.atom->constant = 1;
2997 /* XXX maybe should bound the keyword to itself, but that would
2998 * require allocating a LispProperty structure for every keyword */
3000 return (keyword);
3327 if (name->constant && name->package == lisp__data.keyword)
3385 if (name->constant && name->package == lisp__data.keyword)
4225 * Builtin functions require that the keyword be in the keyword package.
4249 * same symbol in the keyword package. */
4309 /* Must be a keyword, but even if it is a keyword, may
4420 /* Special keyword specification, need to compare ATOMID
4421 * and keyword specification must be a quoted object */
4435 /* Normal keyword specification, can compare object pointers,
4436 * as they point to the same object in the keyword package */
4438 /* Don't check if argument is a valid keyword or
4439 * special quoted keyword */
4513 LispDestroy("%s: %s is an invalid keyword",
5240 /* Allow easy access to the keyword package */
5241 lisp__data.keyword = object;