Lines Matching defs:strval
126 static char **strval[2]; /* dynamic array of string pointers */
129 static char *capbuffer; /* string table, pointed at by strval */
320 strval[uselevel][i] = otgetstr(strcodes[i], &nextstring);
324 if (strval[uselevel][i]) {
326 tpr(trace, strval[uselevel][i]);
333 if (strval[uselevel][i] && (strval[uselevel][i][0] == '\0')) {
337 strval[uselevel][i] = NULL;
446 tpr(trace, strval[uselevel][i]);
449 return (strval[uselevel][i]);
506 tpr(trace, strval[uselevel][i]);
509 return (strval[uselevel][i]);
593 tpr(trace, strval[uselevel][i]);
596 strval[uselevel][i] = nextstring;
1058 if (needscopying(strval[uselevel][i])) {
1062 tpr(trace, strval[uselevel][i]);
1066 from = strval[uselevel][i];
1067 strval[uselevel][i] = to;
1222 tpr(trace, strval[uselevel][i]);
1253 if (strval[0][i])
1255 strval[0][i]);
1290 if (strval[0][i] && ((strval[1][i] == NULL) ||
1291 (strcmp(strval[0][i], strval[1][i]) != 0)))
1293 strval[0][i]);
1295 else if (strval[0][i] == NULL && strval[1][i] != NULL)
1512 strval[0] = (char **)malloc(i * sizeof (char *));
1513 strval[1] = (char **)malloc(i * sizeof (char *));