Lines Matching defs:index
150 lastNameIndex to the last known valid index */
1304 integer index;
1306 index = currObj->val.nameVal;
1311 if (length == DPSSYSNAME) { /* system name index */
1312 if (index <= DPS_LAST_COMMON_SYSNAME) {
1314 p = DPSGetSysnameAbbrev(index);
1315 if (p == NULL) p = DPSSysNames[index];
1316 } else p = DPSSysNames[index];
1317 } else if (DPS_FIRST_AUX_SYSNAME <= index
1318 && index <= DPS_LAST_AUX_SYSNAME)
1319 p = DPSSysNamesAux[index - DPS_FIRST_AUX_SYSNAME];
1323 else if (length == 0) { /* user name index */
1324 p = DPSNameFromIndex(index);
1328 p = base + index;
1485 if (newObj.length == DPSSYSNAME) { /* system name index, never expand to string body */
1488 else if (newObj.length == 0) { /* user name index */
1682 integer index = currObj->val.nameVal;
1685 if (length == DPSSYSNAME) {/* system name index */
1686 if (index >= 0 && index < 256) {
1691 PB(index);
1694 else if (DPS_FIRST_AUX_SYSNAME <= index
1695 && index <= DPS_LAST_AUX_SYSNAME)
1696 p = DPSSysNamesAux[index - DPS_FIRST_AUX_SYSNAME];
1700 else if (length == 0) { /* user name index */
1701 if (ctxt->nameEncoding == dps_indexed && index < 256) {
1703 PB(147); /* literal user name index */
1705 PB(148); /* executable user name index */
1706 PB(index);
1710 p = DPSNameFromIndex(index);
1715 p = base + index;
1930 case 145: /* literal system name index */
1933 case 146: /* executable system name index */
1936 case 147: /* literal user name index */
1939 case 148: /* executable user name index */
2287 char *DPSNameFromIndex(long int index)
2289 if (DPSglobals == NIL || index < 0 || index > globLastNameIndex
2292 return (char *) userNames[index];