Lines Matching refs:name
11 * supporting documentation and that the name of Adobe Systems Incorporated
55 char *name;
102 static integer Hash(char *name, integer nEntries)
105 while (*name) val += *name++;
110 static Entry Probe(PSWDict d, integer x, char *name)
114 if (strcmp(name, e->name) == 0) break;
119 static Entry PrevProbe(Entry *prev, PSWDict d, integer x, char *name)
124 if (strcmp(name, e->name) == 0) break;
131 PSWDictValue DPSWDictLookup(PSWDict dict, char *name)
134 e = Probe(dict, Hash(name, dict->nEntries), name);
141 PSWDictValue DPSWDictEnter(PSWDict dict, char *name, PSWDictValue value)
144 integer x = Hash(name, dict->nEntries);
145 e = Probe(dict, x, name);
153 e->name = name; /* MakeAtom(name); */
158 PSWDictValue DPSWDictRemove(PSWDict dict, char *name)
162 integer x = Hash(name, dict->nEntries);
164 e = PrevProbe(&prev, dict, x, name);
172 Atom DPSMakeAtom(char *name)
175 integer x = Hash(name, 511);
179 e = Probe(atoms, x, name);
184 newname = (char *)DPScalloc(strlen(name)+1, 1);
185 strcpy(newname, name);
186 e->name = newname;
188 return (Atom) e->name;